Howto get the name of current Livecode process
Phil Davis
revdev at pdslabs.net
Fri Apr 4 14:16:29 EDT 2014
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
On 4/4/14, 10:45 AM, Thierry Douez wrote:
> 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
>
> ------------------------------------------------
> Thierry Douez - http://sunny-tdz.com
> Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
Phil Davis
More information about the use-livecode
mailing list