Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 6:32 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: ReadRegistryKey results
PostPosted: December 9th, 2004, 11:41 am 
Excuse my ignorance scripting...I ain't no scripter :)

var LINK1 = ReadRegistryKey("HKEY_CURRENT_USER\\Software\\ExampleSoft\\Test", "UserName")

Why do I get a True or False as a return on this Variable?


Top
   
 
 Post subject:
PostPosted: December 9th, 2004, 1:52 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your enquiry.

This is a known issue with the ReadRegistryKey() in version 4.21 (in fact, this function has never operated correctly, but the problem has only been reported recently).

Our developers have incorporated a fix for this issue in the forthcoming Service Release 3.

One workaround would be to export the details of the target registry key to a text file using batch commands. For example, if you run a batch file with the following command:

Code:
REGEDIT /E C:\info.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Digital Workshop\Opus Pro"


A text file named info.reg is created in the root of the C: drive containing the following information:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Digital Workshop\Opus Pro]
"Version"="2002"
"Application Path"="C:\\PROGRA~1\\ILLUMI~1"


You could then use Read File and string functions to parse out the required information.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject: Too messy
PostPosted: December 9th, 2004, 3:12 pm 
Too messy doing it that way for the amount I have to do...When are you planning of issuing SR3

I am currently running Opus Pro XE


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 64 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group