Re: OSX Applescripts -- Anyone? please?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55586
interpreted = N
texte = I think you can call an applescript from the shell. That might be an easy quick fix. From the shell the script can appear to have the proper privileges.I do think ImageMagick is the better way to go. I use it to make thumbnails of uploaded photos and it works fast. In fact pages where multiple thumbnails are created on the fly load instantly on a test (no load) Linux server.BillTerry Wilson wrote:> To:
(WebDNA Talk)> Date: Sat, 10 Jan 2004 09:33:50 -0500> From: Terry Wilson > Subject: Re: OSX Applescripts -- Anyone? please?> > If anyone is following this thread, Ron and I discussed this yesterday > offline and the upshot is that OSX handles Applescript in a way that > WebDNA can't manage. I've decided to use [shell] with Imagemagick > instead, and save the [applescript] for OS9 servers.> > Terry> >> Hi Terry,>> >> We use AppleScript to add/remove users to the Rumpus FTP server >> database. On>> OS X you have have to use "osascript" to call the applescript.>> >> We built a shell script like this:>> >> #!/bin/sh>> /usr/bin/osascript /Library/WebServer/Documents/website/applescript_kick>> >> "/usr/bin/osascript" is the full path to your osascript.>> "/Library/WebServer/Documents/planet/applescript_kick" is the path to the>> apple script.>> >> The applescript for this step is quite simple:>> >> -- Start applescript -->> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I think you can call an applescript from the shell. That might be an easy quick fix. From the shell the script can appear to have the proper privileges.I do think ImageMagick is the better way to go. I use it to make thumbnails of uploaded photos and it works fast. In fact pages where multiple thumbnails are created on the fly load instantly on a test (no load) Linux server.BillTerry Wilson wrote:> To: (WebDNA Talk)> Date: Sat, 10 Jan 2004 09:33:50 -0500> From: Terry Wilson > Subject: Re: OSX Applescripts -- Anyone? please?> > If anyone is following this thread, Ron and I discussed this yesterday > offline and the upshot is that OSX handles Applescript in a way that > WebDNA can't manage. I've decided to use [shell] with Imagemagick > instead, and save the [applescript] for OS9 servers.> > Terry> >> Hi Terry,>> >> We use AppleScript to add/remove users to the Rumpus FTP server >> database. On>> OS X you have have to use "osascript" to call the applescript.>> >> We built a shell script like this:>> >> #!/bin/sh>> /usr/bin/osascript /Library/WebServer/Documents/website/applescript_kick>> >> "/usr/bin/osascript" is the full path to your osascript.>> "/Library/WebServer/Documents/planet/applescript_kick" is the path to the>> apple script.>> >> The applescript for this step is quite simple:>> >> -- Start applescript -->> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
William DeVaul
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
If Empty ? (1997)
Allowed fields in formulas.db (1998)
[WebDNA] db not being updated...... (2015)
Include a big block of text (1997)
Special characters & [sendmail] (1998)
need to delete a database remotely (2000)
Happy Easter ... and grep string request ... (2004)
Moment of Thanks (1997)
WebCat2 beta 11 - new prefs ... (1997)
Re[2]: Re[2]: WebCatalog on Linux (2000)
Appending Information from one db to another (1998)
many-to-one problem (1998)
Using [Include] Context (1999)
[TaxableTotal] - not working with AOL and IE (1997)
Netscape v. IE (1997)
Format of Required fields error message (1997)
WebTen and WebCat (1997)
Return records from another (1997)
select multiple 2 more cents (1997)
ShowNext (1997)