--- "swzoh" <[EMAIL PROTECTED]> wrote: > --- "pgregory9" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to run a script when I connect my Kodal camera to the USB > > port. The connection software works this way: > > > > KodakCCS.exe is always running in the background > > when I plug in the camera it gets connected as the F:\ drive, and > > during this process two little windows appear in the corner near the > > tray one has caption "Kodak Camera Connection Software" and the > > other has caption "Camera Connected". These captions appear in the > > task manager briefly > > > > The problem is that no combination of these three captions/paths > > that I have tried will trigger the script. But I have ben able to > > get MS Word to trigger the script. > > > > I suspect that part of the problem is that KodakCCS.exe is running > > from startup, but shouldn't PP be able to detect one or both of the > > other two windoes that it creates during the transfer process? > > I've no idea how you're doing this, I suspect you should use > 'anywindow' operator somewhere in your script. > How about changing 'anywindow' to 'visiblewindow'?
After a little more thought, I got a feeling that the 'brief' appearence may be the cause. If so, then it seems that Alan's solution that "if(mounted "F")" might be the only solution... ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/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/
