J
james.g
Version: 2008
Operating System: Mac OS X 10.6 (Snow Leopard)
Processor: Intel
So, I am trying to adapt an older script designed for Entourage 2004 into playing nice with Entourage 2008, namely the infamous "Send Complex HTML X" script by Paul Berkowitz's.
The issue that the script dies with the error message "Can't get group whose name = " followed by the name of the group put as a recipient in the blank email. I have attempted to work around this line by using Rob Buckley's attempt at fixing it with the following:
try
set theAddressBooks to the address books
repeat with theAddressBook in theAddressBooks
try
tell theAddressBook to set thegroup to (first group where its name is grpName)
exit repeat
end try
end repeat
on error errMsg
beep
error errMsg
return
end try
Sadly this doesn't work neither, with a strange symptom that if I try to push the value of groupname into a dialog, it never shows.
So far, I am at a loss as to what is going wrong, or how to get at the group object and grab the name. Any suggestions?
Operating System: Mac OS X 10.6 (Snow Leopard)
Processor: Intel
So, I am trying to adapt an older script designed for Entourage 2004 into playing nice with Entourage 2008, namely the infamous "Send Complex HTML X" script by Paul Berkowitz's.
The issue that the script dies with the error message "Can't get group whose name = " followed by the name of the group put as a recipient in the blank email. I have attempted to work around this line by using Rob Buckley's attempt at fixing it with the following:
try
set theAddressBooks to the address books
repeat with theAddressBook in theAddressBooks
try
tell theAddressBook to set thegroup to (first group where its name is grpName)
exit repeat
end try
end repeat
on error errMsg
beep
error errMsg
return
end try
Sadly this doesn't work neither, with a strange symptom that if I try to push the value of groupname into a dialog, it never shows.
So far, I am at a loss as to what is going wrong, or how to get at the group object and grab the name. Any suggestions?