I have posted an updated version of my Perl interface library. Three main changes:
* supports AHK (as before) and now also AutoIT3
* has direct functions for initialising Perl variables
* supports the current 5.8.8.817 Perl buildSee http://thomaslauer.c...mp/Calling_Perl
NB: I had to re-register for autohotkey.net, though the files themselves were intact. Strange.
Embedding Perl
Started by
thomasl
, Sep 04 2006 09:57 AM
15 replies to this topic
#1
-
Posted 04 September 2006 - 09:57 AM
That could be a live saver (well, not for a BF2 geek :lol:).
I've to say it again: "Man, I should start learning Perl today, unfortunately i've to go for lunch in a minute..." :cry::wink::lol:
Thx for your effort & for sharing this. Much appreciated. 8)
I've to say it again: "Man, I should start learning Perl today, unfortunately i've to go for lunch in a minute..." :cry::wink::lol:
Thx for your effort & for sharing this. Much appreciated. 8)
#2
-
Posted 04 September 2006 - 11:19 AM
[Moderator's note: moved back from the splitted thread to here]
Thomas, thanks for the updated package. I read through the contents and was impressed at the professionalism, such as good interface scripts it includes and their internal comments.
I've updated your old topic Calling Perl from AHK to link to this new topic.
Thomas, thanks for the updated package. I read through the contents and was impressed at the professionalism, such as good interface scripts it includes and their internal comments.
I've updated your old topic Calling Perl from AHK to link to this new topic.
#3
-
Posted 12 September 2006 - 08:20 PM
[Moderator's note: moved back from the splitted thread to here]
And yet another version
I added some error checking, both in the C code and the AHK stuff, and split off the interface code (ie the wrapper functions) into a separate include file.
Give it a whirl. URL is as ever: http://thomaslauer.c...mp/Calling_Perl
And yet another version
I added some error checking, both in the C code and the AHK stuff, and split off the interface code (ie the wrapper functions) into a separate include file.
Give it a whirl. URL is as ever: http://thomaslauer.c...mp/Calling_Perl
#4
-
Posted 12 September 2006 - 08:21 PM
I'm interested in the script, could you please fix yout web presence?
#5
-
Posted 22 December 2006 - 06:31 PM
I'm interested in the script, could you please fix yout web presence?
Me too. I cannot get any content from that url.
Thanks!
#6
-
Posted 22 December 2006 - 09:02 PM
What does this mean, e.g. if I convert an .ahk script to an .exe file, using your Perl extension, does another user have to have perl on their machines installed? Or would it work there also without having Perl installed?
#7
-
Posted 14 January 2007 - 07:15 AM
From what I understand, that's a Perl interface, ie. probably a mean to communicate with or use Perl scripts.
That mean that even if the AHK script is compiled, Perl has to be installed to be used. A mere 9MB install... ;-)
That mean that even if the AHK script is compiled, Perl has to be installed to be used. A mere 9MB install... ;-)
#8
-
Posted 14 January 2007 - 08:46 AM
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
A mere 9MB install...
It seems like when such questions are asked, they are more concerned with distribution of the scripts they make. It seems we attract a lot of entrepeneurs. Personally, I make scripts for myself, hardcoding nearly everything for my computer, and using what I have installed.
#9
-
Posted 14 January 2007 - 10:36 AM
No, I'm not an entrepreneur (yet).
But then I don't understand the "great thing" of this tool. If I install normal perl (as e.g. in my case already) then I can simply start it with RUN.... in .ahk, so who needs such an extra tool?
But then I don't understand the "great thing" of this tool. If I install normal perl (as e.g. in my case already) then I can simply start it with RUN.... in .ahk, so who needs such an extra tool?
#10
-
Posted 14 January 2007 - 12:10 PM
Looks like this allows perl to be called from ahk.
Is there a way to do this the other way? To access AHK's cool GUI and hookage functionality, from within another scripting language?
Is there a way to do this the other way? To access AHK's cool GUI and hookage functionality, from within another scripting language?
#11
-
Posted 05 June 2007 - 06:04 PM
Yet another hotkeyer.
I see two ways: use the 'system' (can recall exact name, might be 'os.execute') call to run AutoHotkey.exe; or bite the bullet and hack the source to extract the functionnality in a DLL... A quite frequently asked request...
#12
-
Posted 06 June 2007 - 09:27 AM
I can not find Perl58dll.zip
The link is broken
The link is broken
#13
-
Posted 13 December 2009 - 01:26 PM
Looking around at the site i found Thomas Lauers download folder.
http://thomaslauer.com/download/
There you can find perlahk.zip
http://thomaslauer.com/download/
There you can find perlahk.zip
#14
-
Posted 13 December 2009 - 01:58 PM
Please also see my solution which requires no additional libraries: http://www.autohotke.../topic2869.html
#15
-
Posted 04 June 2010 - 01:49 AM