finger triggered circuit
Gerhard Fiedler email (remove spam text)
Patrick Murphy wrote:
>>> WinActivate("MPLAB IDE v7.10")
>>Maybe use WinActivate("MPLAB IDE *")
> Thanks. I'll make that change.
Not so quickly... :) That didn't work out so well.
The first thing that was wrong is the asterisk. On reading the help, it
does partial matching by setting opt( "WinTitleMatchMode", 2 ), not by
using asterisks or something. I thought I saw this somewhere in the
examples, but I was probably wrong.
So then I had this:
opt( "WinTitleMatchMode", 2 )
but had at the same time an explorer window open with the MPLAB directory
(and "MPLAB IDE" in the title). Not good... :)
This is what I do now:
; in the header of the file
$mplabTitle = "MPLAB IDE v7.10"
; further down where referencing the title
WinActivate( $mplabTitle )
Exactly. It can take some time to find the proper unique conditions... a
standardized way to retrieve application states would be /really/ nice :)
In reply to: <email@example.com>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the