For my AmiBroker _javascript_ integration that I use on the Tools menu, I use the following to ensure that the _javascript_ runs correctly:

 

Command: wscript.exe

Arguments:  //E:_javascript_ scriptname.js

Intial Directory: C:\Program Files\AmiBroker\Scripts

 

This way, if a user changes their associations, the scripting engine still runs that script.

 

Note that scripts were somewhat broken with Internet Explorer 7 RC1, but seem to be ok in IE6 and IE7 release versions.

 

Best regards,
Richard Dale.
Norgate Investor Services
- Premium quality Stock, Futures and Foreign Exchange Data for
  markets in Australia, Asia, Canada, Europe, UK & USA -
www.premiumdata.net

From: Tomasz Janeczko [mailto:[EMAIL PROTECTED]
Sent: Thursday, 26 October 2006 7:30 PM
To: [email protected]
Subject: Re: [amibroker] New user question: Scripting issues

 

Hello,

Simply double click on .JS file and see if it runs.
If not, it means that .JS extension is not registered properly
to be run with WSCRIPT.EXE
(some 3rd party programs change associations and
this is causing problems).
In such case you would need to change .JS association
back to WSCRIPT.EXE (which is WIndows built-in script interpreter)

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "ninjadaisy" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 25, 2006 2:23 PM
Subject: [amibroker] New user question: Scripting issues

> Hi all - New member and new user here with a quick question:
>
> Just installed Amibroker 4.8, and I can't get any scripts to work -
> not the "cleanup database" script (nothing happens when I click on it)
> nor the couple of AFL files that I dropped into my custom folder. I
> did check to see that the cleanup.js is in the scripts folder, and it
> is; I also checked to make sure that I have Windows Scripting engine
> installed and I do. I'm running XP SP2 and have IE6+ installed, if
> this is relevant.

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to