Whether AppActivate is successful depends on the OS. For example, on Win2K (and I *think* WinME and
Win98) AppActivate won't "steal the focus" from another application.
The latest version of TweakUI (1.33) lets users configure that OS-specific behavior (it's on the
General tab)...
Windows Update: Tweak UI 1.33
http://www.microsoft.com/ntworkstation/downloads/PowerToys/Networking/NTTweakUI.asp
--
Michael Harris
Microsoft.MVP.Scripting
--
mik...@mvps.org
Please do not email questions - post them to the newsgroup instead.
--
"Mark Oliver" <mark_...@worldnet.att.net> wrote in message
news:XhEc6.11005$7b2.7...@bgtnsc05-news.ops.worldnet.att.net...
"Michael Harris" <mik...@mvps.org> wrote in message
news:OEU2VkJiAHA.1180@tkmsftngp05...
WSHShell.Sendkeys "%Fx"
If that doesn't help, I'd suggest you consider a third party control
called AutoIt. It seems to work a bit better than WSH's Sendkeys. If
you want to try it, see:
http://www.hidden.demon.co.uk/AutoIt/index.html
(This is merely informational, I have no vested interest nor can I take
any responsibility for the outcome.)
Tom Lavedas
-----------
http://www.pressroom.com/~tglbatch/
--
Michael Harris
Microsoft.MVP.Scripting
--
mik...@mvps.org
Please do not email questions - post them to the newsgroup instead.
--
"Mark Oliver" <mark_...@worldnet.att.net> wrote in message
news:upfd6.3243$r%.261835@bgtnsc04-news.ops.worldnet.att.net...
In article <OEU2VkJiAHA.1180@tkmsftngp05>,
> news:XhEc6.11005$7b2.749728@bgtnsc05-
news.ops.worldnet.att.net...
> > Hi, i have tried %{F4} and {%F4}. Any other
ideas?
> > Thanks,
> > Mark
> >
> >
> >
> >
>
>
Sent via Deja.com
http://www.deja.com/
--
Michael Harris
Microsoft.MVP.Scripting
--
mik...@mvps.org
Please do not email questions - post them to the newsgroup instead.
--
<pat...@my-deja.com> wrote in message news:95ad01$fkj$1...@nnrp1.deja.com...
"Michael Harris" <mik...@mvps.org> wrote in message
news:OEU2VkJiAHA.1180@tkmsftngp05...
--
Michael Harris
Microsoft.MVP.Scripting
--
mik...@mvps.org
Please do not email questions - post them to the newsgroup instead.
--
"Mark Oliver" <mark_...@worldnet.att.net> wrote in message
news:UPze6.9691$mA1.6...@bgtnsc06-news.ops.worldnet.att.net...