AutoHotkey Community

It is currently May 27th, 2012, 8:36 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 72 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject:
PostPosted: April 17th, 2006, 9:53 am 
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...


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

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 17th, 2006, 1:57 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 17th, 2006, 6:11 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 9th, 2006, 9:19 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 23rd, 2006, 7:10 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 23rd, 2006, 7:58 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 23rd, 2006, 10:01 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2006, 1:11 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2006, 1:14 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2006, 9:44 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2006, 1:01 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2006, 1:10 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
toralf wrote:
Could you please advice me what licence I could choose?
Attribution-NonCommercial-ShareAlike 2.5 licence from Creative Commons :?:

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2006, 1:29 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2006, 1:44 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
I'm sure that would be fine.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 72 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: AndyJenk, Aravind, Bing [Bot], hyper_, xXDarknessXx and 10 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