Re: osascript help needed
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67876
interpreted = N
texte = I'm on OS X. Does anyone know why this doesn't run the chess application?I've tried it will relative and absolute paths to the Chess app and it doesn't run.Is there something I need to do inorder to allow the www user to launch applications?[TEXT]vShell=3D-e 'tell application "Chess"' [/TEXT][TEXT]vShell=3D[vShell]-e 'activate' [/TEXT][TEXT]vShell=3D[vShell]-e 'end tell'[/TEXT][SHELL]/usr/bin/osascript [vShell][/SHELL]On Aug 7, 2006, at 10:32 AM, Pat McCormick wrote:> I'm trying to launch Toast Titanium from a web page and then send > it a series of files to be added to a disk.>> I can get> [shell]cd /> ls -l[/shell]> to work.>> I can put>> tell application "Toast Titanium"> activate> end tell>> into a file called "as-kick.scpt" and then type>> /usr/bin/osascript /Library/WebServer/Documents/as-kick.scpt>> at the shell prompt, which launches Toast Titanium as expected.>> I've set permissions for as-kick.scpt to let everyone read/write > the file and even changed the owner to www, but I can't get>> [shell]usr/bin/osascript /Library/WebServer/Documents/as-kick.scpt[/ > shell]>> to launch Toast Titanium.>> Anyone know what I'm messing?>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------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'm on OS X. Does anyone know why this doesn't run the chess application?I've tried it will relative and absolute paths to the Chess app and it doesn't run.Is there something I need to do inorder to allow the www user to launch applications?[text]vShell=3D-e 'tell application "Chess"' [/TEXT][text]vShell=3D[vShell]-e 'activate' [/TEXT][text]vShell=3D[vShell]-e 'end tell'[/TEXT][shell]/usr/bin/osascript [vShell][/SHELL]On Aug 7, 2006, at 10:32 AM, Pat McCormick wrote:> I'm trying to launch Toast Titanium from a web page and then send > it a series of files to be added to a disk.>> I can get> [shell]cd /> ls -l[/shell]> to work.>> I can put>> tell application "Toast Titanium"> activate> end tell>> into a file called "as-kick.scpt" and then type>> /usr/bin/osascript /Library/WebServer/Documents/as-kick.scpt>> at the shell prompt, which launches Toast Titanium as expected.>> I've set permissions for as-kick.scpt to let everyone read/write > the file and even changed the owner to www, but I can't get>> [shell]usr/bin/osascript /Library/WebServer/Documents/as-kick.scpt[/ > shell]>> to launch Toast Titanium.>> Anyone know what I'm messing?>>>> -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------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/
Pat McCormick
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:
Letters as SKU (1998)
[WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (2010)
WebCat2b15MacPlugin - showing [math] (1997)
RE: Problems with dbcatalog.exe (1997)
Extra Text Fields (was Another question) (1997)
WebCat B13 Mac CGI -- Frames question (1997)
RE: search same field twice??? (1999)
Generating unique SKU from [cart] - Still Stumped... (1997)
RE: OK, here goes... (1997)
Multiple Pulldowns (1997)
How can I Add several Items into the cart at once? (1997)
retail and wholesale... (2000)
Re:no [search] with NT (1997)
User can't change a password (2002)
How does the Globals folder work? (2000)
Secure Server (1997)
[addlineitems] display (1997)
[table] retained in memory (2006)
Orders.db problem (2003)
Bug Report, maybe (1997)