Post

Replies

Boosts

Views

Activity

Reply to Cannot instantiate VIP object/property out of mail app
Thank you red_menace! I fully agree: it seems to be not described in the dictionary and so not exposed to AppleScript. However, it didn't find any description anywhere at published sites of Apple. Question to moderators Can one of the operators give a hint where the VIP implementation architecture or their objects are described? If necessary, I would switch the programming language to one which is able to access these objects. But which language / environment is it? Comment to manipulating .plist files I think this is not a good idea because they seem to be just local caches (since the VIP management goes across devices, including iOS and iPadOS). So these objects are not trivial. I can imagine, they are local objects which send messages to the cloud. Anything else doesn't make sense on long term. Additional critical question to Apple Why aren't these objects published in the AppleScript dictionary? It doesn't make sense to have an interface in Apple Mail Rules to be able to call an AppleScript if such a basic object is not exposed. Do you see it differently?
Apr ’25
Reply to Cannot instantiate VIP object/property out of mail app
I am trying to write a script which marks all my contacts as VIP. This is the script: -- Get all contacts set allContacts to every person repeat with aContact in allContacts -- Check on any email address for this contact set emailList to emails of aContact if (count of emailList) > 0 then -- Get first email address of the contac set contactEmail to value of item 1 of emailList -- Set vip flag for that address tell application "Mail" try make new VIP with properties {emailAddress:contactEmail} -- <HERE IS THE PROBLEM: A VIP OBJECT IS NOT EXISTING> end try end tell end if end repeat end tell -- Show when ready display dialog "Alle Kontakte wurden erfolgreich als VIPs in Mail hinzugefügt." buttons {"OK"} default button 1 The problem is in line 14. A VIP object is not existing. So obviously Whether I don't have the right understanding on how the VIP flag is working in mail or contacts Or if VIP is an object, it's not public. Best, Manuel
Apr ’25
Reply to Where are app shortcut and intents being executed when called from Apple Watch
I am trying to understand how to put shortcut scripts together in a meaningful way. For example, I want to know, if I switch on the battery save mode, which device is going to respond depending on where I let it run. but there are many more situations where I am asking myself the same. Also: all of the interests designed for Apple Watch: in which context are they executed? I just want to see this concept documented somewhere. I know: I could try it out. But why should I do this if there is any documentation somewhere. I am that kind of person who looks in documentation before I do something. However, I don’t find the documentation. Any good hint?
Sep ’24