Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 4th, 2024, 12:25 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Copy Object (Variable) to Clipboard
PostPosted: November 3rd, 2005, 12:00 am 
Offline

Joined: December 25th, 2004, 3:31 pm
Posts: 178
Dear Digital Workshop,

I have a text object with some text and than a variable in the middle of the text. I wanted to use the Copy object to clipboard to copy the text plus the variable.

Currently the Copy Object doesn't include the variable instead it displays it as <VAR> rather than the content of the variable.

Is this the way it works?

Bye,

Joe


Top
 Profile  
 
 Post subject:
PostPosted: November 3rd, 2005, 1:12 am 
Offline

Joined: October 26th, 2004, 1:26 pm
Posts: 262
Hi Joe,

You could try breaking up the text into variables, then joining them together to copy the sum variable to the Clipboard. Example of a text box with insert variable...

"The quick brown <Text_B> jumps over the lazy dog.

In a script action on a button, have something like this...

---
Text_A = "The quick brown "
Text_C = " jumps over the lazy dog."
TextAll = Text_A + Text_B + Text_C
---

Then after the the script action, use the Copy-variable-to-Clipboard action. (in this case, copying <TextAll>)

I'm not sure if there is a way to "copy a variable to clipboard" using script? In any case, script is not required to get the result, as it could be all done via the GUI actions if you don't use OpusScript.

_________________
Cheers,
Steve


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 9 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group