Jump to content

chrome apps indexed by path


Recommended Posts

Hi!

 

First, let me share my story through a screenshot, which might tell it better than my English ever will be: https://www.evernote.com/shard/s25/sh/8acc546c-b7d9-4c34-a6a5-bfe6c54a01cf/3a5ebaa5187c8db22f88ba966bd73de4

 

So here goes: I used to look up words in the dictionary using the „define” keyword. I would just type in „def” since this would match that keyword instantly, and hit enter, and then type the word.

 

But now that Chrome has added it's apps to my home directory, and since they have the word „Default” in their path, when I type „def” they come up, and first in order, before „Define Word”.

I tried tuning this, but to no effect. How do I make Alfred only show Chrome apps that I really want to launch by only searching by their names? Or make „Define Word” come first before all the rest?

Link to comment

It would be best for you to just bring the 'define' keyword to the top. To do this, simply type 'def' and choose the 'Define' option. After doing this a few times, Alfred will remember that you use 'def' to access 'define' and will put it at the top.

Link to comment

Thanks for the suggestion. I've done this probably a thousand times by now, yet still it doesn't pick up on this. „Define Word” always comes last.

 

The define word should come to the top, but if for some reason it isn't, it doesn't matter... just keep typing and the other items will soon disappear, e.g. show Alfred and just type:

 

define banana

 

To make this even quicker, you could change the define keyword to d, then open Alfred and type

 

d banana

 

Cheers,

Andrew

Link to comment
  • 2 weeks later...

Sorry to report back, but: https://www.evernote.com/shard/s25/sh/61fccf93-c2fc-4523-8a33-877de21b88d8/2bb9049cdc2d89035be594889ae468b2

Oddly, when I type in „de”, define goes first: https://www.evernote.com/shard/s25/sh/2efe290e-cfe9-4eea-8310-e93517bdff15/eedb5fe5e34ad6e0d592bd6f36ee1bb4

 

I admit, I use google keep quite often, but is there no way of the result that matches a keyword to always come first? BTW, I tried typing in „define fox” like a 100 consecutive times, and it didn't change it.

What am I doing wrong?

Link to comment

Sorry to report back, but: https://www.evernote.com/shard/s25/sh/61fccf93-c2fc-4523-8a33-877de21b88d8/2bb9049cdc2d89035be594889ae468b2

Oddly, when I type in „de”, define goes first: https://www.evernote.com/shard/s25/sh/2efe290e-cfe9-4eea-8310-e93517bdff15/eedb5fe5e34ad6e0d592bd6f36ee1bb4

 

I admit, I use google keep quite often, but is there no way of the result that matches a keyword to always come first? BTW, I tried typing in „define fox” like a 100 consecutive times, and it didn't change it.

What am I doing wrong?

 

That looks like the define keyword isn't sticking as 'de' shouldn't match at all if the keyword is set to 'd'. If you have syncing setup, it could be a sync conflict which has prevented this keyword from setting correctly. If so, you could try rebooting your Mac, or setting the sync folder to a different folder.

 

Essentially, the reason I suggest setting the keyword to d is because it doesn't matter if it's not at the top, you can just keep typing i.e. d banana.

Link to comment

The problem for me is, that even though I set the keyword to be just „d”, and I enter „d banana”, I don't get the dictionary, just the default fallback to search engines: https://www.evernote.com/shard/s25/sh/15bbbc1f-6ade-4df8-94c0-458f9e04b8bf/414077b21d505760b9768f8833797cf8

 

Another thing I've noticed, which might or might not be related, is that for instance I use the „drive” keyword quite heavily to search through Google Drive, but never ever use it to open the Drive folder. Still: https://www.evernote.com/shard/s25/sh/24e1c6b5-749d-4054-99cd-c72eaec0b025/b1cc80c72e18d1ba2deab81cf81d62a3 — so I keep on habitually opening Drive.

 

Is it the default behavior, that apps/folders come first before the defined keywords even if it is only their path that matches the search term? I could almost swear that some time ago I had much more real worries than the order of stuff in Alfred's results ;) and it doesn't seem like the frequency of picking a particular item pushes it up the list.

Link to comment

The problem for me is, that even though I set the keyword to be just „d”, and I enter „d banana”, I don't get the dictionary, just the default fallback to search engines: https://www.evernote.com/shard/s25/sh/15bbbc1f-6ade-4df8-94c0-458f9e04b8bf/414077b21d505760b9768f8833797cf8

 

Another thing I've noticed, which might or might not be related, is that for instance I use the „drive” keyword quite heavily to search through Google Drive, but never ever use it to open the Drive folder. Still: https://www.evernote.com/shard/s25/sh/24e1c6b5-749d-4054-99cd-c72eaec0b025/b1cc80c72e18d1ba2deab81cf81d62a3 — so I keep on habitually opening Drive.

 

Is it the default behavior, that apps/folders come first before the defined keywords even if it is only their path that matches the search term? I could almost swear that some time ago I had much more real worries than the order of stuff in Alfred's results ;) and it doesn't seem like the frequency of picking a particular item pushes it up the list.

 

From this and your snippets issue, it seems that there is a permissions issue or some corruption somewhere. Could you please first set your sync folder outside of Dropbox such as ~/Documents and then test both your snippets and changing the keyword for define to 'd' and report back.

Link to comment

I must say I still dislike the results based on path and not on name getting high up in the results, but that's fairly irrelevant right now, because what you've just suggested did the trick! I set the sync file to be placed out of then back into Dropbox and I feel like it's 3 weeks ago. And the other problem I had (http://www.alfredforum.com/topic/4420-snippets-not-showing-up) was also fixed by that. Cheers!

Link to comment

I must say I still dislike the results based on path and not on name getting high up in the results, but that's fairly irrelevant right now, because what you've just suggested did the trick! I set the sync file to be placed out of then back into Dropbox and I feel like it's 3 weeks ago. And the other problem I had (http://www.alfredforum.com/topic/4420-snippets-not-showing-up) was also fixed by that. Cheers!

 

Alfred doesn't search on the path like in your first screenshot, so this must be something specific to the google chrome apps... google may be tagging or commenting them in a specific way for Alfred to be matching that.

 

Drop one of the google chrome apps into this tool and let me see the output, this will tell us why it's showing:

 

http://cachefly.alfredapp.com/tools/AlfredMetadataTool_v1.0.zip

Link to comment
  • 2 months later...

Sorry for the late reply, crazy busy. Eg. Google Keep:

/Users/Marek/Applications/Chrome Apps.localized/Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app

Internal File Metadata
======================

 Display Name: Google Keep - notes and lists
    Alt Names: Dh, Default hmjkmjkepdijhoojdojkdfohbdgmmhki, GKnal, Google Keep - notes and lists, Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app
    File Type: com.apple.application-bundle
     Comments: 
     Keywords: 
    Last Used: 2014-07-31 08:46:23 +0000

Raw mdls File Metadata
======================

kMDItemAlternateNames          = (
    Dh,
    "Default hmjkmjkepdijhoojdojkdfohbdgmmhki",
    GKnal,
    "Google Keep - notes and lists",
    "Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app"
)
kMDItemCFBundleIdentifier      = "com.google.Chrome.app.Default-hmjkmjkepdijhoojdojkdfohbdgmmhki"
kMDItemContentCreationDate     = 2014-07-24 21:03:43 +0000
kMDItemContentModificationDate = 2014-07-24 21:03:43 +0000
kMDItemContentType             = "com.apple.application-bundle"
kMDItemContentTypeTree         = (
    "com.apple.application-bundle",
    "com.apple.application",
    "public.executable",
    "com.apple.localizable-name-bundle",
    "com.apple.bundle",
    "public.directory",
    "public.item",
    "com.apple.package"
)
kMDItemDateAdded               = 2014-07-24 21:03:43 +0000
kMDItemDisplayName             = "Google Keep - notes and lists"
kMDItemExecutableArchitectures = (
    i386
)
kMDItemFSContentChangeDate     = 2014-07-24 21:03:43 +0000
kMDItemFSCreationDate          = 2014-07-24 21:03:43 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 1
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app"
kMDItemFSNodeCount             = 1
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 502
kMDItemFSSize                  = 64227
kMDItemFSTypeCode              = ""
kMDItemKind                    = "Application"
kMDItemLanguages               = (
    en
)
kMDItemLastUsedDate            = 2014-07-31 08:46:23 +0000
kMDItemLogicalSize             = 64227
kMDItemPhysicalSize            = 77824
kMDItemUseCount                = 3
kMDItemUsedDates               = (
    "2014-07-24 23:00:00 +0000",
    "2014-07-28 23:00:00 +0000",
    "2014-07-30 23:00:00 +0000"
)
kMDItemVersion                 = "36.0.1985.125"

Link to comment

 

Sorry for the late reply, crazy busy. Eg. Google Keep:

/Users/Marek/Applications/Chrome Apps.localized/Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app

Internal File Metadata
======================

 Display Name: Google Keep - notes and lists
    Alt Names: Dh, Default hmjkmjkepdijhoojdojkdfohbdgmmhki, GKnal, Google Keep - notes and lists, Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app
    File Type: com.apple.application-bundle
     Comments: 
     Keywords: 
    Last Used: 2014-07-31 08:46:23 +0000

Raw mdls File Metadata
======================

kMDItemAlternateNames          = (
    Dh,
    "Default hmjkmjkepdijhoojdojkdfohbdgmmhki",
    GKnal,
    "Google Keep - notes and lists",
    "Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app"
)
kMDItemCFBundleIdentifier      = "com.google.Chrome.app.Default-hmjkmjkepdijhoojdojkdfohbdgmmhki"
kMDItemContentCreationDate     = 2014-07-24 21:03:43 +0000
kMDItemContentModificationDate = 2014-07-24 21:03:43 +0000
kMDItemContentType             = "com.apple.application-bundle"
kMDItemContentTypeTree         = (
    "com.apple.application-bundle",
    "com.apple.application",
    "public.executable",
    "com.apple.localizable-name-bundle",
    "com.apple.bundle",
    "public.directory",
    "public.item",
    "com.apple.package"
)
kMDItemDateAdded               = 2014-07-24 21:03:43 +0000
kMDItemDisplayName             = "Google Keep - notes and lists"
kMDItemExecutableArchitectures = (
    i386
)
kMDItemFSContentChangeDate     = 2014-07-24 21:03:43 +0000
kMDItemFSCreationDate          = 2014-07-24 21:03:43 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 1
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app"
kMDItemFSNodeCount             = 1
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 502
kMDItemFSSize                  = 64227
kMDItemFSTypeCode              = ""
kMDItemKind                    = "Application"
kMDItemLanguages               = (
    en
)
kMDItemLastUsedDate            = 2014-07-31 08:46:23 +0000
kMDItemLogicalSize             = 64227
kMDItemPhysicalSize            = 77824
kMDItemUseCount                = 3
kMDItemUsedDates               = (
    "2014-07-24 23:00:00 +0000",
    "2014-07-28 23:00:00 +0000",
    "2014-07-30 23:00:00 +0000"
)
kMDItemVersion                 = "36.0.1985.125"

 

It's the kMDItemFSName metadata value that is triggering it which is the name of the file in the filesystem. The display name is Google Keep but the actual file name is "Default hmjkmjkepdijhoojdojkdfohbdgmmhki.app".

 

That seems to be common with Chrome apps. I just downloaded a few to test this out and they are all named that way. Really weird..

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...