Guest AX5 Posted July 21, 2009 Share Posted July 21, 2009 Hi im making a nice script and i need the coordinates where my mouse shooed be and i don't know the coordinates so is there any program that show coordinates on the desktop ? Peace Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 21, 2009 Share Posted July 21, 2009 AutoIt Window Info Tool - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Tekki Posted July 21, 2009 Share Posted July 21, 2009 (edited) Hi im making a nice script and i need the coordinates where my mouse shooed be and i don't know the coordinates so is there any program that show coordinates on the desktop ? Peace Autoit v3 Window Info is very usefull tool. Or you can just have this script running. Press "z" to show current mouse coordinates HotKeySet("z","jPos") While 1 Sleep(100) WEnd Func jPos() $jPos = MouseGetPos() MsgBox(0, "Mouse x,y:", $jPos[0] & "," & $jPos[1]) ; $jPos[0] is x co-ordinate and $jPos[1] is Y co-ordinate EndFunc Edited July 21, 2009 by Tekki If you intend to use Sarcasm you must this sticker!!![size="1"][sub]pic made by manadar[/sub][/size] Link to comment Share on other sites More sharing options...
Guest AX5 Posted July 21, 2009 Share Posted July 21, 2009 Autoit v3 Window Info is very usefull tool. Or you can just have this script running. Press "z" to show current mouse coordinates HotKeySet("z","jPos") While 1 Sleep(100) WEnd Func jPos() $jPos = MouseGetPos() MsgBox(0, "Mouse x,y:", $jPos[0] & "," & $jPos[1]) ; $jPos[0] is x co-ordinate and $jPos[1] is Y co-ordinate EndFunc Thx Tekki Link to comment Share on other sites More sharing options...
Guest AX5 Posted July 21, 2009 Share Posted July 21, 2009 (edited) now i have a new problem i want when you start the program a windows shooed pop up and say some text shooed be on and a button that says start program or something and the the script starts any script or something i can get ? but before the pop up windows whit start and the text i want a other window shooed come and say Password/CD key and the maybe have 10 different passwords or cd keys Edited July 21, 2009 by AX5 Link to comment Share on other sites More sharing options...
Tekki Posted July 21, 2009 Share Posted July 21, 2009 now i have a new problem i want when you start the program a windows shooed popup and say some text shooed be on and a button that says start program or something and the the script starts any script or something i can get ? I think this is what you mean: If MsgBox(4,"Run","Would you like to run this script?") = 7 Then Exit ; Your script here MsgBox(0,"Running","Your script is now running") ; end of script If you intend to use Sarcasm you must this sticker!!![size="1"][sub]pic made by manadar[/sub][/size] Link to comment Share on other sites More sharing options...
Guest AX5 Posted July 21, 2009 Share Posted July 21, 2009 I think this is what you mean: If MsgBox(4,"Run","Would you like to run this script?") = 7 Then Exit ; Your script here MsgBox(0,"Running","Your script is now running") ; end of script thx man and hove do i make the script whit password before all this ? Link to comment Share on other sites More sharing options...
Tekki Posted July 21, 2009 Share Posted July 21, 2009 thx man and hove do i make the script whit password before all this ?Elaborate please. (Not to be rude) What do you me by "make the script whit password"? Are you asking for an inputbox that you have to type in a password for? If you intend to use Sarcasm you must this sticker!!![size="1"][sub]pic made by manadar[/sub][/size] Link to comment Share on other sites More sharing options...
Guest AX5 Posted July 21, 2009 Share Posted July 21, 2009 Elaborate please. (Not to be rude) What do you me by "make the script whit password"? Are you asking for an inputbox that you have to type in a password for?yesIm asking for thisAre you asking for an inputbox that you have to type in a password for Link to comment Share on other sites More sharing options...
Tekki Posted July 21, 2009 Share Posted July 21, 2009 (edited) $Loop = 1 While $Loop = 1 $text = InputBox("Password Required", "Please type in the password then press OK","","*") If @error = 1 Then Exit Else If $text <> "password" Then ;; Change password to what you want the password to be MsgBox(4096, "Error", "Password is incorrect. Try again") Else $Loop = 0 EndIf EndIf WEnd If MsgBox(4,"Run","Would you like to run this script?") = 7 Then Exit ; Your script here MsgBox(0,"Running","Your script is now running") ; end of script I must know - Did you even try this yourself? Edited July 21, 2009 by Tekki If you intend to use Sarcasm you must this sticker!!![size="1"][sub]pic made by manadar[/sub][/size] Link to comment Share on other sites More sharing options...
Guest AX5 Posted July 21, 2009 Share Posted July 21, 2009 yes i have try but i dont understand much im new whit this Link to comment Share on other sites More sharing options...
Guest AX5 Posted July 21, 2009 Share Posted July 21, 2009 thanks for all man 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