Skip to content

Commit

Permalink
change defaults for Window Wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
WoosterInitiative committed Feb 10, 2020
1 parent 4c36bcf commit 3a54a65
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
6 changes: 3 additions & 3 deletions QI Tools/Product.wxs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<!--replace this Id-->
<Product Id="7C260589-DEAC-449B-9E19-F7A08DD0D8F4"
<Product Id="C9BD26DA-D933-46F0-BBB3-688559139A89"
Name="QI Tools"
Language="1033"
Version="0.0.38.0"
Version="0.0.39.0"
Manufacturer="Quest Integration"
UpgradeCode="67685DE7-5CB2-426E-8173-695978DD4D7F">

Expand All @@ -20,7 +20,7 @@
<UpgradeVersion OnlyDetect="no"
Property="PREVIOUSFOUND"
Minimum="0.0.24.0" IncludeMinimum="yes"
Maximum="0.0.38.0" IncludeMaximum="no" />
Maximum="0.0.39.0" IncludeMaximum="no" />
</Upgrade>


Expand Down
30 changes: 23 additions & 7 deletions Window Wizard.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,34 @@ iniProps["SlackHide"] := true
iniProps["OutlookHide"] := true
iniProps["TeamsHide"] := true
iniProps["3cxHide"] := true
iniProps["outlookKey"] := "F10"
iniProps["3cxKey"] := "F7"
iniProps["slackKey"] := "F8"
iniProps["teamsKey"] := "F9"
iniProps["teamsCommand"] := """C:\Users\karl\AppData\Local\Microsoft\Teams\Update.exe"" --processStart ""Teams.exe"""
iniProps["3cxCommand"] := "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\3CXPhone for Windows\3CXPhone for Windows.lnk"

iniProps := QIFunctions_readINI(pathINI, iniProps, iniSection)

TeamsHide := iniProps["TeamsHide"]
SlackHide := iniProps["SlackHide"]
OutlookHide := iniProps["TeamsHide"]
3cxHide := iniProps["3cxHide"]
outlookKey := iniProps["outlookKey"]
3cxKey := iniProps["3cxKey"]
slackKey := iniProps["slackKey"]
teamsKey := iniProps["teamsKey"]
teamsCommand := iniProps["teamsCommand"]
3cxCommand := iniProps["3cxCommand"]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Main Code ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Hotkey, %outlookKey%, outlook
Hotkey, %teamsKey%, teams
Hotkey, %3cxKey%, 3cx
Hotkey, %slackKey%, slack
return

F6::
outlook:
IfWinExist, - Outlook
{
QIFunctions_winShow(OutlookHide)
Expand All @@ -39,26 +56,25 @@ IfWinExist, - Outlook
}
return

F9::
teams:
IfWinExist, | Microsoft Teams
{
QIFunctions_winShow(TeamsHide)
} else {
; run "C:\Users\karl\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Teams.lnk"
run "C:\Users\karl\AppData\Local\Microsoft\Teams\Update.exe" --processStart "Teams.exe"
run %teamsCommand%
}
return

F7::
3cx:
IfWinExist, 3CX -
{
QIFunctions_winShow(3cxHide)
} else {
run "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\3CXPhone for Windows\3CXPhone for Windows.lnk"
run %3cxCommand%
}
return

F8::
slack:
IfWinExist, Slack |
{
QIFunctions_winShow(SlackHide)
Expand Down

0 comments on commit 3a54a65

Please sign in to comment.