| Author |
Message |
Forum: Support Topic: Complied script does not work |
| bonniehandi |
|
Posted: May 25th, 2011, 9:06 pm
|
|
Replies: 2 Views: 98
|
| Hello all, I have a script that unzip stuff. To use the script, I drop the zip file onto the .ahk, then it'll unzip my files for me. SplitPath, 1,ZipFileName, ZipDir, OutExtension, ZipNameNoExt ;Get zip file info OldBasePath = %ZipDir%\%ZipNameNoExt%-%A_Now% ;BasePath is the path to folder command =... |
|
 |
Forum: Support Topic: Linefeed turning into little squares |
| bonniehandi |
|
Posted: February 11th, 2011, 5:59 pm
|
|
Replies: 19 Views: 467
|
| I do very much appreciate the help that everyone offers here at the AutoHotkey community, but I do not enjoy getting random lectures when you don't understand why I decide to do things a certain way. The reason I have to retype the code is because I use autohotkey for some propitiatory information. ... |
|
 |
Forum: Support Topic: Linefeed turning into little squares |
| bonniehandi |
|
Posted: February 11th, 2011, 12:42 am
|
|
Replies: 19 Views: 467
|
Yea.. it is `n.
Sorry, it was a typo on the post, not in the program. |
|
 |
Forum: Support Topic: Linefeed turning into little squares |
| bonniehandi |
|
Posted: February 11th, 2011, 12:04 am
|
|
Replies: 19 Views: 467
|
| Hello all, I have a variable like this MyVar := "Hello world 'n This is my text" I have Notepad open, and I want to send the text the the notepad like this ControlSetText, Edit1, %MyVar%, Untitled - It sends all my text, but instead of getting a new line where 'n is, I get this little squa... |
|
 |
Forum: Support Topic: Differentiate between 0 and empty |
| bonniehandi |
|
Posted: February 10th, 2011, 8:44 pm
|
|
Replies: 2 Views: 101
|
That worked very well. Thank you!  |
|
 |
Forum: Support Topic: Differentiate between 0 and empty |
| bonniehandi |
|
Posted: February 10th, 2011, 8:25 pm
|
|
Replies: 2 Views: 101
|
| Hello all, I am running a script that looks at excel spreadsheet data. A while loop is used to move down the rows and check the value in each cell. By default, the while loop quits when CYNum is empty or zero. The problem here is, some of my data in the spreadsheet is zero, but I don't want my loop ... |
|
 |
Forum: Support Topic: Math operation on hex string |
| bonniehandi |
|
Posted: December 20th, 2010, 9:43 pm
|
|
Replies: 2 Views: 213
|
| It worked very well. Thank you. |
|
 |
Forum: Support Topic: Math operation on hex string |
| bonniehandi |
|
Posted: December 17th, 2010, 10:57 pm
|
|
Replies: 2 Views: 213
|
| Hello all, I am having trouble doing math on some hex strings. I have file that is like this: My_Variable 0xEC4568C My_OtherVariable 0xEC8765F So I manage to read the file and extract the strings "EC4568C" and "EC8765F". As you can tell, these are actually hex numbers, but AHK th... |
|
 |
Forum: Support Topic: Convert String to Hex |
| bonniehandi |
|
Posted: December 17th, 2010, 10:46 pm
|
|
Replies: 10 Views: 1489
|
| Hello all, I am having trouble doing math on some hex strings. I have file that is like this: My_Variable 0xEC4568C My_OtherVariable 0xEC8765F So I manage to read the file and extract the strings "EC4568C" and "EC8765F". As you can tell, these are actually hex numbers, but AHK th... |
|
 |
Forum: Support Topic: Text extraction using regEx |
| bonniehandi |
|
Posted: December 15th, 2010, 6:24 pm
|
|
Replies: 1 Views: 162
|
| This is an extension to an earlier post: http://www.autohotkey.com/forum/post-400715.html?sid=5852549abea0cc8803c59cf209a5d181 I am having a hard time creating an expression that will allow me to extract text from this code. My code contains a lot of this over and over again: /begin Characteristic M... |
|
 |
Forum: Support Topic: Text extraction using regEx |
| bonniehandi |
|
Posted: November 19th, 2010, 12:24 am
|
|
Replies: 7 Views: 234
|
HotKeyIt wrote: This would not work if there are several records.
Why does it not work though? My understanding is that it replaces every instance that there is a match?
Or is it just not matching for some reason?
BTW, your code worked very nicely. |
|
 |
Forum: Support Topic: Text extraction using regEx |
| bonniehandi |
|
Posted: November 19th, 2010, 12:22 am
|
|
Replies: 7 Views: 234
|
| Another way, string = ( My_Variable_Name1 "This is a description for the variable" Value 0x00123456 Sword 1 Unit 0 500 ) needle = ^(My_.+?)\R.+?(0x\d+)\R.+?$ msgbox % RegexReplace(string, needle, "$1 $2") I tried this and it was as it is, but when... |
|
 |
Forum: Support Topic: Text extraction using regEx |
| bonniehandi |
|
Posted: November 18th, 2010, 10:51 pm
|
|
Replies: 7 Views: 234
|
| Hello all, I am having a hard time creating an expression that will allow me to extract text from this code. My code contains a lot of this over and over again: /begin Characteristic My_Variable_Name1 "This is a description for the variable" Value 0x00123456 Sword 1 Unit 0 500 /end Charact... |
|
 |
Forum: Support Topic: Using RegEx in If |
| bonniehandi |
|
Posted: August 16th, 2010, 10:41 pm
|
|
Replies: 4 Views: 193
|
Thanks for the quick reply, None's work the best.
What exactly does ~= do? |
|
 |
Forum: Support Topic: Using RegEx in If |
| bonniehandi |
|
Posted: August 16th, 2010, 10:12 pm
|
|
Replies: 4 Views: 193
|
| This is probably a really stupid question, but I just can't seem to figure it out. :oops: I have a variable called DiagText that contains the text "Hello world". I want to be able to check if the word "Hello" is in the variable DiagText, if it is then the message box says "y... |
|
 |
| Sort by: |