LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
marksmithhfx wrote: Thu Sep 29, 2022 6:27 pm
I am actually hoping to put this app into the new macOS TestFlight program and distribute beta's from there. Anyone have any experience with that?
Mark
Hi Mark - I'd be interested in doing this as well. Can you post your experience if you have success with this?
on mouseUp
if (shell("top -o rsize -ncols 2 -l 1")) contains "safari" then
put "Yes"
else
put "No"
end if
end mouseUp
Well, this worked great outside the Mac App Store but building for the store requires sandboxing and a sandboxed app that runs that shell command returns the following error message:
/bin/sh: line 1: /usr/bin/top: Operation not permitted
Lovely. I'm now on the hunt to see if a sandboxed app can determine if a specific app is running on the users machine. If anyone has any experience in that regard, or has an entitlement to suggest I try, I would be delighted!!