[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with Strings in the Clipboard
[Thread Prev] | [Thread Next]
- Subject: Problem with Strings in the Clipboard
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Mon, 19 Jan 2026 12:05:15 +0100
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
I wanted to access the text of the clipboard but when the string contains a URL (i.e. "https://www.gambas-buch.de") the method Clipboard.Paste() returns something else but not the original string. According to the documentation clipboard strings containing URLs are not returned as the original strings any longer since V3.18. Why has this been changed and how can I access the original URL-string for a simply routine like below? :
... Else If Clipboard.Type = Clipboard.Text Then Print Clipboard.Paste() 'doesn't return the string if it is a URL s = ...... 'How? if left$(s,4) = "http" Then Desktop.Open(s) end if Endif Best regards Claus
| Re: Problem with Strings in the Clipboard | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: Problem with Strings in the Clipboard | Lee <t.lee.davidson@xxxxxxxxx> |