Automate Facebook Posts

Share your favorite FastKeys commands
Post Reply
30fold
Posts: 7
Joined: Nov 29th, ’15, 09:36

Post by 30fold » Apr 26th, ’20, 18:09

I am looking for a way to automate a Facebook posting scenario. What I am finding is that the manual steps to do this are never exactly the same. For example, one time I tab 15 times to get to the next item (in my case "Schedule Post"), and the next time, given the exact same circumstances it will take 20 tab presses to get to that "Schedule Post" button.

Visually I just click on the button. But since it may not always be in the same location on the screen clicking a position isn't reliable. I know it is consistently an HTML form with a "Submit" button. Is there any way to simply send a "submit" command to the browser, or any other reliable way to get to set the focus on the button or to submit the current form?
User avatar
Tom
Posts: 791
Joined: Nov 24th, ’15, 23:39

Post by Tom » Apr 26th, ’20, 19:48

Possible but you would need to learn IE COM. See the basic tutorial here:
https://autohotkey.com/board/topic/6456 ... -webpages/
Post Reply