Jump to content

Can't add Safari.app in Hotkeys (in Workflows)


noahm

Recommended Posts

@noahm I've just had a look and Safari can be dragged in like any other apps. 

 

What happens when you try to drag Safari in? And apologies for what may seem obvious but are you definitely dragging Safari in, or an alias / other item that happens to have Safari's icon?

Link to comment
Posted (edited)

Hi again @Vero. I'm really not sure why this bug is occurring. It's still happening and only with Safari. The only thing I can think of is that I used to have Safari Technology Preview installed, and maybe it has affected Safari.app's bundle and may not be seen as an actual application? However, doing Get Info shows the following, which is not out of the usual...

Screenshot 2023-01-05 at 3.20.23 pm.png

 

Edit: just noticed it says Friday, 30 December, and the "Last opened" flag does not update when opening it again. I use this every day. Are there any other locations where Safari can be found?

Edited by noahm
Link to comment

@noahm In your video, it's not possible to see where you're dragging from, so I wonder if you're dragging from a weird location.

 

The two easiest ways are:

 

1. Pop up Alfred's search, type Safari and copy directly from Alfred's results.

2. Open Finder to /Applications/ and drag from the list of apps there.

 

Don't drag from the little Finder sidebar or from your Dock as that won't work.

Link to comment

@noahm Try rebooting your computer. Safari is now updated differently which might be messing up something. I also see from your screenshot that your disk is apparently called “Ventura”, as opposed to the usual “Macintosh HD”. Is that intentional?

 

If rebooting does not work, see if this workflow correctly displays Safari for you. It’s just a Hotkey set to work when Safari is in focus; you can copy it to your other workflow and continue from there.

 

Link to comment
  • 2 weeks later...

@vitor

 

Yes – I always name my HDD/SSD to the current operating system ("Ventura"). Naming it back doesn't seem to change the behaviour I'm facing ☹️

 

The workflow displays Safari for me correctly, too.

Edited by noahm
Link to comment
On 1/19/2023 at 12:46 AM, Andrew said:

@noahm could you open Terminal.app and show me the output of pasting the following command:

 

mdls /Applications/Safari.app

 

Thanks,

Andrew

 

@Andrew

 

_kMDItemDisplayNameWithExtensions  = "Safari.app"
kMDItemAlternateNames              = (
    "\U1109\U1161\U1111\U1161\U1105\U1175",
    "Safari.app"
)
kMDItemAppStoreCategory            = "Productivity"
kMDItemAppStoreCategoryType        = "public.app-category.productivity"
kMDItemAppStoreIsAppleSigned       = 1
kMDItemCFBundleIdentifier          = "com.apple.Safari"
kMDItemContentCreationDate         = 2022-11-29 06:37:08 +0000
kMDItemContentCreationDate_Ranking = 2022-11-29 00:00:00 +0000
kMDItemContentModificationDate     = 2022-11-29 06:37:08 +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"
)
kMDItemCopyright                   = ""
kMDItemDateAdded                   = 2022-11-29 06:37:08 +0000
kMDItemDescription                 = ""
kMDItemDisplayName                 = "Safari.app"
kMDItemDocumentIdentifier          = 0
kMDItemExecutableArchitectures     = (
    arm64,
    "x86_64"
)
kMDItemFSContentChangeDate         = 2022-11-29 06:37:08 +0000
kMDItemFSCreationDate              = 2022-11-29 06:37:08 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Safari.app"
kMDItemFSNodeCount                 = 1
kMDItemFSOwnerGroupID              = 0
kMDItemFSOwnerUserID               = 0
kMDItemFSSize                      = 15324692
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2023-01-15 00:00:00 +0000
kMDItemKeywords                    = ""
kMDItemKind                        = "Application"
kMDItemLastUsedDate                = 2023-01-15 13:07:58 +0000
kMDItemLastUsedDate_Ranking        = 2023-01-15 00:00:00 +0000
kMDItemLogicalSize                 = 15324692
kMDItemPhysicalSize                = 15130624
kMDItemUseCount                    = 21
kMDItemUsedDates                   = (
    "2022-12-31 16:00:00 +0000",
    "2023-01-14 16:00:00 +0000"
)
kMDItemVersion                     = "16.2"

 

Edited by Alan He
Link to comment

 

@Andrew And mine looks pretty much the same, besides the "kMDItemUsedDates" for obvious reasons.

 

_kMDItemDisplayNameWithExtensions  = "Safari.app"
kMDItemAlternateNames              = (
    "\U1109\U1161\U1111\U1161\U1105\U1175",
    "Safari.app"
)
kMDItemAppStoreCategory            = "Productivity"
kMDItemAppStoreCategoryType        = "public.app-category.productivity"
kMDItemAppStoreIsAppleSigned       = 1
kMDItemCFBundleIdentifier          = "com.apple.Safari"
kMDItemContentCreationDate         = 2022-11-29 06:37:08 +0000
kMDItemContentCreationDate_Ranking = 2022-11-29 00:00:00 +0000
kMDItemContentModificationDate     = 2022-11-29 06:37:08 +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"
)
kMDItemCopyright                   = ""
kMDItemDateAdded                   = 2022-11-29 06:37:08 +0000
kMDItemDescription                 = ""
kMDItemDisplayName                 = "Safari"
kMDItemDocumentIdentifier          = 0
kMDItemExecutableArchitectures     = (
    arm64,
    "x86_64"
)
kMDItemFSContentChangeDate         = 2022-11-29 06:37:08 +0000
kMDItemFSCreationDate              = 2022-11-29 06:37:08 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Safari.app"
kMDItemFSNodeCount                 = 1
kMDItemFSOwnerGroupID              = 0
kMDItemFSOwnerUserID               = 0
kMDItemFSSize                      = 15324692
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2023-01-15 00:00:00 +0000
kMDItemKeywords                    = ""
kMDItemKind                        = "Application"
kMDItemLastUsedDate                = 2023-01-15 15:15:57 +0000
kMDItemLastUsedDate_Ranking        = 2023-01-15 00:00:00 +0000
kMDItemLogicalSize                 = 15324692
kMDItemPhysicalSize                = 15130624
kMDItemUseCount                    = 270
kMDItemUsedDates                   = (
    "2022-12-15 13:00:00 +0000",
    "2022-12-16 13:00:00 +0000",
    "2022-12-17 13:00:00 +0000",
    "2022-12-18 13:00:00 +0000",
    "2022-12-19 13:00:00 +0000",
    "2022-12-20 13:00:00 +0000",
    "2022-12-21 13:00:00 +0000",
    "2022-12-22 13:00:00 +0000",
    "2022-12-26 13:00:00 +0000",
    "2022-12-27 13:00:00 +0000",
    "2022-12-28 13:00:00 +0000",
    "2022-12-29 13:00:00 +0000",
    "2023-01-05 13:00:00 +0000",
    "2023-01-08 13:00:00 +0000",
    "2023-01-09 13:00:00 +0000",
    "2023-01-10 13:00:00 +0000",
    "2023-01-11 13:00:00 +0000",
    "2023-01-12 13:00:00 +0000",
    "2023-01-13 13:00:00 +0000",
    "2023-01-15 13:00:00 +0000"
)
kMDItemVersion                     = "16.2"

 

Link to comment

Thanks for that - could you both try adding Safari from the actual location on Ventura:

 

/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app

 

Or if you're using Monterey:

 

/System/Volumes/Data/Applications/Safari.app

Link to comment
% mdls /System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app

_kMDItemDisplayNameWithExtensions  = "Safari.app"
kMDItemAlternateNames              = (
    "\U1109\U1161\U1111\U1161\U1105\U1175",
    "Safari.app"
)
kMDItemAppStoreCategory            = "Productivity"
kMDItemAppStoreCategoryType        = "public.app-category.productivity"
kMDItemAppStoreIsAppleSigned       = 1
kMDItemCFBundleIdentifier          = "com.apple.Safari"
kMDItemContentCreationDate         = 2022-11-29 06:37:08 +0000
kMDItemContentCreationDate_Ranking = 2022-11-29 00:00:00 +0000
kMDItemContentModificationDate     = 2022-11-29 06:37:08 +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"
)
kMDItemCopyright                   = ""
kMDItemDateAdded                   = 2022-11-29 06:37:08 +0000
kMDItemDescription                 = ""
kMDItemDisplayName                 = "Safari"
kMDItemDocumentIdentifier          = 0
kMDItemExecutableArchitectures     = (
    arm64,
    "x86_64"
)
kMDItemFSContentChangeDate         = 2022-11-29 06:37:08 +0000
kMDItemFSCreationDate              = 2022-11-29 06:37:08 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Safari.app"
kMDItemFSNodeCount                 = 1
kMDItemFSOwnerGroupID              = 0
kMDItemFSOwnerUserID               = 0
kMDItemFSSize                      = 15324692
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2023-01-15 00:00:00 +0000
kMDItemKeywords                    = ""
kMDItemKind                        = "Application"
kMDItemLastUsedDate                = 2023-01-15 15:15:57 +0000
kMDItemLastUsedDate_Ranking        = 2023-01-15 00:00:00 +0000
kMDItemLogicalSize                 = 15324692
kMDItemPhysicalSize                = 15130624
kMDItemUseCount                    = 270
kMDItemUsedDates                   = (
    "2022-12-15 13:00:00 +0000",
    "2022-12-16 13:00:00 +0000",
    "2022-12-17 13:00:00 +0000",
    "2022-12-18 13:00:00 +0000",
    "2022-12-19 13:00:00 +0000",
    "2022-12-20 13:00:00 +0000",
    "2022-12-21 13:00:00 +0000",
    "2022-12-22 13:00:00 +0000",
    "2022-12-26 13:00:00 +0000",
    "2022-12-27 13:00:00 +0000",
    "2022-12-28 13:00:00 +0000",
    "2022-12-29 13:00:00 +0000",
    "2023-01-05 13:00:00 +0000",
    "2023-01-08 13:00:00 +0000",
    "2023-01-09 13:00:00 +0000",
    "2023-01-10 13:00:00 +0000",
    "2023-01-11 13:00:00 +0000",
    "2023-01-12 13:00:00 +0000",
    "2023-01-13 13:00:00 +0000",
    "2023-01-15 13:00:00 +0000"
)
kMDItemVersion                     = "16.2"

 

Link to comment

@noahm Instead of mdls, the request is to navigate to those locations (i.e. open them in the Finder or Alfred) and drag Safari from there. In newer macOS versions, the Safari in /Applications is a link, not the real app. But it’s necessary to figure out if the issue is in the app or the link.

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...