AutoHotkey Community

It is currently May 24th, 2012, 9:16 am

All times are UTC [ DST ]


Search found 40 matches
Search these results:

Author Message

 Forum: Support   Topic: Help closing a program...

Posted: April 21st, 2011, 1:03 pm 

Replies: 9
Views: 248


Its not admin problems, as i run as full admin (i know i know, i dont need to hear it... ;p)

It can't be the timing either, since i have the waits in place to wait for the window...

Incidentally, I cant get chrome to work on either XP or Windows 7...

 Forum: Support   Topic: Help closing a program...

Posted: April 21st, 2011, 10:37 am 

Replies: 9
Views: 248


Okay, this is VERY wierd...

I've just tested the exact same script at work, which uses Windows XP instead of Windows 7, and guess what, it closes uTorrent fine...

So... any ideas why it isn't working on Windows 7!?

 Forum: Support   Topic: Help closing a program...

Posted: April 20th, 2011, 10:23 pm 

Replies: 9
Views: 248


I bet the problem occurs with that Greek character. Check out SetTitleMatchMode, and try : SetTitleMatchMode 2 ; then close windows with the title "torrent" Edit: what's wrong with WinClose? Wont win close just close it back to the system tray? SetTitleMatchMode did nothing :( EDIT: Sleep...

 Forum: Support   Topic: Help closing a program...

Posted: April 20th, 2011, 9:19 pm 

Replies: 9
Views: 248


Having the same problem with Chrome now too... Seems to work fine for iTunes and sticky notes tho :( ^!+c:: IfWinExist,µTorrent { WinWait, µTorrent IfWinNotActive, µTorrent, , WinActivate, µTorrent, WinWaitActive, µTorrent, Send !f Send {x} } IfWinExist, iTunes { PostMessage...

 Forum: Support   Topic: Help closing a program...

Posted: April 20th, 2011, 9:07 pm 

Replies: 9
Views: 248


let's see where it is when it "doesn't work". ^!+c:: tooltip, b4 IfWinExist`,utorrent IfWinExist, µTorrent { tooltip, b4 WinWait`, utorrent WinWait, µTorrent tooltip, b4 IfWinNotActive`, utorrent IfWinNotActive, µTorrent, , WinActivate, µTorrent, tooltip, b4 WinWaitActive`, utorrent ...

 Forum: Support   Topic: Help closing a program...

 Post subject: Help closing a program...
Posted: April 20th, 2011, 7:28 pm 

Replies: 9
Views: 248


I have two scripts, one was a test script, and one is my master. The code below, works in test, but I want to incorporate it into a script that closes multiple apps... ^!+z:: WinWait, µTorrent, IfWinNotActive, µTorrent, , WinActivate, µTorrent, WinWaitActive, µTorrent, Send !f Send {x} ret...

 Forum: Scripts   Topic: iTunes Anywhere (keyboard shortcuts)

Posted: September 15th, 2010, 8:22 pm 

Replies: 80
Views: 100800


I've been using this, but i've discovered that if you run it before iTunes runs, it basically prevents iTunes from starting... anyone had this?

 Forum: Support   Topic: Google Chrome Middle click undo close tab

Posted: September 9th, 2010, 7:33 am 

Replies: 3
Views: 901


But wont that just do both? So if i were to click on a tab, it would close it (as middle click does) and then re-open it!?

 Forum: Support   Topic: Google Chrome Middle click undo close tab

Posted: September 8th, 2010, 10:16 pm 

Replies: 3
Views: 901


I know this is possibly really simple, but I'm really strugging to get my head around doing it... I want Google Chrome to behave like firefox, so when you middle click a blank bit of the tab bar, you undo the last closed tab (Ctrl-Shift-T) Trouble is, I don't want to disrupt the standard middle clic...

 Forum: Scripts   Topic: iTunes Anywhere (keyboard shortcuts)

Posted: September 6th, 2010, 5:34 pm 

Replies: 80
Views: 100800


Sorted - you need to make sure that the top bit is right at the start of your file... #Include C:\Program Files\AutoHotKey\ws4ahk.ahk ; Necessary initialization WS_Initialize("JScript") itunes := WS_CreateObject("iTunes.Application") WS_AddObject(itunes, "...

 Forum: Scripts   Topic: iTunes Anywhere (keyboard shortcuts)

Posted: September 5th, 2010, 10:17 pm 

Replies: 80
Views: 100800


Hey, got the iTunes COM interface working with Dell Media buttons. This can rate your current track too, with #1, #2, etc. As far as I can tell, this works no matter what status iTunes is in - maximised/minimised/toolbar. I'm assuming I'm doing things correctly with the WS - all that's required for...

 Forum: Support   Topic: Illegal Character - but it's a negative number!?

Posted: March 27th, 2010, 8:06 pm 

Replies: 3
Views: 253


Excellent! Many thanks - for anyone who's interested, my script is used to black out my second monitor when watching a film: ^!+#b:: IfWinExist, Dimit43271 { WinActivate Dimit43271 Gui Destroy ; Remove blinds return } else { WinGetActiveTitle, GiveFocusTo ; Get previous window name Sy...

 Forum: Support   Topic: Illegal Character - but it's a negative number!?

Posted: March 27th, 2010, 10:17 am 

Replies: 3
Views: 253


SysGet, Mon2, Monitor, 1 Width:=%Mon2Right%-%Mon2Left% Height:=%Mon2Top%-%Mon2Bottom% MsgBox, W:%Width% H:%Height% Because of the position of my monitor, some of these are negative. I'm trying to calculate the width and the length, but i gte Illegal Character error? Surely AHK can handle negative n...

 Forum: Support   Topic: Always on Top Script (now possible PowerMenu replacement)

Posted: March 26th, 2010, 4:30 pm 

Replies: 4
Views: 948


Okay, so i feel like i'm in this thread alone now, but I figure someone may find this useful... I thinking of extending this into a bit of a powermenu replacement (since that no longer works with x64 based systems)... I want to start with the priority of a process, but I can't find a way to RETRIEVE...

 Forum: Support   Topic: Always on Top Script (now possible PowerMenu replacement)

Posted: March 26th, 2010, 3:59 pm 

Replies: 4
Views: 948


I've now come up with a slightly different version with a menu when you click on the maximise button (chose this as it seems that right clice does nothing on this by default and seems a sensible place to put it...) ~RButton:: SetBatchLines, -1 CoordMode, Mouse, Screen SetMouseDelay, -1 ; no pause af...
Sort by:  
Page 1 of 3 [ Search found 40 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group