How to make Applications.app run in terminal?

Hi,
Apple has a good way of making Applications.app to launch when double clicked via finder. I am having a hard time, though, when I launch it via terminal. When I try to type in #./Application/Whatever.app the terminal reads it as a folder. In a way, to run it properly I have to go a longer path. I have to run it by typing #./Application/Whatever.app/Contents/MacOS/Whatever.bin. I think running it that way is just too long. I want it to be quick as possible.
Is there a way to set a path to something like $PATH = "/Application/$Whatever.app/Contents/MacOS/" so that as i tab key in the terminal I would be able to see the binary file right away? Or is there a way to alias the terminal so that when i type /Application/Whatever.app it launches the corresponding binary of that .app folder?
I am a newbie in Mac but I fairly now how to operate linux systems. Quite frankly I have not explored all the .app folders in my Application folders so I dont know how many binaries exists inside a .app folder.
I hope you guys got the idea and help me out.
Thanks,
Kilopopo

OK. You may also want to check out the Applescript variants. You can for example run
<pre>
osascript -e 'tell application "TextEdit" to open'
</pre>
There is a man page for osascript and there is a lot of information about Applescript in different places.
PowerBook G4   Mac OS X (10.4)  

Similar Messages

  • How to make a JApplet run in a Browser

    HI ALL:
    Can anyone tell me how to make a JApplet run in a IE.
    I am using JComponents and Visibroker for JAVA ORB for connecting to another ORB's which would in-turn connect to a C++ Server and finally to the SQL Server.
    I am getting a NoclassFoundException whenever I am running my JApplet.
    My code is >>
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    <html>
    <head>
    <meta http-equiv="Content-type" Content="text/html;charset=iso-8859-1">
    <title>
    ORB ISSUE TRACKING SYSTEM
    </title>
    </head>
    <body>
    <Applet
         CODE="file://D:/IssueTrackingSystem/IssueTrackingSystem.class"
         Width=700
         Height=700
         Align=middle
    >
    <param name="CABBASE" value="IssueTest.cab">
    </Applet>
    </Body>
    </Html>
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    The Cabase file is a winzip file having all the ORB's compliant classes and my source classes to interact with the ORB Server.
    Help is urgent.
    Regards
    Ritesh

    I have been having exactly the same problems but I was using JDK 1.2.
    I discovred the problem could be resolved by using the Plug-in on navigaor or IE and bingo it was perfect.
    I also discovered that using the AppletViwer would allow me to see the applet. Then I upgraded to JDK1.3 or 2 or whatever it is and nothing.
    I recompiled the classes using the !.3 still nothing. The applet vewer don't work and the plug in don't work.
    I tried to recompile using the oldjavac ( I assume 1.2) and nothing I do will make this JApplet run. Ordinary a�pplets are OK. Applications with swing are OK, but JAPPLets are dead
    I have come to the conclusion SUN has screwed up big time and are frantically scrabbling about looking for a fix. I have reveert to javascript/DHTML as this is both consistent and stable and for considerably less effort and aggravation you can get 90% of the functioonality.

  • How to make a job run on a appointed node

    I have a problem. The database is Oracle 10g, RAC, two nodes
    There are some job which run on everyday night. Now, something happened, the job run on Node A can't work as normal, but if run on node B, It will work well.
    so I just want to submit the jobs on Node B, I submited the jobs on Node B, but the jobs always run on Node A.
    I want to know how to make a job run on a appointed node.

    the Job just transfer some procedure to add partitions for some table, to merge the records from some tables to one table and so on.
    the problem is when the job run on Node A, it is very very slow, the procedure would run hours and not success end, but if on Node B it will successfully end in seconds.
    restart the Node A would be a way for the problem, but may it will leave a hidden trouble. I want save the scene to find out the problem
    so can you help me

  • All of my apps on my new ipad2 are not working. I had this iPad about 4 months and nothing bad has happened before this. I need help on how to make my apps stop crashing. All my built in apps are fine though.

    All of my apps on my new ipad2 are not working. I had this iPad about 4 months and nothing bad has happened before this. I need help on how to make my apps stop crashing. All my built in apps are fine though. WHATBCAN I DO TO MAKE MY APPS STOP CRASHING. I ALREADY TURNED IT OFF THEN ON AGAIN AN IT STILL CRASHES. HELPPP!!!!

    Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider.

  • How to make an app a file receiver for images on iOS?

    Hi,
    How to make an app a file receiver for images on iOS?
    I did it for the Android app.xml like this:
    <intent-filter>
            <action android:name="android.intent.action.SEND"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <data android:mimeType="text/plain"/>
        <data android:mimeType="image/jpg"/>
        <data android:mimeType="image/jpeg"/>
        <data android:mimeType="image/png"/>
        <data android:mimeType="image/gif"/>
    </intent-filter>
    How to do it for iOS?
    (I'm using Adobe Air 4.0)
    Thank you!

    What app have you used to create your ibook?  Normally any app will have a menu item like File > Export that will give you the option of PDF, or you can use Print and there will be an option in the Print dialogue to Print to PDF.

  • How to make a loop run for specific period of time ?

    hello !
    i'm new to labview and could'nt found how to make a loop run for 2 sec for example, and then to exit.
    Solved!
    Go to Solution.

    Hi Hookso,
    You can do it using the different loops like While loop and For Loop. Roderic has already stated how to do it using a for loop. I have illustrated in the attached vi how to do it using a while loop and Elapsed Time function. Take a look.
    Regards,
    Nitzz
    (Give kudos to good Answers and Mark it as a Solution if your problem is Solved) 
    Attachments:
    Untitled 2.vi ‏36 KB

  • How to turn off apps running in background on ipad

    how to turn off apps running in background on iPad with ios7

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • How to make tomcat still running after reboot

    hi all,
    i want ask about how to make tomcat still running after our computer reboot.
    so our server still can serve the the request without we start manualy the tomcat.
    please replies
    thank's before

    *nix or win32 or other?                                                                                                                                                                                                                                           

  • How to make Attribute Change run alignment & Hierarchy changes in Aggregat

    Hello
    I want to understand that How to make Attribute Change run alignment & Hierarchy changes in Aggregate?
    I posted previously the same question but there were not good answers and i was not able to understand clearly .....
    If there is Process chain XXY which makes Attribute change run for Master Data 0SPELLING ?
    Now there is Aggregate TRT which includes :
    0SPELLING , Fiscal Period , Purchase Product, Purchase Category ?
    Now pls answer following question ?
    1) Does the Process Chain XXY which makes only attribute change run alignment for 0SPELLING , Will this process chain automatically do the Change run alignment for 0SPELLING in Aggregate TRT ? YES or NO
    2) If Yes, then we are just suppose to do Roll up for Aggregate TRT after Process chian XXY completes and finish job ?
    3) If No, then what steps are suppose to be DONE so as to make sure that Aggregate TRT has new values and perfect values for 0SPELLING ?
    Please answer and coorect if i have any wrong question....

    for e.g.
    u have 0spelling whicha has attributes x,y and z on day 1 with 10 records
    so do ur aggregates on day1 with same values
    now on day2 u had new values of attributes y,z,s,d and new hierarchies and so u add new records
    with data load u will load the data with version M of modified and is not available for reporting
    If u do attribute change run then this modified version is activated to A i.e. active version .
    It will also do the change run alignment for Aggregate for new attribute values and new hierarchy values for aggregate.
    now in order for this data to be available for reporting u will need to do the roll up of aggregate.....
    if u roll up aggregate before attribute change run , new data is not avaialable for reporting
    if u roll up aggregate after attribute change run, then data is available for reporting
    if u dont roll up aggregate eventhough new data is in dataprovider, still new data will not be available for reporting.
    this is how it works

  • How to make Attribute Change run alignment & Hierarchy changes in Aggregate

    Hello
    I want to understand that How to make Attribute Change run alignment & Hierarchy changes in Aggregate?
    I posted previously the same question but there were not good answers and i was not able to understand clearly .....
    If there is Process chain XXY which makes Attribute change run for Master Data   0SPELLING ?
    Now there is Aggregate TRT which includes :
    0SPELLING , Fiscal Period , Purchase Product, Purchase Category ?
    Now pls answer following question ?
    1) Does the Process Chain XXY which makes only attribute change run alignment for 0SPELLING ,   Will this process chain automatically do the Change run alignment for 0SPELLING in Aggregate TRT ?         YES or NO
    2)  If Yes, then we are just suppose to do Roll up for Aggregate TRT after Process chian XXY  completes and finish job ?
    3) If No, then what steps are suppose to be DONE so as to make sure that  Aggregate TRT has new values and perfect values for  0SPELLING ?
    Please answer and coorect if i have any wrong question....

    for e.g.
    u have 0spelling whicha has attributes x,y and z on day 1 with 10 records
    so do ur aggregates on day1 with same values
    now on day2 u had new values of attributes y,z,s,d and new hierarchies and so u add new records
    with data load u will load the data with version M of modified and is not available for reporting
    If u do attribute change run then this modified version is activated to A i.e. active version .
    It will also do the change run alignment for Aggregate for new attribute values and new hierarchy values for aggregate.
    now in order for this data to be available for reporting u will need to do the roll up of aggregate.....
    if u roll up aggregate before attribute change run , new data is not avaialable for reporting
    if u roll up aggregate after attribute change run, then data is available for reporting
    if u dont roll up aggregate eventhough new data is in dataprovider, still new data will not be available for reporting.
    this is how it works

  • HT201365 On this new ios7 update how do I kill apps running in the background now? I used to be able to double tap the home button

    On this new ios7 update how do I kill apps running in the background now? I used to be able to double tap the home button

    Double tap the home button.  Slide the preview window upward.  You can do 2 at a time.
    It's rarely useful or necessary to do this. Very few apps actually "run in the background" (such as audio streaming and navigation apps).  The vast majority are frozen and consume no resources.  The iOS manages memory for you to optimize running apps.
    iOS: Understanding multitasking
    Message was edited by: modular747

  • Please tell me how to shut down apps running in the background on my iPad.  I downloaded ios7, and now when I hold my finger on them they don't have the plus sign

    Please tell me how to shut down apps running in the background with ios7

    Shut down apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • How to make keynote presentation run automatically

    how to make keynote presentation run automatically

    Keynote can enter play mode when the file is opened:
    Inspector > Document > Automatically play on opening

  • How do I close apps running in background, in iOS 7?

    How do I close apps running in background, in iOS 7?

    my mistake I was being stupid was trying to flick the icon and not the app card...got it now working fine
    thanks for the help

  • How do I close apps running in back ground now

    How do I close apps running in the background now. Used to double click bottom button and hold down on app and than close with the x that popped up.

    Double Tap the Home Button... Then swipe the App Upwards... Tap the Home Button when finished.
    From Here  >  http://support.apple.com/kb/HT4211

Maybe you are looking for

  • Help! adobe acrobat X pro. Cannot edit a pdf.

    help! I have adobe acrobat X pro. Cannot edit a pdf. watched videos, followed directions, nothing. Tried tools, edit document text, recognize text, then tried even to change font, nothing.

  • (X230) Connected to Wifi with excellent signal but unable to load internet pages:

    Hey everyone, Hoping for the community to help me figure out a problem of mine. Trying to connect my X230 to internet through a new router (Asus - security type WPA-Personal) and although the laptop connects without a problem (98% signal strength), i

  • How to display JPG Icons on push buttons

    Hi there, I have come to know that some changes are required in registry.dat file to get jpg images displayed on a push button. Please let me know about the changes required in detail. Thanks

  • Roaming between radios

    Hello to all!! I`d like to know if roaming it's possible between radios. I mean: I've some ap with radio a and b/g/n and other only with b/g/n, client roaming between them is possible?? thanks in advance!!                

  • I can't work out how to finish installing Elements 11 and to launch it.

    I have just bought Photoshop Elements 11 and have tried to install it using the number on the back of the card.  During the installation process, I was given a 24 digit number but have not been asked for it at any stage since.  I ticked the box that