AutoHotkey Community

It is currently May 27th, 2012, 7:39 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Embedding Perl
PostPosted: September 4th, 2006, 10:57 am 
Offline

Joined: June 16th, 2005, 12:23 pm
Posts: 92
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 build

See http://thomaslauer.com/comp/Calling_Perl

NB: I had to re-register for autohotkey.net, though the files themselves were intact. Strange.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 4th, 2006, 12:19 pm 
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::D:lol:

Thx for your effort & for sharing this. Much appreciated. 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 12th, 2006, 9:20 pm 
[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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 12th, 2006, 9:21 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.com/comp/Calling_Perl


Report this post
Top
  
Reply with quote  
PostPosted: December 22nd, 2006, 7:31 pm 
I'm interested in the script, could you please fix yout web presence?


Report this post
Top
  
Reply with quote  
PostPosted: December 22nd, 2006, 10:02 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
OlifromGermany wrote:
I'm interested in the script, could you please fix yout web presence?


Me too. I cannot get any content from that url.
Thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2007, 8:15 am 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2007, 9:46 am 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
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... ;-)

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2007, 11:36 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
Quote:
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2007, 1:10 pm 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2007, 7:04 pm 
Offline

Joined: October 3rd, 2005, 2:42 am
Posts: 186
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?

_________________
Yet another hotkeyer.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 6th, 2007, 10:27 am 
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...


Report this post
Top
  
Reply with quote  
PostPosted: December 13th, 2009, 2:26 pm 
Offline

Joined: March 17th, 2007, 3:45 pm
Posts: 25
I can not find Perl58dll.zip
The link is broken
:(


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 13th, 2009, 2:58 pm 
Offline

Joined: February 5th, 2007, 12:19 pm
Posts: 192
Location: Osnabrück, Germany
Looking around at the site i found Thomas Lauers download folder.
http://thomaslauer.com/download/
There you can find perlahk.zip


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2010, 2:49 am 
Offline

Joined: March 12th, 2005, 7:57 pm
Posts: 15
Please also see my solution which requires no additional libraries: http://www.autohotkey.com/forum/topic2869.html


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: nothing, Yahoo [Bot] and 10 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