imacros

iMacrosでのTAGコマンドの使い方

以前こちらの記事で紹介したブラウザ自動化ツールiMacrosですが、今回は前回より少しだけ踏み込んだ使い方を説明しようと思います。

ブラウザを自動化できるimacrosの基本的な使い方


スポンサーリンク

要素をクリックするTAGの使い方

前回は例としてGoogleで検索する操作を自動化しました。

今回は前回の続きから説明しようと思います。

Current

記録した操作は#Current.iimというファイルに保存されています。

右クリックしてEdit Macroを選択してみましょう。

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
URL GOTO=https://www.google.co.jp/webhp?hl=ja&dcr=0&ictx=2&sa=X&ved=0ahUKEwjx24bf2I7aAhVLErwKHaQIAEEQPQgD
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:tsf ATTR=ID:lst-ib CONTENT=zenny
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:tsf ATTR=NAME:btnK

このようなコードになっていると思います。

一行目はGoogleにアクセスしています。

二行目では TAGコマンドを使って検索窓に文字列を入力しています。

三行目では同じくTAGコマンドで検索ボタンを押しています。

ここで一番よく使うことになるTAGコマンドの使い方に触れておきます。

TAG POS=n TYPE=要素 ATTR=属性

TAGコマンドは基本的には上記のように使用します。

POSはその要素が現れる順番を指定します。基本的には1となりますがTYPE、ATTRが同じ要素が複数ある場合は2以上の数値になることになります。

TYPEは要素名です。imput,a,div等の要素名が入ります。

ATTRは属性です。IDやTXT、NAMEを指定することが多くなります。

テキストを指定する

TAG POS=1 TYPE=A ATTR=TXT:Zenny

Google検索結果画面でZennyをクリックした場合このようになります。

リンクの場合は要素はA、テキストの内容はZennyです。

このようにテキストの内容が一致する要素を指定することができます。

IDで指定する

TAG POS=1 TYPE=A ATTR=ID:ここにID

IDで指定するときはATTR=ID:○○として指定します。

NAMEで指定する

TEXT,IDで指定できない場合はNAMEタグを使うこともあります。

NAMEで指定すること気はATTR=NAME:〇〇の形で指定します。

さいごに

TAGコマンドはiMacrosを使う上で最もよく使うので使いこなせるようにしましょう。


スポンサーリンク

Related Posts

887件のコメント

  1. personal loan bad credit payday loans guaranteed acceptance bad credit personal loans personal loans for poor credit loans for people with bad credit consolidation loans for bad credit personal loan for bad credit loans for bad credit bad credit loans guaranteed approval poor credit loans credit loans poor credit loans guaranteed approval cash till payday loans personal loans low interest rates loans direct lenders payday loans online loans no credit check online loans no credit check loans no credit check online payday loans no credit check online payday loans cash advance america scam paydayloans lenders online payday loans no credit check online loans online loans online loans bad credit online loans bad credit online cash advance express cash advance cash advance cash advance usa credit direct loans emergency payday loan loans online direct loans online no credit check what is cash advance installment loans no credit online installment loans installment loans for bad credit

  2. how to get a personal loan with bad credit payday loans no credit check payday loans vancouver payday loans no credit check same day personal loans online loans online loans cash advance today payday cash paydayloan com installment loans online installment loans loans for bad credit loan with bad credit cash loans for bad credit short term loans for bad credit online payday loans payday loan online online payday loans online payday loan personal loans online personal loans online loans online no credit check personal loans online loans loans with low interest rates personal loans with low interest loans with low interest short term loan lenders credit loans guaranteed approval poor credit loans guaranteed approval personal loans guaranteed approval cash advance usa payday loan cash advance cash advance online payday cash advance personal loans for bad credit personal loan for bad credit bad credit personal loans personal loans for bad credit

  3. online loans for bad credit loans in atlanta ga loans for bad credit personal loan for bad credit http://loansforbadcredit2018.com/ bad credit loans loan cash bad credit loans guaranteed approval personal loans guaranteed approval http://creditloansguaranteedapproval2018.com/ loans payday loan instant cash personal loans low interest low interest loan http://loans1000.com/ bad credit installment loans guaranteed installment loans bad credit installment loans installment loans http://installmentloans2018.com/ payday loans no credit check free payday loan payday loans no credit check payday loans no credit check http://paydayloansnocreditcheck2018.com/ installment lenders personal loan for bad credit direct payday loan lenders online personal loan bad credit http://personalloansforbadcredit2018.com/ online payday loan payday loan online home loans for bad credit online payday loans http://onlinepaydayloans2018.com/ express cash advance express cash advance online cash advance payday loan cash advance http://cashadvance911.com/ quick loans for people with bad credit loans online installment loans no credit check unsecured loans with bad credit http://onlineloans2018.com/ loans online loans online payday loans online credit online http://loansonline2018.com/

  4. personal loans for bad credit personal loan for bad credit bad credit history loan home installment loans no credit check online loans online loans online loans payday loans online loans online loans online no credit check loans online direct poor credit loans guaranteed approval loan broker loans for people with bankruptcy credit loans guaranteed approval loans in columbus ohio best personal loans for bad credit installment loans online online loans bad credit instant approval cash advance payday vr cash advance cash advance no direct deposit payday loans fast loans debt consolidation loans for bad credit loan with bad credit payday loans no credit check tribal loans direct lenders payday loans no credit check lending companies online loans direct lenders online payday loans payday loan online online payday loans loans loans a loan with bad credit personal loans low interest rates

  5. payday loans online loans online loans online loans online cash advance direct lenders personal loan credit loans guaranteed approval bad credit loans guaranteed approval fast loans no credit check payday loans online no credit check payday loans no credit check payday loans no credit check trusted payday loans installment loans for bad credit guaranteed payday advances online loans no credit check cash advance cash advance payday loan cash advance personal payday loans loans for people with bad credit consolidation loans for bad credit loans for bad credit loan with bad credit best pay day loans personal loans low interest rates i need a loan with bad credit payday loans colorado installment loans online installment loans bad credit installment loans guaranteed installment loans no credit personal loan bad credit bad credit personal loans payday loans direct deposit online installment loan companies online loans payday loans guaranteed acceptance online loans no credit best online loans

  6. installment loans installment loans installment loans online bad credit installment loans online loans bad credit eloans online loans for bad credit online loans no credit check usda loan loans loans loans payday loans online no credit check personal loan form loans online payday loans online cash advance cash advance online cash advance cash advance best loans for bad credit personal loans bad credit online loans for bad credit get cash now loans poor credit loans credit loans guaranteed approval credit loans guaranteed approval loans for people with bankruptcy cash fast online 1000 payday loan no credit check payday loans instant approval easy cash payday loan payday loan online payday loan online online payday loans online payday loans instant approval personal loan bad credit cash installment loans personal loans for people with bad credit personal loan bad credit

  7. personal loans for bad credit personal loan for bad credit need money now loans for bad credit online payday loans online payday loans online payday loans no credit check online payday loans instant approval online payday loans no credit check loan for 5000 online registration loans instant approval no credit check payday loans installment loans payday cash credit builder loans installment loans no credit loans loans personal loans with low interest rates low interest loans bad credit no money down credit loans guaranteed approval payday loans in north carolina bad credit loans payday cash advance cash advance cash advance payday loan cash advance online loans no credit check online loans online loans bad credit online loans for bad credit personal loan bad credit bad credit loans not payday loans bad credit personal loans personal loans for bad credit loans online secured loans quick loans online cash lenders

  8. credit loans guaranteed approval loans with cosigner bad credit loans credit loans guaranteed approval online payday loans online payday loans online payday loans online payday loans what is a conforming loan quick payday loan online loans online loans online no credit check payday loans no credit check same day payday loans no credit check payday loans no credit check payday loans online no credit check loans for bad credit small loans for bad credit quick loans for bad credit online loans for bad credit fast payday loans online cash advance cash advance online cash advance online fast online payday loans payday loan guaranteed approval personal loans for bad credit payday 3 installment loans no credit check credit loans for bad credit installment loans installment loans online national cash advance online loans loans online same day personal loans loans loans loans loans

  9. installment loans online installment loans bad credit installment loans http://installmentloans2018.com/ – installment loans http://installmentloans2018.com/ cash advance payday loans online personal loans online payday loans in virginia http://loansonline2018.com/ – loans online http://loansonline2018.com/ online loans no credit check payday loans no credit check no credit check payday loans http://paydayloansnocreditcheck2018.com/ – small cash loans http://paydayloansnocreditcheck2018.com/

  10. bad credit installment loans installment loans oregon payday loans installment loans 1000 cash loan personal loans with low interest low interest loans new direct payday lenders payday 2 xbox one loans online no credit check loans online loans online online cash advance online cash advance express cash advance cash advances personal loans guaranteed approval credit loans guaranteed approval best debt relief programs apply for payday loan same day payday loans online consolidation loans for bad credit loans for bad credit personal loans for bad credit loans contact number payday loans no credit check tax loan advance payday loans no credit check parent loans personal loans for people with bad credit personal loans for bad credit personal loans for people with bad credit online loans for bad credit best online loans online loans bad credit online loans online payday loans online payday loans loan for bad credit online payday loans no credit check

  11. personal loans for bad credit personal loans for bad credit loans with no credit checks http://personalloansforbadcredit2018.com/ – personal loan for bad credit http://personalloansforbadcredit2018.com/ online payday loans instant approval payday loans online online payday loans http://onlinepaydayloans2018.com/ – online payday loans no credit check http://onlinepaydayloans2018.com/ installment loans no credit installment loan installment loans http://installmentloans2018.com/ – installment loan http://installmentloans2018.com/

  12. loans loans with low interest loans personal loans with low interest rates payday loans no credit check same day payday loans no credit check payday loans no credit check tax anticipation loan cash advance online extended payday loans cash advance loan 500 credit loans guaranteed approval bad credit loans direct lenders no credit check no credit loans loans with no credit check near me online payday loans www cash advance online payday loans no credit check online loans for bad credit best short term loan online loans online loans no credit loans online direct payday loans online no credit check loans online no credit check loans online direct loans loans for bad credit quick loans for bad credit loan with bad credit installment loans installment loans installment loans installment loans loans for mobile homes christmas payday loans personal loans for bad credit personal loans for bad credit

  13. online cash advance loans loans online direct loans online loans online no credit check cash advance cash advance usa payday cash advance fast payday loan personal loans low interest rates cash advance bad credit personal loans low interest emergency money personal loan for bad credit loans installment cash loans for bad credit loans with bad credit payday loans online loans guaranteed approval online payday loan online payday loans direct payday loans online online loans online loans for bad credit online loans bad credit payday loans no credit check payday loans no credit check i need a payday loan same day payday loans no credit check installment loans no credit installment loans online installment loans payday loan today bad credit loans payday loans in philadelphia bad credit loans guaranteed approval credit loans guaranteed approval personal loans for people with bad credit payday loan store milwaukee personal loans for bad credit personal loans for bad credit