Thanks but I mean to open Library when I'm setting to open a file with Calendar.Finder / Go, press down the Option key to reveal the Library.
Or Cmd + Shift + g, paste : ~/Library
Thanks but I mean to open Library when I'm setting to open a file with Calendar.Finder / Go, press down the Option key to reveal the Library.
Or Cmd + Shift + g, paste : ~/Library
Sorry. Just trying to get to the root of the problem. The Automator action previously mentioned works fine for me and probably the vast majority or Mac users. If you think I'm wasting your time you should probably try another forum.
This way : Cmd + Shift + g, paste : ~/Library
Seems to be what I'm looking for ! It's expensive also !OP if you want something to be open at a said time try Power Manager for Mac.
Unlike Automator it works as is states. Not needing to be able to script. Unless you know AppleScript, Automator is a waste of space.
Try this :Doesn't work, I get the warning again.
Try this :
System Preferences / Security and Privacy
Privacy tab / Accessibility
Check the tickbox "Automator"...
Weird indeed.
I have just tried again to do things the simplest way :
In Automator I created an Application (not a Calendar Alarm) from a single action :
"Run a shell script", which is "open -a contacts.app"
I have saved this app (as an app) to the Desktop.
Then created a new event in calendar with "open file".."name of the app".
It does work : Contacts open at time of event.
I don't know what your problem is.
Found this but no solution alas :
https://discussions.apple.com/thread/5477871?tstart=0
EDIT : do you use iCloud with Calendar ?? (I don't).
I do use Calendar, I use iCloud for Contacts, but I do not use iCloud for Calendar.
Therefore I wondered if iCloud could be the problem
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/Pro$
<plist version="1.0">
<dict>
<key>Label</key>
<string>user.kryten.openlocation</string>
<key>ProgramArguments</key>
<array>
<string>osascript</string>
<string>-e</string>
<string>open location "http://www.google.com"</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>1</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
</dict>
</plist>
# this line loads the launchd job
launchctl load Library/LaunchAgents/user.kryten.openlocation.plist
# this line forces the job to trigger immediately rather than waiting until 1am
launchctl start user.kryten.openlocation
# this line unloads the plist, in case there's an error
launchctl unload Library/LaunchAgents/user.kryten.openlocation.plist
After looking at this thread and the other thread I think it's time to try something different. It's not to difficult so here goes. You said you wanted to open a site at specific time. Let's try to do it with a LaunchAgent. Here's an launchd example that should open "www.google.com every day at 1am. Save the below snippet into a plain text file in your ~/Library/LaunchAgents folder with the file name user.yourusername.openlocation.plist. If your username is steve replace yourusername with steve. In the examples you'll see kryten, obviously that's my username. So everywhere you see kryten replace it with yours.
Code:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/Pro$ <plist version="1.0"> <dict> <key>Label</key> <string>user.kryten.openlocation</string> <key>ProgramArguments</key> <array> <string>osascript</string> <string>-e</string> <string>open location "http://www.google.com"</string> </array> <key>StartCalendarInterval</key> <dict> <key>Hour</key> <integer>1</integer> <key>Minute</key> <integer>0</integer> </dict> </dict> </plist>
You can test it by using the following command in the Terminal application :
Code:# this line loads the launchd job launchctl load Library/LaunchAgents/user.kryten.openlocation.plist # this line forces the job to trigger immediately rather than waiting until 1am launchctl start user.kryten.openlocation # this line unloads the plist, in case there's an error launchctl unload Library/LaunchAgents/user.kryten.openlocation.plist
I do use Calendar, I use iCloud for Contacts, but I do not use iCloud for Calendar.
Therefore I wondered if iCloud could be the problem
I must say that I have had the same warning GPap had, but it was random.There is something specific to his setup that is breaking this.
....have to go over to GPap's house and burn his Mac in a ceremonial fire in the backyard, because it may be possessed by demons.
I must say that I have had the same warning GPap had, but it was random.
I had it a few times after having moved the file to open to another location, say the Desktop.
So I did some more tests in order to understand if the issue occurred for a specific location, but nope, it actually was random.