Jump to content

Sonny

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Sonny

  1. Thank you very much. I am also open to using JavaScript. Not a problem at all. Is that something you or someone else can code? thanks again Sonny
  2. I am wondering if it would be possible to write a very simple chat room bot which is fairly dependent of what kind of message is received. The scenario is that I’m working on auto reply to my friends that are often posing messages on our own chat page. So, the script would continually check the browser for new messages (without reloading the page) for a particular string just appearing from the bottom of the field. If the string contains the following text: “... has just logged in!” the script is to select the first word of the string, place a comma “,” behind it and then write “Hi, buddy, I’ll be back in a bit.” and then respond by pushing the ENTER bottom. But before pushing ENTER/posting the message it has to wait 7 seconds After posting this, wait again for 5minutes before replying to Anyone, based on the same conditions as above. Repeat indefinitely. I would also like to have random replies from the following list: 1. Hi, buddy, I’ll be back in a bit. 2. I’m not available at this moment. Contact me by mobile. 3. Please don’t disturb or ping me. I’m studying. 4. In my way to grandma. Will log in when I get there. 5. REMINDER: Scoccer training on Monday. I was thinking Applescript could be an easy way to do this. Can anyone possibly help get me started? Like I said, I'm a beginner, so please keep that in mind. Trying to use this as a learning experience, as I learn best by trying to come up with a solution to a particular scenario rather than by books or tutorials. Should be executed on the active/open safari browser Thank you very much in advance.
×
×
  • Create New...