Software Installer
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
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
-
By WindIt
Hi,
I have a set of excel docs 1& 2
1) In Excel 1 i have a fixed column called dimensionId that contains list of dimensionid's with in between empty cells.
Here, For each dimesionId, i need to check corresponding columns of L,M,N ,O(senior, mid, junior, student) & check If they contain letter Y (Open excel 2) and if empty ignore,check next.
I need to loop through the entire column of dimensionId one by one, please help me proceed with the logic.
2) If letter Y exists, open excel 2 and check if same dimesionId exists in column A.
New to autoit excel automation, Help me with logic to execute this.
#include <Excel.au3>
Global $oExcel = _Excel_Open()
Global $oWorkbook = _Excel_BookOpen($oExcel, "D:\yta\Trial concept dimensions list.xlsx")
Local $read1 = _Excel_RangeRead ($oWorkbook,Default,"C3")
MsgBox(0,"",$read1)
Attached exce 1 doc.
exl1.xlsx exl2.xlsx
-
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now