THAI: add multi-instance .skt file
This commit is contained in:
parent
f02a8f951b
commit
ecc9ba1fe0
8 changed files with 472 additions and 53 deletions
|
|
@ -27,9 +27,65 @@
|
|||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
DEBUGVAR SlientRefreshIndex
|
||||
|
||||
If SlientRefreshIndex = 3 Then
|
||||
Var SlientRefreshIndex = 4
|
||||
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show3
|
||||
;DEBUGVAR inst_show3
|
||||
|
||||
|
||||
|
||||
If inst_show3 = 1 Then
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshIndex = 3 Then
|
||||
If inst_show3 = 0 Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile3
|
||||
Open CurrentOpenFile3
|
||||
Else
|
||||
Var SlientRefreshIndex = 4
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue