post text along with images


SUBMITTED BY: uuuuuu

DATE: Oct. 30, 2016, 8:20 p.m.

FORMAT: Text only

SIZE: 1.4 kB

HITS: 817

  1. FB Group Poster
  2. '
  3. ' This script will post text along with images at Facebook groups.
  4. '
  5. '
  6. Set !Timeout_Step 3
  7. Set !Extract_Test_Popup NO
  8. Tag Pos=1 Type=TextArea Attr=Title:Write<sp>something... Extract=Htm
  9. Set !Var1 Eval("var a = '{{!extract}}'.match(/id=.(.+).>Write\s/); a[1];")
  10. Set !ReplaySpeed Medium
  11. ' Add text below
  12. EVENT TYPE=CLICK SELECTOR="#{{!Var1}}" BUTTON=0
  13. EVENTS TYPE=KEYPRESS SELECTOR="#{{!Var1}}" CHARS="This is first line!\n\nLine2\n\nLine3"
  14. Set !Extract Null
  15. Tag Pos=1 Type=A Attr=data-endpoint:/ajax/composerx/attachment/media/chooser/
  16. Tag Pos=1 Type=Input:File Attr=aria-label:*Photos/Video Extract=Htm
  17. Set !Var2 Eval("var a = '{{!extract}}'.match(/id=.(.+).\sclass=/); a[1];")
  18. Set !Extract Null
  19. ' Change path of picture from here or link it through CSV file
  20. Tag Pos=1 Type=Input:File Attr=ID:{{!Var2}} Content=C:\Users\Public\Pictures\Sample<SP>Pictures\Chrysanthemum.jpg
  21. Set !Timeout_Step 1
  22. Tag Pos=1 Type=Div Attr=Class:_1dsp Content=Event:MouseOver
  23. Tag Pos=R-1 Type=Form Attr=* Extract=Htm
  24. Set !Var3 Eval("var a = '{{!extract}}'.match(/id=.(.+).><input\sname=/); a[1];")
  25. Set !Extract Null
  26. Tag Pos=1 Type=Form Attr=ID:{{!Var3}} Content=Event:MouseOver
  27. Tag Pos=R1 Type=Form Attr=* Extract=Htm
  28. Set !Var4 Eval("var a = '{{!extract}}'.match(/id=.(.+).\sonsubmit/); a[1];")
  29. Set !Extract Null
  30. Wait Seconds=40
  31. Tag Pos=1 Type=Button Form=ID:{{!Var4}} Attr=Txt:Post

comments powered by Disqus