Page 3 of 3

Re: another thorny permissions issue

Posted: Fri Sep 30, 2022 4:06 pm
by stam
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?

Many thanks
Stam

Re: another thorny permissions issue

Posted: Fri Sep 30, 2022 5:26 pm
by marksmithhfx
stam wrote: Fri Sep 30, 2022 4:06 pm Hi Mark - I'd be interested in doing this as well. Can you post your experience if you have success with this?

Many thanks
Stam
Absolutely. I hope to get started on it next week.

Mark

Re: another thorny permissions issue

Posted: Wed Nov 09, 2022 10:19 pm
by marksmithhfx
marksmithhfx wrote: Fri Sep 30, 2022 5:26 pm
stam wrote: Fri Sep 30, 2022 4:06 pm Hi Mark - I'd be interested in doing this as well. Can you post your experience if you have success with this?

Many thanks
Stam
Absolutely. I hope to get started on it next week.

Mark
Hi Stam, just getting started with this (finally). Will keep you posted.

Re: another thorny permissions issue

Posted: Tue Dec 20, 2022 8:53 pm
by marksmithhfx
richmond62 wrote: Tue Jul 05, 2022 1:01 pm I thought I would be clever and try this:

Code: Select all

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:

Code: Select all

/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!!

Thanks
Mark