Comments (3)
@akramsaouri Fixed this. Thanks!
from prettyearth.
Thanks! That's great to hear.
I have thought about this during development, but there are a few reasons I haven't implemented it:
- It's surprisingly difficult and hacky to reliably change the wallpaper on a Mac programatically. Here's the code that does that. As you can see it doesn't actually happen reliably. The code doesn't (and can't) check if the wallpaper really changes, it just throws the command at the computer and assumes it works. I tested it a lot and it never failed so it seems to work, but to my knowledge there's no check/callback possible. I tried other ways than AppleScript to do to the switching but this turned out to be the best one, and it's still pretty ugly code. It seemed to always work this way so I just carefully left it there and never touched it again.
- I actually incorrectly assumed it changed the wallpaper on all the screens, but I should have checked that
- I only have 1 screen which makes testing pretty difficult
However, I've read your feature request a few times on multiple platforms, so I will look into it.
I'm trying not to deviate from the AppleScript-solution, but I do think it can be done with AppleScript.
Thanks for the feedback!
from prettyearth.
Could you create a new release? :)
from prettyearth.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prettyearth.