Sign in to follow this  
Followers 0
Jime

Is it possible to load a shortcut?

4 posts in this topic

This is the program that needs a shortcut to run in window mode

C:\Program Files\Warcraft III\Frozen Throne.exe

The target of the shortcut is "C:\Program Files\Warcraft III\Frozen Throne.exe" -window

I'd like to make it in the script to load a shortcut or become the shortcut

Run("C:\Program Files\Warcraft III\Frozen Throne.exe") makes it in full screen, but I'd like it to run in window mode, which can only be achieved with a shortcut.

I'd imagine

Run("C:\Program Files\Warcraft III\Frozen Throne.exe" -window) would work, but it gives me an error because I'm so newb :D

-Thanks in advance

Share this post


Link to post
Share on other sites



$file = "MyShortcut.lnk"
Run("rundll32 url.dll, FileProtocolHandler " & $file)

Good luck!

Share this post


Link to post
Share on other sites

Run('"C:\Program Files\Warcraft III\Frozen Throne.exe" "-window"',"C:\Program Files\Warcraft III\Frozen Throne.exe")


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

Share this post


Link to post
Share on other sites

I had the same problem. I play diablo what i id was this...

Run ("C:\Program Files\Diablo II\Diablo II.exe -w" )oÝ÷ ÚÊ"êÜjÇ¢·
.ÖÞjëh×6Run("C:\Program Files\Warcraft III\Frozen Throne.exe -w")

there you go

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  
Followers 0