XCode MacOS Window & Mouse Control Swift Script

Job ID: 38034704

Budget: $10 – $50 USD

I have a requirement to create a script in XCode Swift that can interact with the windows of running applications on a MacOS system, move the mouse and store window positions.

Key Points:
- Using CoreGraphics & Appkit, the script should have the ability to retrieve a list of NSRunningApplications, identify the running applications and move the windows of these applications to the front and back.
- The script should also be able to move the mouse around the screen.
- Prior to moving a window, the script should store the current window position in a variable.
- It is vital that the script does not hide or unhide the window but instead moves it.

Ideal Skills:
- Proficiency in XCode Swift.
- Strong experience with CoreGraphics & Appkit.
- Previous experience with MacOS system scripting.

Please note that this is a comprehensive, complex project and I am looking for a freelancer with a strong background in MacOS system scripting and a history of successful projects using CoreGraphics & Appkit.

Get a list of NSRunningApplications.
1. Using CoreGraphics & Appkit move the window of the running application to the front
2. Move the mouse in that window
3. Store the previous window position in a variable & Move the window back.
Related categories: Cocoa Mac OS Objective C Swift Apple Xcode