• 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: Help with Error in do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Error in do shell script


  • Subject: Re: Help with Error in do shell script
  • From: John Delacour <email@hidden>
  • Date: Sun, 13 Apr 2003 19:57:39 +0100
  • Mac-eudora-version: 6.0a15

At 8:38 pm +0200 13/4/03, julifos wrote:

Here is my error (type 1)...

set myPID to word 1 of (do shell script "ps x | grep -i '" & POSIX path of
(path to me) & "'")

This works OK from an applet, but it will throw an error in both a script
editor or ASStudio app.

FWIW it works fine here with Script Editor 2 or Smile or Frontier.

JD
_______________________________________________
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.

References: 
 >Help with Error in do shell script (From: julifos <email@hidden>)

  • Prev by Date: Re: Why doesn't this work any more?
  • Next by Date: Re: Writing an OSAX using Project Builder?
  • Previous by thread: Re: Help with Error in do shell script
  • Next by thread: UI Scripting deep menus
  • Index(es):
    • Date
    • Thread