Jump to content

nikivi

Member
  • Posts

    985
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by nikivi

  1. I also still don't get how to get rid of duplicate results. I suppose I should add a folder to here:

     

    image.thumb.png.18841c0e349265d32e3070895c47b9b9.png

     

    But I don't get which one. It can't be ~/Documents as I can't even find it in Finder:

     

    image.png.141999c35e40a3a9b90f7b7d948df198.png

     

    It's part of iCloud Drive. But I can't ignore iCloud Drive because that's where the ~/Documents is (I think) amongst other folders I care about being searched.

     

    image.thumb.png.01e8a629d571e55e8434b924d65f624c.png

     

    Very confused honestly. 😞

     

    I don't want to stop syncing ~/Desktop and ~/Documents to iCloud as I want access to these files from iOS too. 

     

  2. 53 minutes ago, vitor said:

    Try changing the file association, as mentioned. If you can’t do it via a GUI, try duti (available on Homebrew). You may need to run mdls the file for useful information


    I am still confused. The .cloud files are still associated to be opened with PDF reader as Finder seems to ignore the .cloud part and take into account the .pdf before it. As screenshot above shows.

     

    Do I need to change file association of the .icloud files to something else? And if so, to what?

  3. 51 minutes ago, vitor said:

    Why would you assume that? You’ve been part of this community long enough to know we don’t shy way from questions, no matter how simple

     

    I just assumed it as I saw @Andrew answer on issues whilst this was ignored. So I tried to create a reason in my head why he would do it. So I assumed it was probably due to him thinking it would be a waste of time to answer me as it should be obvious.

     

    Thank you for your comment, will try it now. 

     

    Oh and I am aware that no one owns an explanation to anything, I just expected some kind of answer as it's something Andrew himself said and I just wanted to ask for clarification but never got any. 😞

  4. 11 minutes ago, Andrew said:

    Have you tried associating .iCloud files with finder?

     

    I don't know how I can do it.

     

    11 minutes ago, Andrew said:

    perhaps some AppleScript to tell Finder to open the .iCloud file to see if that instigates the download

     

    Would that mean I would have to change my file filter workflow to instead of passing it to `Open File` action, I would have to pass it to AppleScript code that first checks if it's iCloud file and converts it? Assuming this AppleScript code exists.

  5. So I guess I have to somehow only have iCloud Drive / Documents ignored but not sure how to do it. Here is my search scope of folders.

     

    image.thumb.png.3886ae5354d6d40d0e4b0cc564bbad99.png

     

    Would appreciate any help on this. Ideally it would be nice if Alfred dealt with this issue in the background. That is assume user will have ~/Documents content duplicated to iCloud Drive too so only consider one of the locations.

     

    And the issue with opening a file from Alfred that is in Apple Cloud would open it up by downloading it first and opening it (same as how cmd+o in Finder works).

  6. Speaking of why Apple decides to put those files in the cloud is a mystery to me. Here is my storage on the macbook:

     

    image.thumb.png.24f5d2c982e68db61813cc56f3d858ff.png

     

    And here are the iCloud settings:

     

    image.thumb.png.ebb11be1a7794edeb6e6282a6f703ef1.png

     

    There should be more than 500GB left on the system. I think I tried to turn off the Optimize Mac Storage option too and the issue persists. 

    So yeah, I hope Alfred can solve the above issue of Alfred not erroring out if file is in the cloud and dowloading it first, then opening it. If macOS API allows this.

     

    Thank you.

     

  7. I have a problem where I have a file filter that searches for PDF files on my system. Firstly Alfred will show the file in both ~/Documents and iCloud Drive.

     

    image.thumb.png.3e6e2d9f2c1f747df5b20aa2bf2a7df2.png

     

    Not sure how to best solve this as I do have ~/Documents and ~/Desktop synced with iCloud. Perhaps I should just ignore ~/Documents folder in Alfred Prefs and only keep it to iCloud Drive? Or the other way?

     

    That's one of the problems. The other is that if I do activate on any of the files I am met with this error:

     

    image.thumb.png.bc274ac905552c1fc52f5548c05ca574.png

     

    Which I assume is due to macOS putting the files in the cloud. In finder, I can still open the file with CMD+O like here:

    image.png.f601fa972ae153103fa5292d5177d4f7.png

     

    And macOS will open the file fine, downloading it first. It would be great if Alfred did the same under the hood if possible.

     

     

     

  8. Currently all Alfred users installing workflows that have a binary inside it will be met with an error saying you can't run it but you can move it to the trash. It's not obvious what you have to do to get rid of the error. So workflows are forced to add instructions like this one.

     

    https://github.com/deanishe/awgo/wiki/Catalina 


    To basically all workflow's readme's.

     

    I wonder if it's possible for Alfred to recognize that there was a failure to run a script filter due to permission issue and show some kind of dialogue that says 'In order to run the workflow, please right click on the program name in Finder' and then on OK, open the Alfred folder in Finder for the user. That would be quite a nice UX improvement for all users, technical or not.

     

    Of course another, more solid option is to instead make users open Privacy settings and add Alfred to Developer Tools so the error never happens again. That can be achieved in a similar dialogue flow too. 

     

    Reason I bring it up is I helped a friend setup her new mac and she was met with this issue on trying to install a workflow and it was confusing what she had to do in order to simply run it.

     

    Thank you. 

  9. 4 hours ago, Brandon Lipman said:

    I am technical in nature and readily familiar with the APIs that would be used. 

     

    If you are familiar with the APIs used, it's not that hard to do a request and present the results in Alfred. https://github.com/deanishe/awgo or https://github.com/deanishe/alfred-workflow have methods that take data and turn it into Alfred results. 

     

    You can find out what URL is in browser tab with applescript unless its Firefox.

     

     

  10. If you have this script filter block:

     

    image.thumb.png.3e9bca2c2bb507f6050c9feb36c19b01.png

     

    It would be nice if Alfred would automatically create a note for the user with the placeholder subtext instead of leaving it empty as it is now.

     

    image.png.678ab2cac6a3c74b56019faa1adcafd2.png

     

    So it will look like this:

     

    image.png.db64ba4b496ce2e350a7ee49d704ce7a.png

     

    I often add such a note myself to script filters as it provides context but it's annoying to have to do it every time + having to keep it in sync. 

     

    Perhaps Alfred can color it in a different color to signify that the note is 'generated'.

     

    Perhaps also some other blocks can make use of this 'generated' notes from meta data already provided. Will make managing and understanding workflows easier and remove the burden.

     

    Thank you and I hope you consider adding it. ❤️

×
×
  • Create New...