ZizioKriminal Posted November 5, 2008 Posted November 5, 2008 ..Oi! I've a little question about The command Run ()... If I write this..: CODERun (@ProgramFilesDir & "\Microsoft Games\SpiderSolitaire\SpiderSolitaire.exe", "", @SW_MAXIMIZE) The script run Spider, but the window is not maximized. What's Wrong..? Thx to all..! ...THA! IMMAKKRIMINALL!
ZizioKriminal Posted November 5, 2008 Author Posted November 5, 2008 ZizioKriminalWinSetState()?thanks for your reply..!I've tried in this way..:CODERun (@ProgramFilesDir & "\Microsoft Games\SpiderSolitaire\SpiderSolitaire.exe") WinSetState("","",@SW_MAXIMIZE)..but nothing happens..! ...THA! IMMAKKRIMINALL!
AlmarM Posted November 5, 2008 Posted November 5, 2008 Mayby you could use this Run("freecell.exe") ; Run Freecell Run("mshearts.exe") ; Run Hearts Run("winmine.exe") ; Run Minesweeper Run("sol.exe") ; Run Patience Run("spider.exe") ; Run Spider Solitaire AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
ZizioKriminal Posted November 5, 2008 Author Posted November 5, 2008 Mayby you could use this Run("freecell.exe") ; Run Freecell Run("mshearts.exe") ; Run Hearts Run("winmine.exe") ; Run Minesweeper Run("sol.exe") ; Run Patience Run("spider.exe") ; Run Spider Solitaire AlmarM Nothing.. I've tried this yet (I use Windows Vista): CODERun ("SpiderSolitaire.exe") but this isn't my problem... The application starts if I use CODERun (@ProgramFilesDir & "\Microsoft Games\SpiderSolitaire\SpiderSolitaire.exe", "", @SW_MAXIMIZE) But @SW_MAXIMIZE doesn't work.. Why..? ...THA! IMMAKKRIMINALL!
jvanegmond Posted November 5, 2008 Posted November 5, 2008 Opt("WinTitleMatchMode", 2) Run (@ProgramFilesDir & "\Microsoft Games\SpiderSolitaire\SpiderSolitaire.exe") WinWait("Spider") ; "Spider" is the title of the window you want to open WinSetState("Spider", "", @SW_MAXIMIZE) ; "Spider" is the title of the window you want to open github.com/jvanegmond
ZizioKriminal Posted November 5, 2008 Author Posted November 5, 2008 Opt("WinTitleMatchMode", 2) Run (@ProgramFilesDir & "\Microsoft Games\SpiderSolitaire\SpiderSolitaire.exe") WinWait("Spider") ; "Spider" is the title of the window you want to open WinSetState("Spider", "", @SW_MAXIMIZE) ; "Spider" is the title of the window you want to open ..It works! Thanks a lot! ...THA! IMMAKKRIMINALL!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now