Search found 239 matches

by iimfun
Wed Sep 07, 2016 1:22 pm
Forum: iMacros for Firefox
Topic: Pick and put single letter from word
Replies: 17
Views: 7506

Re: Pick and put single letter from word

And here is a code for those who like more elegant solutions VERSION BUILD=8970419 RECORDER=FX TAB T=1 PROMPT Insert<SP>the<SP>code: !VAR1 URL GOTO=https://ippremia.gruppoapi.com/index.shtml TAG POS=1 TYPE=A ATTR=TXT:Login TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=* CONTENT= SET !ENCRYPTIO...
by iimfun
Mon Sep 05, 2016 7:50 am
Forum: General Support & Discussions
Topic: Help with code for switching the text? Anyone?
Replies: 14
Views: 6509

Re: Script for replacing the text with condition?

Well, learn JS by any tutorials that you like and just try to solve hard tasks. The progress depends mostly on your own efforts and sometimes on good advices. Good luck!
by iimfun
Fri Sep 02, 2016 5:07 pm
Forum: iMacros Consultants
Topic: Extract data that changes place on the web page
Replies: 1
Views: 5246

Re: Extract data that changes place on the web page

Hello!

You can probably put into practice some ideas with Relative positioning after viewing this thread .
by iimfun
Fri Sep 02, 2016 4:55 pm
Forum: General Support & Discussions
Topic: Help with code for switching the text? Anyone?
Replies: 14
Views: 6509

Re: Script for replacing the text with condition?

manotop wrote:For example:
Check if the today is Monday or Wednesday or Friday if true Continue the script. Otherwise stop the script.
Play carefully this line

Code: Select all

SET checkDay EVAL("var d = (new Date()).toString(); (d.match(/^(Mon|Wed|Fri)/)) ? 'CONTINUE' : MacroError(d + ' => STOP !');")
by iimfun
Thu Sep 01, 2016 12:33 pm
Forum: General Support & Discussions
Topic: Help with code for switching the text? Anyone?
Replies: 14
Views: 6509

Re: Script for replacing the text with condition?

Did you test in the following way?

Code: Select all

SET !EXTRACT "ABC"
SET !VAR2 EVAL("('{{!EXTRACT}}' == 'ABC') ? 'XYZ' : 'ABC';")
PROMPT {{!VAR2}}
by iimfun
Thu Sep 01, 2016 7:27 am
Forum: Data Extraction and Web Screen Scraping
Topic: SAVE PDF - Download not finished
Replies: 8
Views: 4365

Re: SAVE PDF - Download not finished

Perhaps you should try the SAVETARGETAS event ?
by iimfun
Thu Sep 01, 2016 7:18 am
Forum: General Support & Discussions
Topic: Help with code for switching the text? Anyone?
Replies: 14
Views: 6509

Re: Script for replacing the text with condition?

Maybe this code?

Code: Select all

SET !VAR2 EVAL("('{{!EXTRACT}}' == 'ABC') ? 'XYZ' : 'ABC';")
by iimfun
Thu Sep 01, 2016 7:11 am
Forum: General Support & Discussions
Topic: I need your consultation for my project
Replies: 5
Views: 4130

Re: I need your consultation for my project

Hi congener,

One day I wrote a similar script in iMacros for Firefox. However it's useless in practical sense because captchas are not repeatable. So my answer is
don't waste time.png
don't waste time.png (7.09 KiB) Viewed 4124 times
and over again
don't waste time_2.png
don't waste time_2.png (6.52 KiB) Viewed 4124 times
by iimfun
Thu Sep 01, 2016 6:58 am
Forum: iMacros for Firefox
Topic: Write in a Textbox
Replies: 3
Views: 967

Re: Write in a Textbox

And where is a code with the 'EVENT' command? Something like this

Code: Select all

EVENTS TYPE=KEYPRESS SELECTOR="body[autocorrect='off'][contenteditable='true']" CHARS="Hello word!"
by iimfun
Wed Aug 31, 2016 6:55 am
Forum: iMacros for Chrome
Topic: Press "return" key.
Replies: 1
Views: 1221

Re: Press "return" key.

Generally speaking, that may be site-specific. Anyway if the element selector is known, you can try

Code: Select all

EVENT TYPE=KEYPRESS SELECTOR="someSelectorHere" CHAR="\r"
by iimfun
Wed Aug 31, 2016 6:43 am
Forum: General Support & Discussions
Topic: Randomly getting Error 1300, -silent mode, and avoiding DS
Replies: 8
Views: 4093

Re: Randomly getting Error 1300, -silent mode, and avoiding

The mentioned above macro was recorded with Experimental event recording mode. In brief, I would recommend you applying the free iMacros for Firefox extension (and its JavaScript Scripting Interface for more functional codes). I think that it'll be no problem for you to write a js script (or an iim ...
by iimfun
Tue Aug 30, 2016 2:49 pm
Forum: iMacros for Firefox
Topic: how can i upload a random files in the folder [SOLVED]
Replies: 3
Views: 1483

Re: how can i upload a random files in the folder

I've seen a number of similar posts on the stackoverflow forum. Check it out. Hope you can find a good answer there.
by iimfun
Tue Aug 30, 2016 2:41 pm
Forum: General Support & Discussions
Topic: Randomly getting Error 1300, -silent mode, and avoiding DS
Replies: 8
Views: 4093

Re: General iM newb Qs, avoiding DS and silent mode

I don't work with iMacros Browser but have the following macro that adds tags on Tumblr posts in iMacros for Chrome EVENT TYPE=CLICK SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>DIV>DIV>DIV" BUTTON=0 EVENTS TYPE=KEYPRESS SELECTOR="#new_post_but...
by iimfun
Sat Aug 27, 2016 2:38 pm
Forum: iMacros for Firefox
Topic: Hard Refresh
Replies: 4
Views: 1602

Re: Hard Refresh

I need to be able to hard refresh a page. I usually do this by holding cmd and shift and pressing R. is there any way to automate this? either by using keyboard commands or any other way to hard refresh I guess you need something like this EVENT TYPE=KEYPRESS SELECTOR=* CHAR="r" MODIFIERS="meta,shi...
by iimfun
Fri Aug 26, 2016 12:57 pm
Forum: iMacros for Firefox
Topic: Write in a Textbox
Replies: 3
Views: 967

Re: Write in a Textbox

Hey!

Have you tried to record the macro with Experimental event recording mode?