Results 1 to 2 of 2
  1. #1

    Member Since
    Sep 05, 2008
    Launching applescript from bash
    i wrote a bash script, renamed it to script.command so the users run it,
    then from inside it i call an applescript using "exec osascript XXXX"
    all that goes well except a command window
    that i am trying to make it close automatically

    How ?

  2. #2

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    I haven't used the exec command before. What is special about it?

    What I would try in this case is just; "osascript XXX &". The & symbol will allow you to run the command as a separate process and return to your script immediately. Well, at least from the command line.

    You might also be interested in this thread: Basic Terminal Automation.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need some help with Bash
    By V6Pony in forum OS X - Operating System
    Replies: 1
    Last Post: 06-17-2012, 05:38 PM
  2. Launching an applescript FROM firefox (URL bar?)
    By Snipeye in forum OS X - Apps and Games
    Replies: 2
    Last Post: 05-30-2011, 11:09 PM
  3. Terminal Bash help
    By Zaush in forum OS X - Apps and Games
    Replies: 1
    Last Post: 11-22-2010, 01:14 AM
  4. Launching an application while executing an applescript?
    By Commander_FarkU in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 06-13-2010, 10:32 PM
  5. /bin/bash
    By fparedesg in forum OS X - Operating System
    Replies: 1
    Last Post: 08-12-2009, 11:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts