Command to display a WORD file ?
Moderators: Dorian (MJT support), JRL
Command to display a WORD file ?
What is the MacroScheduler 6.2 command to display a WORD file, apple.doc, located in C:\my documents?
Hi JRL and Everyone,
Seeing the parameters in the ExecuteFile> command... I have a question... This does not seem to work:
Sure the Windows Calculator program launches (calc.exe) but I would like to pass a value into it on launch so that when it fires up, the value is already entered. I've tried passing ,12.34 ,"12.34" ,'12.34' but no luck.
Perhaps calc.exe does not accept parameters? Can anyone verify that? Google isn't telling me much on this one.
Calc does accept values by just "pasting" them in though... I have a working script where I highlight a number in any screen, hit a Hot Key and the script...
- sends CTRL-C to copy the number into the clipboard
- fires up calc.exe
- pastes the number into calc.exe
I notice calc.exe can also be fired up from a DOS prompt (using XP SP2 here). All the following typed at a DOS prompt started calc.exe but none provided any extra info about parameters...
calc.exe /?
calc.exe /h
calc.exe h
Does anyone know a way of passing in a number as a parameter when calc.exe is fired up?
Seeing the parameters in the ExecuteFile> command... I have a question... This does not seem to work:
Code: Select all
ExecuteFile>C:\WINDOWS\system32\calc.exe,12.34
Perhaps calc.exe does not accept parameters? Can anyone verify that? Google isn't telling me much on this one.
Calc does accept values by just "pasting" them in though... I have a working script where I highlight a number in any screen, hit a Hot Key and the script...
- sends CTRL-C to copy the number into the clipboard
- fires up calc.exe
- pastes the number into calc.exe
Code: Select all
Press CTRL
Send>c
Release CTRL
Run Program>calc.exe
WaitWindowOpen>Calculator
Wait>0.2
Press CTRL
Send>v
Release CTRL
calc.exe /?
calc.exe /h
calc.exe h
Does anyone know a way of passing in a number as a parameter when calc.exe is fired up?
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
As far as I know calc.exe does not accept command line parameters.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?