AutoHotkey Community

It is currently May 22nd, 2012, 2:16 pm

All times are UTC [ DST ]


Search found 55 matches
Search these results:

Author Message

 Forum: Support   Topic: Toggle function not working

Posted: April 8th, 2009, 10:15 pm 

Replies: 3
Views: 397


Tested this one out. I think it works how you want it to. ; AutoExpand Display ; AutoHotkey Version: 1.0.48.00 ; Language: English ; Platform: WinXP ; Date: 08/04/2009 ;--------------------------------------------------------- #NoEnv #SingleInstance force #Persistent ;-------------------------------...

 Forum: Support   Topic: XEmacs : restore ALT normal behavior

Posted: April 8th, 2009, 4:26 pm 

Replies: 4
Views: 388


Your problem isn't the Alt Key, it is the Esc key. The Esc key doesn't work like the alt key. Upon holding the alt key down, nothing happens, while holding the Esc key continues sending the Esc key until it is released. I'm not sure how to fix this problem. Maybe someone else will have some insight.

 Forum: Support   Topic: XEmacs : restore ALT normal behavior

Posted: April 8th, 2009, 3:45 pm 

Replies: 4
Views: 388


so like
Code:
LAlt::Esc

???

 Forum: Support   Topic: Alt-Tab replacement

Posted: April 8th, 2009, 2:32 pm 

Replies: 4
Views: 604


The problem with your improved code is that once the mouse has moved away from the edge of the screen the program is constantly sending {ALTUP}. I would suggest that you use GetKeyState to check the state of the alt key inside the else loop. This way if the key is pressed it will send {ALTUP}, if no...

 Forum: Support   Topic: Macro

Posted: April 7th, 2009, 10:40 pm 

Replies: 6
Views: 573


I was trying to get you to do some of the coding... I would suggest using SetTimer create two timers and a conditional loop all toggled. something like: #Persistent x=0 return #x:: if x=0 { x=1 settimer, tenMin, 600000 ;10minutes * 60sec * 1000ms settimer, fiveMin, 300000 ;5 * 60 * 1000 } ...

 Forum: Support   Topic: CoordMode Relative/Screen & Windows title bar height?

Posted: April 7th, 2009, 9:04 pm 

Replies: 1
Views: 495


No they won't be in the same position. I've had a problem with this myself.

 Forum: Support   Topic: Alt-Tab replacement

Posted: April 7th, 2009, 8:45 pm 

Replies: 4
Views: 604


Are thinking of something like this? #SingleInstance Force #Persistent coordmode, mouse, screen SetTimer, Start, 10 ; Frequency of mouse pos checking. return Start: MouseGetPos, xpos, ypos if (xpos < 2) { send !{Tab} mousemove xpos+5, ypos sleep 500 } return ^#q:: exitapp

 Forum: Support   Topic: Mouse loop?

Posted: April 7th, 2009, 4:48 pm 

Replies: 7
Views: 557


Yeah no problem.
Code:
x=0
return

$XButton1::
if x=0
{
    x=1
    SetTimer, Go, 1
}
if x=1
{
    x=0
    SetTimer, Go, Off
}
return

 Forum: Support   Topic: Macro

Posted: April 7th, 2009, 4:44 pm 

Replies: 6
Views: 573


Here is the start to your code. since you want it to run constantly you need #Persistent at the top you also want a loop and a send {f8} and sleep (time here) and then a hotkey to turn the loop on and off. so the start of your code would look like: #Persistent x=0 return #x:: if x=0 x=1 else x=0 whi...

 Forum: Support   Topic: (declared global) vars not being assigned within function

Posted: April 6th, 2009, 10:59 pm 

Replies: 48
Views: 3046


As I said before
Code:
strItem := %tmpItem%
doesn't work...

Try exchanging the ":=" with "=" and try again.

or change to
Code:
strItem := % tmpItem

 Forum: Support   Topic: (declared global) vars not being assigned within function

Posted: April 6th, 2009, 9:33 pm 

Replies: 48
Views: 3046


I have a suggestion. I tried tmpItem2 := 12 strItem := %tmpItem2% MsgBox % "strItem = " strItem but this didn't work. Might be the start to your problem. However this works: tmpItem2 := 12 strItem = %tmpItem2% MsgBox % "strItem = " strItem I'm completely lost with you on this one...

 Forum: Support   Topic: How do you close another AHK script [Solved]

Posted: April 6th, 2009, 5:15 pm 

Replies: 9
Views: 2583


I knew it could be done! Thank you!

 Forum: Support   Topic: How do you close another AHK script [Solved]

Posted: April 6th, 2009, 2:31 pm 

Replies: 9
Views: 2583


It seems like the example that you are trying to get me to look at is, singleInstance Force. My script already contains this, I am not trying to run the same script again. I just need to close/terminate the other script. I just got an idea... why this didn't come to me before, I don't know... I can ...

 Forum: Support   Topic: Hide window befor it pops up

Posted: April 2nd, 2009, 11:32 pm 

Replies: 7
Views: 763


yes you can, but it won't block access you said Unfortuneatly it wont work becouse the application has a login window and as it pops up the program unhide itself. Because the application reactivates itself you will still see a slight glimpse of it, before you loop/hide it. You are still able to hide...

 Forum: Support   Topic: How do you close another AHK script [Solved]

Posted: April 2nd, 2009, 11:24 pm 

Replies: 9
Views: 2583


yea, reload is as simple as reload... lol
http://www.autohotkey.com/docs/commands/Reload.htm

My problem is I need to terminate the other script. I cannot continue to compile the script every time I change it. I am also not allowed to use unauthorized .exe files :?
Sort by:  
Page 1 of 4 [ Search found 55 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group