I think that findGnx() should work whether or not the string starts with 
the "gnx:" prefix.

On Tuesday, July 18, 2023 at 4:16:31 PM UTC-4 Edward K. Ream wrote:

> On Tue, Jul 18, 2023 at 3:07 PM Thomas Passin <[email protected]> wrote:
>
>> I didn't word that right. I meant that the string returned by the dialog 
>> isn't a gnx string that can be found.  In my test case, the gnx in the 
>> clipboard started with "*gnx:*" When I manually removed the "*gnx:*" 
>> prefix, @Lewis's script ran correctly. 
>>
>
> Thanks for your analysis. The OP might be better off using g.findAnyUnl.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f16b6013-f9cb-4056-964d-beab5e462f98n%40googlegroups.com.

Reply via email to