Blocking COPY ???

Paul Hibbert lc at pbh.on-rev.com
Sun Apr 28 14:43:04 EDT 2013


Didn't we have this discussion a short while ago?

I tried Jacque's suggestion and (after removing the 'pass copyKey') it worked fine in a standalone, just not in the IDE…

> On 3/31/13 3:07 PM, Richmond wrote:
>> 
>> I am aware one can do this:
>> 
>> on copyKey
>>   answer "nice try, chum"
>>    pass copyKey
>> end copyKey
>> 
>> although, on Macintosh it does not stop command-C working!  and the
>> answer dialog doesn't appear!
>> 
> 
> It should work in a standalone or if you suspend the IDE. The IDE traps and uses it during development.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com


Paul

On 2013-04-28, at 11:09 AM, Richmond wrote:

> I have a fantasy (???) and would like to implement something like
> this in either sa stack or car script:
> 
> on copy
>   don't
> end copy
> 
> or something like this:
> 
> on copy
>  set the clipboardData to "No Luck Chum"
> end copy
> 
> this would be a way to block all the multiple ways of copying text end-users have in a Demo.
> 
> but of course as soon as I write a script with "on copy" the thing throws a wobbly.
> 
> Richmond.
> 
> _______________________________________________
> 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