AutoHotkey Community

It is currently May 26th, 2012, 7:20 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 154 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next
Author Message
PostPosted: July 11th, 2005, 11:31 pm 
Offline

Joined: July 9th, 2005, 8:53 pm
Posts: 10
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 12th, 2005, 7:18 pm 
Offline

Joined: October 9th, 2004, 8:55 pm
Posts: 217
Location: Budapest, Hungary
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.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 13th, 2005, 1:30 am 
Offline

Joined: July 9th, 2005, 8:53 pm
Posts: 10
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


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 13th, 2005, 5:46 am 
Offline

Joined: October 9th, 2004, 8:55 pm
Posts: 217
Location: Budapest, Hungary
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: No dialog appeared.
PostPosted: July 13th, 2005, 12:56 pm 
Offline

Joined: July 9th, 2005, 8:53 pm
Posts: 10
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2005, 8:27 pm 
Offline

Joined: September 23rd, 2005, 8:18 pm
Posts: 55
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.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 18th, 2006, 5:55 pm 
Offline

Joined: April 16th, 2006, 12:32 am
Posts: 5
Is it normal for the dialog to disappear when I try to use the Down key ?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 19th, 2006, 8:46 am 
Nope. You should be able to select an item with up/down and enter.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 19th, 2006, 10:15 pm 
Offline

Joined: April 16th, 2006, 12:32 am
Posts: 5
thanks for sharing :lol: :D
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 ? :roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 20th, 2006, 8:29 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 20th, 2006, 7:17 pm 
Offline

Joined: April 16th, 2006, 12:32 am
Posts: 5
So, I guess keyboardfreak would be the best suited to put his finger on it...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 20th, 2006, 8:05 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 20th, 2006, 10:46 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 25th, 2006, 8:33 pm 
Offline

Joined: April 16th, 2006, 12:32 am
Posts: 5
Thank you!
You guys are great.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 20th, 2006, 4:05 am 
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}


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 154 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Scratch, Xx7 and 18 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group