I wanted a script that opens the image batcher Debabelizer Pro, loads some
batch scripts, then repositions the script windows from their default
cascaded position to a more usable configuration. I first tried accessing
the child windows directly but no go. Debab is a ported app so I had the
same problem as with the Firefox web client: The PPro window() function
can't get the handles. window("anywindow","=DEBABELIZERPRO") returns some
handles, but none of them belong to the script windows (I checked with a
window spy utility). winlist = window("visiblewindow","=DEBABELIZERPRO")
returns ONLY the handle of the parent app although it has a number of
visible child windows. Window commands using the full caption of a batch
script child window return an error.Next, I tried the mouse command, which worked - except not in a for-loop within 3 nested if-endifs, where I originally put it. The for-loop only worked properly in a single if-endif, which confirms my impression that PPro's for is a tad "loopy.". If the for's nested any deeper the wait timers don't work and without the timers the mouse goes all over the place. After some test runs tweaking mouse coordinates (which don't match screen pixels, but maybe that's my dual monitors), the script started crashing PPro. It kept on crashing after rebooting. When I finally managed to get rid of the XP "report error to Microsoft" spyware (see note) I got a normal error message telling me PowerPro had attempted to reference an illegal memory address. I commented out the mouse save and mouse recall lines and no more crashes. Saving xmouse and ymouse to variables was no problem. NOTE: Found a neato MS spyware remover for XP: http://gd.tuwien.ac.at/pc/bazar/XPAntiSpy3-English.zip ------------------------ 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/
