AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Silent Compile

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
nickromano



Joined: 28 Nov 2007
Posts: 25
Location: USA

PostPosted: Thu Dec 06, 2007 6:15 pm    Post subject: Silent Compile Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
engunneer



Joined: 30 Aug 2005
Posts: 6847
Location: Pacific Northwest, US

PostPosted: Thu Dec 06, 2007 6:16 pm    Post subject: Reply with quote

why?
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
nickromano



Joined: 28 Nov 2007
Posts: 25
Location: USA

PostPosted: Thu Dec 06, 2007 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
BoBoĻ
Guest





PostPosted: Thu Dec 06, 2007 6:22 pm    Post subject: Reply with quote

Quote:
to edit it quickly on any host computer
Suspicious. Confused
Back to top
engunneer



Joined: 30 Aug 2005
Posts: 6847
Location: Pacific Northwest, US

PostPosted: Thu Dec 06, 2007 6:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
nickromano



Joined: 28 Nov 2007
Posts: 25
Location: USA

PostPosted: Thu Dec 06, 2007 6:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
nickromano



Joined: 28 Nov 2007
Posts: 25
Location: USA

PostPosted: Mon Dec 24, 2007 3:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group