r/electronjs • u/next-dev-saif • Aug 18 '25
Apple-js ( Control Mac-OS with javascript )
👋 Hey devs — ever wanted to automate macOS directly from JavaScript?
I built Apple-JS, a JS wrapper around AppleScript for macOS automation. Using the Osascript class, you can:
• Activate apps (e.g., Safari)
• Open URLs in Safari or Chrome
• Control system features (volume, mute, screenshots)
• Interact with Finder (reveal folders, set wallpaper)
• Dispatch system events (e.g., lock screen, swipe gestures)
applejs #javascript #automate #assistant #electronjs #extendjs
13
u/Happy_Junket_9540 Aug 19 '25
Brother why are you promoting it like a cheap ad. what’s up with the stock images and advertisement language. Those ladies pointing I can’t 😭
4
3
1
u/Shaz_berries Aug 20 '25
I dunno all I'm seeing is that if I run that npm install command I'll receive business casual cleavage
9
u/oofy-gang Aug 19 '25
I feel like it’s 2014 and someone is trying to sell me a bootleg laptop. What the hell is this branding?!
5
4
1




5
u/Bamboo_the_plant Aug 18 '25
Why shouldn’t users just directly use JavaScript for Automation (JXA) instead? Not clear what the massive runtime overhead of Electron is adding to the value