Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 3rd, 2024, 12:21 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Request for help
PostPosted: February 17th, 2005, 4:54 pm 
hi

I wonder if someone would help me.

I wonder if someone would create a simple ILM file using OpusXE Pro showing how I can store a file path to a HKLM part of the registry and read it back in with an image file using it as its path name via a variable.

I have tried and cannot get the Image pathname to read the registry path.

I can easily write into the registry via opuscript..but it is not reading stuff into the variables for an imagepath that is causing me problems.

Any assistance would be appreciated.


Top
   
 
 Post subject:
PostPosted: February 17th, 2005, 5:16 pm 
Offline

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

Thank you for your enquiry.

Please find attached an example publication created in Opus Pro 04 which allows you to browse for an image file, store the selected image path to a variable, store the value of this variable to the registry, then retrieve this information from the registry to a new variable. This last variable is then used as the filename in the properties of the Image object.

Kind regards,


You do not have the required permissions to view the files attached to this post.

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject: Thanks....but
PostPosted: February 18th, 2005, 10:14 am 
Thanks for replying Robin so promptly.

But...I knew how to do that bit :D ...What I really needed is to write into a different part of the registry so i was hoping you could show me using Opuscript instead of the built in registry storage which irritatingly adds it to a Digital Workshop Area of the registry.

Is there any way in the future for OpusXE you could modify this registry trigger to allow it to navigate any part of the registry. I know your reasons why you haven't but if it was only on the XE version, is that unreasonable.


Top
   
 
 Post subject:
PostPosted: February 18th, 2005, 11:04 am 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Thank you for your reply.

The Registry script actions in Opus Pro XE 04 allow you to write to any key in the HKEY_CURRENT_USER\\Software\\ and HKEY_LOCAL_MACHINE\\Software\\ areas of the registry, so you are no longer restricted to use the Digital Workshop registry key.

I have attached a modified version of my previous example which uses registry script actions instead of the standard Write Data to Registry and Read Data from Registry actions. The selected image path is now stored to HKEY_CURRENT USER\\Software\\Testing under a key called Test Value. This information is then retrieved using a ReadRegistryKey action and stored in the <image> variable for display by the Image object.

I hope this helps.

Kind regards,


You do not have the required permissions to view the files attached to this post.

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject: Yay
PostPosted: February 18th, 2005, 11:14 am 
Found out what I was doing wrong :D , I was using:

Var XXXXX = Readregis......

and not

XXXX = Readregis......

Many thanks...All is clear now.

Once again...Thanks for your superb support on this.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 8 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