Messages - -Huub- [ switch to compact view ]

Pages: [1] 2 3 4next
1
Hi MilesAhead,

Your suggestion worked partial, but it has a negative side effect if I use your code together with the window name under win 10, the LMB on the clock is blocked like I asked.

Code: Autohotkey [Select]
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5.  
  6. $LButton::
  7. MouseGetPos,X,Y,Win,Contr
  8. If (Contr != "TrayClockWClass1")
  9.         Send, {LButton}
  10. return

I can even use the LMB on the windows start menu. But the negative side effect is that the LMB also doesn't work anymore for all program windows, I could not move the open program windows on my screen.

2
If IsArray($aTaskbar_Pos) Then ; Check if array is returned

Thx 4wd!!!

3
Hello 4wd,

Yes you fixed it, cool! What part/line did you change ?


Br

Huub

4
Hi MilesAhead,

Thanks for your effort but this still doesn't work, I can still click on the systray clock icon with the left mouse button.
The script from 4wd worked only I got an error when I was double clicking the start menu button.
Is there a way of disabling the left mous click based on the mouse position x and Y area ?


br

Huub

5
Hello 4wd,

I tried your suggestion with the autoit stuff, it seems to work all fine but when I double click the windows start menu I get following error:

error.PNG

Any idea what could cause this ?

br

Pages: [1] 2 3 4next
Go to full version