Page 2 of 2
Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:16 pm
by richmond62
What does "fi" mean?
-

- linux-elevate.png (9.67 KiB) Viewed 1866 times
-
I wonder if a similar sort of thing cannot done on "covered" UNIX (i.e. Mac):
-

- Screenshot 2023-12-02 at 19.19.23.png (8.11 KiB) Viewed 1863 times
Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:17 pm
by tperry2x
richmond62 wrote: ↑Sat Dec 02, 2023 5:16 pm
What does "fi" mean?
end if
Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:20 pm
by richmond62
IN the terminal, or elsewhere?
This is a problem:
-

- Screenshot 2023-12-02 at 19.18.30.png (54.17 KiB) Viewed 1861 times
Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:21 pm
by tperry2x
richmond62 wrote: ↑Sat Dec 02, 2023 5:16 pm
I wonder if a similar sort of thing cannot done on "covered" UNIX (i.e. Mac):
Apparently, yes, but it would appear you have to mess about adding users to various groups.
https://stackoverflow.com/questions/696 ... ell-script
Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:24 pm
by richmond62
I do think, as I remarked earlier, that this is getting into a sticky situation:-
-

- Screenshot 2023-12-02 at 19.23.29.png (363.64 KiB) Viewed 1859 times
-
Maybe, it would be better if you went 'over there' and explained things yourself.
Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:24 pm
by tperry2x
richmond62 wrote: ↑Sat Dec 02, 2023 5:20 pm
IN the terminal, or elsewhere?
fi is In the terminal. But putting it into xTalk, I assume you could do:
Code: Select all
put "exec sudo -s " & QUOTE & "$0" & QUOTE & " " & QUOTE & "S@" & QUOTE into tShellCmd
set the hideconsolewindows to false
get shell(tShellCmd)
But haven't tried it yet.
Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:27 pm
by tperry2x
richmond62 wrote: ↑Sat Dec 02, 2023 5:24 pm
I do think, as I remarked earlier, that this is getting into a sticky situation:-
Yes, I'm inclined to agree. I think I'll just leave it as the user has to paste into an elevated command window / terminal, as if they are doing that, they should know what they are doing.
If they don't want to do that, then they can just wait for the next major release
I could post 'over there' but I'm not signed up, and quite frankly I get enough marketing from them already.
That's fine, don't worry - I will shelve this idea.
It's probably a case of just because I
can do this,
should I do this is another question entirely.
(Probably not).
Anyway, thanks for your thoughts on that one. This is very much why I wanted to run it past public discussion before implementing a baked-in feature.
Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:39 pm
by richmond62
Well, as FourthWorld stated: It's bad form to quote someone else without their permission: so I did, 'over there', but with all identifiers removed< so we shall see what we shall see.

Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:40 pm
by tperry2x
True, but quoting is handy when there are multiple points to cover.
I assume you didn't post a link in their forum to the forum 'over here'

Shock Horror! You'd get yourself banned
Got to love the air-quotes around Shy

Re: A special note for mac users
Posted: Sat Dec 02, 2023 5:47 pm
by richmond62
You'd get yourself banned
3 times over the last 23 years, and skating on thin ice lots of time: over sensitive people over there, and me a born shit-stirrer: what a combination.

Re: A special note for mac users
Posted: Sun Dec 03, 2023 6:21 pm
by richmond62
The ONLY reason rhat I can that you'd need elevated privileges in a standalone to play "silly buggers" on an end-user's machine would be if they had installed your standalone to a root user account, and, presumably, had they done so, rhey'd have root user access.
Re: A special note for mac users
Posted: Sun Dec 03, 2023 8:35 pm
by tperry2x
Please see back on page 1 of these posts.
Quoting myself
(linux needs it for the /opt location), MacOS would need it if the OpenXTalk Lite Application is in /Applications, and Windows would need it to overwrite files in C:\Program Files
But that's fine, I've just accepted it's something that's not implemented.
Re: A special note for mac users
Posted: Tue Dec 05, 2023 2:40 am
by Kdjanz

- Untitled Large.jpeg (195.47 KiB) Viewed 1771 times
The top one is the high res monitor. I set the draggable option, moved it over to the low res, opened a new stack and then quit 0.95.
When I started 0.95 again, it was still back to default and I then took the screen shots. 0.95 is on top of the forums, and the second screen is empty, even though 0.95 was running on it previously.
Doing the nudge would be a PITA because the coordinates of the two screens do not align at tops and bottoms, so I would be guess coordinates again and again to get things mostly right.
So... I'll just live with it for this version, since I spend more time in SwiftUI than I do in xTalk these days.
Thanks for the suggestions though.
Kelly
Re: A special note for mac users
Posted: Tue Dec 05, 2023 6:48 am
by tperry2x
Thank you Kdjanz,
I'm sorry that the 'nudge' option for the revMenubar wasn't helpful. I did some secondary monitor testing too
https://www.openxtalk.org/forum/viewtop ... 4949#p4949
My results were just too random really to draw any consistency from. It seemed to jump around everywhere with two screens as it felt necessary. I think the IDE is just not built with multiple monitors in mind, so I'll have to mark this one as still broken unfortunately. Thanks for your efforts with this though and for testing.