Jump to content

Can I do this with Autoit, or is it not the right tool?


Recommended Posts

Hi,

I'm looking to automate my publishing process to medium.com.

What I'm trying to do is this:

  • Create a file with a specific name format, e.g. file-YYYY-MM-DD.txt
  • Create an accompanying image: file-YYYY-MM-DD.jpg
  • Open my Medium account
  • Click on the link that allows me to create a new post
  • Take the content of the and insert it in Medium's text editor. If possible, I would like to simulate typing the content of the file to take advantage of the automated formatting in the editor
  • Upload the image and insert it in a specific location in the text editor. This may require multiple steps where the script "types" something, then I upload the image, then continue typing
  • Add specific parameters before publishing the post
  • Then publish button using the provided button

Is this something that's feasible, or am I way too ambitious?

If there is code somewhere that shows similar implementations, I'd be interested in looking at it, too.

Thanks,

L

 

Link to comment
Share on other sites

the first two steps will be easy, search the help file for _nowcalc() and the macros @year @mon @mday

The rest of  your points is web browser automation (search general help and support for that). Perhaps it might be a good idea to search "medium" (???) if they have any option for automation?

 

CU, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...