Copying objects to the clipboard
Bob Sneidar
bobs at twft.com
Mon Aug 6 18:42:10 EDT 2012
Hey! Looks like I crashed it! I took a screen shot of a window on my mac, clicked Show Keys, then chose Unicode. THAT is why they call me the Bugmeister!!! ;-)
Bob
On Aug 6, 2012, at 3:03 PM, Peter Haworth wrote:
> Thanks Stephen, not too late at all.
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
>
> On Mon, Aug 6, 2012 at 1:49 PM, stephen barncard <
> stephenREVOLUTION2 at barncard.com> wrote:
>
>> Peter -- I hope this isn't too late -
>>
>> I made this stack to examine all elements of what's in the clipboard at any
>> moment ---
>>
>> go URL "http://fulton.barncard.com/stax/clipboardTest.rev"
>>
>> there are likely a possible few font bugs, but I've tested it pretty well.
>>
>> Just remember it won't work properly without being saved somewhere, and the
>> included font is installed alongside.
>> Save the stack then reload, you'll get a dialog asking permission to
>> install the font.
>> The font allows the showing of all the codes represented in the hex
>> listing. You'll see what I mean when you press the "show all chars" button.
>>
>> Just copy whatever into the clipboard, including sound clips, images, or
>> text. Don't paste it, but just hit the "show keys" button.
>>
>> the small scroller on the left shows the keys to the clipped data, choose
>> one and the data will be displayed.
>>
>> the popup at the bottom chooses how displayed, I usually use HEX
>>
>> the small field below shows the number of bytes
>>
>> On Thu, Aug 2, 2012 at 10:54 AM, Peter Haworth <pete at lcsql.com> wrote:
>>
>>> After copying an object to the clipboard, the clipboard data type is
>>> "objects". Is there a way to determine what type of object or do I have
>> to
>>> keep track of that myself?
>>>
>>> This is in connection with a copy/paste and figuring if a paste is valid
>> or
>>> not, e.g. pasting a substack to a card would be invalid.
>>>
>>> Pete
>>> lcSQL Software <http://www.lcsql.com>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
>>
>> --
>>
>>
>>
>> Stephen Barncard
>> San Francisco Ca. USA
>>
>> more about sqb <http://www.google.com/profiles/sbarncar>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list