-
Notifications
You must be signed in to change notification settings - Fork 0
/
OBI.au3
36 lines (30 loc) · 824 Bytes
/
OBI.au3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.5.4
Script Function:
#ce ----------------------------------------------------------------------------
Opt("WinTitleMatchMode", 1)
$CmdLine[0]
$CmdLine[1]
$CmdLine[2]
$apppath = 'C:\oracle\Middleware\Oracle_Home\obi\bi\bitools\bin\admintool.cmd'
Run($apppath)
Sleep(2000)
WinActivate("Oracle BI Administration Tool")
If WinWaitActive("Oracle BI Administration Tool")Then
Send("!f")
Send("{down}")
Send("{right}")
Send("{down}")
Send("{down}")
Send("{Enter}")
Send($CmdLine[1])
Sleep(200)
Send("{tab}")
Send($CmdLine[2])
; replace up/down keys with your deployment because the resources will be different on your prod
Send("{tab}")
Send("{down}")
Send("{up}")
Send("{tab}")
Send("{enter}")
EndIf