Page 1 of 1

SyntaxError: unknown command: FILEDELETE

Posted: Tue Nov 14, 2017 3:13 pm
by nosequepensar
hello i 'm getting sintax error when i use filedelete.
the code is:
SET path C:\users\Androide\tmp\
'filename of the saved captcha'
SET file freebitcoin_{{!NOW:yyyymmdd_hhnnss}}.jpg
SET file freebitcoin.jpg
and then in the line after i delete the file:
FILEDELETE NAME={{path}}{{file}}

But returns me this error. some way to fix it?

i'm using chrome like browser.

Re: SyntaxError: unknown command: FILEDELETE

Posted: Tue Nov 14, 2017 5:30 pm
by chivracq
nosequepensar wrote:hello i 'm getting sintax error when i use filedelete.
the code is:
Code: Select all
SET path C:\users\Androide\tmp\
'filename of the saved captcha'
SET file freebitcoin_{{!NOW:yyyymmdd_hhnnss}}.jpg
SET file freebitcoin.jpg
and then in the line after i delete the file:
FILEDELETE NAME={{path}}{{file}}


But returns me this error. some way to fix it?

i'm using
Code: Select all
chrome like browser.

FCIM...! :mrgreen:

But yep, normal, your Answer (well..., Explanation...!) is in the Wiki... :idea:

Re: SyntaxError: unknown command: FILEDELETE

Posted: Tue Nov 14, 2017 5:45 pm
by nosequepensar
chivracq wrote:
nosequepensar wrote:hello i 'm getting sintax error when i use filedelete.
the code is:
Code: Select all
SET path C:\users\Androide\tmp\
'filename of the saved captcha'
SET file freebitcoin_{{!NOW:yyyymmdd_hhnnss}}.jpg
SET file freebitcoin.jpg
and then in the line after i delete the file:
FILEDELETE NAME={{path}}{{file}}


But returns me this error. some way to fix it?

i'm using
Code: Select all
chrome like browser.

FCIM...! :mrgreen:

But yep, normal, your Answer (well..., Explanation...!) is in the Wiki... :idea:

here? http://wiki.imacros.net/Main_Page

Re: SyntaxError: unknown command: FILEDELETE

Posted: Tue Nov 14, 2017 7:54 pm
by chivracq
nosequepensar wrote:here? http://wiki.imacros.net/Main_Page

FCIM again...! :mrgreen:
(Applies to your 2nd Thread as well...)

Re: SyntaxError: unknown command: FILEDELETE

Posted: Sun Nov 19, 2017 6:37 pm
by thecoder2012
nosequepensar wrote:SET file freebitcoin_{{!NOW:yyyymmdd_hhnnss}}.jpg
SET file freebitcoin.jpg

Double?

nosequepensar wrote:and then in the line after i delete the file:
FILEDELETE NAME={{path}}{{file}}

Script are helpful and not only your few lines.

nosequepensar wrote:But returns me this error. some way to fix it?

http://wiki.imacros.net/FILEDELETE

nosequepensar wrote:i'm using chrome like browser.

Try firefox 56 (not higher) with imacros 8.9.7 and you have more luck.