Think of something that you wish Authorware could do but it doesn't? Let the our good friends at Macromedia know via the wishlist. Please let us know if you find any of the materials on this site inappropriate or offensive. Please include the url and why the material should be reviewed. Comments and questions about the site are also welcome. Please no Authorware questions, use the AWARE list. |
Back
B5008 - How can I have Authorware read the Windows registry? by - Joseph Ganci Authorware cannot
do this directly, but once again Gary Smith's wonderful collection of external
functions, called Buddy API, will let you tap right into the Windows
API. Note that Authorware comes with its own collection of shadow functions
called WinAPI, but Gary Smith's are much easier to use. I highly
recommend it. Check out http://www.mods.com.au/. The function ReadRegString
is the one you need. For instance, to find the user's name, use the following
in a Calc icon: name := baReadRegString("Network\\Logon",
"username", "Error", "HKEY_LOCAL_MACHINE") That should do
it. There are hundreds of userful functions there. |