AutoHotkey Community

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: January 23rd, 2012, 10:46 am 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
Hello,
passing parameters to a script doesnt work with the ?latest? ahk_l.
with ahk_basic this works, with ahk_l not:
Code:
Msgbox %0% parameters were passed.
Loop %0%
{
  param:=A_INDEX
  msgbox param: %param%
}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 23rd, 2012, 10:48 am 
Code:
Msgbox %0% parameters were passed.
Loop %0%
{
  param:=%A_INDEX%
  msgbox param: %param%
}


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 23rd, 2012, 10:53 am 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
That doesnt work eather.
It shows "0 parameters were passed.", even when I call
neu.ahk t
Attention: When I compile my script, the parameters are passed correctly. I think its an error?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: SOLVED
PostPosted: January 23rd, 2012, 11:00 am 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
Ok, solved the problem.
I just assigned AHK_L.exe newly to .ahk-files. Now it works even with uncompiled scripts..


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Edd, robotkoer and 15 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