AutoHotkey Community

It is currently May 23rd, 2012, 4:36 pm

All times are UTC [ DST ]


Search found 174 matches
Search these results:

Author Message

 Forum: Support   Topic: AHK problem: multiple instances running

Posted: May 18th, 2011, 9:47 pm 

Replies: 10
Views: 426


It turned out it really was the part of the script that I posted in my first post that caused the multiple instances. And I came up with a simple solution: I changed

Code:
  Reload ; reloads AHK

to
Code:
  sleep 1000
  Reload ; reloads AHK

and the problem is gone! :)

Thanks for the help, guys!

 Forum: Support   Topic: AHK problem: multiple instances running

Posted: May 14th, 2011, 7:25 pm 

Replies: 10
Views: 426


Yeah, it's always the same script - my main script. My latest change didn't fix it either. :? I can't reproduce the problem reliably, but it happens at least once a day. Well, I'm not a doctor; but let's see if we can diagnose the problem. :wink: Hehe 8) History 1. you say you have multiple AHk &qu...

 Forum: Support   Topic: AHK problem: multiple instances running

Posted: May 14th, 2011, 9:45 am 

Replies: 10
Views: 426


Yeah, it's always the same script - my main script. My latest change didn't fix it either. :?

I can't reproduce the problem reliably, but it happens at least once a day.

 Forum: Support   Topic: AHK problem: multiple instances running

Posted: May 13th, 2011, 8:12 pm 

Replies: 10
Views: 426


Update: there are again 3 AHK icons sitting in my systray... :(

Doesn't make sense to me... I'll change that line to

#SingleInstance ignore

now and see if that changes anything.

 Forum: Support   Topic: AHK problem: multiple instances running

Posted: May 13th, 2011, 11:53 am 

Replies: 10
Views: 426


chrisj91 wrote:
Code:
#SingleInstance force ;If this script is already running, terminate it and load a new instance


Place this at the very top of your script.

Hope this helps :D

Chris

Sounds *exactly* like what I need... thanks! :D

 Forum: Support   Topic: AHK problem: multiple instances running

Posted: May 13th, 2011, 11:26 am 

Replies: 10
Views: 426


Hi, some time ago AHK started to run itself multiple times - there sometimes are 4 or more AHK icons in the systray area (or whatever it's called). I think I tracked it down to this script: ;2011-01-30 ;maximize Google Chrome window size !NumpadAdd:: ;(Alt+NumpadAdd) If WinActive("a...

 Forum: Support   Topic: timer issue

Posted: February 7th, 2011, 6:50 pm 

Replies: 4
Views: 224


I couldn't follow that logic 100% (especially since a similar script worked flawlessly in the past), but then I don't have to understand everything. :D I changed your suggested (var >= 59 or var <= 1) to (var >= 59 and var <= 1) and after some thought to (var >= 00 and var <= 01) and now the script ...

 Forum: Support   Topic: timer issue

Posted: February 7th, 2011, 2:29 pm 

Replies: 4
Views: 224


No... your wild guess doesn't work.

 Forum: Support   Topic: timer issue

 Post subject: timer issue
Posted: February 7th, 2011, 1:13 pm 

Replies: 4
Views: 224


Hi, the script looks ok to me, but doesn't work. It's supposed to run the .exe at a given time once a day. The script's check if the .exe is running already works, the check for volume X: works, and the check for the correct hour works - but it fails at "If BackupSFFS_MIN = 00" - why, oh w...

 Forum: Support   Topic: toggle window size with keyboard - how?

Posted: January 30th, 2011, 2:01 pm 

Replies: 2
Views: 179


http://www.autohotkey.com/docs/scripts/EasyWindowDrag_(KDE).htm Thanks for your help! I couldn't get my idea to work based on that script, so I decided to code a simple alternative. Works for me! :lol: ;2011-01-30 ;maximize Google Chrome window size !NumpadAdd:: ;(Alt+NumpadAdd) If WinActive...

 Forum: Support   Topic: toggle window size with keyboard - how?

Posted: January 30th, 2011, 10:38 am 

Replies: 2
Views: 179


Hi,

what's the easiest way to do in a script what clicking the button left to a windows' ("X") close button does? I have no idea...

 Forum: Support   Topic: automatically deactivate CAPS Lock?

Posted: June 20th, 2010, 4:25 pm 

Replies: 2
Views: 235


Thanks!

I put

SetNumLockState, AlwaysOn
SetCapsLockState, AlwaysOff

at the top of my main AHK script, works like a charm!

(Putting it further down in the script caused some weird things to happen, hehe)

 Forum: Support   Topic: automatically deactivate CAPS Lock?

Posted: June 20th, 2010, 4:05 pm 

Replies: 2
Views: 235


Hi, since I use CAPS Lock about twice a year but press it WAY more often accidently, I wonder if I could use AHK to automatically deactivate CAPS Lock once I pressed it? (Should I really WANT to use it, I'd just pause AHK then.) Is something like that possible? I have no idea how to approach such a ...

 Forum: Support   Topic: Logitech Wave: AppsKey missing, how to code around that?

Posted: June 9th, 2010, 3:23 pm 

Replies: 3
Views: 611


PS: I just found the 'missing' key! :) Instead of using an individual key, Logitech assigned Fn+Print to behave like the AppsKey. Not a combination that's good to grab, so I'll stick with the AHK solution. Thanks again!

 Forum: Support   Topic: Logitech Wave: AppsKey missing, how to code around that?

Posted: June 8th, 2010, 8:25 pm 

Replies: 3
Views: 611


HotKeyIt wrote:
Try this:
Code:
>!<^RCtrl::Send {Blind}{AppsKey}


Yaaay! :D Works nicely, thanks a lot!
Sort by:  
Page 1 of 12 [ Search found 174 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group