Welcome to our NEW forum! We invite you to sign up today
so it can grow to be a valuable resource to all Toolbox users!



Data: Add "one{tab}two{tab}three~{enter}~four{tab}{tab}five"
Data: Add [darkblue]name${tab}[darkred]header$
0001 String: Clear ""
0002 String: Assign to variable "tph$"
0003 String: Assign to variable "tpt$"
0004 String: Assign to variable "header$"
0005 Folder: Assign "tooldata$\Actions\My Useful Stuff"
0006 Folder: Start of file processing ""
0007 File: Assign "folder$name$"
0008 String: Assign from line number in file "1"
QuoteAssigns the file to be used by all 'File' steps. The assigned file is stored in its entirety in the file$ variable; plus its filename alone in filename$, its extension in fileext$, and its folder in filefolder$. The size of the file, in bytes, is stored in filesize$ and will be -1 if the file doesn't exist (because files can actually be 0 bytes in size).
0009 String: Assign to variable "header$"
0010 String: Clear ""
0011 Data: Clear ""
0012 Action: Do this block if "header$[Type"
0013 Data: Assign "tpt$"
0014 Data: Add "name$ = header$~"
0015 String: Assign "data$"
0016 String: Assign to variable "tpt$"
0017 Action: End of block ""
0018 Action: Do this block if "header$[!Type"
0019 Data: Assign "tph$"
0020 Data: Add "name$ = header$~"
0021 String: Assign "data$"
0022 String: Assign to variable "tph$"
0023 Action: End of block ""
0024 Folder: End of file processing ""
0025 Alert: Show a message "Hotkeys are:~~tph$"
0026 Alert: Show a message "Text expansions are:~~tpt$"
0025 Alert: Show a message "Hotkeys are:~~tph$~~Text expansions are~~tpt$"
(Start)
HOW TO USE: Copy from Start to End, and then paste into an action.
REFERENCE : See an example of pasting at alomware.com/paste.png
0001 String: Clear ""
0002 String: Assign to variable "tph$"
0003 String: Assign to variable "tpt$"
0004 String: Assign to variable "header$"
0005 Folder: Assign "tooldata$\Actions\My Useful Stuff"
0006 Folder: Start of file processing ""
0007 File: Assign "folder$name$"
0008 String: Assign from line number in file "1"
0009 String: Assign to variable "header$"
0010 String: Clear ""
0011 Data: Clear ""
0012 Action: Do this block if "header$[Type"
0013 Data: Assign "tpt$"
0014 Data: Add "name$ = header$~"
0015 String: Assign "data$"
0016 String: Assign to variable "tpt$"
0017 Action: End of block ""
0018 Action: Do this block if "header$[!Type"
0019 Data: Assign "tph$"
0020 Data: Add "name$ = header$~"
0021 String: Assign "data$"
0022 String: Assign to variable "tph$"
0023 Action: End of block ""
0024 Folder: End of file processing ""
0025 Alert: Show a message "Hotkeys are:~~tph$"
0026 Alert: Show a message "Text expansions are:~~tpt$"
(End)

(Start)
HOW TO USE: Copy from Start to End, and then paste into an action.
REFERENCE : See an example of pasting at alomware.com/paste.png
0001 Action: Allow failure messages "0"
0002 File: Assign from newest in "desk$"
0003 Action: Continue if "filename$<>blank$"
0004 Computer: Show the desktop ""
0005 Macro: Type keys or use mouse "filename$"
(End)
(Start)
HOW TO USE: Copy from Start to End, and then paste into an action.
REFERENCE : See an example of pasting at alomware.com/paste.png
0001 Toolbox: Show the magnifier "1"
0002 Wait: For action hotkey to be released ""
0003 Toolbox: Show the magnifier "0"
(End)
