Is it possible to customize the * GetSelectedText * command? - Forum

Forum Navigation
You need to log in to create posts and topics.

Is it possible to customize the * GetSelectedText * command?

Hello and have a good time! Good Friday and happy Friday! Is it possible to set the * GetSelectedText * command to point to a specific * object * and select its contents ?! Thanks !

@javadrajabihakami I don't understand your question. GetSelectedText get the text selected by user into a variable. It's him who decides what to select.
What do you want to achieve exactly? Do you want to select a portion of text programatically? Why?
Regards.

Hello and thank you for your response! I'm looking for exactly what I can get the contents of an iframe into a variable! Whatever I do, I will not reach a specific result! My iframe receives a number from a web address! I'm looking for this number from iframe or anything that can give me this number! Get it! Thanks

@javadrajabihakami I think we have already discused this.
You can't get programaticaly the content from an Iframe or website if it's hosted in a different domain, unless it allows CORS.
If CORS is not allowed a server side proxy is your only chance.
This is becouse security policies currently present in all Web Browsers.
Sorry.

Hello and good time, yes you are right! My mind is very busy! I thought there might be a way to get the contents of the iframe! Shame on you for taking your precious time like this! I'm really sorry!