diff --git a/Modules/Post-To-Substack.ahk b/Modules/Post-To-Substack.ahk index 6d1b4bc..32e2538 100644 --- a/Modules/Post-To-Substack.ahk +++ b/Modules/Post-To-Substack.ahk @@ -71,7 +71,8 @@ if(status){ ; Input Text Box, this is awful and will probably break in the future, but works for now. ; @todo: Figure out relative xpath, SelectorHub is not providing anything useful. -Xpath = /html[1]/body[1]/div[4]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1] +Xpath = //p[@data-placeholder="What's on your mind?"] + try, CurrentText := driver.findelementbyxpath(Xpath).Attribute("innerText") ;XPATH Inner Text diff --git a/Version.ini b/Version.ini index ca44bc2..c900c78 100644 --- a/Version.ini +++ b/Version.ini @@ -1,2 +1,2 @@ [Social-Media-Poster] -Version=2.99 +Version=3.00