On Aug 26, 2:45 pm, "Edward K. Ream" <edream...@gmail.com> wrote: > > 2. I know I can launch a URL from a headline using the @url directive, > > but is there a way to do the same in the body text? > > import webbrowser > webbrowser.open_new(url) > > Edward
Awesome, thank you. What I did with #2 is to assign the script: import webbrowser url = c.frame.body.bodyCtrl.getSelectedText() webbrowser.open_new(url) to a button, so I can launch an URL by selecting it in the body and clicking the button. Works like a charm. Thanks again. Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---