Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Triggers for a specified window often fail
#6
Function Middle_Click_FF
Trigger #M //Middle_Click_FF     Help - how to add the trigger to the macro
Code:
Copy      Help
;/
function# iid FILTER&f

str Win_2="" ;;
str Win_3="" ;;
str Win_4="" ;;

;outw f.hwnd
;out F"{GetWindowThreadProcessId(f.hwnd 0)} {GetWindowThreadProcessId(GetShellWindow 0)} {GetShellWindow}"
if GetWindowThreadProcessId(f.hwnd 0) = GetWindowThreadProcessId(GetShellWindow 0)
,ret "Desk_Dia" ;;Win_1

sel wintest(f.hwnd F"{Win_2}[]{Win_3}[]{Win_4}" "" "" 16)
,case 2 ret "" ;;Win_2
,case 3 ret "" ;;Win_3
,case 4 ret "" ;;Win_4

ret -2


Messages In This Thread
RE: Triggers for a specified window often fail - by Gintaras - 08-06-2022, 07:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)