• 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: Terminal Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminal Scripting


  • Subject: Re: Terminal Scripting
  • From: Martin Orpen <email@hidden>
  • Date: Sat, 28 Feb 2004 08:27:01 +0000

on 28/2/04 1:43 am, Kris Jensen at email@hidden wrote:

> I tried all of the scripts suggested so far on my 450...none worked.
>
> I'm running Terminal 1.4.1 (v100)
> Script Editor 2.0 (v43)
> Applescript 1.9.3
>
> I'd really appreciate any ideas on things to try. This seems trivial,
> yet it's taking way too much time...

Sounds very odd to me.

I run tcsh and have customised the environment too much to trust it to
behave in a standard manner. So I've just run the following script on a
fresh Panther installation (bash terminal) on a G4 Cube:

tell application "Terminal"
activate
do script "ls -al"
end tell

And, as usual, I got two windows on the first run - a blank one and one with
the command - and a new window doing the requested command on each
successive run.

Does your Terminal work normally when you enter commands directly rather
than via AppleScript?

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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: Terminal Scripting
      • From: Kris Jensen <email@hidden>
References: 
 >Re: Terminal Scripting (From: Kris Jensen <email@hidden>)

  • Prev by Date: Re: AS/FMP: a list of fewer than two records
  • Next by Date: Re: Terminal Scripting
  • Previous by thread: Re: Terminal Scripting
  • Next by thread: Re: Terminal Scripting
  • Index(es):
    • Date
    • Thread