The_Noob Posted February 11, 2007 Posted February 11, 2007 (edited) I dont know what i did wrong, but it seems a prog i made for one of my games no longer functions in vista... it runs but it doesnt seem to do what its supposed to,,, #include <GUIConstants.au3> sleep(1000) $game = "Map of Llirrem (English Province) You're at RestartNearTown" WinSetOnTop($game, "", 0) GUICreate("MoveQuest",1030,791,-1,-1,$WS_SIZEBOX) GUISetState (@SW_SHOW) $lastpos = WinGetPos ( "MoveQuest" ) $pos = WinGetPos ( "MoveQuest" ) winactivate($game) do $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit endif $lastpos[0] = $pos[0] $lastpos[1] = $pos[1] $lastpos[2] = $pos[2] $lastpos[3] = $pos[3] $pos = WinGetPos ( "MoveQuest" ) WinMove ( $game,"", $pos[0]+3, $pos[1]+29, $pos[2]-6 , $pos[3]-32 ) if wingetstate("MoveQuest") = 15 then winactivate($game) endif until 1 = 2 Basically, its supposed to create a GUI, move the game window into the GUI, and that lets me move the game window around as i see fit, so i dont need it running at 1680 x 1050 res (what my laptop is at now) It worked in XP, why doesnt it work in vista? Somone please help! Edited February 11, 2007 by The_Noob
BrettF Posted February 11, 2007 Posted February 11, 2007 Look up in the helpfile see under "Using AutoIT" and the look up "AutoIt on Windows Vista". Hope this helps Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
The_Noob Posted February 11, 2007 Author Posted February 11, 2007 (edited) Look up in the helpfile see under "Using AutoIT" and the look up "AutoIt on Windows Vista".Hope this helps It doesnt seem to ask for admin rights to run, and i am an admin so i should not have problems running it... and i do get it to run, it just does not resize the game window...lmao im such a noob...select the exe... run as admin... duh >.<So #requireadmin will automatically make the script run as an admin? Edited February 11, 2007 by The_Noob
The Kandie Man Posted February 11, 2007 Posted February 11, 2007 Don't use Vista. It is a POS. Wait a minimum of a year before using it, otherwise it will suck just like XP did when it first came out. That is just my two cents. -The Kandie Man "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire
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