Sunday, October 1, 2023
HomeApplemacbook professional - The place does Pages retailer its record of just...

macbook professional – The place does Pages retailer its record of just lately opened paperwork?


I am presently making a raycast extension for rapidly opening just lately opened Pages paperwork.
Now, I’ve to discover a technique to entry the paperwork and their pathnames. I
tried following this reply and stumbled throughout ~/Library/Containers/com.apple.iWork.Pages/Knowledge/Library/Preferences/com.apple.iWork.Pages.plist. This plist file comprises a key named TSARecentOpenedDocumentTimestamps which corresponds to an array of timestamps of once I opened pages paperwork.

Nevertheless, when utilizing Xcode’s constructed inplist search instrument, I couldn’t discover any arrays of just lately opened file paths or names. I additionally tried renaming the file to com.apple.iWork.Pages.outdated.plist after which give up and reopened pages. After it opened, I used to be confronted with the “welcome to pages” display, like once I first opened it after getting my MacBook. Nevertheless, I attempted going to file -> open latest within the menu bar and located that my just lately opened file names had been nonetheless there, however greyed out. Subsequently, the just lately opened information couldn’t have been saved in that plist.

A raycast extension exists for opening just lately opened Visible Studio Code tasks, so I forked the code to see how. It reads from a database positioned at ~/Library/Utility Assist/Code/Person/globalStorage/state.vscdb with the next SQL question SELECT json_extract(worth, '$.entries') as entries FROM ItemTable WHERE key = 'historical past.recentlyOpenedPathsList'. Nevertheless, whereas looking for an analogous file for pages, I seen that it doesn’t actually have a folder in ~/Library/Utility Assist with its knowledge.

I’ve completely no thought the place Pages may retailer this knowledge, and with out realizing the place, I am unable to construct this extension. So does anybody know the place this knowledge is saved? Thanks upfront!



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments