Page 1 of 1


PostPosted: Sun Oct 23, 2016 6:29 pm
by codegreen
A simple XFcn to create on-disk RTFD packages from RTFD data on the clipboard.

Syntax is:

get pasteRTFD(<hfsPath>)

If successful the XFcn returns the HFS path to the created RTFD package.

If no RTFD data is on the clipboard, it returns "false\rNo RTFD data on pasteboard".

Requires SuperCard 4.8b22 or higher.

(37.69 KiB) Downloaded 80 times

Re: pasteRTFD

PostPosted: Sat Dec 30, 2017 4:46 am
by sandrobilbeisi
thanks !

but how do you get RTFD data on the clipboard to begin with ?

I try copying from a rtf field and then invoking pasteRTFD(filename) but nothing happens ...

Re: pasteRTFD

PostPosted: Sun Dec 31, 2017 7:16 am
by codegreen
Usually by copying something in a Cocoa app.