Click the links below to explore the different sections of our site. If you have any questions about our products or services, don't hesitate to contact us.
Following are a number of links to pages that might interest you as a visitor of this web site.
copyright © 2005-07 by Mark Schonewille & Economy-x-Talk

Economy-x-Talk - Sample Scripts

Admin Rights

This AppleSript snippet is an example of how to make Mac OS X's built-in password dialog appear. Although this works in e.g. the script editor of AppleScript, this may not work in HyperCard. If you do get this to work in HyperCard, please let me know.

The second script is just a non-working example of what an AppleScript would look like, which ueses known user name and password to execute shell commands without asking for the password again.





on foo()
  do shell script "uptime" with administrator privileges
end foo

on foo2()
  do shell script "command" user name "me" password "mypassword" with ¬
  administrator privileges
end foo2





Keep this extensive resource of tutorials and samples on-line! Support RunRev.info!
Yes, this script is useful. I make a donation and choose freely how much I want to donate on-line (PayPal). Click here if you want to make a donation in dollars.This script has not (completely) solved my problem and I want Economy-x-Talk to take care of it. Let me contact you.
Copyright©2002-2008 by Mark Schonewille, Nijmegen, the Netherlands. This web site is in no way affiliated with Runtime Revolution Ltd., but we do recommend the Revolution development platform.