Search found 83 matches

by frankhack1
Thu Mar 19, 2020 12:46 am
Forum: iMacros for Firefox
Topic: Scroll down a page
Replies: 4
Views: 6814

Re: Scroll down a page

https://www.google.com/maps/place/Natal's+Air+Conditioning+%26+Heating/@29.9622389,-90.0913634,17z/data=!3m1!4b1!4m10!1m2!2m1!1sHVAC+contractor+New+Orleans+US!3m6!1s0x8620af767b11b683:0x5d90dc38e97dbf7!8m2!3d29.9622343!4d-90.0891694!9m1!1b1 was using this earlier but it don't work now as manual scr...
by frankhack1
Thu Mar 19, 2020 12:45 am
Forum: iMacros for Firefox
Topic: Target text html area in eBay.
Replies: 4
Views: 7498

Re: Target text html area in eBay.

This should work: FRAME NAME="v4-19txtEdit_ht" EVENT TYPE=CLICK SELECTOR="HTML" BUTTON=0 EVENTS TYPE=KEYPRESS SELECTOR="HTML>BODY" CHARS="Your description goes here" Nope..., at least not in @OP's FCI, as the 'EVENT' Mode is not supported (anymore/yet) in v10.0.2 for FF... :( But they could "switch...
by frankhack1
Thu Mar 19, 2020 12:29 am
Forum: iMacros for Firefox
Topic: Try to open the site until WiFi connection will appear
Replies: 7
Views: 3130

Re: Try to open the site until WiFi connection will appear

This should work but is in js, not in pure .iim function internetcheckerFunc() { var internetchecker; internetchecker = "CODE:"; internetchecker += "CLEAR" + NL internetchecker += "SET !ERRORIGNORE YES" + NL internetchecker += "SET !TIMEOUT_TAG 1" + NL internetchecker += "SET !REPLAYSPEED MEDIUM" + ...
by frankhack1
Thu Mar 19, 2020 12:24 am
Forum: iMacros for Firefox
Topic: Target text html area in eBay.
Replies: 4
Views: 7498

Re: Target text html area in eBay.

My info.. iMacros for FF v10.0.2 'Personal Edition', FF v70.0.1, Win10_x64_ENG. My Problem.. Target text html area in eBay. How to replicate the issue (you will need an ebay.co.uk selling account).. 1) go to ebay.co.uk 2) log in 3) create a new listing 4) on the new listing page for "item descripti...
by frankhack1
Wed Mar 18, 2020 11:36 pm
Forum: iMacros for Firefox
Topic: If code exists on page then run command?
Replies: 4
Views: 2666

Re: If code exists on page then run command?

What about this? TAG POS=1 TYPE=SPAN ATTR=ID:PLAYED EXTRACT=TXT SET ELEMENT_TO_EVALUATE {{!EXTRACT}} SET !EXTRACT NULL SET DISABLE_TAG EVAL("if ('{{ELEMENT_TO_EVALUATE}}' == '#EANF#') {var s = '';} else {var s = '1';} s;") SET DISABLE_TIMEOUT_TAG EVAL("if ('{{ELEMENT_TO_EVALUATE}}' == '#EANF#') {var...
by frankhack1
Wed Mar 18, 2020 9:46 pm
Forum: iMacros for Firefox
Topic: How to find out number of url in the page?
Replies: 4
Views: 2769

Re: How to find out number of url in the page?

This should work function macroFunc() { var macro; macro = "CODE:"; // PARAMETERS macro += "SET !ERRORIGNORE YES" + "\n"; macro += "SET !TIMEOUT_TAG 5" + "\n"; // EXTRACT AND EVALUATE macro += "TAG POS={{loop}} TYPE=A ATTR=HREF:* EXTRACT=TXT"+ "\n"; // INFINITE LOOP var start = 1; for (i=start;;i++)...
by frankhack1
Wed Mar 18, 2020 7:23 pm
Forum: iMacros for Firefox
Topic: If else Stament without imacros
Replies: 2
Views: 2808

Re: If else Stament without imacros

If else without iMacros?? But this is iMacros forum and your posted code is iMacros. Please clarify.

If you want to use if else *WITH* iMacros, I’ll say you can use .js
by frankhack1
Wed Mar 18, 2020 7:14 pm
Forum: iMacros for Firefox
Topic: Scroll down a page
Replies: 4
Views: 6814

Re: Scroll down a page

You can use this:

Code: Select all

URL GOTO=javascript:window.scrollBy(0,5000)
Just change the “5000” to any other number to scroll more or less (but always down)
by frankhack1
Tue Jan 24, 2017 10:03 am
Forum: General Support & Discussions
Topic: Change iMacros Browser's Windows Title
Replies: 15
Views: 8848

Re: Change iMacros Browser's Windows Title

mike007 wrote:javascript..

Code: Select all

Chg_Title("Helo world")
iimExit()
function Chg_Title(title) { document.title = title; }
Where and how do I use this code on a .js to change the title of a window?
by frankhack1
Tue Jan 24, 2017 9:59 am
Forum: General Support & Discussions
Topic: Replace / with EVAL
Replies: 1
Views: 1293

Re: Replace / with EVAL

var macros ; macros = "CODE:"; macros += "SET !ERRORIGNORE YES" + " \n "; macros += "SET !REPLAYSPEED FAST" + " \n "; macros += "SET DESCRIPTION HOLA/QUE/TAL" + " \n "; macros += "PROMPT {{DESCRIPTION}}" + " \n "; // The next line is where the magic happens (to Replace / with EVAL) macros += "SET D...
by frankhack1
Tue Jan 24, 2017 9:49 am
Forum: General Support & Discussions
Topic: Building Web Interfaces to run macros
Replies: 1
Views: 1240

Re: Building Web Interfaces to run macros

I hope you can still find this useful at this point (3 years old post with no answer) I attached a picture of the website which is localhost (you will need to install WAMP Server). I'm using port 81 but you don't need to work on port 81, you can just use the default port that WAMP server configures....
by frankhack1
Tue Jan 24, 2017 9:21 am
Forum: General Support & Discussions
Topic: Open external file
Replies: 4
Views: 3299

Re: Open external file

if using .js you can launch your excel file to really open by doing this:

Code: Select all

var file = Components.classes["@mozilla.org/file/local;1"]  
                     .createInstance(Components.interfaces.nsILocalFile);  
file.initWithPath("C:\\Documents and Settings\\file.xlsx");  
file.launch();
by frankhack1
Wed Jan 11, 2017 3:40 pm
Forum: iMacros for Firefox
Topic: How to replaces </BR> for <BR> with EVAL in .js
Replies: 3
Views: 1633

Re: How to replaces </BR> for <BR> with EVAL in .js

You are right, I didn't use trim but split.

And yes, I also tried the solution where I was duplicating x times the </BR> to replaces this on a text but it was not a good solution.

Hopefully this will help other persons.
by frankhack1
Wed Jan 11, 2017 1:09 pm
Forum: iMacros for Firefox
Topic: How to replaces </BR> for <BR> with EVAL in .js
Replies: 3
Views: 1633

Re: How to replaces </BR> for <BR> with EVAL in .js

Replying to myself, I used the trim and this did the job, here is the used code: var macros; macros = "CODE:"; // PARAMETERS macros += "SET !ERRORIGNORE YES" + "\n"; // DATABASE GENERAL macros += "SET !DATASOURCE C:\\General.csv" + "\n"; macros += "SET !DATASOURCE_LINE 1" + "\n"; // VARIABLES macros...
by frankhack1
Sat Jan 07, 2017 11:10 pm
Forum: iMacros for Firefox
Topic: How to replaces </BR> for <BR> with EVAL in .js
Replies: 3
Views: 1633

How to replaces </BR> for <BR> with EVAL in .js

Hi, I need to replaces </BR> for <BR> that I'm getting from a text in a .csv file * I know I can go and change this by just opening the .csv with Notepad++ and replace it all but I have a lot of other situations where I really need to know how to replace this * I know how to use the replace on EVAL ...