| View previous topic :: View next topic |
| Author |
Message |
schlemihl1277
Joined: 09 Jul 2005 Posts: 10
|
Posted: Mon Jul 11, 2005 11:31 pm Post subject: cannot launch these scripts |
|
|
Hi Community,
Sorry, but I cannot launch these scripts on my WinXP-HomeEdition. What could be the reason? German Windows Version? Or my Pre-Installed HotKey-Manager "HotKeyBind" (http://hotkeybind.sourceforge.net/)? I don't know. Do you?
Thank you for a suggestion.
schlemihl1277 |
|
| Back to top |
|
 |
keyboardfreak
Joined: 09 Oct 2004 Posts: 126 Location: Budapest, Hungary
|
Posted: Tue Jul 12, 2005 7:18 pm Post subject: |
|
|
Well, can you be a bit more specific than simply saying you "cannot launch" the script?
Is there an error when the script is launched?
Does the dialog appear, but it's empty?
Have you tried running the script with HotKeyBind disabled?
Do you run the script from a separate AHK file or did you insert into a common file with other scripts? ezuk had problems with this. |
|
| Back to top |
|
 |
schlemihl1277
Joined: 09 Jul 2005 Posts: 10
|
Posted: Wed Jul 13, 2005 1:30 am Post subject: cannot launch these scripts |
|
|
Hi keyboardfreak,
| Quote: | | Is there an error when the script is launched? |
No error-Message. Ahk-Picture appears in system-tray.
| Quote: | | Does the dialog appear, but it's empty? |
No dialog appears.
| Quote: | | Have you tried running the script with HotKeyBind disabled? |
Yes, but phenomenon remains the same.
| Quote: | | Do you run the script from a separate AHK file or did you insert into a common file with other scripts? |
I run a separate ahk-file.
Thank you for your efforts.
best regards,
schlemihl1277 |
|
| Back to top |
|
 |
keyboardfreak
Joined: 09 Oct 2004 Posts: 126 Location: Budapest, Hungary
|
Posted: Wed Jul 13, 2005 5:46 am Post subject: Re: cannot launch these scripts |
|
|
| schlemihl1277 wrote: | | No dialog appears. |
By default the script is activated with the CapsLock key. Did you press it? Have you tried choosing a different activation key? |
|
| Back to top |
|
 |
schlemihl1277
Joined: 09 Jul 2005 Posts: 10
|
Posted: Wed Jul 13, 2005 12:56 pm Post subject: No dialog appeared. |
|
|
Hi keyboardfreak,
| Quote: | | By default the script is activated with the CapsLock key. |
Thank you for your hint. That was the problem. The reason for this error is that holding ahk-scripts in working memory is not my philosophy, because I need about ten different ahk-scripts for my task. And I got used to launch them by HotKeyBind (also taking working memory resources).
The application "Incrementally switch between windows" is very nice. But I will probably continue to use my (less perfect and less beautiful) "fast and concise Window-Switcher(-Activator, -Manager)" (http://www.autohotkey.com/forum/viewtopic.php?t=4388) because I might be some milliseconds faster in my work flow with it.
Best regards.
schlemihl1277 |
|
| Back to top |
|
 |
Phoenix
Joined: 23 Sep 2005 Posts: 39
|
Posted: Fri Sep 23, 2005 8:27 pm Post subject: |
|
|
I absolute love this script i tried to construct a script like this for my self and then I found out that my idea had already been realized. There are however some functions I would like to add.
I have already made some modifications to it myself. The most usefull is probably to end tasks by selecting them and pressing delete. This is a very effective way to clean up windows if you like me often have a bunch of them open
One thing that my lack knowledge in AHK stops me from doing is replacing the listbox control with the new listview. It would be really nifty to see the icons of the open tasks on the left side of them and that is what I can understand only possible by using the listview control. |
|
| Back to top |
|
 |
n00kie
Joined: 16 Apr 2006 Posts: 6
|
Posted: Tue Apr 18, 2006 5:55 pm Post subject: I think something's wrong |
|
|
| Is it normal for the dialog to disappear when I try to use the Down key ? |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Apr 19, 2006 8:46 am Post subject: |
|
|
| Nope. You should be able to select an item with up/down and enter. |
|
| Back to top |
|
 |
n00kie
Joined: 16 Apr 2006 Posts: 6
|
Posted: Wed Apr 19, 2006 10:15 pm Post subject: |
|
|
thanks for sharing
I asked that because I really am not able to press the down key without the dialog vanishing. I didn't modify anything in the script and I have no idea why it would behave like that. Any ideas ?  |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Apr 20, 2006 8:29 am Post subject: |
|
|
Well, according to the documentation the script works with Autohotkey version 1.0.25+. It's a fairly old version and I also use a version around that.
I can't try it right know, but my guess is Chris broke something with backward compatibilty in newer AH versions and that's why it doesn't work. |
|
| Back to top |
|
 |
n00kie
Joined: 16 Apr 2006 Posts: 6
|
Posted: Thu Apr 20, 2006 7:17 pm Post subject: |
|
|
| So, I guess keyboardfreak would be the best suited to put his finger on it... |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Apr 20, 2006 8:05 pm Post subject: |
|
|
I tried it with the newest AH and it was broken for me too.
If you change this line
Gui, Add, ListBox, vindex gListBoxClick x6 y11 w300 h250 AltSubmit
to this (remove gListBoxClick)
Gui, Add, ListBox, vindex x6 y11 w300 h250 AltSubmit
then it works, although you won't be able to use the mouse to select a window, only the keyboard. (It's faster with the keyboard anyway).
Apparently there was a change in AutoHotkey and the script cannot distinguish between down arrow and single click anymore in the ListBoxClick procedure, since now both considered a "normal" gui event. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Thu Apr 20, 2006 10:46 pm Post subject: |
|
|
Yes, this was a change/fix in v1.0.38.04. To work around it, replace: | Code: | | if A_GuiControlEvent = Normal | with: | Code: | if (A_GuiControlEvent = "Normal"
and !GetKeyState("Down", "P") and !GetKeyState("Up", "P")) | Sorry for the inconvenience.
I also updated the script at the top of this topic (hopefully keyboardfreak won't mind). |
|
| Back to top |
|
 |
n00kie
Joined: 16 Apr 2006 Posts: 6
|
Posted: Tue Apr 25, 2006 8:33 pm Post subject: |
|
|
Thank you!
You guys are great. |
|
| Back to top |
|
 |
JonathanAquino Guest
|
Posted: Thu Jul 20, 2006 4:05 am Post subject: |
|
|
I was finding that when I held down Down then released, it would go to whatever list item I had released the key on.
I commented out the following line and it fixed the problem:
send, {enter} |
|
| Back to top |
|
 |
|