Don't you hate it when you hit Send and immediately realise there is a
simpler solution. Don't need to ask for your fork name, I can just use the /
livecode/livecode/ fork to demonstrate the same thing:

on mouseUp
   put the htmltext of widget 1 of stack "revDictionary" into tText
   filter lines of tText with "*<h1 style=" & quote & "margin:0px 0px 30px
12px" & quote & ">*"
   get matchText(tText,".+>(.+?)</h1>",tName)
   replace " " with "-" in tName
   get matchText(tText,">type</div><div class=.+?([_a-z]+)</div><div" ,tType
)
   put 
"https://github.com/livecode/livecode/blob/community-docs/docs/dictionary/";
& \
         tType & "/" & tName & ".lcdoc" into tPath
   launch URL tPath
end mouseUp
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to