Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for 24/7 usage #66

Open
brandonmcconnell opened this issue Nov 27, 2022 · 4 comments
Open

Add docs for 24/7 usage #66

brandonmcconnell opened this issue Nov 27, 2022 · 4 comments

Comments

@brandonmcconnell
Copy link

Does the mac this script runs on need to be on and unlocked in order for the script to run? Is there any workaround for this, or any macOS server that can run us around the clock?

I’d like to enable this for several chats, but that would likely require a server, which may be a showstopper since iMessage doesn’t have an open API (AFAIK).

@ZekeSnider
Copy link
Owner

Yes the mac needs to be on and running, but not necessarily unlocked. You can use a tool like Amphetamine to accomplish this.

And correct that iMessage does not have a public API that accomplishes this. There is iMessage business chat and iMessage apps, neither of which serve this use case specifically.

@jjroley
Copy link

jjroley commented Jan 13, 2023

@brandonmcconnell have you found a good solution for this? I tried Amphetimene but the messages still don’t send automatically when the Mac is sleeping. Do you just have to leave the display on at all times?

@brandonmcconnell
Copy link
Author

brandonmcconnell commented Jan 13, 2023

Yeah, that appears to be the case, unfortunately. Hopefully, @apple just gives us an iMessage API we can rely on instead of this soon.

@jjroley
Copy link

jjroley commented Jan 14, 2023

I was able to get Jared to continue running, in preferences you can disable the computer from sleeping while the display is off. No need for even Amphetamine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants