[jawsscripts] Re: locking scripts to a serial number
- From: "Sean Randall" <seanr@xxxxxxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Wed, 15 Apr 2009 17:04:51 +0100
Desyree,
I've never locked scripts before and would strongly advise you not to do so
either, unless of course you're selling the code in which case this might be
a useful protection measure.
Code such as this will do the job, in theory - please note that it is
untested.
;--code starts.
Const
chosenSN=12345
void function autoStartEvent()
if (GetJFWSerialNumber() != chosenSn) then
switchToConfiguration("default")
endIf
endFunction
;-- code ends.
This works by checking the current serial number against a value you store
and, whenever the application loads, if the numbers are different, the
default set of scripts are activated. As I say this is untested - I've
never tried to sell scripts and I'm sure there are those more knowledgeable
than I on the matter here.
One thing to keep in mind is that you'll need an individually-compiled set
of scripts for each serial number of JAWS.
Sean.
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Desyree Vaughn
Sent: Wednesday, April 15, 2009 4:55 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] locking scripts to a serial number
I am wondering the easiest way to lock scripts to a serial number. I know
about the function to retrieve the serial number . Just not sure what else
I need to do
Desyree
__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
Other related posts: