Search the Community
Showing results for tags 'included'.
-
Hi all, I have compiled a script to exe (using aut2exe) and delivered it to another machine, which does not have AutoIt installed. There, it does not run, but tells me that an undefined variable is used. I assume that the files referred to by #include are not embedded in the exe. How can I make sure the included files are available, when I deploy the exe to another machine? Thanks in advance for your helpful hints!
-
I have a gui set up. It has several tabs. On one of the tabs I need about 100 rows. Each row includes 7 input fields. As you can guess. I cant fit 100 rows on the gui without exceeding the gui size. The gui is currently set at 800,600. I can see around 20 rows. I need to somehow be able to scroll down on the tab to see the additional 80 tabs... A scroll bar like in IE would be great! Any suggestions? test included. Thanks! #include <GUIConstants.au3> #include <TabConstants.au3> Opt("GUIOnEventMode", 1) HotKeySet("{ESC}", "_ParentWin_Special_Close") $Form1 = GUICreate("Form1", 800, 600, Default, Default) $tab = GUICtrlCreateTab(10, 10, 780, 560, $TCS_BUTTONS) $tab1 = GUICtrlCreateTabItem("tab1") GUICtrlSetState(-1, $GUI_SHOW); will be display first Dim $F[1000] $aLeft = 20 $aTop = 150 $aHeigth = 20 $Rows = (1+(50*6)) ;rows = 50 For $x = 1 To $Rows Step 7 $F[$x] = GUICtrlCreateInput($x, 20, $aTop, 30, $aHeigth) $F[$x+1] = GUICtrlCreateInput($x+1, 20+30+2, $aTop, 30, $aHeigth) $F[$x+2] = GUICtrlCreateCombo($x+2, 20+30+30+4, $aTop, 120, $aHeigth) $F[$x+3] = GUICtrlCreateInput($x+3, 20+30+30+120+6, $aTop, 300, $aHeigth) $F[$x+4] = GUICtrlCreateCombo($x+4, 20+30+30+120+300+8, $aTop, 120, $aHeigth) $F[$x+5] = GUICtrlCreateCombo($x+5, 20+30+30+120+300+120+10, $aTop, 40, $aHeigth) $F[$x+6] = GUICtrlCreateCombo($x+6, 20+30+30+120+300+120+40+12, $aTop, 80, $aHeigth) $aTop = $aTop + 22 Next $tab2 = GUICtrlCreateTabItem("Tab2") GUISetState(@SW_SHOW) While 1 Sleep(20) WEnd Func _ParentWin_Special_Close() Exit EndFunc ;==>_ParentWin_Special_Close