Hi Charles.
Whenever I try to use your example, I get an error of -60031
I have simply taken out the timer, changed the DataAvailable Event to
simply MsgBox Me.ReadAll and changed the code on the button to:
if AuthorizationShell1.AuthorizeAndExecute("/Users/gilesw/
isrunning") then
elseif AuthorizationShell1.ErrorNumber <> 0 then
msgBox "Unknown error! " + str(AuthorizationShell1.ErrorNumber)
else
msgBox "User Cancelled it!"
end if
If I run "sudo /Users/gilesw/isrunning" in the Terminal, it works and
returns "true" or "false".
Giles Williams.
On 29 Jun 2006, at 22:34, Charles Yeomans wrote:
Try <http://www.maccoding.com/rbexamples/Authorization.sit>.
Charles Yeomans
On Jun 29, 2006, at 5:28 PM, Giles Williams wrote:
Hi I tried these but always got an error code of -1?
Is there any open-source ways of doing this, as this is for an
open-source project?
Giles Williams.
On 29 Jun 2006, at 21:04, Christian Schmitz wrote:
Giles Williams <[EMAIL PROTECTED]> wrote:
Does anybody know how to get the authenticate dialog for Mac to
show up?
Try the AuthorizationMBS class and the examples included with my
plugins.
Gruß
Christian
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>