This repository has been archived by the owner on Apr 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from PoE-TradeMacro/development
Merge Development into Master
- Loading branch information
Showing
6 changed files
with
113 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
; This script merges TradeMacroInit, PoE-ItemInfo and TradeMacro into one script and executes it. | ||
StartSplashScreen() | ||
|
||
FileRead, info, POE-ItemInfo.ahk | ||
FileRead, tradeInit, %A_ScriptDir%\trade_data\TradeMacroInit.ahk | ||
FileRead, trade, %A_ScriptDir%\trade_data\TradeMacro.ahk | ||
|
||
info := "`n`r`n`r" . info . "`n`r`n`r" | ||
CloseScript("main.ahk") | ||
FileDelete, %A_ScriptDir%\main.ahk | ||
FileCopy, %A_ScriptDir%\trade_data\TradeMacroInit.ahk, %A_ScriptDir%\main.ahk | ||
FileAppend, %info%, %A_ScriptDir%\main.ahk | ||
FileAppend, %trade%, %A_ScriptDir%\main.ahk | ||
|
||
Run %A_ScriptDir%\main.ahk | ||
ExitApp | ||
|
||
CloseScript(Name) | ||
{ | ||
DetectHiddenWindows On | ||
SetTitleMatchMode RegEx | ||
IfWinExist, i)%Name%.* ahk_class AutoHotkey | ||
{ | ||
WinClose | ||
WinWaitClose, i)%Name%.* ahk_class AutoHotkey, , 2 | ||
If ErrorLevel | ||
return "Unable to close " . Name | ||
else | ||
return "Closed " . Name | ||
} | ||
else | ||
return Name . " not found" | ||
} | ||
|
||
|
||
StartSplashScreen() { | ||
SplashTextOn, , , Merging and starting Scripts... | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
TradeReleaseVersion := "1.1.3.2" | ||
TradeReleaseVersion := "1.1.3.3" | ||
TradeAHKVersionRequired := "1.1.24.00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters