Search found 9 matches

by widilye
Mon Aug 14, 2017 12:00 pm
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

Re: How to extract data-original-title

Thank you in advance for helping me with my case study. I've tried your script by using "SET !EXTRACT {{Rep_Badge}}" and it was saved successfully as expected. Forgive me for my stupidity, because I do not know exactly how the iMacros script works and I've read and searched for information related t...
by widilye
Mon Aug 14, 2017 1:52 am
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

Re: How to extract data-original-title

I tried the script code SET !EXTRACT https://imagerouter.tokopedia.com/img/nocache/repsys/diamond-3.gif SET Rep_Badge EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.split('/'); y=x[6].split('.'); z=y[0]; z;") PROMPT EXTRACT:<BR>{{!EXTRACT}}<BR><BR>Rep_Badge:<SP>_{{Rep_Badge}}_ PAUSE Appearance at prompt...
by widilye
Sun Aug 13, 2017 11:15 am
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

Re: How to extract data-original-title

Ok, thanks for the suggestion. I tried the script code SET EXTRACT NULL TAG POS=1 TYPE=IMG ATTR=ID:shop-reputation-badge* EXTRACT=HREF SET Rep_Badge EVAL("var s='{{!EXTRACT}}'; var x,y,z; x=s.split('/'); y=x[5].split('.'); z=y[0]; z;") PROMPT EXTRACT:<BR>{{!EXTRACT}}<BR><BR>Rep_Badge:<SP>_{{Rep_Badg...
by widilye
Fri Aug 11, 2017 5:18 am
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

Re: How to extract data-original-title

Pb's_1 case problem I am using script: TAG POS=1 TYPE=I ATTR=CLASS:image-*&&TITLE:&&DATA-ORIGINAL-TITLE:* EXTRACT=HTM SET !EXTRACT EVAL("var s='{{!EXTRACT}}'; var y,z; y=s.split('-title=\"'); z=y[1].split('\"'); z[0];") And successfully displayed at prompt: Gold Merchant For Pb's_2 case problem I am...
by widilye
Fri Aug 11, 2017 12:03 am
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

Re: How to extract data-original-title

Hi chivracq can you help me compile the code script from problem Pb's_3 by using 'EXTRACT = TXT' + 'EVAL ()'. I have been through a deadlock and I have searched through the search engine but did not find any examples of such code scripts :oops:
by widilye
Tue Aug 08, 2017 4:38 am
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

Re: How to extract data-original-title

I tried the suggestions you gave, the prompt display: EXTRACT: Gold Merchant Org_Title: __ Gold Merchant__ But the results stored in the .csv file cause the other code to be missing or not saved. I throw in the following code SET! EXTRACT NULL Results in a normal .csv file. Thank you for your help. ...
by widilye
Mon Aug 07, 2017 6:30 am
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

Re: How to extract data-original-title

Hi chivracq, i have searched for recommendations you provided through search engines and I tried using EVAL + math () but no results "_undifined_" TAG POS=1 TYPE=I ATTR=DATA-ORIGINAL-TITLE:Gold<SP>Merchant EXTRACT=HTM Set !Var2 Eval("var a = '{{!extract}}'.match(/id=.(.+).\data-original-title=/); a[...
by widilye
Sat Aug 05, 2017 4:05 pm
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

Re: How to extract data-original-title

Forgive me because this is the first time I entered the forum. Thanks for the help but I do not know exactly how to create an iMacros script, can you give me a complete example here so I can understand it because I am new in learning iMacros :|
by widilye
Sat Aug 05, 2017 1:35 pm
Forum: Command Line and Scripting Interface
Topic: How to extract data-original-title
Replies: 17
Views: 11771

How to extract data-original-title

Hello, please help. I am new to iMacros and do not understand programming. How to extract Gold Merchant from data-original-title = "Gold Merchant" so it can be stored in the .csv file contained in the following code: <i style="outline: 1px solid blue;" data-original-title="Gold Merchant" title="" cl...