Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can You Repeat Just A HTML Element Action
#1
I was wondering if there was a way to just repeat HTML Element Action without repeating the whole macro..
example:
Htm Iconpopup10 = htm("A" "Icon Pop Up" "" win("MYB" "WindowsForms10.Window.8.app.0.3b95145") 0 55 0x621 10);err
Iconpopup10.ClickAsync
Htm addit=htm("A" "" "" win("MYB" "WindowsForms10.Window.8.app.0.3b95145") 0 138 0x20 10)
addit.ClickAsync
1
Htm add_to_friends1=htm("IMG" "Submit" "" win("MYB" "WindowsForms10.Window.8.app.0.3b95145") 0 25 0x322 10);err
add_to_friends1.ClickAsync
1
Htm already_Done=htm("TD" "" "" win("MYB" "WindowsForms10.Window.8.app.0.3b95145") 0 23 0x20 10);err
already_Done.SetText("~DONE~")
1
Htm close1=htm("IMG" "http://assets.myyearbook.com/updateicons/notifications_x.gif" "" win("MYB" "WindowsForms10.Window.8.app.0.3b95145") 0 22 0x922 10);err
close1.ClickAsync
now what I want to repeat is everything but first line -----Htm Iconpopup10 = htm("A" "Icon Pop Up" "" win("MYB" "WindowsForms10.Window.8.app.0.3b95145") 0 55 0x621 10);err
Iconpopup10.ClickAsync <---- that I do not want to repeat but the rest I want to repeat and I can change the first line different but i want after I do the first line again to repeat the rest without doing it over again
#2
Edit -> Other Formats


use the correct copying and pasting feature for this forum!


Forum Jump:


Users browsing this thread: 1 Guest(s)