New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

.app question & custom context menu


Post Reply New Thread Subscribe

 
Thread Tools
someone

 
Member Since: Aug 16, 2010
Posts: 1
someone is on a distinguished road

someone is offline
Hi everybody,
I'm new to the Mac world and I have a couple of questions.
I have a MacBook Pro running Snow Leopard 10.6.4.

Following some hints I found on the net I created .app
packages to run specific programs.
Basically I open a new document in the AppleScript
editor and add the command:

Code:
do shell script "/path/to/file"
and then save it as an application to create an .app that
I can use just like any other .app .

Using this method I can start just one instance of the .app .
If I double-click on the .app again nothing happens.
Maybe I'm missing something, is there a way to start more
than one instance of an .app created that way?
I'm wondering about something like background execution,
I mean the equivalent of the "&" for Unix shell commands.

Actually I'm using this method to run a Windows application
through the wine emulator (just because I paid for the license!):

Code:
do shell script "wine start /Unix /Users/xxx/.wine/drive_c/Programs/Illustrate/dBPoweramp/MusicConverter.exe"
The other question is about context menu (right click menu).
I would like to add entries in the finder context menu to do
specific task on specific file types.
For example I would like to add an entry to run a .app
I created as explained above when I right click on a file
in the finder.

Any suggestion is welcomed!

Thanks for your help!
QUOTE Thanks

Post Reply New Thread Subscribe


« xcode generates .h .m files in chinese | xCode 3.14 iPhone Development Problem »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Help me removed "Help" from context menu (it isn't supposed to be there) remain OS X - Operating System 12 02-07-2007 03:44 PM
IDVD Menu question... mikey8052 Movies and Video 4 08-11-2006 10:49 AM
custom menu addition Dave-pv OS X - Development and Darwin 0 07-16-2006 09:53 PM
Invisible Menu Bar Item roma0104 OS X - Operating System 2 06-02-2006 11:12 PM
Menu question Joolz34 Switcher Hangout 2 10-25-2005 03:58 AM

All times are GMT -4. The time now is 03:58 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?