Re: OSX Applescripts -- Anyone? please?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55383
interpreted = N
texte = 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 -- > >tell application "Rumpus 3.0.1 (OS X)" > > reload user database > >end tell >-- End AppleScript -- > >Then when we need this we called it with the [shell] context. > >Hope that helps. > >RonnyMc > >ps: Mac Certain that all files have UNIX style carriage returns or it does >not work. This cost me several hours when I made the shell script on my PC >and uploaded to the OS X server. > > >----- Original Message ----- >From: "Terry Wilson" >To: "WebDNA Talk" >Sent: Friday, January 09, 2004 8:06 AM >Subject: OSX Applescripts -- Anyone? please? > > >> Okay, I'm asking this a third time in the hopes that someone out >> there can help me. Surely I'm not the only one trying to run >> Applescripts on OSX/Apache. >> ------------------------------------------------------------- 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:

    
  1. Re: OSX Applescripts -- Anyone? please? ( Terry Wilson 2004)
  2. Re: OSX Applescripts -- Anyone? please? ( William DeVaul 2004)
  3. Re: OSX Applescripts -- Anyone? please? ( Christer Olsson 2004)
  4. Re: OSX Applescripts -- Anyone? please? ( Terry Wilson 2004)
  5. Re: OSX Applescripts -- Anyone? please? ( "WebDna @ Inkblot Media" 2004)
  6. OSX Applescripts -- Anyone? please? ( Terry Wilson 2004)
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 -- > >tell application "Rumpus 3.0.1 (OS X)" > > reload user database > >end tell >-- End AppleScript -- > >Then when we need this we called it with the [shell] context. > >Hope that helps. > >RonnyMc > >ps: Mac Certain that all files have UNIX style carriage returns or it does >not work. This cost me several hours when I made the shell script on my PC >and uploaded to the OS X server. > > >----- Original Message ----- >From: "Terry Wilson" >To: "WebDNA Talk" >Sent: Friday, January 09, 2004 8:06 AM >Subject: OSX Applescripts -- Anyone? please? > > >> Okay, I'm asking this a third time in the hopes that someone out >> there can help me. Surely I'm not the only one trying to run >> Applescripts on OSX/Apache. >> ------------------------------------------------------------- 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/ Terry Wilson

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:

form validator issue (2005) syntax question, not in online refernce (1997) country of origin from IPADDRESS??? (2001) WebCat2b15MacPlugin - showing [math] (1997) Find all in search. (2002) [addlineitems] (1997) F3 crashing server (1997) Selecting sort fields (2000) Search returns all, not 20 (1997) RE: Ongoing group search problems ... (1997) t or f (1997) Suggestion -- who are you people (1998) SSL and Webstar 3 with Webcatalog (1998) Make sure I understand this??? (1997) acrobat -> wc (1998) Search returns all, not 20 (1997) WebCatalog for guestbook ? (1997) problems with WebCat-Plugin () Re:Help name our technology! (1997) listwords and delimiters.. showing blank word? (2004)