AutoHotkey Community

It is currently May 24th, 2012, 7:31 am

All times are UTC [ DST ]


Search found 42 matches
Search these results:

Author Message

 Forum: Support   Topic: RegExReplace variable ref & semicolon in variable value

Posted: July 2nd, 2008, 2:38 pm 

Replies: 5
Views: 527


Krogdor, If you look at the sample code I provided, my variable name was outside of the quotes, which I agree is common knowledge. What I have not seen before, however, was the way the variable references had to be notated, namely surrounded with " . " (space, dot, space), which I could no...

 Forum: Support   Topic: RegExReplace variable ref & semicolon in variable value

Posted: June 30th, 2008, 10:56 pm 

Replies: 5
Views: 527


pokercurious, That worked great, thanks much! I'm wondering if that's a common convention for Regular Expressions? Because I went through the AutoHotKey help file and could not find this in the RegExMatch/RegExReplace/Quick Reference sections. I would suggest this information be added into the help ...

 Forum: Support   Topic: RegExReplace variable ref & semicolon in variable value

Posted: June 30th, 2008, 7:32 pm 

Replies: 5
Views: 527


Found the solution for issue #2 with the escape character `. Had tried \ and ; but forgot to try `. Thanks forum.

If anyone could help with issue #1, it would be greatly appreciated.

 Forum: Support   Topic: Toggle key hold down on and off

Posted: June 30th, 2008, 7:25 pm 

Replies: 3
Views: 527


See if this helps: W_DOWN = 0 XButton1:: If W_DOWN = 0 { Send {w down} W_DOWN = 1 } Else { Send {w up} W_DOWN = 0 } return I'm sure there were much more elegant solutions given by the experts on this board before. Try do a search on toggling hotkey.

 Forum: Support   Topic: Compilation of Ragnarok Online Scripts!

Posted: June 30th, 2008, 7:21 pm 

Replies: 11
Views: 3941


Hi, I don't play RO, although I'll take a stab at this issue below: ;General Use Bash/DoubleStrafe or any skill that needs targeting. this Macro ;casts a skill and clicks in the place the mouse is after a very short delay ;without the need to bash the keys continuosly !W:: Send, {F9} Sleep 10 MouseC...

 Forum: Support   Topic: RegExReplace variable ref & semicolon in variable value

Posted: June 30th, 2008, 7:06 pm 

Replies: 5
Views: 527


Hi all, I have 2 basic syntax questions but could not find the answers via a quick search, thus am hoping some bright minds could enlighten this aging one. I apologize in advance if these have been discussed before. 1. Using variable names in RegExReplace In this example: NewStr := RegExReplace(...

 Forum: Support   Topic: CD change detection for bulk cd -> hd copying

Posted: October 14th, 2007, 3:38 pm 

Replies: 1
Views: 262


Hi all, I believe this was discussed before, although I spent an hour searching through the forum to no avail, so am risking my membership to see if anyone could give me some pointers on how to accomlish it, or where to find the threads. The project is to bulk copy backup cd/dvds to hd, for easier a...

 Forum: Support   Topic: RegEx results contain unwanted characters

Posted: February 9th, 2007, 3:21 pm 

Replies: 9
Views: 1039


Titan : Sorry, I must be going blind. Could you point me to where the lazy match .*? documentation is? Or was it .* that you meant? I don't seem to see how to make it return the right-most position though... I took the subpattern explanation as meaning if I were processing ID1 and ID2 at the same t...

 Forum: Support   Topic: RegEx results contain unwanted characters

Posted: February 8th, 2007, 10:47 pm 

Replies: 9
Views: 1039


Thanks much Titan; it seems the result I wanted was stored in Result1. Could you explain a bit on why this is? I understand RegExMatch can store multiple instances of values in an expandable array, although I only had 1 instance of value in the line, and do not understand why my RegExp would require...

 Forum: Support   Topic: RegEx results contain unwanted characters

Posted: February 8th, 2007, 8:39 pm 

Replies: 9
Views: 1039


I have been trying to learn Regular Expression today, and thought I was beginning to understand it when I ran into this problem. Any help would be appreciated. My task is to grab the values for each ID from right hand side: ID 1 : ABC ... ID 21 = DEF ... ID 307 - GHI .... The results I want (in sepa...

 Forum: Support   Topic: A double click hotkey

Posted: November 11th, 2006, 5:32 am 

Replies: 22
Views: 5233


And I posted this question just 5 days ago, but worded it very poorly and got no response at all :oops:

Thanks spunch and PhilLo :)

 Forum: Support   Topic: WinActivate : This is not a bug... but

Posted: November 10th, 2006, 3:55 pm 

Replies: 1
Views: 568


I've run into my share of WinActivate issues, and came up with the rudimentary bandaid of using Sleep & dual activation to help alleviate it. Try the following modified code, see if it works better for you: #NoEnv #SingleInstance ignore SendMode Input MyActiveWindow(AFenetre) { WinW...

 Forum: Support   Topic: basic winactivate and ifwinexist problems

Posted: November 10th, 2006, 3:44 pm 

Replies: 5
Views: 633


How about try the following for troubleshooting, to find out if it's the window detection or the activation that's failing. Just another 0.02 suggestion from me.

Code:
SetTitleMatchMode, 2
detecthiddenwindows on

IfWinExist, : AIM -
{
   MsgBox, Window Found
   WinActivate
}
Return

 Forum: Support   Topic: IS there a way to Reload script in, program

Posted: November 9th, 2006, 11:49 pm 

Replies: 8
Views: 559


Just want to chime in with my 0.02 cent idea; I use #SingleInstance Force to achieve a similar goal, so I can relaunch my script after editing without manually exiting the previous one.

 Forum: Support   Topic: how to make a double hotkey ?

Posted: November 9th, 2006, 11:37 pm 

Replies: 5
Views: 829


Guess I only muddled things further... sorry vst & jonny. :oops:

By coincidence, I just was looking for the command to pass the hotkey to application. Learning something new at every post. :)
Sort by:  
Page 1 of 3 [ Search found 42 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group