79573735

Date: 2025-04-14 17:43:09
Score: 4
Natty:
Report link

I just saw this post, but I was not able to do so with Apple Notes. What I am trying to do is to use .localized (I don't think Apple Notes have this anymore) to avoid problems with another languages when I filter the notes to fetch all notes, but "Recently Deleted" ones. This is the AppleScript I am using:

    tell application "Notes"
        set output to ""
        repeat with eachFolder in folders
            set folderName to name of eachFolder
            if folderName is not "Nylig slettet" and folderName is not "Recently Deleted" then
                repeat with eachNote in notes of eachFolder
                    set noteName to name of eachNote
                    set noteID to id of eachNote
                    set output to output & noteID & "|" & folderName & " - " & noteName & "\n"
                end repeat
            end if
        end repeat
        return output
    end tell

I am using the Norwegian translation here too because my system is in Norwegian.

Does anyone knows a solution to this? I checked into Apple Notes/Contents/Resources, but I did not find any .strings.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (2): Does anyone know
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Antoniorodr