Reverse DNS style / UTI identifiers are common in macOS and other computer systems these days and are used in various ways.
If you've ever use the Engine's syntax for manipulating the clipBoard contents on macOS then you've already encountered these identifiers to indicate the type of data that's on the paste board. That may work differently on other OSes.
Here's an interesting article I came across which discusses indicating for temporary or confidential data on the clipboard with identifiers respected/supported by various historically popular macOS clipboard utilities:
http://nspasteboard.org
Working with clipBoard/Pasteboard
- OpenXTalkPaul
- Posts: 1723
- Joined: Sat Sep 11, 2021 4:19 pm
- Contact:
- richmond62
- Posts: 2905
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Working with clipBoard/Pasteboard
I am glad you changed the title of the thread as I was a bit confused . . .
Oddly enough Danny Goodman's HyperCard 2.2 Handbook has NO mention of Clipboard in the index
[This is very odd considering Clipboard is mentioned in the index of The Complete HyperCard Handbook 2nd edition; which is for HC 1.2.]
but does state on page 67:
" . . . you may copy and paste among unlocked HyperCard fields. When you do, all font characteristics (font, size, style, etc.) are copied along with the text.
"You can, however, bypass this feature, an allow the font of the destination field's insertion point to govern the appearance of the text you are pasting in. Holding the Shift key while pasting (via the menu of Command-V) triggers this feature."
-
Oddly enough Danny Goodman's HyperCard 2.2 Handbook has NO mention of Clipboard in the index
[This is very odd considering Clipboard is mentioned in the index of The Complete HyperCard Handbook 2nd edition; which is for HC 1.2.]
but does state on page 67:
" . . . you may copy and paste among unlocked HyperCard fields. When you do, all font characteristics (font, size, style, etc.) are copied along with the text.
"You can, however, bypass this feature, an allow the font of the destination field's insertion point to govern the appearance of the text you are pasting in. Holding the Shift key while pasting (via the menu of Command-V) triggers this feature."
-
https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 2905
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Working with clipBoard/Pasteboard
When it comes to the clipboard and confidential data I ALWAYS select-and-copy a random single letter as soon as I have pasted something like that.
https://richmondmathewson.owlstown.net/
- OpenXTalkPaul
- Posts: 1723
- Joined: Sat Sep 11, 2021 4:19 pm
- Contact:
Re: Working with clipBoard/Pasteboard
Come to think of it I can't remember there being any 'the clipboard' keyword in HyperTalk at all.richmond62 wrote: ↑Wed May 08, 2024 2:15 pm I am glad you changed the title of the thread as I was a bit confused . . .
Oddly enough Danny Goodman's HyperCard 2.2 Handbook has NO mention of Clipboard in the index
[This is very odd considering Clipboard is mentioned in the index of The Complete HyperCard Handbook 2nd edition; which is for HC 1.2.]
but does state on page 67:
" . . . you may copy and paste among unlocked HyperCard fields. When you do, all font characteristics (font, size, style, etc.) are copied along with the text.
"You can, however, bypass this feature, an allow the font of the destination field's insertion point to govern the appearance of the text you are pasting in. Holding the Shift key while pasting (via the menu of Command-V) triggers this feature."
-
ADB.jpg
Certain things like that you would actually script the actions as if the script was the user, so instead of having 'copy x to clipBoard' in your script you would write something like 'doMenu "Copy"' to put any selectedText on to the clipboard.
There were of course also XCMDs for doing things with the system clipboard.
Here's a new-old one from Uli that works inside the miniVMac emulator and copies data from the HOST computers clipboard (not the emulated System 6 or 7's clipboard):
https://github.com/uliwitness/minivmac- ... pboardxfcn
Who is online
Users browsing this forum: No registered users and 2 guests