Cfengine Help: Re: Apple script in cfengine files

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Apple script in cfengine files Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,15697,21455#msg-21455 I do it sometimes with commands: stanza in Cfengine. commands: darwin:: "/path/myapplescript"; Cheers,

Cfengine Help: Re: Apple script in cfengine files

2011-04-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Apple script in cfengine files Author: Ruprecht Link to topic: https://cfengine.com/forum/read.php?3,15697,21421#msg-21421 Has anyone used Applescripts scripts in cfengine? I am not finding a lot of documentation about Cfengine and Mac OS X

Re: Apple script in cfengine files

2010-01-27 Thread Nakarin Phooripoom
Or what I have done is to create a applescript with AppleScript Editor and execute the script in cfengine like the following; commands: darwin:: "/usr/bin/osascript /tmp/applescript.scpt"; Cheers, --Nakarin On Jan 27, 2010, at 10:12 AM, Tim Cutts wrote: > > On 26 Jan 2010, at 8:11 pm, J

Re: Apple script in cfengine files

2010-01-27 Thread Tim Cutts
On 26 Jan 2010, at 8:11 pm, Janet Bass wrote: > Has anyone used Applescripts scripts in cfengine? > > I am not finding a lot of documentation about Cfengine and Mac OS X You can make applescripts trivially executable from the command line, just like any shell script, so you should be able to r

Re: Apple script in cfengine files

2010-01-27 Thread Mark Burgess
Hi Janet, cfengine supports all kinds of things on the Mac, but I have never heard of these scripts. I am not a Mac user myself, can you tell us about how they work? How are they different from a perl script, say? If they support the #! syntax then there is nothing to do, right? If they don't t

Re: Apple script in cfengine files

2010-01-26 Thread Matt Richards
ooo, my interest is piqued! On Jan 26, 2010, at 3:11 PM, Janet Bass wrote: > Has anyone used Applescripts scripts in cfengine? > > I am not finding a lot of documentation about Cfengine and Mac OS X > > Thanks > -- > Janet Bass > Unix System Administration > Manufacturing Engineering Laborator

Apple script in cfengine files

2010-01-26 Thread Janet Bass
Has anyone used Applescripts scripts in cfengine? I am not finding a lot of documentation about Cfengine and Mac OS X Thanks -- Janet Bass Unix System Administration Manufacturing Engineering Laboratory 304/Room 12 100 Bureau Dr Mailstop 8203 Gaithersburg, MD 20899-8203 EMAIL: jb...@nist.gov PHO