Site Tools


autoit:codes:windowswitcher

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
autoit:codes:windowswitcher [2016/02/05 17:59] – created lunetikkautoit:codes:windowswitcher [2017/03/01 12:50] – external edit 127.0.0.1
Line 3: Line 3:
 This script will switch between Icinga in IE and SCOM Console. Pause and Start isnt working yet. This script will switch between Icinga in IE and SCOM Console. Pause and Start isnt working yet.
  
-<code - windowswitcher>+<code - windowswitcher.au3>
 HotKeySet("{F9}", "start") HotKeySet("{F9}", "start")
 HotKeySet("{F10}", "pause") HotKeySet("{F10}", "pause")
Line 12: Line 12:
 $Title = "x" $Title = "x"
 $Title = WinGetTitle("") $Title = WinGetTitle("")
-$Title_icinga = "Icinga2 Classic: icinga.domain - Internet Explorer"+$Title_icinga = "Icinga2 Classic: icinga.lunetikk.de - Internet Explorer"
 $Title_scom = "Aktive Warnungen - SCOMSRV - Operations Manager" $Title_scom = "Aktive Warnungen - SCOMSRV - Operations Manager"
 $Firststart = "1" $Firststart = "1"
Line 27: Line 27:
 While 1 While 1
 WinActivate ( $title_scom ) WinActivate ( $title_scom )
-Sleep(15000)+Sleep(30000)
 WinActivate ( $title_icinga ) WinActivate ( $title_icinga )
-Sleep(5000)+Sleep(30000)
 WEnd WEnd
 EndFunc EndFunc
autoit/codes/windowswitcher.txt · Last modified: 2017/11/29 17:05 by lunetikk