Loading ...
Sorry, an error occurred while loading the content.

3827Help formatting string for appleevents

Expand Messages
  • Steve Hooker
    Sep 26, 2009
    • 0 Attachment
      I'm trying to add a new user to EIMS on Mac Classic. But, I cannot get
      the string of parameters correct. I keep getting an error "Encountered
      an unexpected data type."

      Below is the script, and the three attempts I have had at getting the
      formatting correct.

      If someone can help, I'd be eternally thankful.

      on newUser (x) { «Add a new user
      return (appleEvent (eims.id, 'EIMS', 'NEWU', '----', x))};
      local {
      «x =
      «x =
      x =
      newUser (x)
    • Show all 43 messages in this topic