Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Choosing a file with mouse and input into application
#1
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.
#2
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.
#3
Please give more details on how to do this operation
#4
Macro Macro1546
Trigger F11     Help - how to add the trigger to the macro
Code:
Copy      Help
;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


Forum Jump:


Users browsing this thread: 1 Guest(s)