Regex for Folder?
Posted 30 June 2011 - 10:59 AM
i will create a Upload Bot that Upload a File from Varibale Directory.
Bot Upload File from: D:\folder1\([A-Za-z0-9-]+)\folder2\file.zip
Bot return finish
Is this possible?
Posted 30 June 2011 - 04:42 PM
Posted 01 July 2011 - 12:58 AM
Posted 02 July 2011 - 03:45 AM
Posted 02 July 2011 - 09:16 AM
Posted 02 July 2011 - 09:31 AM
Posted 02 July 2011 - 09:41 AM
So Folder 1 and subfolder are known directories and the one between them is always going to be unknown? Logically, I can't really wrap my head around that, but in any event, the only way I was able to attempt that was unsuccessful. The $get files constant does not include subdirectories so there is no original text from which you can draw a $find regular expression.
I have create a Software, thats have a generated Folder. Thats the Unknown Folder. I have the Idea to create a *.bat file with this:
dir /b folder.txt
But Ubot Studio can`t run this :-( click i the *.bat manually than works fine.
Posted 02 July 2011 - 09:51 AM
Posted 02 July 2011 - 10:11 AM
My Program have a file (file1.csv) in Unknown folder. I need this File. I will not create a folder or anything else. I need only the file1.csv thats my program have generated.
So have ubot create the file in a location that the bot can read from.
ie: desktop, app folder, document folder
and read from it.
Delete when done if you like or it can remain there as the next time it is ran it will overwrite itself.
Posted 02 July 2011 - 10:30 AM
Create a directory on Desktop with name: "folder1".
Than create another directory with name: "folder2"
run the .ubot file in my attachment and see it dosn`t work :-(
Posted 02 July 2011 - 10:46 AM
I need a file from this Directory: %desktop%\folder1\any-name-of-directory\file.csv
The any-name-of-directory is a Directory, wich name i not known.
Posted 02 July 2011 - 11:11 AM
there could be multiple folders all with a csv in them. therefore it would continuously loop because it wouldn't know which one to choose, and or would only choose the first one it came across.
To grab specific data is best to create the folder so that it is pin pointed exactly for the csv your needing.
If it is a specific csv that is needed to be grabbed, then have it setup as a User Input (UI open file) command.
thus giving the precise csv that is to be used.
Posted 02 July 2011 - 11:24 AM
why does it have to be any name of a directory in that position?
I have create a Software, thats generate a User Directory. (example "1hfgfGGHbdUSER") In this Directory is a Stat file. (file1.csv)
The user should not even write the path in a ui panel or file. It should be read automatically. I wanted to ask if this is possible?
Posted 02 July 2011 - 11:54 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users