I have an application that I am working non where I need the application to open in full screen mode (have secondary monitor) both screens to be in full screen mode not displaying menubar and the dock. I wish to open the Finder window/safari app in front of the application. Since, there are space the finder/safari opens in front of desktop.
I tried using AppleScript/Xcode to open Finder/Safari and move from desktop to space( not sure whether I’m doing It correctly.
I’m new macos development too
Any help will be greatly appreciated. Code example will helpful too along with ideas