Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

AppleScript selected post Question

edited September 2007 in MarsEdit
According to the MarsEdit AppleScript dictionary, the selected post property returns "The current selected post or draft." However, if I run the following script with a local draft selected, AppleScript returns an error that currentPost is undefined.

tell application "MarsEdit"
set currentPost to selected post
return currentPost
end tell

If I run it with a published post selected, the script works as expected.

Am I misunderstanding the script dictionary?
Sign In or Register to comment.