| Author |
Message |
Topic: Let a hotkey delete a previous character |
leuce
Replies: 1
Views: 184
|
Forum: Ask for Help Posted: Tue Aug 01, 2006 3:56 pm Subject: Let a hotkey delete a previous character |
G'day everyone
I have a program installed which, if active, causes accent characters to be typed twice. In other words, if I press the circumflex character (Shift+6) to get ^, then on screen two o ... |
Topic: Dismiss a timed-out window before locking the computer |
leuce
Replies: 3
Views: 920
|
Forum: Ask for Help Posted: Wed Jul 05, 2006 12:13 pm Subject: Dismiss a timed-out window before locking the computer |
Perhaps add some Sleep.
Actually, I simply added the WinKill to a separate script which also calls p2.exe, and put that in the place of p2.exe in the script of post #1. |
Topic: Dismiss a timed-out window before locking the computer |
leuce
Replies: 3
Views: 920
|
Forum: Ask for Help Posted: Wed Jul 05, 2006 10:50 am Subject: Dismiss a timed-out window before locking the computer |
G'day everyone
I have the following script which locks the computer after 5 minutes of inactivity and after a warning message times out after 5 seconds. The program p2.exe locks the computer (it b ... |
Topic: How to detect a key being held down for long? |
leuce
Replies: 3
Views: 267
|
Forum: Ask for Help Posted: Wed Jul 05, 2006 9:32 am Subject: How to detect a key being held down for long? |
Hi, I came up with this little bit of code which might help you...
Neat! The script has an interesting side-effect... the fact that your example uses a simple MsgBox instead of a more complex one ... |
Topic: How to detect a key being held down for long? |
leuce
Replies: 3
Views: 267
|
Forum: Ask for Help Posted: Wed Jul 05, 2006 8:28 am Subject: How to detect a key being held down for long? |
G'day everyone
Is there a way for a script to detect that a certain key is being held down for a certain period of time? I want a certain action to happen when the user holds down the spacebar for ... |
Topic: Need Crtl+Alt+Del combination |
leuce
Replies: 11
Views: 617
|
Forum: Ask for Help Posted: Tue Jul 04, 2006 4:00 pm Subject: Need Crtl+Alt+Del combination |
Otherwise, Win+L locks my computer too...
Nice! Unfortunately I can't press Win+L in the middle of a script, so what I did is I created a separate script with just one line in it to press Win+L, a ... |
Topic: Need Crtl+Alt+Del combination |
leuce
Replies: 11
Views: 617
|
Forum: Ask for Help Posted: Tue Jul 04, 2006 3:24 pm Subject: Need Crtl+Alt+Del combination |
You won't make it. CTRL+ALT+DEL is established at a system level which AHK (an application) isn't able to trigger.
What a pity. I'm trying to write a panick script for people to lock their compute ... |
Topic: Computer Lock |
leuce
Replies: 54
Views: 13547
|
Forum: Scripts & Functions Posted: Tue Jul 04, 2006 2:13 pm Subject: Re: Computer Lock |
Do you mean that it doesn't prompt you to set a password or doesn't ask you for a password to unlock the screen?
It didn't even lock the screen. But now it works, with your changes made, thanks. ... |
Topic: Computer Lock |
leuce
Replies: 54
Views: 13547
|
Forum: Scripts & Functions Posted: Tue Jul 04, 2006 12:35 pm Subject: Re: Computer Lock |
This script will lock the screen preventing anyone accessing your PC once the lock has been activated.
As soon as the script starts you will be prompted to set your password. This password will be ... |
Topic: Scroller script question, again |
leuce
Replies: 1
Views: 206
|
Forum: Ask for Help Posted: Wed Jun 28, 2006 9:57 am Subject: Scroller script question, again |
G'day everyone
This question relates to:
http://www.autohotkey.com/forum/viewtopic.php?t=10138
Is there a way to record the amount of time that a key is being pressed, and then let the script p ... |
Topic: WinActivate a trayicon |
leuce
Replies: 9
Views: 464
|
Forum: Ask for Help Posted: Wed Jun 28, 2006 8:53 am Subject: WinActivate a trayicon |
Try this *Untested Mod* ...
Nope, but with two changes, it works. One change is that you have to use the ahk_class method for calling the application, otherwise it interferes with the clipboard ... |
Topic: WinActivate a trayicon |
leuce
Replies: 9
Views: 464
|
Forum: Ask for Help Posted: Wed Jun 28, 2006 8:26 am Subject: WinActivate a trayicon |
Yes! The above code activates it. But I find that ClipTorrent will no more be minimised to tray. Do you experience this ?
Yes, but I already licked it:
^m::
IfWinExist, ClipTorrent
... |
Topic: WinActivate a trayicon |
leuce
Replies: 9
Views: 464
|
Forum: Ask for Help Posted: Wed Jun 28, 2006 7:53 am Subject: WinActivate a trayicon |
The following works for numerous apps:
DetectHiddenWindows, On
Winshow, ahk_class %classname%
Winactivate, ahk_class %classname%
And it worked for me, thanks! I never thought about th ... |
Topic: WinActivate a trayicon |
leuce
Replies: 9
Views: 464
|
Forum: Ask for Help Posted: Wed Jun 28, 2006 7:45 am Subject: Re: WinActivate a trayicon |
| Nope, none of the methods in the archives work. DetectHiddenWindow does not call it. Relaunching the Process actually launches a second instance of it. But... I'll try to keep it restored all the t ... |
Topic: WinActivate a trayicon |
leuce
Replies: 9
Views: 464
|
Forum: Ask for Help Posted: Wed Jun 28, 2006 7:26 am Subject: Re: WinActivate a trayicon |
| Wait... I just noticed that if I search for "tray icon" (two words instead of one), I do get this same question several times in the forum archive... |
| |