Seth Posted September 11, 2023 Author Share Posted September 11, 2023 I type in 80525 and press enter and nothing happens Link to comment
giovanni Posted September 11, 2023 Share Posted September 11, 2023 have you entered the calendar names in workflow configuration? Link to comment
Seth Posted September 11, 2023 Author Share Posted September 11, 2023 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, 2023 Share Posted September 11, 2023 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, 2023 Author Share Posted September 11, 2023 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, 2023 Author Share Posted September 11, 2023 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, 2023 Share Posted September 11, 2023 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, 2023 Author Share Posted September 11, 2023 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, 2023 Share Posted September 11, 2023 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, 2023 Author Share Posted September 11, 2023 I got an error this time... Link to comment
giovanni Posted September 11, 2023 Share Posted September 11, 2023 this is with one calendar and one event within the pulled range? Link to comment
Seth Posted September 11, 2023 Author Share Posted September 11, 2023 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, 2023 Share Posted September 11, 2023 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, 2023 Author Share Posted September 12, 2023 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, 2023 Share Posted September 12, 2023 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, 2023 Author Share Posted September 12, 2023 I installed it but I cant figure out how to upload it and send it to you. Link to comment
giovanni Posted September 17, 2023 Share Posted September 17, 2023 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
Seth Posted October 4, 2023 Author Share Posted October 4, 2023 Shoot! I thought I responded to this right after you send your last message. Is there another way to go about this? I realized that there is a lot of my customers personal information (over many years) that I should probably keep private. Link to comment
Seth Posted November 1, 2023 Author Share Posted November 1, 2023 Hey Giovanni, I just wanted to follow up again. Did you get my last message? 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