Search the Community
Showing results for tags 'Complete'.
-
Hey I'm now getting this error >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\AutomationTesting\Elite3eAutomation\Framework\TestEnv.au3" _WDStartup: OS: WIN_10 WIN32_NT 17134 _WDStartup: AutoIt: 3.3.14.4 _WDStartup: WD.au3: 0.1.0.21 _WDStartup: Driver: chromedriver.exe _WDStartup: Params: --log-path="C:\AutomationTesting\Elite3eAutomation\Framework\chrome.log" _WDStartup: Port: 9515 _WD_Startup ==> General Error: Error launching web driver! >Exit code: 4294967295 Time: 0.5901 In my main program I call my first test ;/******************************************************/ ;/*****************Main Program*************************/ ;/******************* ;intiialise Wd _WD_Startup() Test1TestMainPage($IEURL) Then under this function that is called for my first test I have Func Test1TestMainPage($IEURL) CheckIfIEIsOpen($ApplicationWindow) ;/************************* Start URL**************************/ _ChromeStartup($IEURL,"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe") Sleep(10000) $sElement = _Chrome($sSession, $_WD_LOCATOR_ByXPath, "//input[@id='lst-ib1']") _WD_ElementAction($sSession, "Welcome_c1_r0_AO_4__Process_Matter", 'click') if WinSetState($ApplicationWindow, "", @SW_MAXIMIZE) Then Else Sleep(6000) WinSetState($ApplicationWindow, "", @SW_MAXIMIZE) EndIf WinActivate($ApplicationWindow) ;/****************************End*************************************************************/ ;/****************************Test main page*********************************************/ _WD_WaitElement($sSession, $_WD_LOCATOR_ByXPath, "//rect[@class='highcharts-button-box']") $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//rect[@class='highcharts-button-box']") If @error = $_WD_ERROR_NoMatch Then MsgBox(0, "", "No Match") EndIf _WD_ElementAction($sSession, $sElement, 'click') the error is pretty much instant
-
Here's my take on an auto completer, work in progress so don't be too harsh with me. The idea is that after a spacebar press, it learns the word that was previously written, and the next time you write, it gets a list of all words that fit into what you're writing, so if the user writes "com", a word that may appear is "complex", that is, if the user has written it anytime in the past. A popup will show up whenever the user writes with the list of words, the way to select one of the words from the list is to scroll with the mouse wheel, and middle click. The popup timeout is 2.5 secs. Best regards. PS for the next step would be nice to save words as they are, for example emails, as it is it doesn't get @ for example. Completer 1.0.exe AComp.ico Completer 1.0.au3
-
- autocomplete
- complete
-
(and 1 more)
Tagged with:
-
Rich-Edit Predict Text UDF Working It sub classes the rich-edit control and matches the current word through the Database & sets selection in accordance. For Edit Controls look Functions Predicts Text from an User-Defined Database.Sets the Predicted Text when Enter is pressed.Pressing Backspace deletes the previously typed character.Support Editing, Overwriting, Updating, Deleting the Database.Has the Feature to add New words the user types in the control, to the Database.Supports Sensitive and In-Sensitive Prediction.Currently Supports Auto-completion only.Rich Edit Controls only supportedFuture Updates​Support Auto-suggestion.Note That if you set a Password Char for the Edit Box the Prediction will automatically get Unregistered.This UDF requires Beta Release 3.3.9.4++ [beta-Oct-2012] Index ; #CURRENT# ===================================================================================================================== ;_RegisterPrediction ;_UpdatePredictList ;_UnRegisterPrediction ;_RegisterListingSpaceWords ;_RegisterListingNewWords ;_GetSelectedText ;_GetListCount ;_GetCurrentWord ;_GetCaretOffset ; =============================================================================================================================== ; #INTERNAL_USE_ONLY# =========================================================================================================== ;_New_WndProc ; AddToArray ; MakeArray ;_RichEdit_SubClass ;_AutoExit ;_PredictText ;_PredictSpaceText ;_SetSelection ;_MatchString ;_CtrlSetStyle ;_CtrlGetStyle ;_RemoveBit ; =============================================================================================================================== Please Notify for any other Updates and Bugs. Change-log v1.0 - First Release v1.1 - Fixed a bug. RichEditPredictText [uDF] v1.1 v1.1 RichEditPredictText UDF.7z Previous Downloads : 80 Regards Phoenix XL
- 10 replies
-
Hello everyone. I want to run a function when a GUI window is resized. However, when I click to resize the GUI, before I actually drag the corner of the GUI it runs and prevents me from resizing the GUI. I was hoping that I would be able to make this message run once the GUI has finished running. Would this be possible? Thanks Edit I have solved it. The answer: GUISetOnEvent($GUI_EVENT_RESIZED, 'WM_SIZE', $hWnd)
- 7 replies
-
- GuiRegisterMsg
- WM_SIZE
- (and 5 more)