PasteKey Bug?

Marty Knapp martyknapp at comcast.net
Thu Dec 17 14:25:16 EST 2009


Thanks Mark for taking the time to try this,

I'm on an Intel iMac running OS 10.5.8 and the latest version of Rev 
Studio. My menuPick handler for Paste is just "paste". This is 100% 
repeatable for me, so far. Any other thoughts?

Thanks,
Marty Knapp
> Hi Marty,
>
> I don't know whether this is a bug or not, but I have no problem with 
> calling the same handler from the pasteKey and the menuPick handler.
>
> -- 
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Full PayPal integration and automation in web site or 
> (Revolution/SuperCard/other) software. Contact me for a quote
> http://economy-x-talk.com/contact.html
>
> Op 17 dec 2009, om 17:35 heeft Marty Knapp het volgende geschreven:
>
>> I'm having trouble with the pasteKey message not being caught (I 
>> understand that it does not function in the IDE without suspending 
>> the development tools).
>>
>> I tried this twice - make 2 identical stacks, each with a field. In 
>> the field script I put:
>>
>> on pasteKey
>>  answer "No pasting allowed"
>> end pasteKey
>>
>> Then take one of the stacks and install a menubar with the default 
>> settings. Script the cut - copy - paste commands with cut, copy & 
>> paste respectively. Then suspend development tools, copy some text 
>> from somewhere and try to paste into the 2 stacks. The stack without 
>> the menubar catches the pasteKey message, but the stack with the 
>> menubar does not and the text is pasted.
>>
>> Is this a bug, or am I not understanding something? (This has been 
>> driving me crazy for a while)
>>
>> Marty 



More information about the Use-livecode mailing list