Advertisement
Guest User

Untitled

a guest
Nov 5th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.49 KB | None | 0 0
  1. HotKeySet('^{F1}', "_TransPlus")
  2. HotKeySet('^{F2}', "_TransMoins")
  3. HotKeySet('^{F3}', "_Stop")
  4.  
  5. Dim $fenActive = Null
  6.  
  7. Dim $transparence = 0
  8.  
  9. While True
  10. WEnd
  11.  
  12. Func _TransPlus()
  13.     $transparence = $tansparence + 10
  14.     $fenActive = WinGetTitle("[ACTIVE]")
  15.     WinSetTrans($fenActive, '', $transparence)
  16. EndFunc
  17.  
  18. Func _TransMoins()
  19.     $transparence = $tansparence - 10
  20.     $fenActive = WinGetTitle("[ACTIVE]")
  21.     WinSetTrans($fenActive, '', $transparence)
  22. EndFunc
  23.  
  24. Func _Stop()
  25.     Exit
  26. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement