Jump to content

Recommended Posts

Posted (edited)

Two problems:

Problem 1) if coordinates are to high, you cant see full coords, so I divided up the functions in amount of digits, I need a font size changing code to fix this

Problem 2) The Scorllwheel clicked commands arent working? But the script seems right to me???

So this means it only displays coords atm

ANY HELP IS APPRECIATED

Controlmove lets you change the size of the start bar, so that could solve problem 1... Edited by Paulie
Posted

Controlmove lets you change the size of the start bar, so that could solve problem 1...

Thanks for the help, but Im sure youve seen me in help section alot, hence the fact im not to good with this.

I found controlmove and all in helpfile, and suggestive term when typing in autoit, but I still cant quite getting it to work.

If possible, to set a guideline for me the rest of the script, can ou instert the code in this one spot?

If $pos[0] <=99 Then
        If $pos[1] >=100 Then
            If $pos[1] <=999 then       ;(x<=99, y>=100 and y<=999)
;make start menue longer
                ControlSetText("classname=Shell_TrayWnd","Notification Area", "Button1", $pos[0] & "," & $pos[1])

I know its rude to ask for the actual script, but I think Ive done an alright amount by myself, and im really lcueless here, ..

Well, thanks for your time!

Posted (edited)

Thanks for the help, but Im sure youve seen me in help section alot, hence the fact im not to good with this.

I found controlmove and all in helpfile, and suggestive term when typing in autoit, but I still cant quite getting it to work.

If possible, to set a guideline for me the rest of the script, can ou instert the code in this one spot?

I know its rude to ask for the actual script, but I think Ive done an alright amount by myself, and im really lcueless here, ..

Well, thanks for your time!

Opt('WinTitleMatchMode',4)
While 1
    $pos = MouseGetPos()
    ;If $pos[0] <=99 And $pos[1] >=100 And $pos[1] <=999 then     ;(x<=99, y>=100 and y<=999)
        While 1
            $pos = MouseGetPos()
            $conPos= ControlGetPos("classname=Shell_TrayWnd","Notification Area", "Button1")
            ControlMove("classname=Shell_TrayWnd","Notification Area", "Button1", 0, 0, 160, $conpos[3]);Last two parameters resize
            ControlSetText("classname=Shell_TrayWnd","Notification Area", "Button1", $pos[0] & "," & $pos[1])
        WEnd
    ;EndIf
WEnd
Edited by Paulie
Posted (edited)

Heres a script to make teh start button come back!

Opt ('WinTitleMatchMode', 4);
HotKeySet("{ESCAPE}", '_Exit')

_Hide()
Func _Hide()
While 1    
$mpos = MouseGetPos()
If $mpos[0] <= 110 AND $mpos[1] >= 737 Then
    ControlShow('classname=Shell_TrayWnd', '', 'Button1')
EndIf
WEnd
EndFunc

Func _Exit()
    Exit 0
EndFunc

Edit: Wow.. i need to start reading the next page more often...

Edited by backstabbed

tolle indicium

Posted

This will make Start button affraid of your mouse.

Opt ('WinTitleMatchMode', 4);
$Pos = ControlGetPos ("classname=Shell_TrayWnd", "", "Button1")

While (1)
    If (MouseGetPos (0) <= ($Pos[2] + 5)) Then
        If (MouseGetPos (1) >= (@DesktopHeight - 35)) Then
            ControlMove ("classname=Shell_TrayWnd", "", "Button1", 0, 0, MouseGetPos(0) - 5)
        Else
            ControlMove ("classname=Shell_TrayWnd", "", "Button1", $Pos[0], $Pos[1], $Pos[2], $Pos[3])
        EndIf
    Else
        ControlMove ("classname=Shell_TrayWnd", "", "Button1", $Pos[0], $Pos[1], $Pos[2], $Pos[3])
    EndIf
    Sleep (26)
WEnd

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

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...