I need to transfer the portal. Everything is very complicated there.
Wrote a script. From 1 site I download the script files of different extensions and save to the desired folder.
Like this.
https://gotgaytubeporn.com/en/
Code: Select all
ONDOWNLOAD FOLDER = D: \ imacros_Downloads FILE = 123 WAIT = YES
TAG POS = 1 TYPE = SPAN ATTR = CLASS: instancename
(When saving, the link to the file is not direct, so extensions should not be taken from there)
Now I need to upload the file to another site.
Trying to load it with a script
Code: Select all
TAG POS = 1 TYPE = INPUT: FILE ATTR = NAME: repo_upload_file CONTENT = D: \ imacros_Downloads \ 123.doc
But the fact is that you need to specify the extension and they are different.
It doesn’t work with an asterisk at the end - he puts an asterisk in the file name and writes that the file was not found.
How to select (download) a file from a computer by name with any extension?
Starting with imacros version 10, they added such a command! DOWNLOADED_FILE_NAME which allows you to copy the name of the downloaded file. But they turned off support for running the JS script.
Any ideas?
Thanks https://forum.imacros.net/