23 posts in this topic
cause im too new in the Auto it world i will try it with the your help. hopefully.
I woud like to know how i can handle my Problem.
I have a Excel Data with 362 random numbers.
this numbers are a part of the filepath ...example
as u can see its the first number of the Excel data. After the first 4 numbers it shoud make a "_" than another 5 "_"
This is my first question. How can i handle this to make it Shell execute.
If i am in the path.
the code shoud search for specific PDF Files.
They are named like: 0050569E364B1ED79B900F73E62660EC.pdf
the first 15 letters are always the same
when he found this data he has to copy it on a Folder on the Desktop.
(There can also be 2 or 3 pdfs in one Folder with this letters)
Please give me some help :-)
I compiled a script I made that takes a command line parameter (the version of a .msi installer) when launched. The script was compiled with the /console option. The script (.au3) works fine but the executable returns the following error:
Error: array variable has incorrect number of subscripts or subscript dimension range exceeded
I have a text file whose data will be as below.
win10x64 ~\erwin Notallowed1! "erwin Data Modeler r9.7 (32-bit)_2500.exe" SilentInstall.exe win10x64clone1 ~\erwin Notallowed1! "erwin Data Modeler r9.7 (64-bit)_2500.exe" DM64.exe win10x64clone2 ~\erwin Notallowed1! "erwin Mart Server r9.7 (32-bit).exe" SilentInstall.exe win10x64clone3 ~\erwin Notallowed1! "erwin License Server r9.7 (32-bit).exe" SilentInstall.exe Each line will have multiple values separated by space.
If a value contains space in it, the value is surrounded by quotes.
My task is to check how many values are there in each line.
If the line contains 5 values, I need to replace the 4th value with the string contained in a variable.
If it contains 4 values then also I need to replace the 4th value followed by appending 5 th value to it as SilentInstall.exe
If the value I am replacing contains spaces then I need to surround the new value with quotes.
Any one can suggest how to do this,??
What command would I use to open the following folder directories for:
Computer/This PC (windows 7/Windows 10)
Run("Explorer.exe " & $filepath) ShellExecute($filepath) can be used to open folder locations when you type in the full directory such as "C:\Users\%username%\Documents" but I'm trying to figure out how to use these windows short paths.
how do I break the loop if my program is stuck in it without exiting the whole program?
i just want it to start from the beginning of the code here is my program
$picture = "target.png"
$result = _ImageSearch($picture,1,$x1,$y1,0,0)
If $result = 1 Then
$picture2 = "status.png"
$result2 = _ImageSearch($picture2,1,$x1,$y1,0,0)
Until $result2 = 1
as you see if my program doesnt detect or see picture2 then the loop wont stop.