AutoHotkey Community

It is currently May 24th, 2012, 9:11 am

All times are UTC [ DST ]


Search found 18 matches
Search these results:

Author Message

 Forum: Support   Topic: Grabbing content from a List, not working ?

Posted: March 5th, 2010, 10:47 pm 

Replies: 4
Views: 297


Murx wrote:
You've pointed already to another thread which provided (AFAICS) a solution: http://www.autohotkey.com/forum/topic49620-16.html, or ??


I don't really understand what he is talking about :oops:
I really don't know what to do next.

 Forum: Support   Topic: Grabbing content from a List, not working ?

Posted: February 28th, 2010, 4:33 am 

Replies: 4
Views: 297


I want to grab the content from a List Windows Spy detects this list as the following: ClassNN: WindowsForms10.Window.8.app.0.687911a6 I've been trying to grab the content from the List with AutoHotkey but it failed: WinGet, application_window, , Found Data ControlGet, var_count, List, Count , Windo...

 Forum: Support   Topic: How to grab pixel color from "hidden" Window

Posted: December 23rd, 2009, 1:17 pm 

Replies: 0
Views: 237


When i have 10 different windows on top of eachother, i would like to grab the pixel color of a certain coordinate on any window i choose without having that window on the front ( so there can be multiple windows in front of it ). Pulling the particular window to the front is not an option. Anyone k...

 Forum: Support   Topic: Windows on top of eachother: Z coord?

Posted: December 23rd, 2009, 1:11 pm 

Replies: 4
Views: 328


Thanks for the help guys.

 Forum: Support   Topic: Windows on top of eachother: Z coord?

Posted: December 21st, 2009, 12:28 am 

Replies: 4
Views: 328


If you take all the windows that exist on your screen, you could say they all have a Z-coordinate ( dimension of depth). Is there a way to specify the Z-coord of a certain window? An example of my case: I have 5 windows stacked on eachother and when the visible window contains a certain pixel, it wi...

 Forum: Support   Topic: How to determine which Window at certain coordinates

Posted: December 20th, 2009, 6:05 pm 

Replies: 3
Views: 306


Thank you jethrow,
your code was very helpful :D

@ Lexikos,
your tip also seems to be quite interesting. I'll check it out, thanks.

 Forum: Support   Topic: How to determine which Window at certain coordinates

Posted: December 19th, 2009, 4:56 pm 

Replies: 3
Views: 306


Let's suppose i have 3 windows stacked above eachother. Their upperleft corner is at x0 y0 and their lowerright corner is at x500 y500 I am aware of 2 coordinates: x = 25 y = 25 How can i determine which window is currently visible under coordinate x25, y25 ? I could move with my mouse pointer to x2...

 Forum: Support   Topic: Opening Window without focussing it

Posted: December 9th, 2009, 11:56 pm 

Replies: 5
Views: 246


hm i really can't lose focus not even for a microsecond, because if you are typing it will get selected while typing, overwriting the selection on the next key

The only way is to have a window popping up without ever getting focus on it.

 Forum: Support   Topic: Opening Window without focussing it

Posted: December 9th, 2009, 11:25 pm 

Replies: 5
Views: 246


Check out NA option Gui Help I use this function: WinRestore, ahk_id%windowname% Can't i use this function then? Can i use the GUI function for Windows i have not created myself? The GUI Help says: GUI Creates and manages windows and controls. Such windows can be used as data entry forms or custom ...

 Forum: Support   Topic: Opening Window without focussing it

Posted: December 9th, 2009, 10:56 pm 

Replies: 5
Views: 246


My AutoHotKey script opens windows in the toolbar automatically on certain moments. My problem: When i'm using a window and i'm typing text, and suddenly a window from the taskbar pops up, the focus is lost and is being moved to this new window and because i'm typing those texts are being typed in t...

 Forum: Support   Topic: "simple" question: If and Strings...

Posted: December 9th, 2009, 6:36 pm 

Replies: 9
Views: 278


If you use the parenthesis you are evaluating an expression, which means literal text must be quoted and variables require no parentheses. Passing the contents to another variable is probably the easiest way but this might also work: (window1status = "ahk_id" windowname) Thanks, i...

 Forum: Support   Topic: "simple" question: If and Strings...

Posted: December 9th, 2009, 6:10 pm 

Replies: 9
Views: 278


Then the problem is elsewhere in your script, adopt my test script and replace ahk_id1=ahk_id0xc0bda with ahk_id1=somethingelse it will now show MsgBox 2, as I would expect. So the problem is not in this section of your script, perhaps your ahk_id1 is incorrect or windowname or.... can't tell Solve...

 Forum: Support   Topic: "simple" question: If and Strings...

Posted: December 9th, 2009, 5:55 pm 

Replies: 9
Views: 278


you need more spaces around else etc as well does this do what you want window1status = ahk_id0xc0bda ; just for test windowname=1 ; just for test ahk_id1=ahk_id0xc0bda ; just for test If (window1status = ahk_id%windowname%) { MsgBox, 1) %window1status% vs ahk_id%windowname% }...

 Forum: Support   Topic: "simple" question: If and Strings...

Posted: December 9th, 2009, 5:48 pm 

Replies: 9
Views: 278


hugov wrote:
Haven't checked but at first glance
Code:
if_(window1status = ahk_id%windowname%)
there needs to be space between if and the first ( now it looks acts/like function I think.

(But could be wrong)


I've just tried your correction but it doesn't change anything.

 Forum: Support   Topic: "simple" question: If and Strings...

Posted: December 9th, 2009, 5:40 pm 

Replies: 9
Views: 278


i'm a programmer and i can work with various programming languages but i do have real troubles with the IF structures in AutoHotKey, i can't get any sense of how they work and i have gone through the "basics", but i just can't get the following to work: if(window1status = ahk_id%window...
Sort by:  
Page 1 of 2 [ Search found 18 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group