Useful macro sequences
 
Here are some useful sequences, along with some suggested key combinations (at present unused by TreePad) in boldface. Let us know of any you think worth building into future versions of TreePad.
 
Display File ⁄ Reopen list
Alt+F, R - suggest Ctrl+Alt+R for this.
 
Copy to and paste from the TreePad Clipboard
Useful if you store a template there temporarily.
Alt+T, C, S - Copy subtree to TreePad Clipboard (will copy node if no child nodes present) - suggest F9
Alt+T, T, S - Cut subtree to TreePad Clipboard (be careful with this one; that's why it's been made a little harder to press accidentally by requiring the added Ctrl key) - suggest Ctrl+F9
Alt+T, P, S - Paste subtree from TreePad Clipboard - suggest F10
 
Move nodes down or up a level in the tree
Alt+T, M, N - Move next siblings right - suggest Alt+F10
Alt+T, M, A - Move all children left - suggest Alt+F9
 
Sorting the whole tree from within the current article
Alt+N,T - change focus to the Tree pane
Alt+T,S,W - sort the whole tree
Alt+N,A - return focus to the Article pane (current article)
To make this macro work properly, you may need to insert a slight pause between each phase. Many keyboard macro programs allow you to insert pauses of a variable number of milliseconds within the macro. Anyway, it's not a bad idea to insert a pause of a second or two between all phases at first so that you can check each section, then eliminate or reduce them for the best speed.
 
Sorting a subtree from its root node article and inserting a table of contents within the root node article
Assume you have arrived at the article of the subtree's root node via a hyperlink.Then:
Alt+N,T - change focus to the Tree pane
Alt+T,S,S - sort the subtree (one level), or Alt+T,S,A,Y - sort the subtree (all levels)+Y(es) to confirm. (The subtree will now be sorted)
Alt+N,A - change focus to the Article pane
Ctrl+Home - make sure we are at top of Article pane
Ctrl+A to highlight the whole article (including previous table of contents)
Alt+I,C,O to insert a table of contents (top level only)
 
Users of TreePad Business Edition may want to change the last line to Alt+I,C,O to insert a table of contents (all levels).
To make this macro work properly, you may also need to insert a slight pause between each phase.
 
Insert table of contents (all levels) TreePad Business Edition only
         Alt+I,C,A - suggest Ctrl+Alt+O  (since Shift+Alt+O inserts a TOC of top level only)
 
Highlight a whole line prior to boldfacing it, copying it, etc. By starting with the End key, this macro also avoids the bug that occasionally prevents highlighting from taking place:
         End, Shift+Home
 
Add a separator between text clips:
         ----------------------------------[Enter]
 
Convert a vertical table of contents into a horizontal list.
This was used to create the horizontal index used here. Create a table of contents, then position the cursor after the first hyperlink ( # ) and continue pressing the key assigned to this macro:
 
[space][space][space][Delete][End]
 
3-finger Automatic paste!
Excellent for pasting snippets of text from newsgroups and forums into TreePad articles or any Windows text editor. It automatically inserts a separator line between pasted replies in the same thread and returns you to the source application, so you can maximize the source window. Before using it, left-click on destination (e.g., TreePad), then source (your web forum or newsgroup window) to set the order of applications in Windows.
 
1) Assign Alt+C to carry out this sequence:
Ctrl+C (copy currently highlighted text in source window to Windows clipboard)
Alt+Tab (change applications to destination window, i.e. TreePad).
 
2) Assign Alt+V to carry out this sequence:
Ctrl+V (paste text from Windows clipboard to article)
Enter (create new line)
-----------------------------------  (horizontal separator between replies within the same thread - make it as long as you like)
Enter (create new line)
Alt+Tab (change applications back to source window).
 
If you have set this up, you will need to click on the Main menu ⁄ View ⁄ submenu to access any of its options, since pressing Alt+V will activate the macro.
 
Note - Between Ctrl+V and the first Enter you may need to insert a pause (your macro program should allow you to do this) or slow down your keyboard repeat rate.
 
You could also create a third macro:
3) Assign Alt+D to carry out this sequence:
Ctrl+V (paste text from Windows clipboard to article)
Enter (create new line)
================  (horizontal separator between threads - make it as long as you like)
Enter (create new line)
Alt+Tab (change applications back to source window).
 
This is exactly the same as (2) except that the string of hyphens ("-") has been replaced by a string of equal signs ("="). Use this to designate the end of a thread.
Search ]     [ Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 517 of 563)

This page is created with TreePad