Syntax

on openFile pathToOpen
  ...
end openFile

Explanation

Whenever someone double-clicks a file in Finder or drags a file’s icon onto Stacksmith’s icon, an openFile message with the file’s path is sent to the current card and up the message path.

See Also