Mac - Computer Name - Omnis 11.1 - OS Sequoia
Alain Stouder Omnis
omnis at smartway.ch
Thu Oct 3 13:12:14 UTC 2024
Hi Michael,
How did you manage to run Omnis 4.3.2.1 on versions of macOS after Mojave ?
I thought 32 bit apps did not run under macOS since 10.15…
Alain
> On 3 Oct 2024, at 14:48, Michael Mantkowski <michaelj at clientrax.com> wrote:
>
> We upgraded one of our Mac clients to Omnis 11.1 yesterday after they had upgraded their Mac OS to Sequoia and Omnis 4.3.2.1 would no longer work for them.
>
> Running into an issue with getting the computer name of the workstation they are on. We had been using the code below to find it. It no longer seems to work and the built in Omnis getenv() also does not work.
>
> Anyone know how to do this with newer Mac OS version?
>
>
> f inMac
> Do code method CodeClass/RunMacShell ("grep '<key>ComputerName</key>' /Library/Preferences/SystemConfiguration/preferences.plist -A 1 | grep '<string>' ") Returns lvReturn
> Calculate lvReturn as mid(lvReturn,pos('>',lvReturn)+1)
> Calculate ctComputerName as mid(lvReturn,1,pos('<',lvReturn)-1)
> Else
> Calculate ctComputerName as getenv("COMPUTERNAME")
> End If
>
>
> This is all used to eventually get the IP Address of the local workstation and the database server so that we can Ping it for online verification. Since the above fails the Ping Fails as well. I ended up having to disable the whole server verification to get them running last night.
>
>
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list