Datasource iMacro using %userprofile%

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
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
Post Reply
williamlala
Posts: 1
Joined: Mon Jun 11, 2018 6:01 pm

Datasource iMacro using %userprofile%

Post by williamlala » Mon Jun 11, 2018 6:03 pm

I'm making a script on iMacro, but i don't want put my username, so i'm trying using

Code: Select all

%userprofile% %username% %homepath%
, etc.

But when i run, it recognize the folder, and the location of the file dates.csv, but it says that the file was not found, and then shows a massage and the program closes.

Follow bellow the iMacro code using

Code: Select all

!DATASOURCE

Code: Select all

SET !FOLDER_DATASOURCE C:\Users\%username%\Arquivos<SP>Extratos<SP>Bancos\WAS\
SET !DATASOURCE dates.csv
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
Follow the error message: https://i.stack.imgur.com/evrCa.png

How can i fix it?
access2vivek
Posts: 39
Joined: Wed Dec 20, 2017 10:00 am

Re: Datasource iMacro using %userprofile%

Post by access2vivek » Sun Nov 04, 2018 11:35 am

You have to put your username for that to work.
Post Reply