三流君 IE操作 起動済みIE、操作済み、既存の表示済みWEB画面を操作

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,570
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 23, 2011

ソースコードは http://d.hatena.ne.jp/ken3memo/20110823/1314115156 を見てください。
既存の表示済みWEB画面を操作したかったので、

Shell.Application で 管理されている
.Windows を For Each で 1つ1つ取り出し、
TypeNameでタイプを探る。

タイプが If TypeName(objWindow.document) = HTMLDocument なら、
次に
URLを探す
If objWindow.document.URL で判断
URLが一致したら、変数objIEに保存する ( Set objIE = objWindow '代入する )

目的のIEが↑で見つかったかを
If objIE Is Nothing Then
でチェックして、見つからない時は Exit Sub

見つかったら、項目(Name=MEMO)にデータをセットする
セット後、登録ボタンを押す

こんな感じの流れです。

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more