Posts: 5
Threads: 3
Joined: Feb 2011
I need help with the following.
1. I need to choose any file with a mouse.
2. I want to be able to have the file chosen to be opened up in an application so that I can process that file.
Posts: 12,140
Threads: 142
Joined: Dec 2002
Select in a folder window? Try accessible object functions. Look in floating toolbar.
Then macro can press Ctrl+C, and use function GetClipboardFiles to get selected file path into a variable. Then use the variable with run.
Posts: 5
Threads: 3
Joined: Feb 2011
Please give more details on how to do this operation
Posts: 12,140
Threads: 142
Joined: Dec 2002
Macro
Macro1546
Trigger
F11
;select a text file in a folder window, and run this macro
;it will open the file in notepad
key Cc
ARRAY(str) a
GetClipboardFiles a
str cl.format("''%s''" a[0])
run "notepad.exe" cl