Subversion Repositories gelsvn

Rev

Rev 234 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
226 bj 1
; ----------------------------------------------------------------------------
2
;
3
; AutoIt Version: 3.1.0
4
; Author:         A.N.Other <myemail@nowhere.com>
5
;
6
; Script Function:
7
;	Template AutoIt script.
8
;
9
; ----------------------------------------------------------------------------
10
 
231 bj 11
 
228 bj 12
#include <GELfunc.au3>
13
#include <GUIConstants.au3
231 bj 14
 
15
 
16
 
228 bj 17
; == GUI generated with Koda ==);
233 bj 18
#include <GUIConstants.au3
19
; == GUI generated with Koda ==);
20
$GELinstall_src = GUICreate("GEL source Installer", 474, 281, 389, 119)
21
$DoitButton = GUICtrlCreateButton("Do It!", 16, 192, 192, 41, 0)
22
$Group3 = GUICtrlCreateGroup("Install Path (where GEL is build and 3rd party libs are copied to)", 16, 32, 432, 89)
23
$pathInput = GUICtrlCreateInput("c:\GEL", 32, 64, 345, 24)
24
$browseButton = GUICtrlCreateButton("...", 400, 64, 27, 25, 0)
228 bj 25
GUICtrlCreateGroup("", -99, -99, 1, 1)
233 bj 26
GUICtrlCreateLabel("Environment variable scope", 16, 144, 187, 20, $SS_CENTERIMAGE)
27
$scopeCombo = GUICtrlCreateCombo("", 240, 144, 208, 24)
228 bj 28
GUICtrlSetData(-1, "Current User|System", "Current User")
233 bj 29
$cancelButton = GUICtrlCreateButton("Cancel", 240, 192, 208, 41, 0)
228 bj 30
GUISetState(@SW_SHOW)
233 bj 31
 
32
 
228 bj 33
While 1
34
	$msg = GuiGetMsg()
35
	Select
36
	Case $msg = $GUI_EVENT_CLOSE
37
		ExitLoop
233 bj 38
	Case $msg = $DoitButton 
39
             ;installLibs(GUICtrlRead( $pathInput ), GUICtrlRead( $scopeCombo ))
40
             installAll(GUICtrlRead( $pathInput ), GUICtrlRead( $scopeCombo ))
231 bj 41
 
233 bj 42
	Case $msg = $browseButton 
43
             updatePath( $pathInput )
44
        Case $msg = $cancelButton 
231 bj 45
             ExitLoop
46
 
228 bj 47
	EndSelect
48
WEnd
226 bj 49
 
227 bj 50
 
51