• 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: Applescript in the terminal (fwd)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript in the terminal (fwd)


  • Subject: Re: Applescript in the terminal (fwd)
  • From: Thomas Fischer <email@hidden>
  • Date: Sun, 21 Apr 2013 10:18:32 +0200


Am 21.04.2013 um 09:50 schrieb emile.a.schwarz:

To Jim:

Thank you for your tip: man osacompile. I prefer the URL because I can print easilly the data from there:

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/osacompile.1.html

The printing result is far better that what one can think using: man osacompile >OSACompile.txt

I actually use
do shell script "/usr/bin/man -t  \"" & myCommand & "\" | /usr/bin/pstopdf -i -o " & manFilePath
for the command myCommand (e.g. osacompile) to create a PDF version of the man page at manFilePath and collect these man pages at an appropriate place. This is actually part of a small applescript that allows for the entry of the name of the command and opens the result in Preview.

Best
Thomas

 _______________________________________________
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

References: 
 >Re: Applescript in the terminal (fwd) (From: "emile.a.schwarz" <email@hidden>)

  • Prev by Date: Re: Applescript in the terminal (fwd)
  • Next by Date: Re: Applescript in the terminal (fwd)
  • Previous by thread: Re: Applescript in the terminal (fwd)
  • Next by thread: Re: Applescript in the terminal (fwd)
  • Index(es):
    • Date
    • Thread