Jump to content

jafish

Member
  • Posts

    9
  • Joined

  • Last visited

Posts posted by jafish

  1. Hi Andrew,

     

    A couple updates - I tried navigating directly to the path in order to run this script in Alfred, and after that it seemed to be given a special place in Alfred's index (maybe files accessed in Alfred are included in the index by default, even if they aren't in a search path?)

     

    So to do what you asked, I dragged a different script from that folder to the desktop and am pasting the troubleshooting result below:

     

    Starting Diagnostics...

    File: 'Mail-To-Things-Basic.scpt'
    Path: '/Users/jafish/Desktop'

    -----------------------------------------------------------

    Check file cache database...

    File cache integrity is ok

    -----------------------------------------------------------

    Check if file is readable...

    Alfred has permissions to read this file.

    -----------------------------------------------------------

    Check file is in search scope...

    File exists within Alfred's default search scope

    -----------------------------------------------------------

    Check if volume '/' is indexed by macOS...

    Indexing is enabled on this drive

    -----------------------------------------------------------

    Check direct file metadata...

    Direct metadata available

    Display Name: Mail-To-Things-Basic.scpt
     Other Names: 
    Content Type: com.apple.applescript.script
       Last Used: 

    -----------------------------------------------------------

    Check mdls file metadata...

    Metadata contains required items

    _kMDItemDisplayNameWithExtensions      = "Mail-To-Things-Basic.scpt"
    kMDItemContentCreationDate             = 2015-11-16 16:59:22 +0000
    kMDItemContentCreationDate_Ranking     = 2015-11-16 00:00:00 +0000
    kMDItemContentModificationDate         = 2015-11-16 16:59:22 +0000
    kMDItemContentModificationDate_Ranking = 2015-11-16 00:00:00 +0000
    kMDItemContentType                     = "com.apple.applescript.script"
    kMDItemContentTypeTree                 = (
        "com.apple.applescript.script",
        "public.data",
        "public.item",
        "public.script",
        "public.source-code",
        "public.plain-text",
        "public.text",
        "public.content"
    )
    kMDItemDateAdded                       = 2020-09-18 01:58:04 +0000
    kMDItemDateAdded_Ranking               = 2020-09-18 00:00:00 +0000
    kMDItemDisplayName                     = "Mail-To-Things-Basic.scpt"
    kMDItemDocumentIdentifier              = 0
    kMDItemFSContentChangeDate             = 2015-11-16 16:59:22 +0000
    kMDItemFSCreationDate                  = 2015-11-16 16:59:22 +0000
    kMDItemFSCreatorCode                   = ""
    kMDItemFSFinderFlags                   = 0
    kMDItemFSHasCustomIcon                 = (null)
    kMDItemFSInvisible                     = 0
    kMDItemFSIsExtensionHidden             = 0
    kMDItemFSIsStationery                  = (null)
    kMDItemFSLabel                         = 0
    kMDItemFSName                          = "Mail-To-Things-Basic.scpt"
    kMDItemFSNodeCount                     = (null)
    kMDItemFSOwnerGroupID                  = 20
    kMDItemFSOwnerUserID                   = 501
    kMDItemFSSize                          = 6754
    kMDItemFSTypeCode                      = ""
    kMDItemInterestingDate_Ranking         = 2015-11-16 00:00:00 +0000
    kMDItemKind                            = "Script"
    kMDItemLogicalSize                     = 6754
    kMDItemPhysicalSize                    = 8192

    -----------------------------------------------------------

    Troubleshooting passed
     

  2. Thanks Andrew, below are the results. I'm not sure what to make of it (i.e. I don't know what the solution is). Any ideas?

     

    Starting Diagnostics...
    
    File: 'Safari-Open-Tabs-Count.scpt'
    Path: '/Users/jafish/Sync/Library/Code/Applescript'
    
    -----------------------------------------------------------
    
    Check file cache database...
    
     File cache integrity is ok
    
    -----------------------------------------------------------
    
    Check if file is readable...
    
     Alfred has permissions to read this file.
    
    -----------------------------------------------------------
    
    Check file is in search scope...
    
     File exists within Alfred's default search scope
    
    -----------------------------------------------------------
    
    Check if volume '/' is indexed by macOS...
    
    ⚠️ Indexing may not be enabled on this drive
    
    Spotlight server is disabled.
    
    -----------------------------------------------------------
    
    Check direct file metadata...
    
    ⚠️ Direct metadata is missing, this file is likely not indexed by macOS
    
    Display Name: 
     Other Names: 
    Content Type: 
       Last Used: 
    
    -----------------------------------------------------------
    
    Check mdls file metadata...
    
     macOS metadata missing essential items
    
    kMDItemFSContentChangeDate = (null)
    kMDItemFSCreationDate      = (null)
    kMDItemFSCreatorCode       = ""
    kMDItemFSFinderFlags       = (null)
    kMDItemFSHasCustomIcon     = (null)
    kMDItemFSInvisible         = 0
    kMDItemFSIsExtensionHidden = (null)
    kMDItemFSIsStationery      = (null)
    kMDItemFSLabel             = (null)
    kMDItemFSName              = (null)
    kMDItemFSNodeCount         = (null)
    kMDItemFSOwnerGroupID      = (null)
    kMDItemFSOwnerUserID       = (null)
    kMDItemFSSize              = (null)
    kMDItemFSTypeCode          = ""
    
    -----------------------------------------------------------
    
     Troubleshooting failed

     

  3. * What you were doing when the issue happened
    After upgrading to the most recent version of Alfred, tried to search for and run a script (Safari-Open-Tabs-Count.scpt) that I've always been able to run in the past (it's in a folder in my search scope, path "/Users/jafish/Sync/Library/Code/Applescript"). Noticed that nothing in that path is showing in my Alfred search.
     
    * Whether you were able to replicate it a second time by performing the same action
    Yes, not finding any files in that folder in my search path.
     
    * Include any screenshots that might help us
     
    * Include the Alfred version & build number you are using
     
    4.1.1,  1172
     
    * Include your OS X version
    10.15.6
  4. On 12/14/2016 at 11:05 AM, vitor said:

    Start typing the name of the destination directory. When you do that, Alfred will start filtering directories with your query, not necessarily in your home directory.

    I realize that that is the default behavior, but what I'm asking is for ideas (via workflows, AppleScript, something else) to have Alfred assume the current working directory instead of starting from all available file paths.

  5. Is there a way to quickly access the current working directory after selecting some files and triggering Alfred with the "File Selection" keyboard shortcut? What I'd like to be able to do is select some files, trigger Alfred, and quickly move the selected files a couple folders deeper (but starting from the current folder). One of the file actions with files selected is "Move To", but as soon as I select that, Alfred seems to assume that I want to start from the root of the volume.

  6. I'm seeing a strange issue - when I move tasks in the Taskpaper application (keyboard shortcut CTRL+CMD+UP/DOWN), it triggers Alfred's clipboard merge action twice. I've documented this with an annotated video here: http://d.pr/v/7XFa/2KmuNuDj

    • What you were doing when the issue happened
      • Moving tasks in the Taskpaper application using the keyboard shortcut CTRL+CMD+UP/DOWN
    • Whether you were able to replicate it a second time by performing the same action
      • Yes, it happens every time
    • Include any screenshots that might help us
    • Include the Alfred version & build number you are using
      • 2.0.6 (203)
    • Include your OS X version
      • 10.8.4
  7. Actually MailMate has pretty nice AppleScript support. I looked into it the other morning when kjf originally posted this. Alfred just doesn't support it yet because, well.. we didn't know about it, or at least I didn't. I had never heard of it until this post.

    I'd love to know how you found the applescript support - when I looked at the dictionary it only had one custom command. It might be because I'm not super-familiar with Applescript, but I can't even figure out how you would grab a list of selected messages and do something with them.

×
×
  • Create New...