behdadsoft Posted October 25, 2014 Share Posted October 25, 2014 Hi. I create a GUI with GUICreate() Function, Now I need put it to right corner of Desktop screen (that work with all resolution) like a gadget. please guide Me. Thanks. Link to comment Share on other sites More sharing options...
JohnOne Posted October 25, 2014 Share Posted October 25, 2014 Something like... $width = 200 $height = 200 GUICreate("GUI", $width, $height, @DesktopWidth - ($width + 1), 0) GUISetState() Do Until GUIGetMsg() = -3 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
behdadsoft Posted October 25, 2014 Author Share Posted October 25, 2014 this script put my GUI to outside left corner. Link to comment Share on other sites More sharing options...
JohnOne Posted October 25, 2014 Share Posted October 25, 2014 Then you have serious issues with your computer which you need to look into. Best of luck. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
alienclone Posted October 25, 2014 Share Posted October 25, 2014 Something like... $width = 200 $height = 200 GUICreate("GUI", $width, $height, @DesktopWidth - ($width + 1), 0) GUISetState() Do Until GUIGetMsg() = -3 this script put my GUI to outside left corner. works fine on my computer, sent to top right corner of desktop. If @error Then MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!") EndIf "Yeah yeah yeah patience, how long will that take?" -Ed Gruberman REAL search results | SciTE4AutoIt3 Editor Full Version Link to comment Share on other sites More sharing options...
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