Darwin engine and AppleScript in CGI's?

paolo mazza paolo.mazza at neol.it
Thu Sep 1 10:35:13 EDT 2005


Hi Andre,
you wrote "
>try pulling the executable out of MacOS X  
 
>bundle and using it as the CGI engine
"  . 
What do you mean  exactly?  

Where is the executable in the MACOSX bundle?

I tryed to move the Revolution file but I got an "internal Server Error".

You wrote : 
>use it with the "-ui"  
 
>parameter
 . What does it mean exactly this parameter?

Thank you

Paolo Mazza



How to use Revolution <use-revolution at lists.runrev.com> on Mercoledì, 31
agosto 2005 at 19:08 +0100 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 ~ 36degrees at runrev.com ~ http://www.runrev.com
>>>        Runtime Revolution ~ User-Centric Development Tools
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> 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
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the Use-livecode mailing list