| Author |
Message |
Topic: Lotto / Lottery 'random' number generator with listview |
poo_noo
Replies: 0
Views: 146
|
Forum: Scripts & Functions Posted: Wed Jan 25, 2012 12:29 am Subject: Lotto / Lottery 'random' number generator with listview |
Hi all
Below is something I did for the people I work with. It might be useful for others too. It uses code snippets found elsewhere in these forums but I have lost the original links.
#SingleIn ... |
Topic: Using AHK with Task Scheduler |
poo_noo
Replies: 21
Views: 1056
|
Forum: Ask for Help Posted: Thu Jun 30, 2011 1:29 am Subject: Using AHK with Task Scheduler |
| i must add that if run directly by the user via Task Scheduler -> Right click -> run, there does not seem to be any problem ... only if the task scheduler runs the script on its own at the sched ... |
Topic: Automatically close "helpsvc.exe" |
poo_noo
Replies: 3
Views: 128
|
Forum: Ask for Help Posted: Sun Mar 20, 2011 8:17 am Subject: Automatically close "helpsvc.exe" |
look at Process , exist
Exist: Sets ErrorLevel to the Process ID (PID) if a matching process exists, or 0 otherwise. If the PID-or-Name parameter is blank, the script's own PID is retrieved. |
Topic: how to append items from many textfile to a textfile |
poo_noo
Replies: 6
Views: 160
|
Forum: Ask for Help Posted: Tue Feb 15, 2011 3:03 am Subject: how to append items from many textfile to a textfile |
ugly but it seems to work. I am sure others with better skills could improve it.
;delete the file
filedelete final.txt
;###################################################################
; ... |
Topic: Holddown Key? |
poo_noo
Replies: 7
Views: 229
|
Forum: Ask for Help Posted: Tue Dec 28, 2010 9:50 pm Subject: Holddown Key? |
like this....
myloop:
loop, 10
{
SendInput, 1
Sleep, 6000
SendInput, {Alt Down}1{Alt Up}
Sleep, 600
msgbox This is loop %A_Index%
}
msgbox put o ... |
Topic: File read loop to go back through a file |
poo_noo
Replies: 2
Views: 283
|
Forum: Ask for Help Posted: Fri Sep 24, 2010 4:54 am Subject: File read loop to go back through a file |
Hi and thanks for the quick response.
It looks great. I was staring at my code forever and getting nowhere.
Thanks again. |
Topic: File read loop to go back through a file |
poo_noo
Replies: 2
Views: 283
|
Forum: Ask for Help Posted: Fri Sep 24, 2010 2:30 am Subject: File read loop to go back through a file |
Hi
I have a file reading loop that doesn't work exactly as expected. I have looked at it for some time and cant seem to work it out.
Anyway what I am trying to do is to read the Windows schedule ... |
Topic: fileappend to write contents in different colours..possible? |
poo_noo
Replies: 18
Views: 1082
|
Forum: Ask for Help Posted: Thu Jul 29, 2010 12:46 am Subject: fileappend to write contents in different colours..possible? |
a small code snippet to create & open a HTML file
; create the html
FileAppend,
(
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ... |
Topic: get the filename without extension |
poo_noo
Replies: 5
Views: 796
|
Forum: Ask for Help Posted: Thu Mar 25, 2010 3:03 am Subject: get the filename without extension |
Look at splitpath
http://www.autohotkey.com/docs/commands/SplitPath.htm |
Topic: Have script wait until program finished |
poo_noo
Replies: 13
Views: 1400
|
Forum: Ask for Help Posted: Wed Mar 24, 2010 10:43 pm Subject: Have script wait until program finished |
You could also periodically check the file size of the Access database and use that as your guide to see if Access has finished.
http://www.autohotkey.com/docs/commands/FileGetSize.htm |
Topic: Email Templates - Can I use variables? |
poo_noo
Replies: 5
Views: 517
|
Forum: Ask for Help Posted: Thu Mar 18, 2010 2:45 am Subject: Email Templates - Can I use variables? |
maybe use an inputbox ??
::-status::
InputBox, thename, Enter the name, What is the name, hide
Send Hi %thename%, please update the status of this ticket
Return |
Topic: Outlook Script |
poo_noo
Replies: 2
Views: 360
|
Forum: Ask for Help Posted: Thu Mar 18, 2010 12:32 am Subject: Outlook Script |
| I would look into 'mailto' if I were you. EGRun, mailto:someone@domain.com?subject=Subject text&body=This is the message body's text `%0ALine 2 is here |
Topic: Is it possible to group several clicks with a variable? |
poo_noo
Replies: 5
Views: 307
|
Forum: Ask for Help Posted: Mon Mar 01, 2010 2:57 am Subject: Is it possible to group several clicks with a variable? |
You could also put your click sets under particular keys. EG see below for F10 & F11 keys
F10::
Msgbox About to send clickset 1
Click 754, 239, D
Sleep, 100
Click 754, 239, U
Slee ... |
Topic: Simple Script to Search and Copy adjacent Text. |
poo_noo
Replies: 6
Views: 334
|
Forum: Ask for Help Posted: Tue Feb 16, 2010 10:02 pm Subject: Simple Script to Search and Copy adjacent Text. |
You guys are too quick for me
heres my attempt
theData =
(
Dog license number registered to Jane Doe
Burmington California
2 warnings given, has following dog tags recorded.
Jane Doe ... |
Topic: stripping out double `n |
poo_noo
Replies: 3
Views: 311
|
Forum: Ask for Help Posted: Thu Jan 28, 2010 11:45 pm Subject: stripping out double `n |
Does this work ?
fileread, chopthis,%a_workingdir%\DownloadedCasts\%plist%
stringreplace,chopthis,chopthis,%RowText%,
; Remove all blank lines from the text in a variable:
Loop
{
... |
| |