• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Keep a launched app in background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keep a launched app in background


  • Subject: Re: Keep a launched app in background
  • From: Martin Orpen <email@hidden>
  • Date: Thu, 08 Jul 2004 23:23:53 +0100

on 8/7/04 9:14 pm, Laine Lee at email@hidden wrote:

> In Panther you can run a compiled script with a command like this:
>
> osascript "/path/to/scriptfile.scpt"

This works for me and, if anybody is interested, it offers the *feature* of
running multiple instances of the same script.

I made the mistake of running a script that spoke a phrase, but messed the
crontab up so that the script launched every minute - and I ended up with a
rather interesting sound collage :-)

One thing about running scripts as cron tasks bothers me: I can't seem to
get the scripts to "beep" :-(

If I make a script that does this:

repeat 5 times
beep
delay 1
end repeat

It will work from the shell by running:

$ osascript /path/to/beep5.scpt

But if I run it from cron - nothing happens.

Why's that?

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Keep a launched app in background
      • From: Gnarlodious <email@hidden>
References: 
 >Re: Keep a launched app in background (From: Laine Lee <email@hidden>)

  • Prev by Date: Re: AS asking for application on every occasion
  • Next by Date: Re: AS asking for application on every occasion
  • Previous by thread: Re: Keep a launched app in background
  • Next by thread: Re: Keep a launched app in background
  • Index(es):
    • Date
    • Thread