Applescript

    Follow

    You can run the sample scripts by double-clicking on them. For now, we have supplied you the scripts as text, so it will open the OS X Script Editor. All you should have to do is click Run and it should compile and run the script. If the script does not work for you, it may be trying to reference the wrong version of Starry Night on your machine. If this is the case, simply open the script in the script editor and replace the tell application "starry night" with tell "". 
    414618 Bytes

     

    Sample Applescripts ( attached )

     

    Comments

    • Avatar
      Joshua Smith

      First, thank you very much for providing these files!

      I am using Starry Night Small Dome version 6.3.5 and would love to use and modify these Applescripts. I downloaded the zip file and changed the tell application line to "Starry Night Small Dome." However, all scripts fail on what appear to be Starry Night dictionary commands. For example, the Powers of 10 script gives, "Expected end of line but found identifier." when I try to run it in Applescript. The error line is "load situation file fileToOpen" and the highlighted word is "situation." 

      In your Readme it says that I can check the dictionary by opening Starry Night in the Applescript editor. But when I try to do that, using "File>Open Dictionary..." the program is greyed out (while I am able to open the dictionary for other programs, like Skype).

      Can anyone suggest how I can find the Starry Night Small Dome dictionary to begin building and debugging Applescripts?

      Thank you,

      Josh

    • Avatar
      Joshua Smith

      First, thank you very much for providing these files!

      I am using Starry Night Small Dome version 6.3.5 and would love to use and modify these Applescripts. I downloaded the zip file and changed the tell application line to "Starry Night Small Dome." However, all scripts fail on what appear to be Starry Night dictionary commands. For example, the Powers of 10 script gives, "Expected end of line but found identifier." when I try to run it in Applescript. The error line is "load situation file fileToOpen" and the highlighted word is "situation." 

      In your Readme it says that I can check the dictionary by opening Starry Night in the Applescript editor. But when I try to do that, using "File>Open Dictionary..." the program is greyed out (while I am able to open the dictionary for other programs, like Skype).

      Can anyone suggest how I can find the Starry Night Small Dome dictionary to begin building and debugging Applescripts?

      Thank you,

      Josh

    Powered by Zendesk