AutoHotkey Community

It is currently May 27th, 2012, 11:59 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: February 7th, 2012, 11:42 pm 
Offline

Joined: December 2nd, 2010, 11:14 pm
Posts: 214
Location: Poland
Ok, thank you fincs, tested and it looks like it is working (as I've never used AHK versions other than Autohotkey_L Unicode). Tested on a VM (clean install).
Procedure:
- uninstall any Autohotkey version you currently have
___* SciTE
___* Autohotkey
___* Program Files\Autohotkey dir
- install AHK Basic
- install SciTE3.0rc1
- do what fincs described in his post
fincs wrote:
This installer is outdated and is to be replaced with something better. In the mean time, create an 'AutoHotkey_L' folder in your AutoHotkey folder and do this:
  • Download the AutoHotkey_L x86 Unicode and x86 ANSI .zip files, the help file and the compiler.
  • Copy the Unicode AutoHotkey.exe to the AutoHotkey_L folder and rename it to AutoHotkey_Lw.exe.
  • Copy the ANSI AutoHotkey.exe to the AutoHotkey_L folder and rename it to AutoHotkey_La.exe.
  • Extract the help file to the AutoHotkey_L folder and rename it to AutoHotkey_L.chm.
  • Create a Compiler folder inside the AutoHotkey_L folder and extract the compiler .zip file there.

Code:
Program Files\Autohotkey\Autohotkey_L ; output directory structure
    Autohotkey_Lw.exe ; Unicode
    Autohotkey_Aa.exe ; ANSI
    Autohotkey_L.chm
    Compiler\<compiler.zip files>


- there is a 'set current platform' icon in SciTE - click the icon to switch between three versions:
___* AHK Basic (ANSI) - Default
___* AHK_L (ANSI) - ANSI
___* AHK_L (Unicode) - Unicode
A testing script:
Code:
MsgBox, % "Version: " A_AhkVersion ; 1.1.05.06 L vs 1.0.48.5 B
    . "`nIsUnicode: " . A_IsUnicode   ; blank if ANSI
    . "`nAhkPath: " . A_AhkPath ; if AHK_L launched, here will probably be a problem with the lib\ local
       ; directory as both autohotkey_L.exe's (ANSI and Unicode) are in the same directory
       ; see #include   <lib> http://l.autohotkey.net/file/users/Members/Lexikos/AutoHotkey_L/docs/commands/_Include.htm
return

//edit: if you'll install Autohotkey_L instead of Autohotkey_B (before installing SciTE), this will also work but you won't have Autohotkey Basic.
//edit2: note that after the installation, you have the Autohotkey Basic as the default compiler in your OS.


Last edited by trismarck on May 15th, 2012, 2:44 am, edited 7 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2012, 2:25 pm 
Offline

Joined: December 2nd, 2010, 11:14 pm
Posts: 214
Location: Poland
Optionally, create a junction point so the libraries in lib standard library folder would work with additional ahk compilers:
Code:
mkdir "C:\Program Files\Autohotkey\lib"
junction "C:\Program Files\Autohotkey\Autohotkey_L\lib" "C:\Program Files\Autohotkey\lib"

junction


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group