wouldjaball 5 Posted November 22, 2013 Report Share Posted November 22, 2013 (edited) Hi all,Trying to setup a script for Facebook that will select and choose the appropriate date on the calendar when scheduling posts....Had it working until Facebok changed the Date/Time/Year and put it into a calendar. It looks like <class="dayCell"> is where the date of the month changes, but not sure how to get the bot to change to the day I want from that.It looks like <td class="dayCell">30</td> is what shows for the 30th of the month, but not sure how to replace the 30 with the date I want.... I tried this: change attribute(<class="dayCell selected">, "value", #Day) but not working Anybody know how to set this up? This is the calendar I'm trying to manipulate: http://screencast.com/t/YE7wYZLP thanks! Edited November 22, 2013 by wouldjaball Quote Link to post Share on other sites
luis carlos 94 Posted November 23, 2013 Report Share Posted November 23, 2013 change attribute(<value=w"*/*/*">, "value", "12/22/2013") Quote Link to post Share on other sites
wouldjaball 5 Posted November 23, 2013 Author Report Share Posted November 23, 2013 Thank you Luis,That works for that specific date, but when I try to put in variables it turns into division.change attribute(<value=w"*/*/*">, "value", $divide($divide(12, #Day), 2013))I'm sure it's an easy fix but how do I keep it from dividing?say I wantedchange attribute(<value=w"*/*/*">, "value", "#month/#day/#year") Thanks! Quote Link to post Share on other sites
wouldjaball 5 Posted November 23, 2013 Author Report Share Posted November 23, 2013 Nevermind, figured it out.. for those who are still learning like me... there is a set of " that you can check that will prevent the bot from using / as math expression. Thanks Luis! Again! You're a badass! Quote Link to post Share on other sites
luis carlos 94 Posted November 23, 2013 Report Share Posted November 23, 2013 No problem, yes this is the button you mean: http://www.screencast.com/t/BebS9LRBI6NL Quote Link to post Share on other sites
innerged 15 Posted November 23, 2013 Report Share Posted November 23, 2013 thanks i needed help with this too. Quote Link to post Share on other sites
Beele 3 Posted December 10, 2013 Report Share Posted December 10, 2013 hey, for the german site i use: change attribute(<value=w"*.*.*">, "value", "#day.12.2013") and it changes the date in the display correctly. But if I click "schedule" it saves the old date . Even if I click manually in the date-field and it opens: the old date (day) of today is marked. Anybody know how to set this up? Thanks !!! Quote Link to post Share on other sites
Beele 3 Posted December 13, 2013 Report Share Posted December 13, 2013 hey, for the german site i use: change attribute(<value=w"*.*.*">, "value", "#day.12.2013") and it changes the date in the display correctly. But if I click "schedule" it saves the old date . Even if I click manually in the date-field and it opens: the old date (day) of today is marked. Anybody know how to set this up? Thanks !!! ok... this works: click($element offset(<name="future_dateIntlDisplay">, 0), "Left Click", "No") wait(1) click(<innertext=#day>, "Left Click", "No") no change attribute, left click is better http://www.smileygarden.de/smilie/Schleifchen-Girls/smilie_girl_173.gif 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.