Re: Howto get the name of current Livecode process

2014-04-04 Thread Thierry Douez
> 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/", pro

Re: Howto get the name of current Livecode process

2014-04-04 Thread Phil Davis
Actually I re-read your email and it's easier than my first solutions. put the version & CR & revLicenseType() into fld 1 Phil 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 "/" &

Re: Howto get the name of current Livecode process

2014-04-04 Thread Thierry Douez
Thanks Phil, the address property was what I was looking for :) Thierry 2014-04-04 20:16 GMT+02:00 Phil Davis : > 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 col

Re: Howto get the name of current Livecode process

2014-04-04 Thread Phil Davis
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 :-) Phil Davis

Howto get the name of current Livecode process

2014-04-04 Thread Thierry Douez
Hello all, I need to know the current running Livecode IDE (process name or application name). i.e: LiveCode 6.5.2 or LiveCode Community 6.6 Do we have a property/function for that in LC? By the way, it's for Mac/Desktop only! (applescript client/server) Regards, Thierry -