Jump to content
Sign in to follow this  
AceLoc

easy question

Recommended Posts

AceLoc

Opt("RunErrorsFatal", 0)
Run("C:\Program Files\Diablo II\D2Loader.exe", "", @SW_MAXIMIZE)
sleep(4000)

how do i get this with Skiptobnet & Windowed function at the shortcut it is:

"C:\Program Files\Diablo II\D2Loader.exe" -w -skiptobnet

thnx :)


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites
Rick

um Run("C:\Program Files\Diablo II\D2Loader.exe -w -skiptobnet", "", @SW_MAXIMIZE)

??

better still...

Edited by Rick

Who needs puzzles when we have AutoIt!!

Share this post


Link to post
Share on other sites
AceLoc

yes it does work then i already tried that but then i get a error 'could not indentify application'

:/


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites
Jos

Run(@ComSpec & ' /c "C:\Program Files\Diablo II\D2Loader.exe" -w -skiptobnet')

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Rick

how about

Run(@ProgramfilesDir & "\Diablo II\D2Loader.exe -w -skiptobnet", @ProgramfilesDir & "\Diablo II", @SW_MAXIMIZE)

Edited by Rick

Who needs puzzles when we have AutoIt!!

Share this post


Link to post
Share on other sites
AceLoc

Run(@ProgramfilesDir & "\Diablo II\D2Loader.exe -w -skiptobnet", @ProgramfilesDir & "\Diablo II", @SW_MAXIMIZE)

yes that did work awesome!! thnx ( also for the others that tried to help but that didnt work out :) )


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.