Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Re: Any way to ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 26 of 26 Topic 1546 of 1668
Post > Topic >>

Re: Any way to get Software Update to run in the background at a specified time of the day?

by lists@[EMAIL PROTECTED] (Jamie Kahn Genet) Dec 11, 2007 at 06:16 AM

Jerry Kindall <jerrykindall@[EMAIL PROTECTED]
> wrote:

> In article <1i8ujra.1c51s0m40kvxhN%lists@[EMAIL PROTECTED]
>, Jamie
> Kahn Genet <lists@[EMAIL PROTECTED]
> wrote:
> 
> > Jerry Kindall <jerrykindall@[EMAIL PROTECTED]
> wrote:
> > 
> > > In article <1i8tckk.143rm331tva6cbN%lists@[EMAIL PROTECTED]
>, Jamie
> > > Kahn Genet <lists@[EMAIL PROTECTED]
> wrote:
> > > 
> > > > G'day.
> > > > 
> > > > Is there any way to get Software Update to run in the background
at a
> > > > specified time of the day? I don't want to be bothered with any
> > > > notifications unless there actually are updates to download, i.e.
as it
> > > > does when set to check automatically, but I want to control the
time of
> > > > day.
> > > > 
> > > > I can control the time of day by using iCal to launch a script,
e.g:
> > > > 
> > > >      tell application "Software Update"
> > > >           run
> > > >      end tell
> > > > 
> > > > But I don't know how to prevent Software update from bothering me
unless
> > > > there actually is an update.
> > > > 
> > > > TIA,
> > > >  Jamie Kahn Genet
> > > 
> > > Try something like this:
> > > 
> > > get last paragraph of (do shell script "softwareupdate --list")
> > > if the result does not contain "new or updated software" then
> > >    tell application "Software Update" to run
> > > end if
> > 
> > That won't open any windows or require any user involvement, yeah?
> > Thanks :-) I'll get on to learning how to do this...
> 
> Right.  It asks the command line version of Software Update to list the
> available updates in the background.  If there are any, it runs the GUI
> version of Software Update so you can see them.

Cheers. Your help has been much appreciate :-)

Regards,
 Jamie Kahn Genet
-- 
If you're not part of the solution, you're part of the precipitate.
 




 26 Posts in Topic:
Any way to get Software Update to run in the background at a spe
lists@[EMAIL PROTECTED]   2007-12-08 17:35:09 
Re: Any way to get Software Update to run in the background at a
Warchild <bob@[EMAIL P  2007-12-07 22:15:52 
Re: Any way to get Software Update to run in the background at a
Don Bruder <dakidd@[EM  2007-12-07 21:37:12 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-08 18:51:40 
Re: Any way to get Software Update to run in the background at a
Jolly Roger <jollyroge  2007-12-08 11:40:27 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-09 09:06:14 
Re: Any way to get Software Update to run in the background at a
russotto@[EMAIL PROTECTED  2007-12-08 19:11:38 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-09 16:09:23 
Re: Any way to get Software Update to run in the background at a
Jeffrey Goldberg <nobo  2007-12-09 11:04:48 
Re: Any way to get Software Update to run in the background at a
Barry Margolin <barmar  2007-12-08 11:45:31 
Re: Any way to get Software Update to run in the background at a
"G.T." <getn  2007-12-08 10:40:12 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-09 09:06:12 
Re: Any way to get Software Update to run in the background at a
Barry Margolin <barmar  2007-12-09 17:56:11 
Re: Any way to get Software Update to run in the background at a
Don Bruder <dakidd@[EM  2007-12-08 15:47:36 
Re: Any way to get Software Update to run in the background at a
mikePOST@[EMAIL PROTECTED  2007-12-08 19:03:57 
Re: Any way to get Software Update to run in the background at a
dempson@[EMAIL PROTECTED]  2007-12-09 13:29:53 
Re: Any way to get Software Update to run in the background at a
Wes Groleau <groleau+n  2007-12-09 03:08:45 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-08 18:41:59 
Re: Any way to get Software Update to run in the background at a
Sander Tekelenburg <us  2007-12-08 07:56:27 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-08 21:25:35 
Re: Any way to get Software Update to run in the background at a
nospam@[EMAIL PROTECTED]   2007-12-08 00:51:45 
Re: Any way to get Software Update to run in the background at a
Sander Tekelenburg <us  2007-12-08 15:46:01 
Re: Any way to get Software Update to run in the background at a
Jerry Kindall <jerryki  2007-12-08 08:02:47 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-09 09:06:13 
Re: Any way to get Software Update to run in the background at a
Jerry Kindall <jerryki  2007-12-10 09:03:37 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-11 06:16:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:23:28 CDT 2008.