I think that is a timing issue.
Bruce just explained that in his message earlier today
in the thread: Re: Help with Additional Commands

While your script is running, Powerpro is active.
When you do clip.cut, before telling Windows to Cut
PowerPro must switch back to the window which was
focussed before your script started.
That happens correctly but it takes time.
Your next command, clip.get is executed faster because
there is no need to switch windows before reading the
clipboard. So your clip.get is completed before your
clip.cut is executed.
Try this to demonstrate:
clip.cut
clip1 = clip.get
wait for 500
clip2 = clip.get
win.debug(clip1,clip2)

Clip1 and clip2 will be different because of the wait.

I suggest: place a wait immediately after clip.cut.
Experiment with shorter and shorter wait until it stops working
then add to the wait until it works consistently.



Attention: PowerPro's Web site has moved: http://www.ppro.org 
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/
 



Reply via email to