Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

Differentiating Child Windows

Posted by Mike Gossland 
Mike Gossland
Differentiating Child Windows
May 29, 2003 07:20PM
I'm working with an app that has several different types of child windows.
For example, one is a text window, the other shows graphics.

Is there a good way of using the same gesture to send different commands depending on the type of child window?

pi
Re: Differentiating Child Windows
May 30, 2003 06:07PM
currently you need a second program for that.
i have not tried this special need, but with quick macros ->
[url=http://www.quickmacros.com/]http://www.quickmacros.com/[/url] you can check the mouse position and the class under it.
so you only have to fire your gesture to quick macros.
in quick macros you can define then what to perform.
James Barlow
Re: Differentiating Child Windows
July 21, 2003 10:11AM
I'm using an AutoIT script for this type of function.
[url=http://www.hiddensoft.com/AutoIt/]http://www.hiddensoft.com/AutoIt/[/url]

Copied from another post -

As an example of a script:

This .AUT script is linked in an application to one gesture. Perform the gesture with a particular window closed - it opens. Perform the gesture with that window open - it closes.

----
IfWinExist,<WindowName>,,goto,close
goto,open

close:
WinClose,<WindowName>,,
goto,end

open:
Send,<Some keystrokes or mouse-clicks to open window>
goto,end

end:
-----
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 19 plus 7?
Message: