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, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
ladiko



Joined: 14 Jul 2006
Posts: 190
Location: Berlin

PostPosted: Wed Apr 16, 2008 11:37 pm    Post subject: Reply with quote

sorry, the mistake is fixed ... once again a comma too much ^^

the option to add other execution levels was introduced cause of a user's problem with a file named PatchKeyboard.(exe|ahk)

vista forces the need of admin rights if an executable has a filename with setup,install,update,patch,etc. in the filename or installshield,wise,inno,nsis etc. in some resource informations.

you can only override this behaviour if you add the execution level "asInvoker". If you add this, you can run the executalbe without administrator rights also if it has one of the other named attributes.
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 707
Location: Florida

PostPosted: Thu Apr 17, 2008 8:28 pm    Post subject: Reply with quote

Oh my - I am not sure how I missed this, but it's great... Lately AHK Icon Changer hasn't been changing my Icons for me, so I'd been doing it manually with reshacker (problem is probably with my system, not AHK Icon Changer) but this does it perfectly!

Thank for providing a great tool!
_________________
[Join IRC!]
Back to top
View user's profile Send private message
ladiko



Joined: 14 Jul 2006
Posts: 190
Location: Berlin

PostPosted: Thu Apr 17, 2008 10:55 pm    Post subject: Reply with quote

Update vom 2008-04-17 v2
    + Changed: VersionInfo Language and Codepage / Charset can be changed


about charset / code page:
dont ask me where you can see it, was it does or what bad side effects it could have. ahk-default is "unicode" and this is preset. if anybody knows more, please tell me Smile

gui upgrade accoring to the last change, will be done later.

edit:

Update from 2008-05-06
    + Fixed: Added a line break to the installation path in the installer, if it is too long
    + Changed: If launched without parameters, the preset start folder isn't c:\ anymore
Back to top
View user's profile Send private message
scottmattes



Joined: 21 May 2007
Posts: 20
Location: USA

PostPosted: Thu May 08, 2008 4:14 pm    Post subject: Reply with quote

I just stumbled onto this thread and I am very interested.

One problem with the compiler that comes with AHK is that my routine to display hotkeys and substitutions doesn't work - it relies on reading the source.

My code is a mod on code I found here, but it reads the source and creates a string with the hotkey and the command

i.e. "#p:: ; do screen print and paste it into paint" displays "Win-P do screen print and paste it into paint"

and ":*:]xyz::Now is the time" displays "]xyz Now is the time"

Does this compiler have an option, or is any work being done towards an option, to create a menu item for the compiled version of a script that will display the contents?

Thank you.
_________________
-------------
Scott Mattes
Back to top
View user's profile Send private message
chadross



Joined: 30 Apr 2008
Posts: 8
Location: Canada

PostPosted: Fri May 09, 2008 1:05 am    Post subject: Great Tool Reply with quote

This is a great tool...

I use AHK from a USB Thumbdrive, would it be posible for the installer to allow you to select the path to AHK if it doesn't find the default installation. This would also require the use of some releative paths in the code i imagine.

Keep up the good work. Very Happy
_________________
Chad.
Back to top
View user's profile Send private message
mandiom



Joined: 03 Mar 2008
Posts: 34

PostPosted: Fri May 09, 2008 4:56 pm    Post subject: Reply with quote

"Problem loading page" when I try to download Sad
Back to top
View user's profile Send private message
ladiko_too_lazy_to_login
Guest





PostPosted: Fri May 09, 2008 9:06 pm    Post subject: Reply with quote

try again now?!? i've got the same problem on wednesday. if the problem still exists, ask titan - the owner of www.autohotkey.net - or try with another browser.
Back to top
See
Guest





PostPosted: Fri May 09, 2008 9:25 pm    Post subject: Reply with quote

Too bad it said page not found. It might be down. Hmmmm.... Confused
Back to top
Z Gecko
Guest





PostPosted: Fri May 09, 2008 9:29 pm    Post subject: Reply with quote

Page is not down for me,
i just downloaded with success.

There might be a problem with your browser or Firewall Crying or Very sad
Back to top
mandiom



Joined: 03 Mar 2008
Posts: 34

PostPosted: Sat May 10, 2008 12:36 pm    Post subject: Reply with quote

I tried again and now it works Very Happy It was down 2 days ago Smile
Back to top
View user's profile Send private message
shajul



Joined: 15 Sep 2006
Posts: 19
Location: India

PostPosted: Tue May 20, 2008 4:24 pm    Post subject: Very nice!! One Idea Reply with quote

bravo.. very nice script!

imo, this should be added to the wiki topic

Script Listing Catalogue under the section AutoHotkey_Related -> Tools

This may also replace the standard compiler!!
_________________

Shajul.
Back to top
View user's profile Send private message Yahoo Messenger
ladiko



Joined: 14 Jul 2006
Posts: 190
Location: Berlin

PostPosted: Sun May 25, 2008 3:41 pm    Post subject: Reply with quote

Update from 2008-04-25
    + New: Installer supports command line parameters for silent installation. List of parameters with /something
    + New: PortableApp: Compile_AHK etc. should be in the same folder like AHK2EXE.exe, f.e. X:\PortableApps\AutoHotkey\Compiler
    + Fixed: If an icon file from another folder should be copied to the script folder, this task wasnt processed


chadross wrote:
I use AHK from a USB Thumbdrive, would it be posible for the installer to allow you to select the path to AHK if it doesn't find the default installation. This would also require the use of some releative paths in the code i imagine.
you can install it, wherever you want. the only problem is: AHK writes InstallDir to registry and Compile_AHK reads this regkey. I changed it this way: if InstallDir isnt found in the registry, it only has to be in the same directory as ahk2exe.exe. pls try it! Smile

scottmattes wrote:
Does this compiler have an option, or is any work being done towards an option, to create a menu item for the compiled version of a script that will display the contents?
maybe i'm a little bit retarded, but i dont get the point of what you want Sad
you want a hotkey or system tray context menu item that shows the current compiled script's source code? hmm my script doesnt compile anything. it uses the default compiler ahk2exe.exe and is limited to it's ahk-related functions. my script only gives access to ahk2exe.exe's command line options and some resource editing. maybe i could add the related script file as a resource to the compiled script, but how to show it ... hmm?!? refer to http://www.autohotkey.com/forum/viewtopic.php?t=30228 and http://www.autohotkey.com/forum/viewtopic.php?p=147202


Last edited by ladiko on Mon May 26, 2008 8:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
chadross



Joined: 30 Apr 2008
Posts: 8
Location: Canada

PostPosted: Mon May 26, 2008 2:47 pm    Post subject: Reply with quote

ladiko wrote:

chadross wrote:
I use AHK from a USB Thumbdrive, would it be posible for the installer to allow you to select the path to AHK if it doesn't find the default installation. This would also require the use of some releative paths in the code i imagine.
you can install it, wherever you want. the only problem is: AHK writes InstallDir to registry and Compile_AHK reads this regkey. I changed it this way: if InstallDir isnt found in the registry, it only has to be in the same directory as ahk2exe.exe. pls try it! Smile


Ladiko: One problem, the Compile_AHK_Setup.exe still requires the registry key to be set, so I can't add the Compile_AHK to the Ahk2Exe directory; however, when i run the Compile_AHK.ahk from that directory it works almost perfectly. I need to be able to specify the path to resource hacker. as I have this elsewhere on my drive.
_________________
Chad.
Back to top
View user's profile Send private message
ladiko



Joined: 14 Jul 2006
Posts: 190
Location: Berlin

PostPosted: Mon May 26, 2008 7:33 pm    Post subject: Reply with quote

chadross wrote:
Ladiko: One problem, the Compile_AHK_Setup.exe still requires the registry key to be set, so I can't add the Compile_AHK to the Ahk2Exe directory; however, when i run the Compile_AHK.ahk from that directory it works almost perfectly.
changed.

chadross wrote:
I need to be able to specify the path to resource hacker. as I have this elsewhere on my drive.
what's the problem with reshacker.exe and gorc.exe in the compile_ahk folder on your thumbdrive? 400kb disk space? it is to much work to change this, cause i would have to add a settings dialog for this and add entries to the settings file (save defaults button) and also had to change the settings file behaviour cause YOU need a global settings file e.g. in the compile_ahk folder cause the atm used folder in A_AppData is useless for you and your usb thumbdrive. other people dont have write access to the compile_ahk folder (if they work with a non-admin account), so A_AppData is useful for this people etc. and i'm to lazy to do this work cause of ~400kb disk space, sorry!

Update from 2008-04-26
    + Changed: possibility to continue installation if A_AhkPath is empty
    + Changed: Possibility to continue compiling if ResHacker.exe or GoRC.exe is missing
    + Changed: Replaced all occurrences of "Compile AHK" to "Compile_AHK" and "Compile AHK Setup" to "Compile_AHK_Setup"
    + Changed: internal behaviour of the "Compile" button changed from WinWaitClose to a normal subroutine


Last edited by ladiko on Mon May 26, 2008 8:41 pm; edited 2 times in total
Back to top
View user's profile Send private message
chadross



Joined: 30 Apr 2008
Posts: 8
Location: Canada

PostPosted: Mon May 26, 2008 8:01 pm    Post subject: Reply with quote

ladiko wrote:
changed.
Thanks, much appreciated

ladiko wrote:
what's the problem with reshacker.exe and gorc.exe in the compile_ahk folder on your thumbdrive? 400kb disk space? ... and i'm to lazy to do this work cause of ~400kb disk space, sorry!
No problem. Wink I didn't realize it was such an invasive request otherwise i would never have asked.
You accommodation of my request is much appreciated. It works perfectly for me now. Keep up the great work.
_________________
Chad.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
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