I am writing a program that will start my son's different video games, log the time and auto quit each game when his time limit is reached.
Some of the games require the game to be started with a shortcut because the shortcut is formatted. For example, he plays Battlefield 2142 in widescreen; the only way to play in a semi widescreen is to format the shortcut as follows:
"C:\Program Files\Electronic Arts\Battlefield 2142\BF2142.exe" +widescreen 1 +szx 1440 +szy 900
How can I use MacroScheduler to executefile>the bf2142 shortcut?
Execute shortcut
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
You should just be able to do:
Run>"C:\Program Files\Electronic Arts\Battlefield 2142\BF2142.exe" +widescreen 1 +szx 1440 +szy 900
But you can also execute the shortcut directly:
ExecuteFile>C:\....\shortcut.lnk
The shortcut is a .lnk file. If it is on the desktop then the path is probably something like:
c:\documents and settings\USERNAME\desktop\shortcut.lnk
Run>"C:\Program Files\Electronic Arts\Battlefield 2142\BF2142.exe" +widescreen 1 +szx 1440 +szy 900
But you can also execute the shortcut directly:
ExecuteFile>C:\....\shortcut.lnk
The shortcut is a .lnk file. If it is on the desktop then the path is probably something like:
c:\documents and settings\USERNAME\desktop\shortcut.lnk
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?