-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By Learnerr
I am working on windows desktop automation in which two fingers scrolling option is requried to move objects on screen. The single horizontal mouse scrolling is not functioning while I do it manually. So, my question is, is there a way to do two fingers horizontal scrolling based on coordinates in autoIT? Kindly help.
-
By Iraj
Greetings!
I am trying to pass parameters using Send () function as below
$sFilePath = @ScriptDir & "\config.ini" Local $hFileOpen = FileOpen($sFilePath, $FO_READ) Local $sURLUsername = FileReadLine($hFileOpen, 1) Local $sURLPassword = FileReadLine($hFileOpen, 2) Local $sAutomation = FileReadLine($hFileOpen, 3) Run("chrome facebook.com") Sleep(5000) Send($sAutomation) FileClose($hFileOpen) The config.ini file contains below lines
abcd wxyz $sURLUsername{TAB}$sURLPassword{ENTER} While running, I am getting $sURLUsername & $sURLPassword in the username & password field instead of abcd & wxyz as provided.
Refer image below:
Where am I going wrong? Any suggestions or assistance will be grateful.
-
By Jemboy
Recently I was working on a script with icons using GuiCtrkCreatIcon.
I decided to change the sub folder name of the icons to a more meaning name, however made a typo.
I tested the .exe on my test computer and it worked flawlessly (because both icon folder where on my test computer) 😁
But after I installed the script on the intended computers , I got chaos!😵
Zooming into the problem, I discovered, that because the icons could not be found, the ControlID were returned with a value of 0
and thus played havoc within the GuiGetMsg() switch/case statement.
I have been able to reproduce this (see example)
#include <GUIConstantsEx.au3> ;============================================================================================================ ; PLEASE, do not save this example in the example folder: C:\Program Files (x86)\AutoIt3\Examples\Helpfile ;============================================================================================================ Example() Func Example() GUICreate(" My GUI Icons", 250, 250) $Icon1 = GUICtrlCreateIcon("shell32.dll", 10, 20, 20) $Icon2 = GUICtrlCreateIcon(@ScriptDir & '\Extras\horse.ani', -1, 20, 40, 32, 32) $Icon3 = GUICtrlCreateIcon("shell32.dll", 7, 20, 75, 32, 32) GUISetState(@SW_SHOW) ;$Icon2 = -1 ; ==> When this line is uncommented the script "works", so -1 could be a potential fix. ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $Icon2 Beep (500,500) EndSwitch WEnd GUIDelete() EndFunc ;==>Example If you save the above script outside the Autoit example folder and run it, it will keep beeping because GuiCtrlCreatIcon did not find horse.ani and return $Icon2=0.
At the moment GUICtrlCreateIcon () only returns the conntrolID on success and 0 on failure.
I would like to propose a return of -1 on failure, so a existing and working script won't go awry when the icon can not be found.
-
By rcmaehl
A UDF to connect and control Five9 on the Local Network via it's provided HTTP API
THIS UDF IS STILL IN TESTING
Current Features:
Agent Ready
* Contains most functions needed to control Agent Status
PLANNED Features:
Heavyweight
* Control most Five9 API functions
* Full Control over own Status as well as Supervisor functionality
Helpful Premade Examples Files
* Examples for almost every function
* Premade CUI and GUI clients
Ready for all users, beginner and up
* Detailed Error Reporting to help pin-point problems
* Thorough parameter checking to prevent accidental script crashes
Support:
Support for this UDF can be obtained in my Discord Server
-
By rcmaehl
A UDF to connect and control Cisco Finesse on the Local Network via it's provided HTTP API
Current Features:
Heavyweight
* Large feature set, containing most Finesse Desktop API functions
PLANNED Features:
Heavyweight
* Control over own Status as well as Supervisor functionality
Helpful Premade Examples Files
* Examples for almost every function
* Premade CUI and GUI clients
Ready for all users, beginner and up
* Detailed Error Reporting to help pin-point problems
* Thorough parameter checking to prevent accidental script crashes
Support:
Support for this UDF can be obtained in my Discord Server
-