• 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: Changes in osascript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Changes in osascript?


  • Subject: RE: Changes in osascript?
  • From: Scott Babcock <email@hidden>
  • Date: Tue, 27 Jan 2009 22:13:01 -0800
  • Acceptlanguage: en-US
  • Thread-topic: Changes in osascript?

Whenever I include 'ps' as part of a scripting task, I always limit its output to the fields I actually need through the '-o' option. In this case, it appears that all you really want is the command:
 
ps -U "$USER" -co command
 
This way, you don't need to deal with as many version-to-version formatting issues.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Changes in osascript?
      • From: LuKreme <email@hidden>
  • Prev by Date: Re: boolean cruelty
  • Next by Date: Turn on/off Internet sharing
  • Previous by thread: Re: Changes in osascript?
  • Next by thread: Re: Changes in osascript?
  • Index(es):
    • Date
    • Thread