PureBytes Links
Trading Reference Links
|
here is the code that will handle it. dont want to bother Tomasz
with such a small change.
Option Explicit
Dim ABPath,args,num,oAB
set args = WScript.Arguments
num = args.Count
if num = 0 then
WScript.Echo "Usage: [CScript | WScript] LoadAB.vbs drivespace.vbs
<path>"
WScript.Quit 1
end if
Set oAB = CreateObject("Broker.Application")
oAB.loadDatabase(args(0))
oAB.visible=1
--- In amibroker@xxxxxxxxxxxxxxx, "J. Biran" <jbiran@xxx> wrote:
>
>
> Make this a suggestion at http://www.amibroker.com/feedback/
>
>
> Joseph Biran
> ____________________________________________
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
On Behalf
> Of murthysuresh
> Sent: Monday, September 17, 2007 3:50 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] launch broker.exe thro commandline
>
> Hello
> Is there any options to launch broker.exe thro commandline and pass
the
> name of the database to launch. i have 3 different versions of the
db
> that i use for different purposes. I want to have a short cut to
use to
> launch them. every time, i open ab, it opens the default db and
then i
> have to change it depending on which databse i want to use.
> is there a better way- 1 click approach that will solve this issue.
>
> seede
>
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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|