Expected end of line, etc. but found identifier
Expected end of line, etc. but found identifier
- Subject: Expected end of line, etc. but found identifier
- From: Peter R Hawkes <email@hidden>
- Date: Fri, 27 Nov 2015 22:21:35 +0000
- Thread-topic: Expected end of line, etc. but found identifier
Simple script, below, that has worked. Taking it into the Editor and making a change I get the following error on the word ‘messages’ in the second line of code, when trying to compile …… what have I done?
Syntax error
Expected end of line, etc. but found identifier.
tell application "Microsoft Outlook"
set msgSet to current messages
if msgSet = {} then
error "No messages selected. Select at least one message."
error -128
end if
repeat with aMessage in msgSet
set category of aMessage to {category "PMH"}
end repeat
end tell
Peter R Hawkes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden