> Actually I re-read your email and it's easier than my first solutions. > > put the version & CR & revLicenseType() into fld 1 > > Phil
almost.. returns: 6.6.0 community Well, this is the one which does exactly what I need: function way3 get matchText( the address, "/([^/]+?)\.app/", processName) return processName end way3 returns: "LiveCode Community 6.6" Merci et bon week-end, Thierry > On 4/4/14, 11:16 AM, Phil Davis wrote: >> >> on mouseUp >> put way1() & CR & way2() into fld 1 >> end mouseUp >> >> >> function way1 >> set the itemDel to slash >> return "/" & item 2 to -1 of last line of shell("ps" && the processID) >> end way1 >> >> >> function way2 >> set the itemDel to colon >> return item 2 to -1 of the address >> end way2 >> _______________________________________________ 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