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 

Compile_AHK II - for those who compile!
Goto page Previous  1, 2, 3 ... 20, 21, 22 ... 26, 27, 28  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
SoggyDog



Joined: 02 May 2006
Posts: 783
Location: Greeley, CO

PostPosted: Mon Mar 29, 2010 7:13 pm    Post subject: Reply with quote

random11 wrote:
ok so I dont really want to install anything as I have auto hotkey and all other programs for auto hotkey on my usb key, is there a way getting this without having to install something?

The installer includes an option for portable setup.
_________________

SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
random11



Joined: 10 Dec 2008
Posts: 97

PostPosted: Mon Mar 29, 2010 7:27 pm    Post subject: Reply with quote

but it doesnt work... it says ahk installDir not found
Back to top
View user's profile Send private message
SoggyDog



Joined: 02 May 2006
Posts: 783
Location: Greeley, CO

PostPosted: Mon Mar 29, 2010 8:28 pm    Post subject: Reply with quote

random11 wrote:
but it doesnt work... it says ahk installDir not found

Be sure you are selecting the correct path to the compiler on your stick.
_________________

SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
random11



Joined: 10 Dec 2008
Posts: 97

PostPosted: Mon Mar 29, 2010 8:29 pm    Post subject: Reply with quote

no the problem was that I put the original compile stuff that comes with auto hotkey in a separate folder... I didnt realize that it needed it in the same folder
Back to top
View user's profile Send private message
SoggyDog



Joined: 02 May 2006
Posts: 783
Location: Greeley, CO

PostPosted: Mon Mar 29, 2010 9:42 pm    Post subject: Reply with quote

random11 wrote:
no the problem was that I put the original compile stuff that comes with auto hotkey in a separate folder... I didnt realize that it needed it in the same folder

So, you're good now, yes?
_________________

SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
random11



Joined: 10 Dec 2008
Posts: 97

PostPosted: Mon Mar 29, 2010 9:50 pm    Post subject: Reply with quote

yes lol sorry im good
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Apr 04, 2010 6:26 pm    Post subject: Icons tab help Reply with quote

I couldn't figure out where does the shortcut icon that you can specify is used, any help?

Also the delete option causes a blank icon (invisible icon) to be used when you suspend or pause the script.
Or the icon for the application to be set to the next available icon.
Back to top
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Sun Apr 04, 2010 7:48 pm    Post subject: Reply with quote

let's explain it this way: the autohotkey.exe has the same seven icons like all compiled scripts and it is the icon that is only used for the ahk-files. maybe i should rename it to ahk files icon? but this could cause the same confususion.
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Apr 07, 2010 6:36 pm    Post subject: Reply with quote

ladiko wrote:
let's explain it this way: the autohotkey.exe has the same seven icons like all compiled scripts and it is the icon that is only used for the ahk-files. maybe i should rename it to ahk files icon? but this could cause the same confususion.

Wait, that means that icon really isn't used for anything and is only there due to autohotkeySC.bin just behind a version for compiling of the standard executable?
Back to top
ladiko



Joined: 13 Jul 2006
Posts: 290
Location: Berlin

PostPosted: Wed Apr 07, 2010 7:46 pm    Post subject: Reply with quote

i assume you know what's the AutoHotkeySC.bin for. in this case the following picture should be self-explaining.



Let's say AutoHotkey.exe is a more complex version of a compiled script, that uses the #include command to include the ahk-file that is passed as command line parameter.
Code:
Params = %0%
If Params = 1
   #Include %1%
Else DoSomethingElse()
...
Return
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Apr 08, 2010 9:10 pm    Post subject: Reply with quote

ladiko wrote:
i assume you know what's the AutoHotkeySC.bin for. in this case the following picture should be self-explaining.



Let's say AutoHotkey.exe is a more complex version of a compiled script, that uses the #include command to include the ahk-file that is passed as command line parameter.
Code:
Params = %0%
If Params = 1
   #Include %1%
Else DoSomethingElse()
...
Return

I figured that much but as it seems that icon really isn't used for anything in a compiled script. Probably just remains so it is easier to compile ahk.
Back to top
TomT
Guest





PostPosted: Tue Apr 27, 2010 8:17 pm    Post subject: Reply with quote

Is it possible to set the name of application Publisher ??
Within the complier ?

In Win 7 UAC shows Publisher as UNKNOWN.

I'd like to change that !!

Any Ideas ?

Thanks
Back to top
fragman



Joined: 13 Oct 2009
Posts: 1199

PostPosted: Sun May 02, 2010 9:20 am    Post subject: Reply with quote

When I compile something, and set ExecutionLevel to RequireAdministrator, it won't be possible to put this file in windows autostart if UAC is enabled (tested on Win7).

Any ideas?
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 7299
Location: Australia

PostPosted: Mon May 03, 2010 6:21 am    Post subject: Reply with quote

TomT wrote:
Is it possible to set the name of application Publisher ??
No. UAC requires the file to be signed, but currently this isn't possible. See Signing with digital certificate.
fragman wrote:
When I compile something, and set ExecutionLevel to RequireAdministrator, it won't be possible to put this file in windows autostart if UAC is enabled (tested on Win7).
Read Make Vista launch UAC restricted programs at startup with Task Scheduler. It also applies to Windows 7, except that apparently 7 doesn't warn you when it blocks stuff. Evil or Very Mad I tested that method on my Windows 7 system after enabling UAC, and it started the script as admin with no fuss - not even a UAC prompt. Now to disable UAC again...
Back to top
View user's profile Send private message Visit poster's website
fragman



Joined: 13 Oct 2009
Posts: 1199

PostPosted: Mon May 03, 2010 7:55 am    Post subject: Reply with quote

I read about that method before, but the problem is that I can't do that with ahk. Maybe requesting security privileges when they are first needed might work better?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 20, 21, 22 ... 26, 27, 28  Next
Page 21 of 28

 
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