Thank You very much. You were right i forgot to declare it (i'm not really a coder and especialy not a VBScript one, I just try to make PSPad what I need).
So, now i don't get any errors, but neighter thing that I was looking for. My shortcut for "Paste as HTML" works fine (its "shift+ctrl+v") the command SH.SendKeys "+^v" doesn't work (it dosen't work even with "ctrl+v"). Am i doing something wrong? As I searched the parameters for command() function, i belive there would be a great place for just another parameter as "pasteAsHtml". That would solve all my problems. Or is it too hard to code? Another thing is that I couldn't have these functions getClipBoardText() and setClipBoardText() working. What kind of object are they deriving? I know that I my knowledge is poor in this area, but please help me. Thanks, -- <http://forum.pspad.com/read.php?2,42988,43122> PSPad freeware editor http://www.pspad.com
