Hello,
I’m new to this forum and new to applescript.
I’m trying to create a little script which has a sub function to be called. It’s looking a bit like this.
tell application "ical"
set temp to subfun(test)
end tell
on subfun (something)
return ans
end temp
So whenever I run the script it complains that iCal does not know how to do subfun. How can I call this subfun from inside a tell? Thanks for the help.