imacros

how to select a drop-down of YouTube by IMacros + Auto Increment Value

你。 提交于 2020-01-15 11:53:29
问题 This The Code that generated by iMacros. The problem that, this didn't record the Selecting of the drop down VERSION BUILD=8881205 RECORDER=FX TAB T=1 URL GOTO=https://www.youtube.com/channel_switcher?next=%2Faccount&feature=settings TAG POS=2 TYPE=DIV ATTR=TXT:Create<SP>a<SP>new<SP>channel TAG POS=1 TYPE=INPUT:TEXT FORM=ID:createaccount ATTR=ID:PlusPageName CONTENT=CH TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ID:createaccount ATTR=ID:TermsOfService CONTENT=YES TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID

Working with Imacros javascript, need random variables except one value

只愿长相守 提交于 2020-01-07 09:28:28
问题 I am working with Imacros, and using this to get random values from 0 to 5, for Var1. Is there any way i can block out "4" out of the pool, as "4" is not needed. SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*5 + 0); randomNumber;") Alternatively, is there any way i can define Var1, to be random from values: 0,1,2,3,5 ? 回答1: How about this? SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*4); randomNumber==4?5:randomNumber;") 来源: https://stackoverflow.com/questions

imacros find how much a scrollbar is scrolled

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-07 04:45:28
问题 SITUATION: I am trying to make an imacro that will measure how much a scrollbar is scrolled on a specific page, though I have had various difficulties: The following javascript code is often used for this purpose: var vertical = document.getElementById("myDIV").scrollTop; alert("amount scrolled vertically: " + vertical); ATTEMPT#1: However, when I tried using that code in the firefox imacros extension in a js file, I get the following error: ReferenceError: document is not defined, line 1

iMacros doesn't fill caption and tags on Tumblr image post

人走茶凉 提交于 2020-01-07 04:30:08
问题 I have a problem using iMacros within tumblr in post image section. I'm using a macbook with OS X Yosemite 10.10.4 and Firefox 40.0.2 and this is my problem: no caption or tags content is being added when I process my code which is this: VERSION BUILD=8920312 RECORDER=FX TAB T=1 TAG POS=1 TYPE=I ATTR=CLASS:icon_post_photo&&TXT: TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:photo CONTENT=/Users/me/Desktop/blabla.jpg TAG POS=1 TYPE=P ATTR=TXT: TAG POS=1 TYPE=P ATTR=TXT:xxxx TAG POS=3 TYPE=DIV ATTR=TXT:​

How to select-all, copy, and paste in iMacros

依然范特西╮ 提交于 2020-01-06 18:36:19
问题 I'm using iMacros 9 with Firefox, and I'm having a brutally difficult time doing a simple select-all, copy-paste. VERSION BUILD=9030808 RECORDER=FX TAB T=1 TAG POS=1 TYPE=BUTTON ATTR=ID:share_on_stats TAG POS=1 TYPE=BUTTON ATTR=TXT:comma-separated ##need to do select all, and copy here. TAG POS=1 TYPE=DIV ATTR=ID:modal-close TAB T=2 ##need to paste what was copied here ##TAG POS=1 TYPE=TEXTAREA FORM=ID:myform ATTR=ID:paste_code CONTENT=ALL TAB T=1 TAG POS=1 TYPE=A ATTR=TXT:Next<SP>page Anyone

Javascript and imacros loop

落花浮王杯 提交于 2020-01-06 12:43:41
问题 I made this javascript cood for imacros but is not working, i'm getting error like: SyntaxError: wrong format of SET command, line: 1 (Error code: -910) and i don't know what the problem. The script is suppouse to log in to account and make some submissions and log in again with another account and make the same submission And if i have 4 account and 10 submission to make how should i edit this part of code: iimPlay(login); for(i=1;i<4;i++){ iimSet("i",i); iimPlay(submit); } Here is the

Javascript and imacros loop

蹲街弑〆低调 提交于 2020-01-06 12:43:17
问题 I made this javascript cood for imacros but is not working, i'm getting error like: SyntaxError: wrong format of SET command, line: 1 (Error code: -910) and i don't know what the problem. The script is suppouse to log in to account and make some submissions and log in again with another account and make the same submission And if i have 4 account and 10 submission to make how should i edit this part of code: iimPlay(login); for(i=1;i<4;i++){ iimSet("i",i); iimPlay(submit); } Here is the

iMacros: click button or do not click (random choice)

浪尽此生 提交于 2020-01-05 09:23:57
问题 How can I set random choice for button 'click' or 'don't click'? In this example I need let iMacros make random action between like action and do nothing. TAG POS=1 TYPE=BUTTON ATTR=TXT:Like 回答1: As one of the ways to do what you need: SET butTxt "Like" SET butTxt EVAL("(Math.floor(2*Math.random()) == 0) ? 'No such button!' : '{{butTxt}}';") SET !ERRORIGNORE YES SET !TIMEOUT_STEP 0 TAG POS=1 TYPE=BUTTON ATTR=TXT:{{butTxt}} SET !ERRORIGNORE NO SET !TIMEOUT_STEP 6 回答2: var macro; macro = "CODE:

iMacros: click button or do not click (random choice)

这一生的挚爱 提交于 2020-01-05 09:22:46
问题 How can I set random choice for button 'click' or 'don't click'? In this example I need let iMacros make random action between like action and do nothing. TAG POS=1 TYPE=BUTTON ATTR=TXT:Like 回答1: As one of the ways to do what you need: SET butTxt "Like" SET butTxt EVAL("(Math.floor(2*Math.random()) == 0) ? 'No such button!' : '{{butTxt}}';") SET !ERRORIGNORE YES SET !TIMEOUT_STEP 0 TAG POS=1 TYPE=BUTTON ATTR=TXT:{{butTxt}} SET !ERRORIGNORE NO SET !TIMEOUT_STEP 6 回答2: var macro; macro = "CODE:

iMacros concatenating strings from datasource

我们两清 提交于 2020-01-05 08:28:14
问题 In the below iMacros how can I set a variable value and then concatenate it? VERSION BUILD=8530828 RECORDER=FX TAB T=1 SET !ERRORIGNORE YES SET !DATASOURCE allsource.CSV SET !TIMEOUT 1 SET !VAR! = My<SP>Content<SP>Here. TAG POS=1 TYPE=TEXTAREA FORM=ID:pst-main ATTR=ID:description CONTENT={{!COL1}} How can the SET !VAR1 = MyContentHere. work? Please correct my syntax. And, how can I concatenate COL1 and VAR1 the below way didn't work TAG POS=1 TYPE=TEXTAREA FORM=ID:pst-main ATTR=ID:description