![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: get richclip as buffer Topic Summary: I know how to get the clipboard as a string but can you get it as a buffer? Created On: 3-Dec-2008 21:47 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi all,
I am currently using this code string k = stringOf richClip But I need to get the rich clip as a buffer without casting it to a string first. Something like Buffer b = create b = bufferOf richClip except there is no "bufferOf" suggestions? |
|
![]() |
|
![]() |
|
Of course this is dependent what you want to use these results for, but wouldn't the following do the trick:
Buffer b = create b = stringOf richClip note that there is also an undocumented function plainText, which returns the plain text from RTF string, without the RTF commands, so if you want only the text content: Buffer b = create b = plainText stringOf richClip ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
get richclip as buffer
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.