@tapokads запусти не в режиме записи
Where to learn all the BAS CommandLine Options?
-
hey guys, I got a question need help:
Does someone know the BAS CommandLine Options? like --slient (I just konw this one), and where is the webpage to learn them all? I cant find it.
I appreciate for any reply, thx -
This post is deleted!
-
@xtangliang said in Where to learn all the BAS CommandLine Options?:
hey guys, I got a question need help:
Does someone know the BAS CommandLine Options? like --slient (I just konw this one), and where is the webpage to learn them all? I cant find it.
I appreciate for any reply, thxBAS does not support setting startup parameters via the command line.
-
@Fox ok thx, btw: others topics are not duplication. They are just some questions related. So plz unlock them. I need to know if we don't have CommandLine Option, there must be another solution for these demand. Looking for help and discuss.
https://community.bablosoft.com/topic/16738/how-to-start-bas-with-specific-script-by-commandline
-
https://community.bablosoft.com/topic/3833/docs-remoteexecutescript-exe
Also check following thread to get some idea about your
problem >https://community.bablosoft.com/post/26262
But all that info is a bit oudated, because now when you compile
a script and check "copy executable to run script in console mod"
option you get a file in release foldern named "RemoteExecuteScriptSilent.exe"
Which will start the bot in silent mode already. So all you have to do is
to call it in CMD and bot will start working in backround. And thats your
answer on second question from your locked threads.So if you have many scripts to compile, you should organize all of them
to a separate functions - each script one function.Furtgermore, youll need to make some sort of control over starting these
functions in certain order or just starting one you wish or want. You can use
simple TXT file to control order of function execution.. That way you could
write with batch file to that TXT file before you start bot and than start silent run
bot cmd command, which will start bot with options defined in /txt file. -
@GaG said
So if you have many scripts to compile, you should organize all of them
to a separate functions - each script one function.Does it mean MicroServices? Thanks for your Great and Helpful idea. I gotta organize them separately.
-
@GaG said
Furtgermore, youll need to make some sort of control over starting these
functions in certain order or just starting one you wish or want. You can use
simple TXT file to control order of function execution.. That way you could
write with batch file to that TXT file before you start bot and than start silent run
bot cmd command, which will start bot with options defined in /txt file.Thanks a lot for your help.
Did you mean that separate start bot cmd and options?
Something like read/write txt file to get parameter and put result after bot started?Maybe I misunderstand.
What options can I defined in txt file with start bot?
Are they the RemoteExecuteScript.exe options? like --slient --remote --script --server --user --password -
I dont know why you insist on CMD version, but I gave
you instructions how to do it over CMD. However maybe
some visual solution may describe it better. You need 1
compiled bas bot that will start all your scripts organized
as functions inside that 1 compiled BAS bot.Check this solution and read that whole thread, its visual
sollution of your problem >