PDA

View Full Version : Question regarding "Get Version Information" function



dugarte
04-29-2008, 01:59 PM
I'm trying to create a button that will allow my user to get the version information he or she is working on.

I'm not a code guru and usually just hit the "add actions" button when I add a function. But when I try to add this particular function through the "add function" button it really doesn't do anything. I'll give you an example of what I'm doing below and hopefully someone can tell me what I'm doing wrong.

1. I double Click on a button

2. Under the "Script" tab I hit the "Add Action" Button

3. I then choose the "File" category then choose the "Get Version Info" function and then click on "Next"

4. I then enter the path of the file that I want to get the version info from (as well as the file name). I leave the "ResultVariable the way it is, which is set as "result". Then I hit finish.

When I preview my work and hit the button, nothing happens.

Your help will be greatly appreciated.

David

ShadowUK
04-29-2008, 02:01 PM
You're only setting the variable, You should do something like Input.SetText("Input1", result) or Label.SetText("Label1", result), Or even Dialog.Message it.

dugarte
04-29-2008, 03:08 PM
Thanks Shadow, I'll try these and let you know how they worked out.

David