FHannes Posted May 10, 2011 Share Posted May 10, 2011 (edited) SCAR Divi 3.25 supports commandline interaction a whole lot better than any previous versions. There was a lot of demand for it, hence I decided to expand on it a bit. Aside from all previous commands now working properly, there's a few new ones. Here's a small guide: -nonews Prevents SCAR from downloading and displaying the news. -noupdate Prevents SCAR from checking for updates and showing an alert if an update is available. -open Opens all scripts specified after this parameter. -run Runs the script that was last opened. -tray Moves SCAR to the tray when it's opened or an open instance when single window mode is active. -force Forces open a new window when single window mode is enabled. The system is pretty flexible too. Any file that is in the parameters and not behind a specific parameter that takes file arguments (currently only -open), will be associated with -open. So you can for example open a file by running "scar.exe file.scar" instead of "scar.exe -open file.scar" I hope this thread was of use, if you have questions, be sure to post them in here. ~Freddy Edited December 5, 2011 by Freddy Quote Link to comment Share on other sites More sharing options...
ti.teg.tnod.I Posted May 10, 2011 Share Posted May 10, 2011 Would "scar.exe -run file.scar" run "file.scar" or the script that was last opened? Or when you say last opened do you mean "scar.exe -run foo.scar bar.scar" would only run bar.scar? Quote Link to comment Share on other sites More sharing options...
FHannes Posted May 10, 2011 Author Share Posted May 10, 2011 I'm fairly certain the first would run file.scar and the second bar.scar Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted March 9, 2012 Share Posted March 9, 2012 does this still work with the current scar version 3.31? Quote Link to comment Share on other sites More sharing options...
FHannes Posted March 9, 2012 Author Share Posted March 9, 2012 Yes, it does. Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted April 28, 2012 Share Posted April 28, 2012 When trying to use this with a file that is not located directly in the c drive or one or 2 folders away from the c drive it fails to open the folder. Example, if i try to use a file that is in my documents or something am i doing something wrong? I also have to specify the full path of the scar.exe Quote Link to comment Share on other sites More sharing options...
FHannes Posted April 28, 2012 Author Share Posted April 28, 2012 You should always work with absolute file paths Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted April 28, 2012 Share Posted April 28, 2012 You should always work with absolute file paths Yeah i found the issue, if the name contained a space it caused the issue.. Which makes sence because in the commandline thats like a argument. I wonder if replacing the spaces with underscores would change the way it reacts. If there any way to get an absolute file path from a open dialog? lol Quote Link to comment Share on other sites More sharing options...
FHannes Posted April 28, 2012 Author Share Posted April 28, 2012 Replacing spaces with underscores would get you a different path? Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted April 28, 2012 Share Posted April 28, 2012 Replacing spaces with underscores would get you a different path? Prob haven't messed with it, i just no the spaces are causing the issue. I guess i just have to play with it some. Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted April 29, 2012 Share Posted April 29, 2012 Most programs that accept command line parameters will accept a path wrapped in quotation marks. I imagine SCAR would too. Haven't tried it. "C:\Some Path\With Spaces\In It" Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted April 29, 2012 Share Posted April 29, 2012 (edited) hmm interesting ill give that a ago. Thanks Bixby! EDIT: Your are the man! That fixed the problem! now you can run any script anywhere on the computer with the client! =) Edited April 29, 2012 by shadowrecon Quote Link to comment Share on other sites More sharing options...
FHannes Posted April 29, 2012 Author Share Posted April 29, 2012 Prob haven't messed with it, i just no the spaces are causing the issue. I guess i just have to play with it some. If you have spaces in your path you have to enclose your path in quotes, like with any other commandline command. Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted April 29, 2012 Share Posted April 29, 2012 If you have spaces in your path you have to enclose your path in quotes, like with any other commandline command. never really used the command line all that much before but got it under control now! Quote Link to comment Share on other sites More sharing options...
AnthonyPhics Posted April 5 Share Posted April 5 オンライン カジノは、プレイヤーが自宅にいながらにしてポーカー、ルーレット、ブラックジャック、スロットなどのギャンブル ゲームを楽しむ機会を提供する仮想プラットフォームです。 オンラインカジノは、アクセスのしやすさ、ゲームの種類の多さ、そして大金を獲得する機会があるため、年々人気が高まっています。 オンラインカジノの主な利点は、利便性とアクセスしやすさです。 プレイヤーは、通常のカジノの営業時間に制限されず、いつでもゲームを楽しむことができます。 必要なのは、インターネットにアクセスできるデバイスと、カジノのウェブサイトにアクセスできることだけです。 これにより、プレイヤーは従来のカジノによくありがちなストレスや緊張を感じることなく、快適な環境でプレイすることができます。 オンラインカジノのもう1つの利点は、ゲームの選択肢が豊富なことです。 ユーザーは、それぞれ独自のルールと勝利の機会を提供する何百もの異なるゲームから選択できます。 技術革新のおかげで、オンライン ゲームのグラフィックとサウンドは高品質になり、プレイヤーは興奮と情熱の雰囲気に浸ることができます。 さまざまなゲームに加えて、オンライン カジノはプレーヤーにさまざまなボーナスやプロモーションも提供します。 これらは、スロットのフリースピン、プレイのための追加のお金、または貴重な賞品が得られる特別なトーナメントなどです。 このようなボーナスにより、勝利の可能性が高まり、ゲームがさらに楽しくなります。 もちろん、オンラインカジノでのプレイにはリスクがあります。 ギャンブルには依存性がある可能性があるため、自分の感情を監視し、支出をコントロールすることが重要であることを覚えておくことが重要です。 カジノはまた、責任あるゲーミングをサポートし、自己排除や賭け金制限の機会を提供します 麻美ゆま av01 全体として、オンライン カジノはギャンブル愛好家にとって便利でエキサイティングなエンターテイメントを提供します。 幅広いゲーム、ボーナスの選択肢があり、いつでもプレイできるため、世界中のプレイヤーの間で人気が高まっています。 ただし、責任あるゲームと、ゲームが単なる楽しみと娯楽の源であるように自分の行動を制御する能力について覚えておくことが重要です。 Quote Link to comment Share on other sites More sharing options...