You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run a modified Jared.scpt, and I am debugging myresult. It keeps giving me this error: Can't make application into type application. (-1700)
using terms fromapplication 'Messages'
on message sent theMessage with eventDescription
end message sent
on message received theText from theBuddy with eventDescription
end message received
on chat room message received theText with eventDescription from theBuddy for theChat
setgetnametonameof theBuddy astexttrysetmyresulttogetidof theBuddy
on error errMsg
seterrMsgPartsto splitText(errMsg, "\"")
seterrCounttocountof errMsgParts
setmyresulttoitem (errCount -1) of errMsgParts
end trydisplay dialog ((classof myresult) asstring)
end chat room message received
on active chat message received theText with eventDescription from theBuddy for theChat
trysetmyresulttogetidof theBuddy
on error errMsg
seterrMsgPartsto splitText(errMsg, "\"")
seterrCounttocountof errMsgParts
setmyresulttoitem (errCount -1) of errMsgParts
end trydisplay dialog ((classof myresult) asstring)
end active chat message received
on addressed message received theText with eventDescription from theBuddy for theChat
setgetnametonameof theBuddy astexttrysetmyresulttogetidof theBuddy
on error errMsg
seterrMsgPartsto splitText(errMsg, "\"")
seterrCounttocountof errMsgParts
setmyresulttoitem (errCount -1) of errMsgParts
end trydisplay dialog ((classof myresult) asstring)
end addressed message received
on received text invitation with eventDescription
end received text invitation
on received audio invitation theText from theBuddy for theChat with eventDescription
end received audio invitation
on received video invitation theText from theBuddy for theChat with eventDescription
end received video invitation
on buddy authorization requested with eventDescription
end buddy authorization requested
on addressed chat room message received with eventDescription
end addressed chat room message received
on login finished with eventDescription
end login finished
on logout finished with eventDescription
end logout finished
on buddy became available with eventDescription
end buddy became available
on buddy became unavailable with eventDescription
end buddy became unavailable
on received file transfer invitation theFileTransfer with eventDescription
end received file transfer invitation
on av chat started with eventDescription
end av chat started
on av chat ended with eventDescription
end av chat ended
on completed file transfer with eventDescription
end completed file transfer
end using terms fromonsplitText(sourceText, textDelimiter)
setAppleScript's text item delimitersto {textDelimiter}
setmessagePartsto (everytextitemin sourceText) aslistsetAppleScript's text item delimitersto""return messageParts
end splitText
The text was updated successfully, but these errors were encountered:
I am trying to run a modified
Jared.scpt
, and I am debuggingmyresult
. It keeps giving me this error: Can't make application into type application. (-1700)The text was updated successfully, but these errors were encountered: