--- "pgregory9" <[EMAIL PROTECTED]> wrote:
> anywindow() was able to detect those little windows in a
> Monitor script, so this is what I worked out (based on your
> and Alan's comments):
>
> Run as a Monitor script:
>
> If(anywindow("*Camera Connected*")) do
> If(anywindow("*cam2pc Image Downloader*")) do
> Quit
> EndIf
> "C:\Program Files\cam2pc\cam2pc.exe" /transfer
> EndIf
> Quit
>
> The inner "If" is because the wanted program was running twice.
>
> I had tried a window Open command list with caption lists such as
>
> *Camera Connected*
> =kodakccs
>
> And others... But none of it worked.
>
> Let me know if this can be made better...
>
> Thanks, this was driving me nuts!
What you mean is: The "Monitor" list is working, but "Open"
special list is not working?
It's strange to me. Does the monitor list trigger "cam2pc.exe"
only when "*Camera Connected*" appears?
Would you check the hidden window lists by using
"*Window Show! menu hidden"?
Do the lists contain "Camera Connected"?
My guess is that it's not.
Then, maybe there is some discrepancies in your setting.
What is the 'exact' name of your "Open" command list?
Is it the same with the name in "pproconf.exe -> Command Lists
-> Setup... -> Secial Lists -> Open" box?
Anyway, the monitor list may be written this way too:
(I assumed "Camera Connected" is the full caption)
If(visiblewindow("Camera Connected")) do
*Exec Monitor off
"C:\Program Files\cam2pc\cam2pc.exe" /transfer
*Wait novisiblewindow "Camera Connected"
*Exec Monitor on
EndIf
Quit
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/