Custom Query (3926 matches)
Results (124 - 126 of 3926)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #530 | No Bug | HotKeySet ignores optional parameters | ||
| Description |
After executing this function: HotKeySet("{ESC}", "QuitApp")
Func QuitApp($Quick = False)
If $Quick Then
Exit
EndIf
_FinishUp()
Exit
EndFunc
The following Error was returned. >Running:(3.2.12.1):C:\Program Files\AutoIt3\autoit3.exe "C:\Script.au3" C:\Script.au3 (457) : ==> Variable used without being declared.: If $Quick Then If ^ ERROR It appears that when {ESC} is pressed, the optional parameter is not properly defined causing the error. This issue only occurs when the function is triggered from HotKeySet and an optional parameter is declared. I have rewritten the function to work around the issue for the time being. HotKeySet("{ESC}", "QuitApp")
Func QuitApp($Quick = False)
If IsDeclared("Quick") Then
If $Quick Then Exit
EndIf
_FinishUp()
Exit
EndFunc
|
|||
| #534 | No Bug | Binary() is ****ed up | ||
| Description |
heres some example code $nNum = 256 consolewrite(binary($nNum) & @lf) consolewrite(binary(256) & @lf) the first time it returns 0x000100000000000000 The second return is 0x00010000 I cant use my File transfer utility if this is not fixed. Thanks in advance! |
|||
| #537 | No Bug | Strange behaviour while using wrong GUI parameter | ||
| Description |
Hi, I tested this script and my Windows hung up after I clicked the trayicon and closed the script in Scite. Sometimes the edit pane is visible, sometimes not. If it is, the behaviour described above happens. I know this is not a "bug", cause I assume that I do use the GuiCreate Func wrong, but I nevertheless wanted to share the info. #include <EditConstants.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
$n_studi_gui = GUICreate("Nach Studienzeit", 950, 720, @DesktopWidth / 2 - 475, @DesktopHeight / 2 - 360, $WS_border, Default)
GUICtrlCreatePic(@ScriptDir & "\Bilder\Nach.jpg", -1, -1, 950, 720, $ws_disabled)
$n_studi_zurueck = GUICtrlCreateButton("zurück", 800, 600, 140, 80, 0)
$n_studi_button1 = GUICtrlCreateButton("Tätigkeiten", 50, 25, 175, 50)
$n_studi_button2 = GUICtrlCreateButton("Verdienst", 50, 75, 175, 50)
$n_studi_button3 = GUICtrlCreateButton("Weiterbildungsmöglichkeiten", 50, 125, 175, 50)
$edit = GUICreate(400, 10, 500, 400, $WS_POPUP, Default, $n_studi_gui)
$n_studi_edit = GUICtrlCreateEdit('', 500, 10, 400, 500, Default);BitOR($WS_HSCROLL, $WS_VSCROLL, $ES_READONLY))
GUICtrlSetFont(-1, 10, "", "", "Comicsan MS")
GUISetState(@SW_SHOW, $n_studi_gui)
GUISetState(@SW_SHOW, $edit)
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
GUIDelete()
Mega |
|||
