| Author |
Message |
Forum: Support Topic: remember previous count when pressing hotkey |
| beetlejuice |
|
Posted: April 2nd, 2010, 8:01 am
|
|
Replies: 2 Views: 242
|
thanks,
still on my L++ plates. |
|
 |
Forum: Support Topic: remember previous count when pressing hotkey |
| beetlejuice |
|
Posted: April 2nd, 2010, 6:22 am
|
|
Replies: 2 Views: 242
|
| Is there any way to remember the count, so when pressing the hotkey it remembers the index count. I am trying to create a script so when pressing a hotkey, it places a number after the file name, if pressing the hotkey again it would repeat this task but increase the count of the number when saving ... |
|
 |
Forum: Support Topic: how do you remove or find last word of a line |
| beetlejuice |
|
Posted: March 23rd, 2010, 8:43 am
|
|
Replies: 9 Views: 394
|
| sorted it out, modified the code from the last loop line. didnt realize there were no loop braces on the original code. i always thought they needed the braces. Loop, %contents0% { dummyTrim := contents%A_Index% dummyTrim = %dummyTrim% contents%A_Index% := dummyTrim aaaa := RegExReplace( co... |
|
 |
Forum: Support Topic: how do you remove or find last word of a line |
| beetlejuice |
|
Posted: March 23rd, 2010, 6:06 am
|
|
Replies: 9 Views: 394
|
| so far have got the code to read from a file. Have a problem now, as i assume the code is using an array. Loop, D:\TOBERENAMED\*.* FileList = %FileList%%A_LoopFileName%`n Loop, parse, FileList, `n { if A_LoopField = ; Ignore the blank item at the end of the list. continue FileRead, Contents, D:... |
|
 |
Forum: Support Topic: how do you remove or find last word of a line |
| beetlejuice |
|
Posted: March 22nd, 2010, 11:44 am
|
|
Replies: 9 Views: 394
|
I think i worked it out, if the text to search has a % symbol in it, so i guess i need it read from a file.
john. |
|
 |
Forum: Support Topic: how do you remove or find last word of a line |
| beetlejuice |
|
Posted: March 22nd, 2010, 11:05 am
|
|
Replies: 9 Views: 394
|
| I cant work it out, when i try to get it to remove the text, when reading a txt file it doesn't work, it stays the same. it works when i type words in your example, but when copying and pasting text in your example it doesnt work. is there extra information in a txt file that the typed (remove list ... |
|
 |
Forum: Support Topic: how do you remove or find last word of a line |
| beetlejuice |
|
Posted: March 22nd, 2010, 9:36 am
|
|
Replies: 9 Views: 394
|
thats what i need,
havent tested from a file yet.
Thanks, |
|
 |
Forum: Support Topic: how do you remove or find last word of a line |
| beetlejuice |
|
Posted: March 22nd, 2010, 8:57 am
|
|
Replies: 9 Views: 394
|
| answer4u, i played with your code, it works to find the last word, but i need to find only certain words at the end of each line, from a list, as all the lines dont contain the specific words i need to remove from list. tried to use your code to read and append to a file but im doing something wrong... |
|
 |
Forum: Support Topic: how do you remove or find last word of a line |
| beetlejuice |
|
Posted: March 22nd, 2010, 8:35 am
|
|
Replies: 9 Views: 394
|
| ill try your code, but trying to figure out why this doesnt work. Loop, D:\FILETOREAD\*.* FileList = %FileList%%A_LoopFileName%`n Loop, parse, FileList, `n { if A_LoopField = ; Ignore the blank item at the end of the list. continue FileRead, Contents, D:\FILETOREAD\%A_LoopField% if not ErrorLev... |
|
 |
Forum: Support Topic: how do you remove or find last word of a line |
| beetlejuice |
|
Posted: March 22nd, 2010, 7:36 am
|
|
Replies: 9 Views: 394
|
| Hi, spent countless hours trying to understand regex, to try to get the last word of each line in a text file. var2:= RegExReplace(contents, "(?m:^.*\b(\W)\b)","$0@$2"); with the code above it seems to get the last word and places a @ in front of it so i c... |
|
 |
Forum: Support Topic: default save-open folder,modify save as, open dialogue box ? |
| beetlejuice |
|
Posted: March 19th, 2010, 3:50 pm
|
|
Replies: 10 Views: 355
|
| slowly getting there, f1:: MouseClick, left, 100, 10 ; click anywhere on the window DetectHiddenWindows on sleep,10 WinGetClass, aTitle, A IfWinActive, ahk_class Notepad { comboboxx = ComboBox2 WinMenuSelectItem, ahk_class %aTitle%, , File, open sleep, 10 } if WinExist("Notepad&qu... |
|
 |
Forum: Support Topic: default save-open folder,modify save as, open dialogue box ? |
| beetlejuice |
|
Posted: March 18th, 2010, 5:59 pm
|
|
Replies: 10 Views: 355
|
| Leef_me, was playing with your code, works good, still trying to understand it. this is what i came up with last week, its crude and needs some work. took hours of guessing, but was hoping for a registry fix, problem with code below is i need the combox number to be able to change to 2 or 3 dependin... |
|
 |
Forum: Support Topic: default save-open folder,modify save as, open dialogue box ? |
| beetlejuice |
|
Posted: March 18th, 2010, 6:14 am
|
|
Replies: 10 Views: 355
|
| how do you modify the save as and open dialogue boxes to e.g. show all files when using a certain program, and to always show the same folder to open or save to, when using a specific program. Does this need to be done in the registry for each program. using vista home premium. xp used to automatica... |
|
 |
Forum: Support Topic: how do you grab text from child window ? |
| beetlejuice |
|
Posted: March 17th, 2010, 11:52 am
|
|
Replies: 1 Views: 128
|
| sorted it out, its not the best code but it works had modified code i found here http://www.autohotkey.com/forum/viewtopic.php?t=5649&highlight=select+listbox+window to this. x:: MouseGetPos, , , id, control WinGetTitle, title, ahk_id %id% WinGetClass, class, ahk_id %id% WinShow, ahk_id %id% Con... |
|
 |
Forum: Support Topic: how do you grab text from child window ? |
| beetlejuice |
|
Posted: March 17th, 2010, 9:13 am
|
|
Replies: 1 Views: 128
|
| how do you get text from a child window of a program, when you can not select or copy that text. Ive searched the forum and only came up with the topic below. http://www.autohotkey.com/forum/viewtopic.php?t=53476&postdays=0&postorder=asc&highlight=getting+text+child+popup&start=0[/ur... |
|
 |
| Sort by: |