Jump to content

Recommended Posts

Posted

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 :)

Posted (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 by Tekki
If you intend to use Sarcasm you must this sticker!!![size="1"][sub]pic made by manadar[/sub][/size]
Posted

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 :)

Posted (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 by AX5
Posted

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]
Posted

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 ?
Posted

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]
Posted

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?

yes

Im asking for this

Are you asking for an inputbox that you have to type in a password for

Posted (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 by Tekki
If you intend to use Sarcasm you must this sticker!!![size="1"][sub]pic made by manadar[/sub][/size]
Posted

yes i have try but i dont understand much im new whit this

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
×
×
  • Create New...