Volunteer github guru for documentation submissions?

Kay C Lan lan.kc.macmail at gmail.com
Thu Apr 14 01:49:45 EDT 2016


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



More information about the use-livecode mailing list