home / contact 
 Mac
add an appfaqlinkspollsupcoming eventssearch
 Welcome Tue Mar 28 
Sections
 
Site News
Apps: Audio/Video
Apps: Classic
Apps: Command Line
Apps: Database
Apps: Docklets
Apps: Emulation
Apps: Font Tools
Apps: Games
Apps: Graphics
Apps: Internet
Apps: Math/Science
Apps: Miscellaneous
Apps: Networking
Apps: OS X Server
Apps: Productivity
Apps: Programming
Apps: Screen Savers
Apps: Security
Apps: UI
Apps: Utilities
Scripts: Applescript
Scripts: Perl
Scripts: Scripting
System: Appearance
System: Drivers
System: Fonts
System: Services
System: Updates

User Functions
 
Username:

Password:

Don't have an account yet? Sign up as a New User

Pair Networks
 
Don't want to spend $99 on .Mac services from Apple?

Sign up for an account at Pair Networks, for only $5.95/Month. You'll get email, 100MB of disc space, 100MB traffic per day, and super-reliable service on one of the fastest web hosts around.

Click here to learn more!


nopen.pl
Mar 13, 2001 07:31PM
Contributed by: mccoytest

Download: http://www.geocities.com/mccoytest/nopen.pl



nopen.pl is a little perl script to start macos X apps from the terminal. I use this in conjunction with at least two aliases in my .tcshrc.



% alias nsc 'nopen.pl screen '

# this one invokes the default screensaver



% alias o 'nopen.pl !*'

# this one just invokes the desired program.



nopen.pl builds a 'db' (just a flat file) of applications from 'standard' locations

on the system when first executed. subsequent executions just read from

the file. (use -b to rebuild the file after new additions.) ( -l will list the

available applications found.)



Examples:



% o address

# just opens the editable addressbook

% o internet

# fires up internet explorer



nopen.pl permits you to type as few characters necessary to recognize an app.


What's Related
 
  • http://www.geocities.com/mccoytest/nopen.pl
  • More by mccoytest
  • More from Scripts: Perl

  • Story Options
     
  • Mail Story to a Friend
  • Printable Story Format