Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Function to Return Selected Text

Jun
608
6
Is there any function/variable that will return the text that has been
selected in the TCMD tab window?

I was thinking of making a TCMD button that would do something with the
text I had selected, such as building a command line to submit. For
example, one might select a displayed file name and then click an "edit"
button to create the command line "edit <selected text>".

-- Jay
 
Is there any function/variable that will return the text that has been
selected in the TCMD tab window?

I was thinking of making a TCMD button that would do something with the
text I had selected, such as building a command line to submit. For
example, one might select a displayed file name and then click an "edit"
button to create the command line "edit <selected text="">".

-- Jay

Will the internal variable _SELECTED do what you want?

Joe

</selected>
 
On 1/7/2011 6:52 AM, Joe Caverly wrote:

> Will the internal variable _SELECTED do what you want?

That's it! Thank you. The button I wanted to create is now working.

I was looking for it in the help section on "Screen, color, and cursor"
variables, but it's listed under "TCC status" variables. Rex, it might
make sense to list it also where I was looking, since it does have
something to do with the screen.

-- Jay
 
Back
Top
[FOX] Ultimate Translator
Translate