AutoHotkey Community

It is currently May 23rd, 2012, 4:40 am

All times are UTC [ DST ]


Search found 608 matches
Search these results:

Author Message

 Forum: Scripts   Topic: [Script] AutoHotkey-ToolKit v0.7.4.4

Posted: Yesterday, 6:54 pm 

Replies: 153
Views: 18821


Few changes added. Now when you update the script it will automatically replace old files. So now the update is trully automatic. Will start working when this version (0.7.4.4) downloads the new one (0.7.5.4). I really need feedback on that since i only tested it on my machine, so please note if the...

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 15th, 2012, 11:50 pm 

Replies: 42
Views: 348


By the way OP, the problem with the FileRead might be with the file encoding.
Give me your latest full code, and the text that you are trying to open please, there is something weird here.

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 15th, 2012, 11:41 pm 

Replies: 42
Views: 348


you surely have a lot of patience engunneer, i am better off explaining while showing my screen :P

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 15th, 2012, 11:23 pm 

Replies: 42
Views: 348


If you have skype you can add me and i can explain you a bit better, typing is not really my thing :P I will be making a video about regex soon for my tutorials channel... (P<>) is the syntax for naming a matching group... example regexmatch(text "(.*)", data) would match e...

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 15th, 2012, 10:27 pm 

Replies: 42
Views: 348


I downloaded the WGUReg1.txt file you attached and simply copy pasted the script i gave you and i got this: http://i.imgur.com/gLn1m.png --edit try running it and tell me what happens: text= ( PROVIDER_NOTIFICATION ***IMPORTANT*** The student listed below has paid for and enrolled in one of the cour...

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 15th, 2012, 9:20 pm 

Replies: 42
Views: 348


Then the problem is with the regular expression. try doing the following: #name := "Name:\s+?(?P<fName>\w+)\W+?(?P<lName>.*?)\r?\n" #email := "Email:\s+?(?P<eMail>.*?)\r?\n" #address := ".*?Address\s+?.*?:\s+?(?P<Address>.*\r?\n)(?P<City>.*?)(?P<State>[A-Z]{2})\W(?P<ZipCode>...

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 15th, 2012, 8:54 pm 

Replies: 42
Views: 348


Try putting:

Code:
msgbox % WGUfiledata ; this before the parse and tell me if it is empty
Loop, parse, WGUfiledata, `n, `r

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 15th, 2012, 2:23 pm 

Replies: 42
Views: 348


I am glad i was able to help a bit, and it is always fun to help people that are willing to learn a bit. The reason why you are still not understanding much is simply because as soon as i posted a bit of Regular Expressions all of us sidetracked to the more advanced part of Autohotkey since it is us...

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 15th, 2012, 12:22 am 

Replies: 42
Views: 348


This code catches everything up to now. You will have to improve it as new problems arise. The problem with the email is that the code was catching 2 emails, the user email and the mentor email. Problem is that the mentor email was not really matching (has to do with the ^ anchor you were using) and...

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 14th, 2012, 11:12 pm 

Replies: 42
Views: 348


else if inStr(A_LoopField, "Phone Number: ") [color=Red]RegExMatch(a_loopfield, "(\d+).(\d+).(\d+)", num), WGUph1:=num1, WGUph2:=num2, WGUph3:=num3[/color] } BTW you havent put any code for catching the email, thats the reason its not working.

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 14th, 2012, 9:03 pm 

Replies: 42
Views: 348


I am sorry, I assumed you were using AHK_L and the code above was using objects (hence the dots), not really necessary as you discovered. a quick explanation for the regular expressions there is that i am matching specific stuff and grouping them. each pair of parenthesis is a group and they are sav...

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 14th, 2012, 7:02 pm 

Replies: 42
Views: 348


Here is the code i was talking about. It can be improved GREATLY. I just coded it simply as an example... so keep researching (time allowing it) and improve it!! :) user := {} ; im using an object here just for the sake of it... its not needed you can put the variables however you want :) data = ( K...

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 14th, 2012, 8:25 am 

Replies: 42
Views: 348


there is an easy way, but it relies on two things:

1) that the city and zip code are always in the 5th line
2) that phone numbers are always divided by dashes (-)

If those two things are constant i can make a script for you that will do that.

 Forum: Support   Topic: Script becomes more unreliable as it gets longer

Posted: May 11th, 2012, 9:43 pm 

Replies: 42
Views: 348


not sure if this is what you want but here is an example... i am assuming all the data is in one variable: var = ( Kathy Mort mrtym@my.wgu.edu 000xxx2880 15557 W Elmssdfsngs St Delta ID, 83713 909-555-1204 Classroom Mgt for New Teachers/Motivating Today's Learner ) info := {} Loop, Parse, var, `n, `...

 Forum: Scripts   Topic: [Script] AutoHotkey-ToolKit v0.7.4.4

Posted: April 30th, 2012, 9:40 pm 

Replies: 153
Views: 18821


Im online right now if you have time. :)
Sort by:  
Page 1 of 41 [ Search found 608 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group