Default download folder available as a variable?
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Default download folder available as a variable?
Hello,
I am downloading some files to the default folder with
FOLDER=*
Is it possible to access this location somehow later on in the macro?
Something like
DEFAULTFOLDER
so I can use that file elsewhere?
I am downloading some files to the default folder with
FOLDER=*
Is it possible to access this location somehow later on in the macro?
Something like
DEFAULTFOLDER
so I can use that file elsewhere?
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
Re: Default download folder available as a variable?
i'm guessing you want to extract an image, then upload it somewhere else?
easiest option would be to point your Download and Datasource paths to the same place, then you don't need to know exactly where it is.
easiest option would be to point your Download and Datasource paths to the same place, then you don't need to know exactly where it is.
Re: Default download folder available as a variable?
Nice idea.
Although I would like to avoid asking my users to do this (I am building some macros for them)
If we would have a
DOWNLOAD_FOLDER variable that would be the best
Although I would like to avoid asking my users to do this (I am building some macros for them)
If we would have a
DOWNLOAD_FOLDER variable that would be the best
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
Re: Default download folder available as a variable?
or you could declare a variable e.g.
SET !VAR1 C:\iMacros\
then download with:
FOLDER={{!VAR1}}
and upload with
CONTENT={{!VAR1}}\Image.jpg
SET !VAR1 C:\iMacros\
then download with:
FOLDER={{!VAR1}}
and upload with
CONTENT={{!VAR1}}\Image.jpg
Re: Default download folder available as a variable?
Yes doing this right now, but the user needs to create the folder first, since Firefox cannot create directories.
http://forum.imacros.net/viewtopic.php?f=7&t=9913
there is some hackish java solution mentioned, but the simplest would be to just have that location in a variable
http://forum.imacros.net/viewtopic.php?f=7&t=9913
there is some hackish java solution mentioned, but the simplest would be to just have that location in a variable
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com
-
- Posts: 3834
- Joined: Mon May 31, 2010 4:59 pm
Re: Default download folder available as a variable?
You've provided a good use case for this, so I've added this to our feature request list.giorgio79 wrote: but the simplest would be to just have that location in a variable
Regards,
Tom, iMacros Support
Tom, iMacros Support
Re: Default download folder available as a variable?
Hello,
I suggest that you download to the !FOLDER_DATASOURCE instead (this variable is already available!)
Would that solve your problem?
I suggest that you download to the !FOLDER_DATASOURCE instead (this variable is already available!)
Code: Select all
ONDOWNLOAD FOLDER={{!FOLDER_DATASOURCE}} FILE=...
Re: Default download folder available as a variable?
Thanks Tom, that would be lovely.
Marcia thanks for the tip, however I notice FOLDER_DATASOURCE is only available in IE but not in Firefox?
http://wiki.imacros.net/!FOLDER_DATASOURCE
Would love to have that in FF as well.
Marcia thanks for the tip, however I notice FOLDER_DATASOURCE is only available in IE but not in Firefox?
http://wiki.imacros.net/!FOLDER_DATASOURCE
Would love to have that in FF as well.
Share your imacros easily http://www.sharemacro.com/imacro-directory
Internet Marketing imacros http://www.sharemacro.com
Internet Marketing imacros http://www.sharemacro.com