| View previous topic :: View next topic |
| Author |
Message |
nickromano
Joined: 28 Nov 2007 Posts: 25 Location: USA
|
Posted: Thu Dec 06, 2007 6:15 pm Post subject: Silent Compile |
|
|
| Is there anyway i can have a script use the AHK2EXE.exe compiler to compile a script silently on a computer that doesn't have auto-hotkey installed? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6847 Location: Pacific Northwest, US
|
Posted: Thu Dec 06, 2007 6:16 pm Post subject: |
|
|
why? _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
nickromano
Joined: 28 Nov 2007 Posts: 25 Location: USA
|
Posted: Thu Dec 06, 2007 6:20 pm Post subject: |
|
|
| I have a hot key script on my flashdrive that I use a lot and I like to have it run automatically when I plug it in with an autorun.inf file. I'd like to be able to edit it quickly on any host computer and the only way i can do it now is by opening up the compiler and selecting the input and output file ever time I want to make a little edit. |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Thu Dec 06, 2007 6:22 pm Post subject: |
|
|
| Quote: | | to edit it quickly on any host computer | Suspicious.  |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6847 Location: Pacific Northwest, US
|
Posted: Thu Dec 06, 2007 6:24 pm Post subject: |
|
|
that actually reduced my suspicions (somewhat)
make another AHK script that just calls the compiler. (AHK does not require being installed, just unzipped on the flash drive) _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
nickromano
Joined: 28 Nov 2007 Posts: 25 Location: USA
|
Posted: Thu Dec 06, 2007 6:25 pm Post subject: |
|
|
| i didn't mean for it to be suspicious i barely ever use my own computer so i carry around everything around on my flashdrive and i just want an easier way update the script |
|
| Back to top |
|
 |
nickromano
Joined: 28 Nov 2007 Posts: 25 Location: USA
|
Posted: Mon Dec 24, 2007 3:28 pm Post subject: |
|
|
alright i found how to do it.
| Code: | | Run ahk2exe.exe /in "%script%" /out "%compiledscript%" /icon MyIcon.ico /pass MyPassword |
thanks anyways |
|
| Back to top |
|
 |
|