Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Favorite and Recent Servers should have presets #891

Closed
skurfer opened this issue May 15, 2012 · 1 comment
Closed

Favorite and Recent Servers should have presets #891

skurfer opened this issue May 15, 2012 · 1 comment
Assignees

Comments

@skurfer
Copy link
Member

skurfer commented May 15, 2012

This is the stuff you see when you hit ⌘K in Finder.

It should be added to the Catalog under Users. Apple calls them “Servers”, but they’re really network volumes (and you could potentially have a dozen on one server) so I’m not decided on what to call them.

@ghost ghost assigned skurfer May 15, 2012
@skurfer
Copy link
Member Author

skurfer commented Aug 23, 2012

Looked at this a bit. Favorite Servers can be added with a preset something like this:

<dict>
    <key>ID</key>
    <string>581A892E-85B8-4958-8D5D-0E231C06E0E6</string>
    <key>enabled</key>
    <true/>
    <key>name</key>
    <string>Favorite Servers</string>
    <key>settings</key>
    <dict>
        <key>bundle</key>
        <string>com.apple.sidebarlists</string>
        <key>keypath</key>
        <array>
            <string>favoriteservers</string>
            <string>CustomListItems</string>
            <string>*</string>
            <string>URL</string>
        </array>
        <key>type</key>
        <integer>2</integer>
    </dict>
    <key>source</key>
    <string>QSDefaultsObjectSource</string>
</dict>

Recent Servers appear to be stored as an alias to the mount point (i.e. /Volumes/ShareName) which doesn't exist unless the thing is currently mounted, so this preset doesn't work. Clicking the things in the Apple menu works, so it must be looking them up somewhere, but I don't know if it's worth figuring out. The Favorites are probably the most important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant