Script to Log in to Messages app in mavericks

Discussion in 'Mac Programming' started by malinchhan, Oct 9, 2014.

  1. malinchhan macrumors newbie

    Joined:
    Oct 9, 2014
    #1
  2. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #2
    Hi,

    The answer at StackExchange seems to be correct. I assume your problem is that you don't see anywhere to enter the username and password.

    If you look at the scripting dictionary for Messages you'll see that it tells you that the username and password need to be available in your Keychain for automatic login to work:

    So, in short, you can't supply the username and password in your script, but you can make them available in keychain.
     
  3. malinchhan thread starter macrumors newbie

    Joined:
    Oct 9, 2014
    #3
    Hi superscape,

    Thank you for replying. How to make them available in keychain ?
     
  4. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #4
    I'm not an expert with Messages, but I guess you'll need to log in to the accounts you want to access manually and make sure you save username and password if/when asked to.

    If you can access them in Messages without being prompted to login then you should be in business.
     

Share This Page