eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
Learn How To Create, Publish & Market E-Books
E-Book Creation Software
Add sophisticated multimedia to your E-Books
Create E-Book covers in minutes
E-Book Marketing & Promotion made easy
Search engine for E-Books
Interviews with eBook authors
Tools for building better eBooks
Archived Message:

Programmatically Enter Password

TSEROOGY I want to disable Activ E-Book's password button from the toolbar and create my own method/procedure for having the eBook purchaser enter the password.

In essence, I want the password entered programmatically via a messagebox (prompt) that I create.

How can this be accomplished?

Best regards,

Posted on: 4:32 am on December 11, 2004
Alaska Well, you could spend some time figuring it out yourself, or just purchase Mr. Dodson's helpful ebook script:


Seems like I was just mentioning this to a previous poster, so I decided I'd better look it up...

 It's offered at a great price; so much so, I don't see how he can afford to support it.  Better grab it before he changes his mind....

best -

Posted on: 7:07 am on December 11, 2004
TSEROOGY Appreciate the reply.

I reviewed the demo. It appears that this is not exactly the solution for which I am looking. The demo simply automates a ClickBank or PayPal payment from within the eBook.

This is a nice feature, and one that I have already added myself.

My goal, on the other hand, is a little different in that I don't want the user to see the Password Number {p} at all.

In all instances that I've seen, including the demo, it is still necessary to enter the password via the password prompt provided through Activ E-Book - thus, exposing the Password Number.

My reasoning is simple:

The wording on the default password messagebox or prompt - "Enter Password X for this E-Book" -  is confusing to many.

As wrong or stupid as it may sound, the assumption of the user is that "X" is the "password" that is to be entered into the prompt.

As such, in my payment scheme, the Password Number is never seen by the user. This not only eliminates the little bit of confusion on the user's part, it also serves as a little (very little) bit more security.

I can create my own prompt and return a value. However, I don't see any method for passing the value to the program.

The ENTERPASSWORD() method simply presents the same messagebox I'm trying to avoid.

If a method currently exists, I'd much rather use it.

If not, a little probing may show me the work-around.

Best regards,

(Edited by TSEROOGY at 10:48 pm on Dec. 11, 2004)

Posted on: 2:38 pm on December 11, 2004
Alaska  You might want to submit this to Sunil as a Version 5 enhancement request - and a good one, at that.

Making the user's entry of the password transparent and scriptable would make automating the ebook much easier.

 I think what we're looking at is an internal version of the Activ ENTERPASSWORD() variable.

 We started that 'Version 5 Enhancement Requests' thread some time back, but if you go back through the foums a page or two, it's there... I would certainly agree that the transparent password entry, along with the ability to create persistant user ids, would make downloading and paying for an ebook a very painless and efficient process.

best -

Posted on: 5:39 pm on December 11, 2004
TSEROOGY Thanks, again.

I'll take a look back for the v.5 Enhancement Requests.

I'm hoping the Password feature as well as more control over the print options - i.e. limiting the number of copies a page(s) can be printed, etc.

Best regards,

Posted on: 6:17 pm on December 11, 2004
JohnDodson There is a way to do what you want.  However, you need to seriously reconsider an automation way of entering the password.

I did do this in the beginning 3 different ways and the problem was that I kept figuring out ways to get around paying for the ebook.  Each time I managed to get around the payment system, the ebook entered the password automatically and I was in for free.

I am not saying that you should not do it, I am just giving you something to consider.

If you want the customer to NOT, see the password number, go to the language editor and remove it from the password box.  Just put something else in so that when the box to enter the password comes up, the password number is no longer there.

Posted on: 3:30 pm on December 13, 2004
Not showing the Password number in the messagebox is perfect.

Please advise on use of "the language editor," and where to locate the string that needs to be changed.

Appreciate your reply,
Best regards,

Posted on: 3:46 pm on December 13, 2004
JohnDodson To change the wording on the password box, click on the "User Interface" tab in the compiler.  Then double-click on anything listed in the pane.

A dialog box will pop-up so you can decide what you want on the toolbar, status bar and so on.  At the bottom of the dialog box you will see two thumbnails, one says Toolbar Position, and the other one says Language with an edit button beside it.

Click the edit button and a small box will pop-up so you can name the changes you are going to make.  The default one is named English, it can not be changed thank goodness.  Give it a name and click OK.

When you click OK you will see a long list of items you can change.  The list begins with Dialog boxes.  On the right you will see the value which is what is displayed on the boxes.  #15 and #16 are the password boxes, I think.  Find the ones that say: Enter Password% and double-click on it.

Another dialog box will open that says Dialog Box Text.  Change the wording to whatever you want and click ok, then do the other one.

To use these changes you made, open the ebook in the compiler that you want to use them in, click "User Interface", double-click something in the window pane, and then in the Language thumbnail select the file that you created. (you named it something in the beginning.)  Now click ok to close the dialog box and the boxes will have what you changed on them.

Remember that each ebook you want the changes in must be loaded in the compiler and the file you created selected as the language.  Then recompiled.

Sounds like a lot but it is really very simple once you have done it one time.


let me know if you get lost.

Posted on: 4:11 pm on December 13, 2004
TSEROOGY Ah, a feature I didn't know existed!

Thanks, John.

You explained the procedure clearly. Got it the first time around.

And, for what I need, it certainly is easier than writing a load of script or trying to create an add-in.

Best regards,

Posted on: 4:18 pm on December 13, 2004
JohnDodson Hi Roger,
Yeah I see you know the feeling.  I spend 1% of my time answering emails about my products and 99% answering emails about the compiler.

It seems that something I thought people would die for is only good for what I do on the side.  But hey, at least I'm addicted to computers or I would have gave up a long time ago.

Hope things have been going well for you and you have a great Christmas.


Posted on: 4:22 pm on December 13, 2004
JohnDodson Glad you figured it out.  It is a very useful tool Sunil put in the compiler.  His intention was for other languages, but as with all good invention it has other great uses.

Good luck with your ebooks.


Posted on: 4:28 pm on December 13, 2004
Alaska  Hang in there, John.  Your persistence is the key.

 Genius is often unrewarded, and persistence is the only thing that really makes a difference.

 I think Calvin Coolidge said something like that...

 Anyway, Happy Holidays to you and yours, and everybody, everywhere...

 best -

(Edited by Alaska at 11:09 am on Dec. 13, 2004)

Posted on: 7:18 pm on December 13, 2004
fatherunit And here it is 7 years later and this post helped again! Thank you for the question and the answer.

Posted on: 4:50 pm on March 26, 2011

List All Archived Forums

Copyright © 2000-2018, Answers 2000 Limited.

With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures