Great idea. I'll give that a try...
Cheers,
Mark
On 31 Aug 2005, at 19:08, Andre Garzia wrote:
On Aug 31, 2005, at 2:31 PM, Mark Smith wrote:
Ah...that explains a few things. Thanks for the info.
Cheers,
Mark
Mark,
I am betting here okay, but try pulling the executable out of MacOS X
bundle and using it as the CGI engine, use it with the "-ui"
parameter. It works fine. I just pulled mine, put it on
/Library/WebSever/CGI-Executables and created this test.cgi script:
#!Revolution -ui
on startup
put "Engine Version:" && version() & cr
put "Languages:" && the alternateLanguages
get format("tell application \"Finder\"\ndisplay dialog \"Hello
World!\"\nend tell\n")
do it as "applescript"
put it && the result
end startup
The result is fine:
Engine Version: 2.6.5
Languages: applescript
tell application "Finder"
display dialog "Hello World!"
end tell
{button returned:"OK"}
Decided not to include the shot of the dialog box but it appeared
nice!!!
Happy AppleScripting and Transcript coding.
Cheers
andre
On 31 Aug 2005, at 17:21, Mark Waddingham wrote:
The Darwin engines are just like they say on the tin - compiled for
Darwin :o)
Darwin is the BSD-derived UNIX base for MacOS X and due to this none
of
the MacOS X specific APIs are available to compile against (in this
mode). Indeed, the engine itself is compiled using the internal POSIX
porting layer inline with the other UNIX engines.
Therefore, when looking for what is available in the Darwin engine,
look
in the documentation for what is supported by UNIX/Linux, rather
than OS
X.
Warmest Regards,
Mark.
------------------------------------------------------------------
Mark Waddingham ~ [EMAIL PROTECTED] ~ http://www.runrev.com
Runtime Revolution ~ User-Centric Development Tools
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___________________________________________________________ To help
you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution