Search found 214 matches

by viking
Thu Oct 04, 2018 9:28 am
Forum: Data Extraction and Web Screen Scraping
Topic: Is it Possible to Extract Data From Chart?
Replies: 15
Views: 2257

Re: Is it Possible to Extract Data From Chart?

Thanks chivracq. Actually my particular issue was easily solved. When I recorded in EVENT mode, I had checked "Favor element Ids in selectors". After I unchecked this and recorded again, I got a macro that didn't hang anymore. All I needed in my macro was: EVENT TYPE=MOUSEDOWN SELECTOR="HTML>BODY" B...
by viking
Tue Oct 02, 2018 2:15 am
Forum: Data Extraction and Web Screen Scraping
Topic: Is it Possible to Extract Data From Chart?
Replies: 15
Views: 2257

Re: Is it Possible to Extract Data From Chart?

Ah-ah...!, well the Hang on the next Line after the 'MOUSEMOVE' is not that "strange", that was actually the Reason more than 5 years ago I came to the Forum for reporting that Bug... (as I couldn't find a Workaround at that time :P ), that was never acknowledged by TechSup/Dev, and never solved of...
by viking
Mon Oct 01, 2018 8:43 am
Forum: Data Extraction and Web Screen Scraping
Topic: Is it Possible to Extract Data From Chart?
Replies: 15
Views: 2257

Re: Is it Possible to Extract Data From Chart?

Hmm... It didn't work for me. It worked right after recording. However, when I changed the numbers in the last "Quantity" field and run it again, it first timed out on mousedown EVENT TYPE=MOUSEDOWN SELECTOR="#highcharts-8>svg" BUTTON=0 and then hung on SET !EXTRACT NULL (very strange) Here is my ve...
by viking
Mon Oct 01, 2018 4:04 am
Forum: Data Extraction and Web Screen Scraping
Topic: Is it Possible to Extract Data From Chart?
Replies: 15
Views: 2257

Re: Is it Possible to Extract Data From Chart?

I rerecorded, and indeed the macro found the right price & P/L :) . My excitement was short-lived though :( : If I change any of the parameters or chart scaling, iMacros can't find the last point of the line (for example, change the last "Quantity" field from 1108 to 1100)). This is to be expected a...
by viking
Mon Oct 01, 2018 1:41 am
Forum: Data Extraction and Web Screen Scraping
Topic: Is it Possible to Extract Data From Chart?
Replies: 15
Views: 2257

Re: Is it Possible to Extract Data From Chart?

Thank you as always for you response chivracq ! My mistake, the Chart was not saved properly. With the chart as it is I am not sure how you get the values from the extraction? In the current chart, if you put the mouse cursor all the way to the right on the line, it will show Price= 53.8 Profit / Lo...
by viking
Sun Sep 30, 2018 9:13 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Is it Possible to Extract Data From Chart?
Replies: 15
Views: 2257

Is it Possible to Extract Data From Chart?

Is there any way to extract data from this chart: http://optioncreator.com/stnub32 For example, I would like to extract the P/L (=2217.9829) for Price = 57. I am willing to try any browser and version of iMacros p.s. I looked at the source but I couldn't find "2217", so I assume that iMacros will no...
by viking
Mon Jan 29, 2018 2:21 am
Forum: iMacros for Firefox
Topic: iimSet Syntax?
Replies: 4
Views: 3636

Re: iimSet Syntax?

'iimSet()' is for setting Values to Vars for inside your "next" on-the-fly '.iim' Macro... => a "PROMPT {{y}}" in that '.iim' Macro will then display your expected "1"... :idea: Yes, of course :oops: . Thanks for reminding me! I haven't written a java-script for quite some time. My memory isn't wha...
by viking
Mon Jan 29, 2018 12:27 am
Forum: iMacros for Firefox
Topic: iimSet Syntax?
Replies: 4
Views: 3636

iimSet Syntax?

I must be getting old.... :shock:
What is wrong with this trivial JavaScript for Firefox:

Code: Select all

var x = 1;
var y = 99;
iimSet("y", x);
alert(x);
alert(y);
y is not set to 1 by iimSet() - it is still = 99.

Firefox v52.3
iMacros v8.9.7
by viking
Mon Jun 05, 2017 7:34 pm
Forum: iMacros for Firefox
Topic: Message without stopping macro?
Replies: 4
Views: 1970

Message without stopping macro?

I would like to display messages (in a loop) while the macro is running. Is that possible to do in a regular macro or do I need to use javascript and iimDisplay() ? 1. PROMPT always needs the user to press "OK" so it stops the macro. 2. Can iimDisplay() be used in macro or do I need javascript? I tr...
by viking
Tue Apr 11, 2017 1:36 am
Forum: iMacros for Firefox
Topic: Can I set a variable if there is an error?
Replies: 8
Views: 3712

Re: Can I set a variable if there is an error?

OK. Thanks for your answers. God that I got it mostly right :).
I will do some more experimenting on those urskola.se pages
by viking
Sun Apr 09, 2017 9:12 am
Forum: iMacros for Firefox
Topic: Can I set a variable if there is an error?
Replies: 8
Views: 3712

Re: Can I set a variable if there is an error?

Thanks, but sorry; still confused about many things with many questions unanswered...... e.g. Q#1: Do I understand correctly: more than one POS (POS=1) is only found if there are TAGs which have identical Types, Attributes and Values ? Q#2: Am I understanding correctly? Q#3: Do I understand correctl...
by viking
Sat Apr 08, 2017 9:47 pm
Forum: iMacros for Firefox
Topic: Can I set a variable if there is an error?
Replies: 8
Views: 3712

Re: Can I set a variable if there is an error?

I think need to go back to basics and try to understand some things that I never completely grasped (but should have :oops:).. I hope that you can help me. 1. On the first page (http://urskola.se/Produkter/183650-Basta-bokstaven-A#) above I record: TAG POS=1 TYPE=DT ATTR=TXT:Ämnen: TAG POS=1 TYPE=DT...
by viking
Sat Apr 08, 2017 5:25 am
Forum: iMacros for Firefox
Topic: Can I set a variable if there is an error?
Replies: 8
Views: 3712

Re: Can I set a variable if there is an error?

chivracq, thank you for your response again. I didn't respond to the other thread because I am still, after all these years, a bit confused about the EXTRACT command. I will post about that separately. It is actually also related to the current problem (which has evolved a bit since I wrote the orig...
by viking
Sat Apr 08, 2017 12:23 am
Forum: iMacros for Firefox
Topic: Can I set a variable if there is an error?
Replies: 8
Views: 3712

Can I set a variable if there is an error?

Can I set a variable if there is an error? If a Tag is missing the marco throws an error (-921). I am using SET !ERRORIGNORE YES so that the macros continues. Is there a variable that contains the error code or at least would tell me if there was an error? If so, I hope that I can use the EVAL comma...
by viking
Thu Apr 06, 2017 4:54 am
Forum: iMacros for Firefox
Topic: Extracting URL?
Replies: 3
Views: 1668

Re: Extracting URL?

Thank you for your help chivracq! TAG POS=i TYPE=A ATTR=TXT:Spelbarhet:UR<SP>SkolaLängd:* EXTRACT=HREF where i= 1, 2,3 etc for the 1st, 2nd, 3rd etc image is exactly what I wanted (so that I can loop through the images)! Question: When recording the clicks on the 1st and 2nd image I get: TAG POS=1 T...