How to increase variable in a TAB?

Discussions and Tech Support related to the iMacros Google Chrome extension.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
jhonlozanot
Posts: 1
Joined: Sun Jun 30, 2019 10:19 pm

How to increase variable in a TAB?

Post by jhonlozanot » Sun Jun 30, 2019 10:26 pm

Hi, I need to increase a variable to open several TABS,

please tell me what I'm doing wrong.

Google Chrome: Versión 75.0.3770.100 (Build oficial) (64 bits)
iMacros for Chrome 10.0.5
Windows 10

Code: Select all

SET !var1 
URL GOTO=https://multas.jne.gob.pe/
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:form1 ATTR=ID:txtDni CONTENT=70016220
TAB OPEN
TAB T={{!var1}}
URL GOTO=http://aplicaciones007.jne.gob.pe/srop_publico/Consulta/Afiliado
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:Index ATTR=ID:DNI CONTENT=70016220
TAB OPEN
TAB T={{!var1}}
URL GOTO=http://ww4.essalud.gob.pe:7777/acredita/
TAG POS=1 TYPE=SELECT ATTR=ID:BuscarPor CONTENT=%tdocumento
TAG POS=1 TYPE=SELECT FORM=NAME:formin2 ATTR=NAME:td CONTENT=%1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:formin2 ATTR=NAME:nd CONTENT=70016220
Last edited by jhonlozanot on Mon Jul 01, 2019 3:15 pm, edited 1 time in total.
chivracq
Posts: 8763
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: How to increase variable in a TAB?

Post by chivracq » Mon Jul 01, 2019 3:32 am

jhonlozanot wrote:
Sun Jun 30, 2019 10:26 pm
Hi, I need to increase a variable to open several TABS,

please tell me what I'm doing wrong.

Code: Select all

SET !var1 
URL GOTO=https://multas.jne.gob.pe/
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:form1 ATTR=ID:txtDni CONTENT=70016220
TAB OPEN
TAB T={{!var1}}
URL GOTO=http://aplicaciones007.jne.gob.pe/srop_publico/Consulta/Afiliado
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:Index ATTR=ID:DNI CONTENT=70016220
TAB OPEN
TAB T={{!var1}}
URL GOTO=http://ww4.essalud.gob.pe:7777/acredita/
TAG POS=1 TYPE=SELECT ATTR=ID:BuscarPor CONTENT=%tdocumento
TAG POS=1 TYPE=SELECT FORM=NAME:formin2 ATTR=NAME:td CONTENT=%1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:formin2 ATTR=NAME:nd CONTENT=70016220
Hum..., good that you have some 'pe' (= 'Peru') IP = Low-Spam-Country, but hum, read the Forum Rules for missing Info if you want some Help... :idea:
(This is a Technical Forum, just saying... :idea: )

>

And pfff, nothing specific to iMacros for CR I would think, especially if you don't even mention you FCI, try to select the correct Sub-Forum, next time you open a Thread on this Forum... (No need to duplicate now though...)
You usually get "Direct Help" and "Direct Solution" if you take 10 Sec to do some mini-10_Sec_Thinking before posting, just saying... [Back in 24 Hours...]
please tell me what I'm doing wrong.
=> Eh beh, well..., read...! => My Post + My Sig + The Forum Rules...! => And see if you can mention the missing Info... :wink: :idea:
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
Post Reply