Seth Posted September 11 Author Share Posted September 11 I type in 80525 and press enter and nothing happens Link to comment
giovanni Posted September 11 Share Posted September 11 have you entered the calendar names in workflow configuration? Link to comment
Seth Posted September 11 Author Share Posted September 11 Yes sir! When I run the script it gets stuck and I also have to restart the calendar. I am testing it on just one of the calendars for now (Crew 1). Does it just pull from the 7 days that are showing on the calendar? Link to comment
giovanni Posted September 11 Share Posted September 11 it will pull the number of days set in the 'Days' parameter in workflow configuration. do you get an error in the debugger? perhaps too many items? Link to comment
Seth Posted September 11 Author Share Posted September 11 It just stops here and nothing happens. It will be searching about 100 events but right now because I am testing it on 1 crew it's only looking for about 25-30 events Link to comment
Seth Posted September 11 Author Share Posted September 11 So when it says Days: 7 (Number of days to retrieve) I will need it to search for the 7 days that are currently open on the calendar. We are generally "routing" our schedule about 4 months in advance... Link to comment
giovanni Posted September 11 Share Posted September 11 can you try to set that value (Days) to 1 or 2? It sounds it's too many to process Link to comment
Seth Posted September 11 Author Share Posted September 11 I changed it to 1 day and that didn't seem to work. It also makes the calendar not respond every time. Link to comment
giovanni Posted September 11 Share Posted September 11 sorry about that, I think I tried a few events as you can see in the video but probably you have way more. I could try to convert it to JXA which I hear is better than applescript, but I want to make sure that timing out is the problem. Could you try to create one calendar with one event? Just to check that it works for you. Also, what is your MacOS version? Link to comment
Seth Posted September 11 Author Share Posted September 11 I got an error this time... Link to comment
giovanni Posted September 11 Share Posted September 11 this is with one calendar and one event within the pulled range? Link to comment
Seth Posted September 11 Author Share Posted September 11 Actually no 🤦♂️. I did the test calendar with only 2 events and it worked. Then I tried my regular calendar and it did not work. The regular calendar is only search 2 days thought a total of 9 events but it gets stuck Link to comment
giovanni Posted September 11 Share Posted September 11 great, so it works with 2 events but not 9, my guess is that it gets stuck trying to parse one of the events. If you are willing to export that calendar and share it with me, I can help troubleshoot. Link to comment
Seth Posted September 12 Author Share Posted September 12 Sure. Normally they're at about 20 events a day. Also, we will need to set it up so that it searches for the events that are currently "showing" on the calendar (Aka. whatever I am looking at) and not the current week. We make our routes about 4-6 months in advance so the way that it is currently set up will not work. My smallest calendar is 3MB. Is there another way to get this to you? Link to comment
giovanni Posted September 12 Share Posted September 12 5 hours ago, Seth said: Is there another way to get this to you? you can actually use an Alfred workflow! Upload File by @vitor and send me the link via DM Link to comment
Seth Posted September 12 Author Share Posted September 12 I installed it but I cant figure out how to upload it and send it to you. Link to comment
giovanni Posted Sunday at 05:57 PM Share Posted Sunday at 05:57 PM On 9/12/2023 at 6:52 PM, Seth said: I cant figure out how to upload select the file in Finder, open the File Action menu (keyboard shortcut: Cmd+Opt+\) then choose 'Upload File'. If you don't see 'Upload File' in the menu, make sure the 'Workflow File Actions' checkbox below (in Features) is checked. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now