|
Re: Retrieve all available Finder tags on Monterey and later
Alex
Especially when the limit is 14 items…
It made sense to someone… consistency for API consolidation?
Sandor
Alex
Especially when the limit is 14 items…
It made sense to someone… consistency for API consolidation?
Sandor
|
By
Sandor Szatmari
·
#1508
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
It’s a Core Data backing store.
-ben
It’s a Core Data backing store.
-ben
|
By
Ben Kennedy
·
#1507
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
Why the hell Apple feels the need to store Finder tags in an SQL database is beyond me.
Is there a valid rationale behind this?
Why the hell Apple feels the need to store Finder tags in an SQL database is beyond me.
Is there a valid rationale behind this?
|
By
Alex Zavatone
·
#1506
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
On Sun, Jan 15, 2023 at 02:42 PM, James Walker wrote:
sqlite3 ~/Library/SyncedPreferences/com.apple.kvs/com.apple.KeyValueService-Production.sqlite "SELECT writefile('path/to//tags.plist',
On Sun, Jan 15, 2023 at 02:42 PM, James Walker wrote:
sqlite3 ~/Library/SyncedPreferences/com.apple.kvs/com.apple.KeyValueService-Production.sqlite "SELECT writefile('path/to//tags.plist',
|
By
Leo
·
#1505
·
Edited
|
|
Re: Retrieve all available Finder tags on Monterey and later
Awesome! I didn't know about writefile(). I need to remember that.
So you're set now, I assume?
Awesome! I didn't know about writefile(). I need to remember that.
So you're set now, I assume?
|
By
Thomas Tempelmann
·
#1504
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
...
I looked around for information on extracting binary data from an SQLite database, and found
...
I looked around for information on extracting binary data from an SQLite database, and found
|
By
James Walker
·
#1503
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
Little correction: hex value for 502 is 1F6, not 1EE.
Little correction: hex value for 502 is 1F6, not 1EE.
|
By
Thomas Tempelmann
·
#1502
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
The "bplist" data is the same that you get when you read it from a plist file, so you can use the same code, i.e. using [NSPropertyList propertyListWithData:…]. If you don't get this working, then
The "bplist" data is the same that you get when you read it from a plist file, so you can use the same code, i.e. using [NSPropertyList propertyListWithData:…]. If you don't get this working, then
|
By
Thomas Tempelmann
·
#1501
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
ok I'm able to retrieve the data via:
sqlite3 ~/Library/SyncedPreferences/com.apple.kvs/com.apple.KeyValueService-Production.sqlite 'SELECT ZKEY, ZPLISTDATAVALUE FROM ZSYDMANAGEDKEYVALUE WHERE ZKEY =
ok I'm able to retrieve the data via:
sqlite3 ~/Library/SyncedPreferences/com.apple.kvs/com.apple.KeyValueService-Production.sqlite 'SELECT ZKEY, ZPLISTDATAVALUE FROM ZSYDMANAGEDKEYVALUE WHERE ZKEY =
|
By
Leo
·
#1500
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
On Sat, Jan 14, 2023 at 04:17 AM, Thomas Tempelmann wrote:
Okay, found it now.Oh wow. You're a genius. That's an impressive investigation. Thanks for getting to the bottom of it!
It'll take me some
On Sat, Jan 14, 2023 at 04:17 AM, Thomas Tempelmann wrote:
Okay, found it now.Oh wow. You're a genius. That's an impressive investigation. Thanks for getting to the bottom of it!
It'll take me some
|
By
Leo
·
#1499
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
Okay, found it now.
Searching with FAF for "FinderTagDictVersion" in ~/Library found it in ~/Library/SyncedPreferences/com.apple.kvs/com.apple.KeyValueService-Production.sqlite
And if you look into
Okay, found it now.
Searching with FAF for "FinderTagDictVersion" in ~/Library found it in ~/Library/SyncedPreferences/com.apple.kvs/com.apple.KeyValueService-Production.sqlite
And if you look into
|
By
Thomas Tempelmann
·
#1498
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
Oh, damnit! I looked at the High Sierra version of Finder. I only realized that now when I found the tags inside /Users/tempi/Library/SyncedPreferences/com.apple.finder.plist
Sigh. Will try again on
Oh, damnit! I looked at the High Sierra version of Finder. I only realized that now when I found the tags inside /Users/tempi/Library/SyncedPreferences/com.apple.finder.plist
Sigh. Will try again on
|
By
Thomas Tempelmann
·
#1497
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
This is probably also relevant when looking at the previous code:
/* @class TiCloudTagReplicator */
-(void *)iCloudDictionary {
rdi = self->_store;
rax = [[rdi dictionaryRepresentation]
This is probably also relevant when looking at the previous code:
/* @class TiCloudTagReplicator */
-(void *)iCloudDictionary {
rdi = self->_store;
rax = [[rdi dictionaryRepresentation]
|
By
Thomas Tempelmann
·
#1496
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
Searching in Hopper for "tags" finds methods such as "readTagsFromCloud:". Do you have iCloud active? Maybe that's where they're now exclusively stored.
Could you check this: Create a second user
Searching in Hopper for "tags" finds methods such as "readTagsFromCloud:". Do you have iCloud active? Maybe that's where they're now exclusively stored.
Could you check this: Create a second user
|
By
Thomas Tempelmann
·
#1495
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
The next step would be to use "Hopper Disassembler" and find the code that shows and sets up the Finder prefs window, in order to find out where it loads the information from. Hopper can turn the
The next step would be to use "Hopper Disassembler" and find the code that shows and sets up the Finder prefs window, in order to find out where it loads the information from. Hopper can turn the
|
By
Thomas Tempelmann
·
#1494
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
On Fri, Jan 13, 2023 at 10:35 AM, Thomas Tempelmann wrote:
The best I could come up with so far is to use AppleScript to read the tag names from the Preferences window, see below.
But it sucks
On Fri, Jan 13, 2023 at 10:35 AM, Thomas Tempelmann wrote:
The best I could come up with so far is to use AppleScript to read the tag names from the Preferences window, see below.
But it sucks
|
By
Leo
·
#1493
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
On Fri, Jan 13, 2023 at 09:25 AM, Thomas Tempelmann wrote:
...I've already searched ALL files on a startup's data volume for the appearance of the name of a custom tag I added. No luck. Meaning it's
On Fri, Jan 13, 2023 at 09:25 AM, Thomas Tempelmann wrote:
...I've already searched ALL files on a startup's data volume for the appearance of the name of a custom tag I added. No luck. Meaning it's
|
By
Leo
·
#1492
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
The best I could come up with so far is to use AppleScript to read the tag names from the Preferences window, see below.
But it sucks because it has to actually open the Finders's Prefs window.
use
The best I could come up with so far is to use AppleScript to read the tag names from the Preferences window, see below.
But it sucks because it has to actually open the Finders's Prefs window.
use
|
By
Thomas Tempelmann
·
#1491
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
As the developer of FindAnyFile, which has a more powerful text search feature that EasyFind (it can find text in both UTF-8 and -16, in LE and BE, and even considers unicode pre/decomposition
As the developer of FindAnyFile, which has a more powerful text search feature that EasyFind (it can find text in both UTF-8 and -16, in LE and BE, and even considers unicode pre/decomposition
|
By
Thomas Tempelmann
·
#1490
·
|
|
Re: Retrieve all available Finder tags on Monterey and later
On Thu, Jan 12, 2023 at 11:11 AM, Gary L. Wade wrote:
I’m not sure if it’s officially documented somewhere, but what I’d do is add some tags to a particular file, see what that file looks like
On Thu, Jan 12, 2023 at 11:11 AM, Gary L. Wade wrote:
I’m not sure if it’s officially documented somewhere, but what I’d do is add some tags to a particular file, see what that file looks like
|
By
Leo
·
#1489
·
|