AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AHK Window Info 1.7
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
AHKnow*
Guest





PostPosted: Mon Apr 17, 2006 9:53 am    Post subject: Reply with quote

Features like the below, require updated versions of AutoHotkey:

Code:
WinGet, ListOfControlHandles, ControlListHwnd, ahk_id %WindowUniqueID%  ; Requires v1.0.43.06+.


I think that you should have a min. version of AutoHotkey that is needed to run AHK Window Info.

Perhaps you could put this info. on the first post of this topic. Just a suggestion...
Back to top
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Mon Apr 17, 2006 1:51 pm    Post subject: Reply with quote

Laszlo wrote:
OnExit needs a little more fine tuning.
I could only sometimes reproduce it. With the following I could not reproduce it any more.
Code:
ExitSub:
  GoSub, CleanUpFrameGui
  Sleep,50
  ExitApp
Return
It is only the "sleep,50" that gets added at line 133. Could you please verify that this works for you as well?
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Mon Apr 17, 2006 1:57 pm    Post subject: Reply with quote

AHKnow* wrote:
I think that you should have a min. version of AutoHotkey that is needed to run AHK Window Info.
The code checks for the AHK version and stops, if it is not the required one. It might come to an error if the AHK version is older then 1.0.43.06 But I can't stop that.
AHKnow* wrote:
Perhaps you could put this info. on the first post of this topic. Just a suggestion...
Thanks, I did.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Laszlo



Joined: 14 Feb 2005
Posts: 4016
Location: Pittsburgh

PostPosted: Mon Apr 17, 2006 6:11 pm    Post subject: Reply with quote

Even 500 ms sleep does not solve my problem (Dell Inspiron 9300, XP SP2). I start the script, click on a window, activate a couple other windows, click on the script's Gui and finally exit the script from its tray menu. It always leaves my Windows in a state, where Alt-Tab does not bring the active window in the foreground. Restarting the script and exiting it by closing its GUI cures the problem, but it is back the next time I exit through the tray menu.
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Fri Jun 09, 2006 9:19 am    Post subject: Reply with quote

New version 1.3 in first post.

Quote:
;changes since 1.2
; - added: Control handle to advanced and list view
; - improved: fixed some spelling mistakes
; - fixed: option "Show tooltip at cursor" had no effect
; - fixed: option "Show tooltip at cursor" wasn't remembered between sessions
; - improved: For all DllCall's the types are put in quotes
; - changed: coordinates and sizes will have a space after the comma when put on clipboard
; - changed: the number of characters in the GUI for the list items is limited to 200. Clipboard will receive all
; - changed: "Introduction - Please Read" button moved to new info tab
; - changed: Renamed "active control in window" to "focused control in window".
; - fixed: Window Info refused to minimize while the right-side list was displayed.
; - changed: While Window Info is minimized, updating of data is turned off
; - fixed: Coordinates of GUI got stored when GUI got closed minimized
;todo
; - Change License
; - Window Info should be tested on Windows 9x prior to distribution
; - reduce CPU load

_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sun Jul 23, 2006 7:10 pm    Post subject: Reply with quote

i missed this topic coz it was posted during my long sabbatical... but i just noticed it as Laszlo bumped it and wow!... its really nice toralf! great work!

i just need to know how do i turn auto-update off... i've been using my own window info tool untill now and i don't use auto-update in it... i just take the mouse cursor wherever and launch it using a hotkey... and it opens with all the info i'd ever need on the control/window/whatever.
_________________
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Jul 23, 2006 7:58 pm    Post subject: Reply with quote

Have you tried the Pause key?

Maybe you want to open the "more Info" on the advanced tab. Then each click will update the window.

You can also make the Gui hide during update, which will improve speed.

If all this doesn't help you or isn't what you want, please make a suggestion and describe the exact behaviour. Thanks
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Sun Jul 23, 2006 10:01 pm    Post subject: Reply with quote

It'd be great to have an option (saved between sessions) that would start Window Info with the Pause mode ON with the info of the relevant control/window gathered.
_________________
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Sep 03, 2006 1:11 am    Post subject: Reply with quote

Rajat wrote:
It'd be great to have an option (saved between sessions) that would start Window Info with the Pause mode ON with the info of the relevant control/window gathered.
But this script is not started with a hotkey therefore your mouse will most probably not over the relevant control.
If the gui is hidden (in the tray) and you press pause the data is gathered. Without auto-update.

BTW: I tested the latest version on CPU load.
With auto-update the impact is greatly influenced by:
- if there is large amount of text in the controls, e.g. in an editor window. Pointing on PSPad with a script is about 20% CPU load. Pointing on the Internet Explorer with the forum open is about 2% CPU load.
- the number of Pixels received for the color picker. 20% for 1x1 and 30% for 3x3 when pointing on PSPad. So I changed the default to 1x1.

When you have the option turn on to hide the gui in the tray, the impact is 0%.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Sep 03, 2006 1:14 am    Post subject: Reply with quote

The first post is updated to version 1.4
Quote:
;changes since 1.3
; - last tab gets remebered between starts
; - large list hides automatically when tab is not "Advanced"
; - by default not rectangle is drawn around controls
; - gui starts NoActivate
; - fixed a problem with hidden gui and pause key
; - reduced impact in hidden mode on CPU load to nearly 0
I hope this is a version most people will enjoy. Please report any problems. Hopefully one day Chris will put it into the AHK installer.

BTW: Would a one-click mode be of any use? Instead of auto-update every xxx milliseconds, the data would only be updated at each mouseclick (outside the GUI).
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Sep 03, 2006 9:44 am    Post subject: Reply with quote

I was told that the licence I choose is very strict or at least not appropiate. When I choosed the licence I just took the same as AHK.

Could you please advice me what licence I could choose?
I want to avoid, that someone takes the code and makes a comercial version of it. It should stay open source and free of charge, but no other limits.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Sep 03, 2006 1:01 pm    Post subject: Reply with quote

Added to more changes:
Quote:
; - to support 800x600 screen resolutions the advanced guis initial height is 600
; - instead of auto-update, update of data can be done on mouse click (button can be L/M/R, default M)
But I didn't increase version number because the change was within 12 hours of initial release. First post is updated.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sun Sep 03, 2006 1:10 pm    Post subject: Reply with quote

toralf wrote:
Could you please advice me what licence I could choose?
Attribution-NonCommercial-ShareAlike 2.5 licence from Creative Commons Question
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Sep 03, 2006 1:29 pm    Post subject: Reply with quote

That is a good suggestion. How would I have to link it/put it into the code so that it becomes legal.
Is it enough to just put the web address into the header of the code?
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Titan



Joined: 11 Aug 2004
Posts: 5068
Location: imaginationland

PostPosted: Sun Sep 03, 2006 1:44 pm    Post subject: Reply with quote

I'm sure that would be fine.
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group