> > Had to do some form pasting and this problem really got on my
> > nerves
>
> It's been on my nerves since the .ini powerpro upgrade....I'm still
> thinking that there is a problem with that version+.
The reason snippets aren't working is because MyIE looks like it has
focus and doesn't. Bruce could add a WAIT for h!=0 in KEYS, but until
he does, one script that will consistently work is the following:
PowerPro often reports a NULL handle, so I wait until it isn't.
Try this and see:
Change the two \+ to your continued script file line (ie older '+)
; Run with (sample):
; [EMAIL PROTECTED](?"{QUOTE}{DN}my_text{ENTER}")
; arg(1) looks just like a keys command
@Paste
IF(arg(1)=="")
QUIT
LOCAL h=WIN.Handle("active")
FOR (LOCAL i=0; h==0 & i<20; i=i+1)
WAIT for 500, h!=0
IF(i==2 & h==0)DO
MISCPLUGIN.Balloontip(timesec,"INFORMATION",\+
"Click on the window to make active.",\+
"timeout=3","handle == NULL","icon=2")
ENDIF
h=WIN.Handle("active")
ENDFOR
; Below may not be necessary, but I've always used it
IF(exe=="=IEXPLORE" OR exe=="=mozilla" OR exe=="=MyIE")
WAIT for 500
WIN.Keys(arg(1))
QUIT
This maybe influencing your decision to use a script for keys:
18504 From: <[EMAIL PROTECTED]>
Date: Fri Jul 16, 2004 8:09am
Subject: Re: Off-Topic: Software recommendation "Wink"
> One thing to keep in mind Alex...the great think about keeping
> items in the .pcf is when calling those items, it reduces i/o on
> the computer. Probably not much of a real-world performance
> difference, ...
> task manager later, it was rediculous amount of i/o read/writes.
> I'm sure that part of the hdd was quite happy to get a break when I
> moved it to the .pcf =)
Using XP, if a file is read once and not changed, it is read the
second time from memory. File monitoring programs will indicate a
file I/O but the disk on my machine doesn't show activity for the
second read or subsequent reads.
IMHO, I agree that
> a monitor that was calling a .runscript
isn't a good idea, but a snippets menus or other manual calls via a
script is easier to maintain and upgrade between versions. Especially
now that the PCF cannot be easily maintained.
The best way to avoid disk reads is to buy more memory. 512MB works
for me.
Ted
------------------------ 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/