| Author |
Message |
Forum: Support Topic: kill applications that minimze instead of close (like skype) |
| homamk |
|
Posted: April 26th, 2011, 6:45 pm
|
|
Replies: 4 Views: 367
|
| - You're missing else block . - To get the "X button" position, try WM_NCHITTEST . - To refresh the tray, use TrayIcon . ok, this seems like it could work, but i do not understand it at all. HT_0 := "NOWHERE" HT_1 := "CLIENT" HT_2 := "CAPTION" HT_3 := "S... |
|
 |
Forum: Support Topic: kill applications that minimze instead of close (like skype) |
| homamk |
|
Posted: April 26th, 2011, 4:34 am
|
|
Replies: 4 Views: 367
|
| Refreshing the tray: Good luck On your script, why not use the winwait* commands to determine when Skype's window closes, then kill its process? so much simpler. winwait, ahk_class tSkMainForm,,,, winwait, ahk_class TLoginForm,,,, if ErrorLevel { MsgBox, WinWait timed out. return } else P... |
|
 |
Forum: Support Topic: kill applications that minimze instead of close (like skype) |
| homamk |
|
Posted: April 26th, 2011, 4:08 am
|
|
Replies: 4 Views: 367
|
| Hey guys i have spent all day today trying to figure this out. I have a working script but it is not as precise as i would like it to be. #IfWinActive ahk_class tSkMainForm ~Lbutton:: wingetpos,,,Ww,, ahk_class tSkMainForm mousegetpos, mx, my if (Mx>Ww-30 && MX<ww && my>-4 &&... |
|
 |
Forum: Scripts Topic: Auto screen capture script |
| homamk |
|
Posted: September 19th, 2010, 7:03 pm
|
|
Replies: 5 Views: 2092
|
can you use sleep in the same way you used setkeydelay? (once at the top) if you can't then isn't it better to just use setkeydelay?
i might read up more on writing scripts and make the user input the loop cycles and hot key through a msg box. |
|
 |
Forum: Scripts Topic: Auto screen capture script |
| homamk |
|
Posted: September 19th, 2010, 4:34 pm
|
|
Replies: 5 Views: 2092
|
| ^!R:: ; CTRL+ALT+R to run the script loop 400 ; keep going for n number of times in this case 400 times { Send +{Printscreen} ;keystroke [shift]+[PrintScreen] [color=red]Sleep[/color] 1500 ; delay for 1.5 seconds Send {down} ; keystroke down [color=red]Sleep[/color] 1500 ; ... |
|
 |
Forum: Scripts Topic: Auto screen capture script |
| homamk |
|
Posted: September 19th, 2010, 6:07 am
|
|
Replies: 5 Views: 2092
|
| i wanted to write a script to capture a specific region then click or send a keystroke then capture another screen shot for the same region for n number of times. So the user assigns an active window, and N for the number of times he wants the screen shot THEN keystroke to happen. for example: i hav... |
|
 |
Forum: Scripts Topic: Capture screeshots with a nice GUI (and IrfanView) |
| homamk |
|
Posted: September 19th, 2010, 2:21 am
|
|
Replies: 60 Views: 33749
|
| i wanted to write a script to capture a specific region then click or send a keystroke then capture another screen shot for the same region for n number of times. So the user assigns an active window, and N for the number of times he wants the screenshot THEN keystroke to happen. for example: i have... |
|
 |
| Sort by: |