• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SE2b GUI comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SE2b GUI comments


  • Subject: Re: SE2b GUI comments
  • From: has <email@hidden>
  • Date: Wed, 22 Jan 2003 12:57:04 +0000

Philip Aker writes:

My suggestion for a power item that will be much utilized and appreciated is to implement a "shell" feature that places the result of its commands at the current insertion point in the script (unless there is redirection in the command).

Even better: why not make Terminal available through Services? That'd enable CLI whizziness in _any_ application. (Besides, if Script Editor can do Services then Terminal has _no_ excuse.)


Meantime, pop this script in SE2's contextual menu items folder [1]:

try
set contents of selection to do shell script (get contents of selection)
on error eMsg
display dialog "ERROR:" & return & eMsg buttons {"OK"} default button 1 with icon 0
end try

Doesn't do all you ask for, but not bad for a next-to-zero effort. :)

has

[1] SE2 folks are welcome to sling it in the next release if they think it useful.
--
http://www.barple.pwp.blueyonder.co.uk -- The Little Page of AppleScripts
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: SE2b GUI comments
      • From: Philip Aker <email@hidden>
    • Re: SE2b GUI comments
      • From: Michael Grant <email@hidden>
    • Re: SE2b GUI comments
      • From: Paul Skinner <email@hidden>
References: 
 >Re: SE2b GUI comments (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: SE2b GUI comments->Abbreviations!
  • Next by Date: Re: GUI scripting: Set app window attributes - size, position, bounds?
  • Previous by thread: Re: SE2b GUI comments
  • Next by thread: Re: SE2b GUI comments
  • Index(es):
    • Date
    • Thread