Spara ett skript som en app i Skriptredigerare på datorn
I Skriptredigerare kan du spara skript som en app. Du kan sedan köra skriptet genom att öppna det i Finder, precis som med andra appar.
Välj Arkiv > Exportera när ett skript är öppet i Skriptredigerare på datorn.
Ange ett namn för appen.
Om du vill spara din app på en annan plats än den som visas klickar du på visningstriangeln och markerar sedan en mapp.
Klicka på popupmenyn Filformat och välj sedan App.
Välj en valfri kombination av alternativ:
Visa startskärm: Visar en dialogruta med texten från skriptets beskrivningsfält. Dialogrutan innehåller också knapparna Kör och Avsluta, som du använder till att avsluta eller fortsätta köra skriptet.
Lämna öppet efter körhanteraren: Gör att appen är aktivt tills du avslutar den. Välj det här alternativet om skriptet innehåller en hanterare för inaktivitet.
Endast körbart: Sparar bara den kompilerade versionen av appen. Välj det här alternativet om du inte vill att skriptkällan ska inkluderas i appaketet.
Klicka på Spara.