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:

syntax error in activ script

Kathy I have the following in an active script I'm running when the ebook exits -- and I keep getting syntax error, missing right bracket on the first line?? Help.

First line:
IF({doexit} = 1) THEN OPEN('http://in-the-e-zone.com....')

I've also tried IFSTREQUAL('{doexit}','1') too with same result -- I must be missing something, but.... and yes I did change how the variable is getting set (string VS. numerical)

Thanks for any light anyone can shed,

Posted on: 1:10 am on January 24, 2003
EBookCompiler Try

IF({doexit} = 1)

Posted on: 1:27 am on January 24, 2003
Kathy OK, now the syntax error is gone, but nothing is opening... Variables set via window.external.ActivSet in JS are still there when you run an Active script on exit, aren't they?


Posted on: 2:15 am on January 24, 2003
Kathy OK, I figured it out -- and it's working great now -- just FYI, I was setting a JS var, and trying to use that JS var to set the Activ var -- which didn't seem to work, but putting the window.external.ActiveSet instead of setting the JS var works like a charm -- thanks for the help and the great compiler.


Posted on: 2:46 am on January 24, 2003

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