Custom Query (3926 matches)
Results (415 - 417 of 3926)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #725 | No Bug | How to Search a Text in a Screen Capture from AutoIT | ||
| Description |
The application is not Windows based. So the Text on the screen is not available on WinGetText. It is available on ScreenCapture from AutoIT. How do I search for a string in this Screen Shot Which is in BMP or JPG format. Many thanks in advance. |
|||
| #726 | No Bug | Statusbar not visible in a window created with $ws_popup and with a menu | ||
| Description |
I have discovered that the statusbar is not visible when a window is created with $ws_popup and with a menu. #include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GuiEdit.au3>
#include <GuiMenu.au3>
#include <GuiToolBar.au3>
#include <GuiComboBoxEx.au3>
#include <Array.au3>
#include <Constants.au3>
#include <WinAPI.au3>
#include <File.au3>
$hWin1 = GUICreate("Test", 1680, 1050, 0, 0, $ws_popup)
GUISetBkColor(0x838b83,$hWin1)
$mStatusBar = _GUICtrlStatusBar_Create($hWin1,-1)
Dim $hFile = GUICtrlCreateMenu("&File")
GUISetState()
While 1
$msg = GUIGetMsg()
Select
Case $msg = $gui_event_close
ExitLoop
EndSelect
WEnd
|
|||
| #727 | No Bug | Optional parameter not declared when func called via OnEventMode | ||
| Description |
This script will crash when the button is clicked with an error saying $var is not declared. In message mode, this crash does not happen. Opt("GUIOnEventMode", 1)
$GUI = GUICreate("GUI")
$button = GUICtrlCreateButton("Test", 10, 10, 50, 20)
GUICtrlSetOnEvent(-1, "_Test")
GUISetOnEvent(-3, "_Exit")
GUISetState()
While 1
Sleep(1000)
WEnd
Func _Test($var = "")
If $var == "" Then Return 0
Return $var
EndFunc
Func _Exit()
Exit
EndFunc
|
|||
Note:
See TracQuery
for help on using queries.
