danluchon

Q: Applescript folder

I want learn script on my Applebook with OS X El Capitan.

But I find the Applescript folder empty. What that means?

MacBook Pro with Retina display

Posted on Sep 11, 2016 8:28 AM

Close

Q: Applescript folder

  • All replies
  • Helpful answers

  • by Barney-15E,Helpful

    Barney-15E Barney-15E Sep 12, 2016 12:58 AM in response to danluchon
    Level 8 (49,821 points)
    Mac OS X
    Sep 12, 2016 12:58 AM in response to danluchon

    I learned AppleScript years ago, but am not aware of an AppleScript folder. It may just be that I access it differently, so I'm unaware of its existence.  Where is yours?

     

    Scripts can be stored anywhere you want.

  • by danluchon,

    danluchon danluchon Sep 12, 2016 1:17 AM in response to Barney-15E
    Level 1 (8 points)
    Mac OS X
    Sep 12, 2016 1:17 AM in response to Barney-15E

    Hello,

    In the finder, Applications, there is a folder Applescript. In the manual "Mac OS X Tiger" by David Pogue, it is possible to see the menu of scripts with open Applications>Applescript>Utilitaires Applescript. The figure in the book shows a list: Address, Book Scripts, Basics, ColorSync, Finder Scripts, ........

    So, I thought it was the same thing on my Macbook with El Capitan, but the folder is empty. Therefore, I need an other way to learn the Apple Scripts method.

    Thank you for yours advices and excuse my poor english.

  • by Barney-15E,

    Barney-15E Barney-15E Sep 12, 2016 4:20 AM in response to danluchon
    Level 8 (49,821 points)
    Mac OS X
    Sep 12, 2016 4:20 AM in response to danluchon

    The application is now called Script Editor. Some things have changed since that book was written, but it should still be quite useful. You'll just have to figure out where things have moved and possibly some name changes.

     

    You can enable the Script Menu in the Script Editor Preferences.

    The location of those scripts should be in your user Library/Scripts.

    To see your hidden user Library, hold down the Option key and select Library from the Go menu in Finder.

    Other things may be in the main Library/Scripts (like Folder Action setup).

  • by VikingOSX,

    VikingOSX VikingOSX Sep 12, 2016 4:49 AM in response to danluchon
    Level 7 (20,633 points)
    Mac OS X
    Sep 12, 2016 4:49 AM in response to danluchon

    There is no folder (e.g. AppleScript, Applescript) created by the installation of El Capitan, anywhere in the home directory, or in the Applications folder. You can create an AppleScript folder to hold scripts that you will write, and may decide that it doesn't need to be in the Applications folder. Reusable scripts are intended to go into your local Library : Scripts, or Script Libraries folders.

     

    You are referencing a book that describes OS X (Tiger) from eleven years ago. David Pogue has written six books on subsequent OS X releases, and if you want to avoid severe confusion, I suggest that you reference his OS X El Capitan: The Missing Manual, or a recent book dedicated to AppleScript. OS X has changed accordingly.

     

    Launch the Script Editor (Launchpad : Other : Script Editor). In its Preferences : General panel, √ Show Script menu in menu bar.