• Add an applescript app to another application's menu?

    From phakey@phakey@emmett.gov to comp.sys.mac.system,comp.unix.programmer on Wednesday, December 23, 2020 18:43:42
    From Newsgroup: comp.sys.mac.system

    Is there a straightforward way to add an apple script app to
    another application's menus? Like the services menu, an existing
    menu, or another menubar item? I want to effectively add a new
    command to a File menu of a particular application for the top
    document window. I can get the top window file in the apple
    script and then do the file changes. I would just like something
    more convenient than switching to Finder just to double click the
    apple script app.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Chris Schram@chrispam1@me.com to comp.sys.mac.system,comp.unix.programmer on Thursday, December 24, 2020 03:13:12
    From Newsgroup: comp.sys.mac.system

    On 2020-12-24, phakey <phakey@emmett.gov> wrote:
    Is there a straightforward way to add an apple script app to
    another application's menus? Like the services menu, an existing
    menu, or another menubar item? I want to effectively add a new
    command to a File menu of a particular application for the top
    document window. I can get the top window file in the apple
    script and then do the file changes. I would just like something
    more convenient than switching to Finder just to double click the
    apple script app.

    In Script Editor, enable the Scripts menu, then put your AppleScript in ~/Library/Scripts/Applications/<your_app>/

    ...or did I misunderstand your question?

    --
    chrispam1@me.com is a filtered spam magnet. Email replies may be lost.
    You're better off replying to this newsgroup.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From phakey@phakey@emmett.gov to comp.sys.mac.system,comp.unix.programmer on Wednesday, December 23, 2020 21:51:36
    From Newsgroup: comp.sys.mac.system

    In article <rs1108$m5$1@gioia.aioe.org>,
    Chris Schram <chrispam1@me.com> wrote:

    On 2020-12-24, phakey <phakey@emmett.gov> wrote:
    Is there a straightforward way to add an apple script app to
    another application's menus? Like the services menu, an existing
    menu, or another menubar item? I want to effectively add a new
    command to a File menu of a particular application for the top
    document window. I can get the top window file in the apple
    script and then do the file changes. I would just like something
    more convenient than switching to Finder just to double click the
    apple script app.

    In Script Editor, enable the Scripts menu, then put your AppleScript in ~/Library/Scripts/Applications/<your_app>/

    ...or did I misunderstand your question?

    Thanks. Script interface is created. Now I just have to finish
    what the script will do.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Your Name@YourName@YourISP.com to comp.sys.mac.system,comp.unix.programmer on Thursday, December 24, 2020 19:20:42
    From Newsgroup: comp.sys.mac.system

    On 2020-12-24 02:43:42 +0000, phakey said:

    Is there a straightforward way to add an apple script app to
    another application's menus? Like the services menu, an existing
    menu, or another menubar item? I want to effectively add a new
    command to a File menu of a particular application for the top
    document window. I can get the top window file in the apple
    script and then do the file changes. I would just like something
    more convenient than switching to Finder just to double click the
    apple script app.

    Chris Schram already replied about AppleScript / Script Editor, but
    another option might be to use Automator, where you can create a
    Service. You can even use both by having Automator run an AppleScript.

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Stefen Carrolll 9987@frelwizzen@gmail.com to comp.sys.mac.system on Wednesday, December 23, 2020 23:20:44
    From Newsgroup: comp.sys.mac.system

    On Wednesday, December 23, 2020 at 10:51:50 PM UTC-7, phakey wrote:
    In article <rs1108$m5$1...@gioia.aioe.org>,
    Chris Schram <chri...@me.com> wrote:

    On 2020-12-24, phakey <pha...@emmett.gov> wrote:
    Is there a straightforward way to add an apple script app to
    another application's menus? Like the services menu, an existing
    menu, or another menubar item? I want to effectively add a new
    command to a File menu of a particular application for the top
    document window. I can get the top window file in the apple
    script and then do the file changes. I would just like something
    more convenient than switching to Finder just to double click the
    apple script app.

    In Script Editor, enable the Scripts menu, then put your AppleScript in ~/Library/Scripts/Applications/<your_app>/

    ...or did I misunderstand your question?
    Thanks. Script interface is created. Now I just have to finish
    what the script will do.


    In fact Jaimie Vandenbergh's lies were quoted time and time again. So of course I regret being civil to Jaimie Vandenbergh. While I am sure the
    trolls approved of it, he has taught me to never try to appease a troll.
    Now F. Russell on the other end of the crap doesn't matter. All that matters is Jaimie Vandenbergh gets to deliver the payload. So how to deal with
    this? Don't reply to the nonsense. Honest discussion isn't part of Jaimie Vandenbergh's plan and never has been. My view is that we should ALL report the flooding and then it will stop.

    Folks who've known Jaimie Vandenbergh for quite some time, and also have experience with him highly advise forgetting him to get him to troll someplace else. As long as F. Russell and anyone else continues to spoon feed him,
    he won't seek to be the focus of every thread someplace else. Just idiotic trolling. And I am rewarding that trolling. THAT is what the "Jaimie Vandenbergh
    circus" is. I am not fuming, he wants me to be but I'm busting a gut because Jaimie Vandenbergh's nonsense is so juvenile. He purposefully did not mention all the details that he would quickly insist are needed... and we all know why, Jaimie Vandenbergh is such a moron. At least he has other trolls rushing to his rescue ;) Why would F. Russell need socks? He is the one who quotes facts for his side of the "fights".

    --
    My Snoring Solution! https://www.zillow.com/homedetails/108-Warrior-Dr-Kingsport-TN-37663/42459578_zpid/
    https://www.youtube.com/watch?v=prZeTJKpc3Y <https://www.usphonebook.com/423-491-1448?Dustin-Cook&Diesel&Gremlin>
    Dustin Cook the Fraud
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From invalid@invalid@invalid.invalid (=?ISO-8859-1?Q?=CFnvalid?=) to comp.sys.mac.system,comp.unix.programmer on Thursday, December 24, 2020 12:42:18
    From Newsgroup: comp.sys.mac.system

    phakey <phakey@emmett.gov> wrote:

    Is there a straightforward way to add an apple script app to
    another application's menus? Like the services menu, an existing
    menu, or another menubar item? I want to effectively add a new
    command to a File menu of a particular application for the top
    document window. I can get the top window file in the apple
    script and then do the file changes. I would just like something
    more convenient than switching to Finder just to double click the
    apple script app.

    Are you Sirius?

    --
    fold, spindle, mutilate
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Lewis@g.kreme@kreme.dont-email.me to comp.sys.mac.system,comp.unix.programmer on Thursday, December 24, 2020 17:53:52
    From Newsgroup: comp.sys.mac.system

    In message <phakey-0397BF.18433423122020@reader.eternal-september.org> phakey <phakey@emmett.gov> wrote:
    Is there a straightforward way to add an apple script app to
    another application's menus?

    Yes, the script menu is just for this, and any Macintosh app SHOULD
    support it.

    Open up ~/Library/Scripts

    Create a folder named "Applications" if it does not already exist.

    In that folder creat folder with the names of Applications.

    Applications
    ├── Mail
    ├── Pages
    └── Safari

    Place scripts in there.

    A menu will appear in those apps with a AppleScript "scroll" icon and
    your scripts will be in there.

    Some applications may have a different location, like BBEdit prefers
    scripts in it's own folder.

    Like the services menu, an existing
    menu, or another menubar item? I want to effectively add a new
    command to a File menu of a particular application for the top
    document window.

    No, adding commands to the existing menus isn't supported, or not easily
    at least, unless the App itself supports it (like BBEdit willallow you
    to attach a script to a menu item, though not I don't think add a new
    item to the menus)

    This should help:

    <https://support.apple.com/guide/script-editor/access-scripts-using-the-script-menu-scpedt27975/mac>

    --
    "Are you pondering what I'm pondering?"
    "Wuh, I think so, Brain, but will they let the Cranberry Duchess stay
    in the Lincoln Bedroom?"
    --- Synchronet 3.18b-Win32 NewsLink 1.113