Search found 239 matches

by iimfun
Wed Aug 23, 2017 12:50 pm
Forum: iMacros for Firefox
Topic: Warning unresponsive script
Replies: 11
Views: 4066

Re: Warning unresponsive script

Okay, the 'alert()' and 'iimDisplay()' functions are commonly used to debug the code. You should try to use them as well. If you'd like to have an example, here are two "heavy" loops alert("2 sec Loop: Start"); var d0 = new Date(); while (new Date() - d0 < 2000) { iimDisplay("2 sec Loop: End"); } al...
by iimfun
Wed Aug 23, 2017 6:47 am
Forum: General Support & Discussions
Topic: Javascript from the imacro same as the developer console?
Replies: 9
Views: 2989

Re: Javascript from the imacro same as the developer console

A small note to curious @frenchboy. 1. Open Web Console in Chrome (with iMacros already installed). 2. Paste and run the code given below. javascript:(function() {try{var e_m64 = "UFJPTVBUJTIwJTIySGVsbG8lMjAlNDBmcmVuY2hib3khJTIy", n64 = "bWFjcm8uaWlt";if(!/^(?:chrome|https?|file)/.test(location)){al...
by iimfun
Wed Aug 23, 2017 6:38 am
Forum: Data Extraction and Web Screen Scraping
Topic: Using JQuery with iMacros
Replies: 5
Views: 2223

Re: Using JQuery with iMacros

Hi, your script seems to work fine. And I run with no problem this one function loadScriptFromURL(url) { var request = Components.classes['@mozilla.org/xmlextras/xmlhttprequest;1'].createInstance(Components.interfaces.nsIXMLHttpRequest), async = false; request.open('GET', url, async); request.send()...
by iimfun
Wed Aug 23, 2017 6:29 am
Forum: iMacros for Firefox
Topic: Warning unresponsive script
Replies: 11
Views: 4066

Re: Warning unresponsive script

Hello,

This usually happens in case of infinite loops in the script. So check your code.
by iimfun
Wed Aug 23, 2017 6:23 am
Forum: iMacros for Chrome
Topic: Imacros - Loop
Replies: 4
Views: 1966

Re: Imacros - Loop

If you have !ERRORIGNORE set to YES try to switch it. I mean

Code: Select all

SET !ERRORIGNORE NO
SET !TIMEOUT_STEP 99999
TAG POS=1 TYPE=A ATTR=TXT:Tribos<SP>-<SP>Ativação
SET !ERRORIGNORE YES
by iimfun
Tue Aug 22, 2017 6:41 am
Forum: iMacros for Chrome
Topic: The dot "." doesnt show when play macro
Replies: 3
Views: 1356

Re: The dot "." doesnt show when play macro

iHell wrote:Well i have some issue here, ...
Well, you are not the first person to report this problem. Check out this thread and try a solution there or wait for other answers.
by iimfun
Tue Aug 22, 2017 6:17 am
Forum: iMacros for Chrome
Topic: Imacros - Loop
Replies: 4
Views: 1966

Re: Imacros - Loop

Hello,

Your issue seems to be solved with using the variable !TIMEOUT_STEP

Code: Select all

SET !TIMEOUT_STEP 99999
instead of the WAIT command.
by iimfun
Tue Aug 22, 2017 6:08 am
Forum: iMacros Consultants
Topic: Need Script (Upload Image, TXT from excel..) DE/EN Help
Replies: 4
Views: 5833

Re: Need Script (Upload Image, TXT from excel..) DEUTSCH HI

Hello,

Why didn't you leave any contact info? Maybe someone has already sent a personal message to you.
by iimfun
Mon Jun 19, 2017 6:42 am
Forum: General Support & Discussions
Topic: Play Macro When Gmail receives an Email
Replies: 3
Views: 1555

Re: Play Macro When Gmail receives an Email

I believe the macro below will work for any mail service. Something like this SET !EXTRACT_TEST_POPUP NO TAG POS=1 TYPE=TITLE ATTR=* EXTRACT=TXT SET !TIMEOUT_STEP 999999 TAG XPATH="//title[not(text()='{{!EXTRACT}}')]" ' here is the code of your macro, for instance PROMPT "Your macro is about to be p...
by iimfun
Mon Jun 19, 2017 6:39 am
Forum: General Support & Discussions
Topic: Conditional execution of a line
Replies: 7
Views: 3936

Re: Conditional execution of a line

@iimfun posted once as well (maybe 1 year ago) some other (interesting...!) Method for generating "real" (Bookmarks) '.iim' Scripts on the fly using Base64 Encoding, was for iMacros for CR I think, but I guess it would work for FF as well... No, that solution for Chrome won't work for Firefox. I th...
by iimfun
Mon Jun 12, 2017 6:37 am
Forum: iMacros for Chrome
Topic: SELECT FROM PICKUPLIST
Replies: 3
Views: 2047

Re: SELECT FROM PICKUPLIST

This issue may be site specific. Therefore provide the link to the site or give a description of what happens or capture the video.
by iimfun
Mon Jun 12, 2017 6:33 am
Forum: iMacros for Firefox
Topic: Message without stopping macro?
Replies: 4
Views: 1941

Re: Message without stopping macro?

But hum, @iimfun, could you check that "my" little Macro from my previous Post, based on your Macro actually from a few months ago in some other Thread, indeed doesn't work in FF (with v8.9.7)...? Earlier I made sure that my code for Chrome wouldn't work in Firefox, so I decided to give my second i...
by iimfun
Wed Jun 07, 2017 6:35 am
Forum: iMacros for Firefox
Topic: Message without stopping macro?
Replies: 4
Views: 1941

Re: Message without stopping macro?

Additional note. Sometimes for testing purposes it's possible to take advantage of the web console or status bar (there should be a similar extension for Firefox). Below is my idea. ' open Web Console before playing this code SET message "Displaying it on the web console" URL GOTO=javascript:console...
by iimfun
Wed May 31, 2017 6:12 am
Forum: iMacros for Chrome
Topic: SELECT FROM PICKUPLIST
Replies: 3
Views: 2047

Re: SELECT FROM PICKUPLIST

HELLO!

I think you just should use Experimental event recording mode when recording this macro.

Btw you can try the following code, for instance

Code: Select all

EVENT TYPE=CLICK SELECTOR="#order_release/attribute1" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#order_release/attribute1" CHARS="201500"
by iimfun
Sat May 27, 2017 6:39 am
Forum: iMacros for Chrome
Topic: PROMPT not working in latest Chrome 58.xx
Replies: 2
Views: 2524

Re: PROMPT not working in latest Chrome 58.xx

BigLarry wrote:After updating all my systems to latest Chrome build, the PROMPT command no longer works.. the script just runs through without displaying a prompt.
Check out my answer here.