Jump to content

vitor

Community Hero
  • Content count

    2,086
  • Joined

  • Last visited

  • Days Won

    134

Everything posted by vitor

  1. Searching file system for Google Docs

    If all users were as polite and understanding as you, we’d all be happy moderators! Glad it’s sorted out! For reference, there’s a page that links to troubleshooting steps (likely compiled by @Vero). But let’s hope you don’t come to need it. Have a nice day!
  2. Searching file system for Google Docs

    In that case, have you tried the troubleshooting steps?
  3. Searching file system for Google Docs

    Welcome, @Jack Vaughan, Can Spotlight find those files? Because if Spotlight can’t, Alfred can’t. Sounds like you might be using the Google Drive File Stream. If that’s the case, there are already multiple posts on the forum addressing that. Bottom line: it’s something that needs to be changed on Google’s side.
  4. Welcome, @Ryan. I feel pretty confident in saying most users wouldn’t like that. What you’re looking for is define.
  5. Keep a list of audiovisual content to watch and listen to. We often have series of videos and streams that we’d like to watch but not necessarily keep after, but tracking which we’ve already seen (and are thus safe to delete) can be a chore. Select in the Finder the files or directories you wish to add to your list and apply the file action Add to watchlist. Every time you do this the new items will be prepended or appended to the list (depending on the add_item_order Workflow Environment Variable). Alternatively, call swl to add the URL in your clipboard as a stream. You then have some options you can pick from, all starting with wl. wlp shows the list of items you can play. A reference to each subtitle section can be found at the end. wls calls wlp under the hood, but lets you first select a sort order based on duration or size. In both cases, ↵ plays the selection. Add ⌘ to play without marking as watched or ⌥ to rescan a directory (useful if you made manual changes to it). Items starting with ≈ are streams. They show no file size (since they aren’t taking up any space locally) and present the link they were taken from as opposed to a location on disk. To be able to stream video and audio you need either mpv or VLC. An item will never be marked as watched if we can access the player’s CLI and it exits with a failure exit code. wlu marks an item as unwatched. Note that in the case of files it does not recover them from the trash, as there is no reliable way to do so on macOS — that step you need to do yourself. If the item has a URL origin (you’ll see it in the subtitle) add ⌘ to open the URL in your default browser or ⌥ to copy it to the clipboard. wle allows you to reorder, rename, and remove items from the list. Finally, if you use DownVid it has an option to add the downloaded video files directly to your watchlist. Subtitle reference: There are three types of items: files, series, and streams. streams can be further categorised into single item or playlist. Each result has its name as the top title. The subtitle confers more detailed information and follow this template (~ means it never shows): ≈ (4) 𐄁 22m 32s 𐄁 691M 𐄁 /Some/Path ≈. Indicates item is a stream. file: ~ series: ~ stream: Always present. (4). Number of elements. file: ~ series: Remaining audiovisual files in directory. stream: Single item: ~. Playlist: All elements. 22m 32s. Running time. file: Running time of file. series: Running time of first audiovisual file in directory. stream: Combined running time of all elements. 691M. Size. file: Size of file. series: Size of first audiovisual file in directory. stream: ~ /Some/Path. Path. file: Path of file. series: Path of directory. stream: URL. Download | Source Works well with DownVid
  6. Upload to transfer.sh directly from Alfred. Pick paths to upload via the Upload file File Action. Directories and multiple paths will be zipped prior to upload. You can check your upload progress with ufp. It will auto-refresh the progress. Press ⌘↵ to cancel the transfer. You’ll get notifications of the various phases, with a sound when it’s complete (or canceled). The download URL will be copied to your clipboard. Donwload | Source
  7. List the contents of your ~/Downloads directory and act on them. Call the workflow with rdn to sort from the most recently modified, rdo for the reverse; rda to sort from the most recently added, rdz for the reverse. To act on the selections, use the standard Alfred shortcuts. You can activate file actions, dive into directories, preview files, add them to the file buffer — whatever you want to do that is supported by Alfred. Download | Source
  8. I’d probably recommend it to non-technical users, but since it’s based on mpv that essentially means it’ll always be behind. As such, I’d rather have mpv, at least until it can do everything I want. See swl in the README.
  9. Update. Added official support to sorting by date added. Rewrote the Workflow in ruby to fix something else and decided to add it in. In the case of sorting by added, results are cached until the directory is modified, which should keep it fast. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
  10. Output info from videos from a plethora of video sources, even when embedded in other pages. Copy a link to your clipboard, run vidur and pick your verbosity level. It’ll output the video’s link with its duration and optionally its title and description. Download | Source
  11. Add to and view your Pinboard bookmarks. pa opens Pinboard’s “add bookmark” page in your frontmost browser. You can submit bookmarks with ↵ or dismiss the window with ⎋. Configure the Hotkey Trigger to add your current browser tab as an unread bookmark. pin and pun are similar. The former shows all your bookmarks (type to filter), while the latter shows only the unread ones. In each case: ↵ opens the bookmark in your default web browser. ⇧↵ opens the bookmark in Pinboard’s website, so you can edit it at will. ⌥↵ copies the bookmark’s URL to your clipboard. ⌘↵ downloads the video on the page, if any. It requires DownVid and will automatically add to WatchList if available) fn shows the bookmark’s description. ⌃ shows the bookmark’s tags. Unread bookmarks suffer an extra event when acted upon, depending on the unread_action Workflow Environment Variable. archive will mark the bookmark as read and delete will remove it from your account. Any other value (including none) will leave it untouched. Bookmarks are auto-updated in accordance to the requirements of the Pinboard API. :pinplusforceupdate will force an update, but should be avoided. If you ever need to update your Pinboard API token, call :pinplusresetapitoken. Download | Source
  12. Sure! In mpv1 I’ve edited ~/.config/mpv/input.conf2 to include: ESC quit-watch-later 9 q quit-watch-later The 9 could be any number and is the exit code that will be output from the operation. So both ⎋ and q do the same thing (quit-watch-later3) but with different exit codes. So if I told WatchList to play something and mark it as watched but I change my mind while the video is playing4 I press ⎋. 1. My media player of choice. 2. mpv’s configuration file for keyboard shortcuts. 3. Exit the player but save every detail about the current file: where we’re at, window position, alternative tracks, …, and load it again when the file is reopened. 4. For example, if I get sleepy and decide I won’t watch everything in one sitting, as I previously thought.
  13. Update. An item will not be marked as watched if we can access the player’s CLI and it exits with a failure exit code. This means we can configure our video player to not exit successfully on certain conditions and have greater granularity with WatchList. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
  14. Help with alfred-convert workflow

    Welcome, @Anoir, When making a request or a bug report pertaining to a specific workflow, please do not open a new thread to discuss your issue. Making a new thread, while it seems like it’ll give your problem visibility, will only fragment the discussion and make it less likely the author and users of the workflow (the people that can actually help) will see it. Please read the Reporting Problems with Workflows topic, as it gives a nice overview on how to make a report with a better chance of being addressed. For this specific Workflow:
  15. This should work. Fill the last Key Combo with RingCentral’s shortcut. Here’s how it works: You call ring with the number. Alfred calls itself with the umber (tell application "Alfred 3" to search "{query}"). All text is selected (⇧⌘←). Ring Central’s keyboard shortcut is called.
  16. Welcome to the forums, @anjak, Though I do not speak for the Alfred team, I’d say there’s a slim chance that is ever going to happen. Alfred’s team is small — two people1 — and only one of them codes. The other takes care of the (often more taxing) administrative work. Alfred takes advantage of macOS’ native APIs and tools. Porting it to Windows would require a whole different app using learning a whole new world of tools and APIs. It’s unlikely it would be worth the overhead. 1. I think there’s a cat as well.
  17. Can I simplify this regex check?

    You can do everything in your Run Script, by checking there and acting accordingly. If you want to do it with Alfred’s Filter, what you already have is way to go — the Filter only stops or allows passage, it doesn’t have a “if not continuing, go somewhere else”. Regarding your regex, why are you enclosing it in parenthesis? You’re not doing any capturing.
  18. Help with symlink workflows

    [emphasis added] I think I’ve mentioned this a few time already: OneUpdater works with every Workflow. It doesn’t matter how big or small they are — they can have a single node or one hundred million. It also doesn’t matter how their repo is setup — you don’t even need one! Set up correctly the single node it provides inside your Workflow and it just works™. The whole idea is that you can add it without making any changes to your code, and if you ever want to get rid of it you delete a single node. You don’t need to emulate what I do; you don’t even need to know I exist for it to work. Go nuts.
  19. alfred return vs enter

    Welcome, @donod, When making a request or a bug report pertaining to a specific workflow, please do not open a new thread to discuss your issue. Making a new thread, while it seems like it’ll give your problem visibility, will only fragment the discussion and make it less likely the author and users of the workflow (the people that can actually help) will see it. Please read the Reporting Problems with Workflows topic, as it gives a nice overview on how to make a report with a better chance of being addressed.
  20. Hello, @hugh1li, When making a request or a bug report pertaining to a specific workflow, please do not open a new thread to discuss your issue. Making a new thread, while it seems like it’ll give your problem visibility, will only fragment the discussion and make it less likely the author and users of the workflow (the people that can actually help) will see it. Please read the Reporting Problems with Workflows topic, as it gives a nice overview on how to make a report with a better chance of being addressed.
  21. Can you override default results?

    Glad you got it working! Alternative solution: do a Get Info on the Fantastical app and on Comments add the word “calendar”. Note this only works if you bought Fantastical from outside the Mac App Store.
  22. Can you override default results?

    Welcome, @dtwist, You can’t manually override the order of results, but Alfred is pretty smart about that — it uses “frecency” as a metric, so what you want to do is select that result a bunch of times to teach it what you want.
  23. You can force it. Open the bbcode and/or rtf files in the Workflow and remove the $LOAD_PATH.unshift line. Thank you for using them and for the kind words!
×