Re: Blocking COPY ???

2013-04-29 Thread Richmond

On 04/28/2013 09:43 PM, Paul Hibbert wrote:

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 | jac...@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.

___



Now, in my 'thang' I have a series of buttons (one on each page - big 
surprise)


that contain scripts something like this:

on mouseUp
  copy fld crapToBeCopied
end mouseUp

so copying can be done by end-users without recourse toa physical copyKey

now how would : block that copying actions without having to disable 
every blasted button

but editing code?

Richmond.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ???

2013-04-29 Thread Paul Hibbert

On 2013-04-29, at 10:38 AM, Richmond wrote:

 On 04/28/2013 09:43 PM, Paul Hibbert wrote:
 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 | jac...@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.
 
 ___
 
 
 Now, in my 'thang' I have a series of buttons (one on each page - big 
 surprise)
 
 that contain scripts something like this:
 
 on mouseUp
  copy fld crapToBeCopied
 end mouseUp
 
 so copying can be done by end-users without recourse toa physical copyKey
 
 now how would : block that copying actions without having to disable every 
 blasted button
 but editing code?
 
 Richmond.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


Richmond,

Is the code consistent enough that you can use the [Edit  Find and Replace] 
feature? Something like…

Find:
copy fld
Replace with:
--Demo Disable copy fld

…Then still use the copyKey trap in the stack script.

Find  Replace can be a really powerful tool.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ???

2013-04-28 Thread stephen barncard
copy is a reserved word in Livecode...

use something like r_copy for a handler name and it will work

but unlike Forth, you can't do that


On Sun, Apr 28, 2013 at 11:09 AM, Richmond richmondmathew...@gmail.comwrote:

 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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ???

2013-04-28 Thread Paul Hibbert
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 | jac...@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ???

2013-04-28 Thread Richmond

On 04/28/2013 09:43 PM, Paul Hibbert wrote:

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…


Thanks, Paul, for that reminder: had a lot on my plate recently, Richmond.


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 | jac...@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ???

2013-04-28 Thread Paul Hibbert

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

 Thanks, Paul, for that reminder: had a lot on my plate recently, Richmond.

You're welcome, pleased to help.

Paul

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ?

2013-04-01 Thread Richmond

On 01/04/13 06:15, Mark Talluto wrote:

On Mar 31, 2013, at 1:07 PM, Richmond richmondmathew...@gmail.com wrote:


I really am getting tired of continually commenting out 25 copy commands in 25 
objects
for Demo versions of my stuff, and wonder if there is not a way to block the 
copy command
globally with a single stack script rather like this:

Out of curiosity, have you considered allowing your demo to work fully?


At that point it won't be a Demo,
and I wonder what will pursuade
people to pay 50 dollars?




Best regards,

Mark Talluto
canelasoftware.com







___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ?

2013-04-01 Thread Roger Eller
There are many ways to allow full functionality of a demo.  One way is to
show a pesky timer counting down from 5 minutes, then covering the app with
a giant Buy now! button.  The user must quit to get another 5 minutes of
use, or go ahead and buy it.

~Roger
 On Apr 1, 2013 2:19 AM, Richmond richmondmathew...@gmail.com wrote:

 On 01/04/13 06:15, Mark Talluto wrote:

 On Mar 31, 2013, at 1:07 PM, Richmond richmondmathew...@gmail.com
 wrote:

  I really am getting tired of continually commenting out 25 copy commands
 in 25 objects
 for Demo versions of my stuff, and wonder if there is not a way to block
 the copy command
 globally with a single stack script rather like this:

 Out of curiosity, have you considered allowing your demo to work fully?


 At that point it won't be a Demo,
 and I wonder what will pursuade
 people to pay 50 dollars?



 Best regards,

 Mark Talluto
 canelasoftware.com







 __**_
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode



 __**_
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ?

2013-04-01 Thread Mark Talluto

On Mar 31, 2013, at 11:14 PM, Richmond richmondmathew...@gmail.com wrote:

 At that point it won't be a Demo,
 and I wonder what will pursuade
 people to pay 50 dollars?

Here are some facts:
* A demo is a better than a pirated copy because you still have control.
* You can decide how long you want your demo to last.  

The real questions are: 
Does the software fill a need?
Is it worth $50?
Can someone live without your software once they have tasted it?


Best regards,

Mark Talluto
canelasoftware.com







___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ?

2013-03-31 Thread Paul Hibbert
Richmond,

This works for Cmd+C  Cmd+X if you add a menubar to Mac OS X…

--The following menuPick handler was generated by the Menu Builder.
on menuPick pWhich
   switch pWhich
  case Cut
 answer nice try, chum
 break
  case Copy
 answer nice try, chum
 break
  case Paste
 --Insert script for Paste menu item here
 break
  case Clear
 --Insert script for Clear menu item here
 break
  case Preferences
 --Insert script for Preferences menu item here
 break
   end switch
end menuPick

Paul

On 2013-03-31, at 1:07 PM, Richmond wrote:

 I really am getting tired of continually commenting out 25 copy commands in 
 25 objects
 for Demo versions of my stuff, and wonder if there is not a way to block the 
 copy command
 globally with a single stack script rather like this:
 
 on copy
   don't
 end copy
 
 
 
 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!
 
 Richmond.
 
 ___
 use-livecode mailing list
 use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ?

2013-03-31 Thread J. Landman Gay

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 | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ?

2013-03-31 Thread Dr. Hawkins
On Sun, Mar 31, 2013 at 1:07 PM, Richmond richmondmathew...@gmail.comwrote:

 although, on Macintosh it does not stop command-C working!  and the answer
 dialog doesn't appear!

 On mac, having added my own menus, cmd-C doesn't seem to work, anyway.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Blocking COPY ?

2013-03-31 Thread Mark Talluto

On Mar 31, 2013, at 1:07 PM, Richmond richmondmathew...@gmail.com wrote:

 I really am getting tired of continually commenting out 25 copy commands in 
 25 objects
 for Demo versions of my stuff, and wonder if there is not a way to block the 
 copy command
 globally with a single stack script rather like this:

Out of curiosity, have you considered allowing your demo to work fully?  


Best regards,

Mark Talluto
canelasoftware.com







___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode