maiduba
Goto Top

Mauszeigerstartposition bei Windows XP Start verändern?

Ich möchte die Startposition des Mauszeigers verschieben. Z.B. nach oben links.
So das jedesmal, wenn Windows neu gestartet wird, der Mauszeiger sich dort befindet.
Hat jemand eine Idee, wie sich so etwas realisieren lässt?

Content-Key: 159432

Url: https://administrator.de/contentid/159432

Ausgedruckt am: 28.03.2024 um 19:03 Uhr

Mitglied: wiesi200
wiesi200 26.01.2011 um 09:26:29 Uhr
Goto Top
Morgen,

darf man fragen was du damit bezwecken willst?
Mitglied: godlie
godlie 26.01.2011 um 11:36:28 Uhr
Goto Top
Hallo,

also wenn es vor der Anmeldung passieren soll dann fällt mir spontan nur ein Dienst ein der den Mauszeiger neu Positioniert.
Soll es nach der Anmeldung passieren, wäre es über ein VBScript im Autostart evtl. realisierbar.

grüße
Mitglied: Phalanx82
Phalanx82 26.01.2011 um 16:08:09 Uhr
Goto Top
Stellt sich immernoch die Frage, wofür man sowas gebrauchen könnte.
Denn genau das interessiert mich auch seit ich diesen Thread gelesen habe ;)
Mitglied: Maiduba
Maiduba 28.01.2011 um 08:34:16 Uhr
Goto Top
Es geht hierbei um ein Terminal, wo Mitarbeiter Daten abfragen können. Der Mauszeiger ist also leider im weg.
Mitglied: godlie
godlie 28.01.2011 um 08:47:41 Uhr
Goto Top
Hallo,

du könntest es ja mal mit diesem VBS probieren, wenn es in den Autostart legst.

' Access the GetCursorPos function in user32.dll  
      Declare Function GetCursorPos Lib "user32" _  
      (lpPoint As POINTAPI) As Long
      ' Access the GetCursorPos function in user32.dll  
      Declare Function SetCursorPos Lib "user32" _  
      (ByVal x As Long, ByVal y As Long) As Long

      ' GetCursorPos requires a variable declared as a custom data type  
      ' that will hold two integers, one for x value and one for y value  
      Type POINTAPI
         X_Pos As Long
         Y_Pos As Long
      End Type

      ' Main routine to dimension variables, retrieve cursor position,  
      ' and display coordinates  
      Sub Get_Cursor_Pos()

      ' Dimension the variable that will hold the x and y cursor positions  
      Dim Hold As POINTAPI

      ' Place the cursor positions in variable Hold  
      GetCursorPos Hold

      ' Display the cursor position coordinates  
      MsgBox "X Position is : " & Hold.X_Pos & Chr(10) & _  
         "Y Position is : " & Hold.Y_Pos  
      End Sub

      ' Routine to set cursor position  
      Sub Set_Cursor_Pos()

      ' Looping routine that positions the cursor  
         For x = 1 To 480 Step 20
            SetCursorPos x, x
            For y = 1 To 40000: Next
         Next x
      End Sub

wobei hier für dich eher der teil mit SetCursor Interessant ist...
Mitglied: Maiduba
Maiduba 28.01.2011 um 15:22:59 Uhr
Goto Top
Danke! Das hat wunderbar funktioniert.