Hello pspad,

again thanks for your fast answer.

Sub FileName2Clipboard
    Set FS   = CreateObject("Scripting.FileSystemObject")
    Set File = FS.GetFile(getActiveFilename())
    setClipboardText( CStr( File ) ) 
End Sub


1. Without CStr and CStr I get an Type conversion error.
   Any hints?
2. Where can I find that mentioned included script.rtf?
   What means *.rtf?

Thanks and greetings
padfox

-- 
<http://forum.pspad.com/read.php?2,44694,44698>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem