edwin24:
--------------------------------------------------------------------------------
OK, I looked into this "SendKeys", but I can't get this running. My code is
set SH = Wscript.CreateObject("WScript.Shell")
SH.AppActivate "PSPad"
SH.SendKeys "+^v"
My error is on first line stating that: "Variable SH is not defined".
This is just a part of code from help file, so what did I do wrong? Any ideas?
Thanks,
--------------------------------------------------------------------------------
If you have "option explicit" on top of your code
you have to DIM you var SH first.
DIM SH
SET SH = Wscript.CreateObject("WScript.Shell"
...
...
--
<http://forum.pspad.com/read.php?2,42988,43073>
PSPad freeware editor http://www.pspad.com