ZmeyRepack |
04-07-2021 15:27 2961396 |
Autoit
Всем привет! Снова нужна помощь новичку!!!
Код:
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=d:\form2.kxf
$Form2 = GUICreate("X-Ray Converter v3.8", 514, 72, -1, -1)
GUISetBkColor(0xA0A0A4)
$Combo1 = GUICtrlCreateCombo("", 8, 8, 240, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "obj|scl|STL|FBX|COLLADA|3DS")
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Combo2 = GUICtrlCreateCombo("", 264, 8, 240, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "obj|scl|STL|FBX|COLLADA|3DS")
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("convert", 8, 40, 139, 25)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Combo3 = GUICtrlCreateCombo("", 160, 40, 89, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "bone|no_bone")
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Combo4 = GUICtrlCreateCombo("", 264, 40, 241, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "-mode maya|-mode 3DS_Max |-mode blender")
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Run(@ScriptDir &/"converter.exe -fix" & GUICtrlRead($Combo3) & ":" & GUICtrlRead($Combo1) & "-out" & GUICtrlRead($Combo2) && GUICtrlRead($Combo4) &)
EndSwitch
WEnd
не хочет запускать . где я косяк допустил?
|