I’m trying to automate building a helper app. A while ago Joe posted that AppleScript might be used for this. But I can’t get this to work:
set PathToFile to (choose file with prompt "Choose file") as string
tell application "Xojo 2013r2"
«event RBaescpt» PathToFile
The PathToFile is an IDE script with the following code:
Dim projectToOpen As String = "/Users/beatrixwillius/Documents/\\ Datei/Development/Mail\\ Archiver/code\\ current/max\\ scheduler.rbp"
I get the error -1708 as Joe mentioned in his original post. But unfortunately nothing else happens except an IDE script error “Compiler error while compiling line 1”.
error “Xojo 2013r2 got an error: “Macci:Users:beatrixwillius:Documents: Datei:Development:Mail Archiver:Classes:MainClasses:Build Automation:build scheduler.xojo_script” doesnt understand the «event RBaescpt» message.” number -1708
What am I doing wrong?