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 Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
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: 36
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