Registering WordLib

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
tasdvl9
Posts: 94
Joined: Fri Dec 06, 2013 3:55 am

Registering WordLib

Post by tasdvl9 » Tue Feb 11, 2014 5:10 pm

Sorry for such a 'newbie' question but how exactly does one go about registering WordLib to use in their
standalone? I have a registration code but where do I enter this code exactly?

I was sent an email that says use the registerWordLib command in your scripts but where exactly does this get placed?

Thanks!

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Registering WordLib

Post by FourthWorld » Tue Feb 11, 2014 5:14 pm

If memory serves, you just call that command anywhere in your script before calling any other commands or functions in WordLib.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

tasdvl9
Posts: 94
Joined: Fri Dec 06, 2013 3:55 am

Re: Registering WordLib

Post by tasdvl9 » Wed Feb 12, 2014 3:13 pm

Hi, Thanks for the reply.

Here is what I implemented in order to execute my standalone.

on preOpenStack
start using "wordlib"
registerWordLib "YOURCODE"
end preOpenStack

on preOpenStack
start using "wordreport"
registerWordReport "YOURCODE"
end preOpenStack

In order to use this method you have to make sure both wordlib and wordreport are substacks in your project.

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: Registering WordLib

Post by dave.kilroy » Wed Feb 12, 2014 3:38 pm

Hi tasdvl9

Are you using two preOpenStack handers in your stack script? If so I suggest you put all the code you need in one of them and zap the other one - and in general only have one handler using a particular name within an object's script.

Kind regards

Dave
"...this is not the code you are looking for..."

tasdvl9
Posts: 94
Joined: Fri Dec 06, 2013 3:55 am

Re: Registering WordLib

Post by tasdvl9 » Fri Feb 14, 2014 8:29 pm

Thanks!

Sorry. I was a little too overly eager to answer and posted that code snippet twice :)

Post Reply