 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
amie Guest
|
Posted: Sun Oct 12, 2008 3:53 am Post subject: how to assign hotkey |
|
|
the following script doesn't work. how do I go about assigning a hotkey to this script.
#z::Run
Process, Wait, FineReader.exe
Process, Close, FineReader.exe
below script works though
----
Process, Wait, FineReader.exe
Process, Close, FineReader.exe
---- |
|
| Back to top |
|
 |
Carlol
Joined: 14 Aug 2006 Posts: 163 Location: CPH
|
Posted: Sun Oct 12, 2008 4:46 am Post subject: |
|
|
Try something like this:
| Code: | #z::
Run, Process, Wait, FineReader.exe
Run, Process, Close, FineReader.exe
Return |
Good luck to you  |
|
| Back to top |
|
 |
Carlol
Joined: 14 Aug 2006 Posts: 163 Location: CPH
|
Posted: Sun Oct 12, 2008 4:49 am Post subject: |
|
|
As an example:
| Code: | #!n::
Run, Notepad
WinWait, Untitled - Notepad
Winshow, Untitled - Notepad
Winactivate, Untitled - Notepad
Return |
Is what I use to start Notepad  |
|
| Back to top |
|
 |
amie Guest
|
Posted: Mon Oct 13, 2008 3:15 am Post subject: |
|
|
| thanks |
|
| Back to top |
|
 |
Sivvy
Joined: 21 Jul 2008 Posts: 726 Location: Calgary, AB, Canada
|
Posted: Tue Oct 14, 2008 3:33 pm Post subject: |
|
|
| Code: | #z::
Run, Process, Wait, FineReader.exe
Run, Process, Close, FineReader.exe
Return |
Process is a separate command. You can't really run it.
I assume the blank "Run" you have in there is a placeholder that you plan to actually fill out after. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|