Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating Auto Ad Post Using Macros
#1
I'm pretty new to this site and noobie at using quick macros. I was wondering if anyone can help out writing a macro

macro1
web "https://post.craigslist.org/atl/S/mob/atl" 0x4
lef 36 357 win("atlanta craigslist | posting > cell phones - Windows Internet Explorer" "IEFrame")
key "Test Header"
lef 414 359 win("atlanta craigslist | posting > cell phones - Windows Internet Explorer" "IEFrame")
key "6"
lef 564 353 win("atlanta craigslist | posting > cell phones - Windows Internet Explorer" "IEFrame")
key "Atlanta"
lef 34 458 win("atlanta craigslist | posting > cell phones - Windows Internet Explorer" "IEFrame")
key "Hello"

I need a macro that opens up internet explorer and post same message on different url below:

web "https://post.craigslist.org/den/S/mob/none/x"
web "https://post.craigslist.org/phi/S/mob/none/x"
web "https://post.craigslist.org/sdo/S/mob/csd"
web "https://post.craigslist.org/bhm/S/mob/none/x"

I think i need some kind of loop or something....

any help is greatly appreciated!!! Thanks
#2
Macro Macro1495
Code:
Copy      Help
str Title="Test Header"
str Price=6
str Location="Atlanta"
str Text=
;Hello
;Line 2

str urlList=
;https://post.craigslist.org/atl/S/mob/atl
;https://post.craigslist.org/phi/S/mob/none/x
;https://post.craigslist.org/sdo/S/mob/csd
;https://post.craigslist.org/bhm/S/mob/none/x

int w1
str url
foreach url urlList
,web url 0x5 "" "" 0 w1
,;----
,Htm el
,el=htm("INPUT" "" "" w1 0 2 0x20 3)
,el.SetText(Title)
,el=htm("INPUT" "" "" w1 0 3 0x20)
,el.SetText(Price)
,el=htm("INPUT" "" "" w1 0 4 0x20)
,el.SetText(Location)
,el=htm("TEXTAREA" "" "" w1 0 0 0x20)
,el.SetText(Text)
,
#3
This looks great!!! One more questions...I would like to add to this macro

if i wanna add random string letters of 50 or numbers on body text on line 3?
#4
Code:
Copy      Help
str random.RandomString(50 50 "a-zA-Z0-9")
str Text=
F
;Hello
;Line 2
;{random}

out Text


Forum Jump:


Users browsing this thread: 1 Guest(s)