QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: aslauncher
Views: 396, Unique: 323 
Subscribers: 0
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
All messages    << 7-7  6-6 of 7  1-5 >>
About these ads
Who | When
Messagessort recent-top   
Post a new message
 
Matt McIrvin  6
11-08-2002 08:12 PM ET (US)
Until recently, I hadn't done much with AppleScript for several years. (The original reason I messed with it was that in System 7.x days, I didn't have a launcher/dock/control mechanism that I really liked, so I used speech recognition to control many things, which required writing little AppleScripts to do anything nontrivial. It was clumsy but futuristic.)

OS X has actually gotten me interested in AppleScript again, just because the Unix shell integration makes it possible to activate a Unix application or command via an AppleScript droplet that can take dropped file arguments. This in turn allows all manner of Unix/Mac integration, such as the ability to activate GIMP as an opener for picture files.

My latest trick was to use the ps2pdf command-line utility installed as part of GhostScript as a means of viewing PostScript language files with Preview or Acrobat Reader (whichever is your default viewer for PDFs):

on open input_file
 do shell script "export PATH=\"$PATH\":/sw/bin;ps2pdf \"" & POSIX path of input_file & "\" ~/.psview.tmp.pdf; open ~/.psview.tmp.pdf"
end open

If you've got GhostScript, you can save this as an application in Script Editor, use it as the opener for .ps files, and then PostScript becomes double-clickable.
RSS link What's this?
All messages    << 7-7  6-6 of 7  1-5 >>
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2008 Internicity Inc. All rights reserved.