How can use in CONTENT quotes instead <SP>

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
kani339
Posts: 13
Joined: Sun Jul 26, 2015 5:43 pm

How can use in CONTENT quotes instead <SP>

Post by kani339 » Sat Jul 16, 2016 10:15 am

Imacros 8.9.7 Firefox 46, OS: Windows 7 X64

How can i use quotes instead of <SP> when uploading file
This code not working without <SP>

What i'm doing wrong?

Code: Select all

TAG POS=1 TYPE=INPUT:FILE ATTR=TYPE:file CONTENT="D:\YouTubeVideos\YouTube Video 2016.mp4"
chivracq
Posts: 8720
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: How can use in CONTENT quotes instead <SP>

Post by chivracq » Sat Jul 16, 2016 3:38 pm

kani339 wrote:Imacros 8.9.7 Firefox 46, OS: Windows 7 X64

How can i use quotes instead of <SP> when uploading file
This code not working without <SP>

What i'm doing wrong?

Code: Select all

TAG POS=1 TYPE=INPUT:FILE ATTR=TYPE:file CONTENT="D:\YouTubeVideos\YouTube Video 2016.mp4"
Hum, try using some Temp Var like in:

Code: Select all

'TAG POS=1 TYPE=INPUT:FILE ATTR=TYPE:file CONTENT="D:\YouTubeVideos\YouTube Video 2016.mp4"
SET MyFile "D:\YouTubeVideos\YouTube Video 2016.mp4"
TAG POS=1 TYPE=INPUT:FILE ATTR=TYPE:file CONTENT={{MyFile}}
Like that, iMacros will "convert" the Spaces itself to '<SP>'...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
iimfun
Posts: 239
Joined: Tue Jul 19, 2016 1:06 pm

Re: How can use in CONTENT quotes instead <SP>

Post by iimfun » Tue Jul 19, 2016 2:45 pm

The following way with double backslashes, maybe

Code: Select all

TAG POS=1 TYPE=INPUT:FILE ATTR=TYPE:file CONTENT="D:\\YouTubeVideos\\YouTube Video 2016.mp4"
Post Reply