I'll get the name right soon. The application is named "Transmit."

Using Apple's Script Editor, I loaded the original script, and changed the
application name from "Interarchy" to "Transmit" as shown below.

tell application "Transmit"
activate
mirrorupload alias "Macintosh HD:path/to/folder" host "ftp.xxx.org" path
"/public_html/xxx/" user "yyy" protocol FTPProtocol without dryrun
quit
end tell

Received the syntax error message:
Expected end of line, etc. but found class name

with the word alias highlighted.

When I replaced "Transmit" with "Interarchy" again, it compiled fine.


On Fri, Feb 15, 2019 at 4:13 PM Bob Stern <
[email protected]> wrote:

> You might get more meaningful feedback if you try compiling the
> AppleScript in Apple’s "Script Editor" or, better yet, Late Night
> Software’s "Script Debugger Lite".  (Lite version is free.)  The latter has
> a more sophisticated browser for an application’s scripting dictionary
> (plus debugging tools as the name implies).
>
> Bob Stern

Reply via email to