Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. There are some ways to create and use the snippets in Alfred. 1. Using snip command . We can only see the command name, and copy the snippets but cant see the contents. 2. Using clipboard manager we can search and see the contents of snippets and copy it, but can not see the preview (eg. using shift key) Here, I would like to get help creating a workflow which will write the snippets to a file and quickview it. idea: command: qsnip hello effect: copies the snippet called hello and paste the contents "hello world" to a file called "mysnip.txt" in the directory of workflow. effect: qlmanage -p mysnip.txt Problem: I am unware how to save the snippet to the file "mysnip.txt" I have shared the minimal workflow here: https://github.com/bhishanpdl/Shared/blob/master/Alfred_questions/qsnip.alfredworkflow?raw=true
  3. Yesterday
  4. Acidham

    Recent files in a folder

    Done....date format can be formatted in WF settings
  5. That’s why Alfred can’t find the files — it relies on Spotlight’s indexing. The good news is that if they ever fix it for Spotlight, Alfred should immediately get it without you having to do anything.
  6. Similar logic can be applied to QuickTime Player. But the app needs to be open, which defeats the purpose. The point of the Workflow is that you don’t need prior setup (as explained in the first line, you start recording fast).
  7. cands

    Recent files in a folder

    Thank you, this is handy! Would it be possible to support custom date strings as shown in the results (“Added: date”)? Personally I would prefer the form YYYY-MM-DD. I realize that this can be done in the Python code, but it would be convenient if date formatting could be changed by e.g. a workflow variable or another easy way that does not require the users to tinker with the Python code.
  8. Michael Mills

    [SOLVED] Searching files managed by Box Drive

    Thanks, checking on Spotlight was informative. According to Box, the Spotlight and Finder searches do NOT index Box files, even ones that are set Available Offline, i.e., a copy exists on the local filesystem. Box users have requested a fix, but nothing (yet) from Box. https://community.box.com/t5/Box-Drive-Known-Issues-and/Mac-Specific-Known-Issues-for-Box-Drive/ta-p/37353
  9. Hey @GoOz, Hmmm, I'm not sure... I can't recreate the issue, as my WR workflow continues to work fine (though I'm on Alfred 3, not 2). Given that the missing Workflow Data folder that initially caused the error message is not unique to this workflow, however, I think my inclination would be to first try a reinstall and see if things get sorted that way.
  10. There is no need for applescript as there is a global hot key to start recording.
  11. Is it possible to create a file filter that operates as if each word in a query has a wildcard in front of it? For example, let's say I have a file filter set up as follows: (1) Keyword is "pdf", (2) File Types set to PDFs, and (3) Search Scope set to ~/Documents/SmallFolder. Is it possible to change the file filter's Advanced settings so that the following Alfred search: pdf SearchTerm1 SearchTerm2 SearchTerm3 approximates the following input: pdf *SearchTerm1 *SearchTerm2 *SearchTerm3 In other words, when using a specific file filter, I'd like to avoid having to manually type a hyphen in front of each search term. I understand why you wouldn't want this to be the default behavior in Alfred, but I was hoping to create some file filters that work in this manner (on small folders, etc., so that they're not too system-intensive). @deanishe has a nice fuzzy folder search, which is robust enough to do a lot of the same things, but I was just wondering how to mimic the wildcard search described above. I've never quite understood how many of the options in the File Filter's Advanced tab work (beyond simply adding more Metadata Files that are not included by default), and I was hoping there was a way to change these settings to achieve what I've described above. Initially, I thought that (1) unchecking the "words" column, and (2) unchecking the "Anchor searches which are not word based" would have the same effect. However, I'm not receiving the same result as when I use wildcards. Thanks for any help you can lend!
  12. I’d like to add other apps (and the code is ready for that), but so far none fit the bill. ScreenFlow doesn’t support AppleScript (that surprised me; it’s supposed to be a pro app) and Kap uses Electron (so no AppleScript as well). But if your favourite app supports AppleScript, do let me know.
  13. Welcome @Michael Mills, And can Spotlight find those files? Have you gone through the troubleshooting steps?
  14. Start recording audio, the screen, or the webcam, fast. Press a Hotkey or call a Keyword, and the respective recording will begin. At the moment, only QuickTime Player is supported as a recording app. Download | Source
  15. Princess

    Open url with multiple queries

    Sorry I'm not good at explaining this! The first number isn't optional. "So you want your input split into "first number" and "other numbers"" Yes... First number is the 3 digit (which is actually the second one in the url). "Then you want the workflow to open a URL for each of "other numbers" where each URL also includes "first number"?" Yes. So if I paste 25 numbers from Excel, they will all have the same 3 digit number from query 1. https: //blahblahblah .net/order/{query2}/info?test={query 1} If query 1 = 321 and query 2 = 54321 54322 54333 54444 It should open up https: //blahblahblah .net/order/54321/info?test=321 https: //blahblahblah .net/order/54322/info?test=321 https: //blahblahblah .net/order/54333/info?test=321 https: //blahblahblah .net/order/54444/info?test=321 .... hopefully all by me entering my keyword 321, 54321 54322 54333 54444 (all coming vertically from excel like before)
  16. Since updating to 3.7.1, the Search Text and Result Text font seem to be much lighter. After going into the Appearance Editor, I noticed the Search Text font was indeed set to System Light, so I changed it to just System and now it is back to normal. The Result Text font however, is already set to System... The thickness of the font as it appears in the editor is also much thicker than it actually appears in Alfred's search box. I can set Result Text to System Light, and the actual search box font is evenlighter than it was before! My theory is 3.7.1 introduced lighter fonts by default, but the Result Text font specifically didn't get set to System Light in the Appearance Editor. So now I am unable to change it back to System in order to thicken it...
  17. Box.com is tilting away from Box Sync (the local filesystem for which Alfred searched OK) to Box Drive, which has a Make Available Offline option. I set that option for a folder, added the folder to Alfred search list, but so far haven't been able to find those files via Alfred. Suggestions? Thanks.
  18. deanishe

    Open url with multiple queries

    Also, is this "first number" optional? Should the workflow only work with a "first number" and "other numbers" or should it also work like the old one if you only paste a bunch of numbers from Excel without any special "first number"?
  19. deanishe

    Open url with multiple queries

    Not really. I need to know how to divvy up the input query into URLs. So you want your input split into "first number" and "other numbers". Then you want the workflow to open a URL for each of "other numbers" where each URL also includes "first number"?
  20. Princess

    Open url with multiple queries

    I'd like to have two different queries within the same URL. 333 just represents the first query in the workflow. That number will change, but is currently only 3 digits (will probably move up to 4 at some point). I want the second query to be exactly like the last workflow you wrote. I'm hoping I can type my keyword.... then type a 3 (maybe 4) digit number... then paste 25 numbers from Excel (like you wrote last time) and have them all open up in different tabs. https:.//blahblahblah.net/order/62311/infotest=333 In the above example.... if my keyword was z.... I'd type "z 333, (excel paste)" Excel paste represents all the numbers I'm paste from Excel. https: //blahblahblah .net/order/{query2}/info?test={query 1} Is that more clear?
  21. deanishe

    Is it possible to set multiple hotkeys?

    That's a bit more complicated than it need be. In the Hotkey, just change Action from "Pass through to workflow" to "Show Alfred". Job done. I think you do need to simulate a key combo to show the Clipboard Viewer, however.
  22. Use AppleScript's set size and set position commands.
  23. deanishe

    Open url with multiple queries

    I don't exactly follow you. You want to type 333, then paste a column of numbers from Excel into Alfred, and have the workflow open a URL for every number from Excel but with 333 added to each one?
  24. Hey there, @avk_tp I'm one of the lucky few who had a API key before WR closed it. So until recently it worked perfectly, but today I have a weird issue. First I had an error saying it could mkdir inside… /Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/ …that this folder didn't exist. So I made the missing folder "Workflow Data" myself and then the workflow was able to write a "wordreference" folder inside but now, it's still not working. In the debugging console I have [2018-12-18 16:10:32][input.scriptfilter] Queuing argument 'house' [2018-12-18 16:10:32][input.scriptfilter] Script with argument '(null)' finished Don't know what's going on but I tested the API and it's manually responding so it's not that. If you have any clue, it would very much appreciated.
  25. So it looks like this is a bug in Mojave, specifically relating to simulating hotkeys with the modified arrow keys. If you change the system shortcuts to something else, then this will work as expected. I'll fix the visual bug of the key not updating in a future release
  26. It looks like your combos don't actually have a ^ on them (it should show in grey under this). This has actually made me spot a little visualisation bug which is preventing the icon updating. To set a combo which is already reserved in macOS, you should be able to press the main part of the combo (i.e. left arrow), then right click within the key combo field and select ^ to apply that. Currently, the right click selections don't seem to update the combo's icon. Having said that, it does look like macOS isn't recognising these dispatched key combos as expected. This doesn't have anything to do with Notarisation - I'll take a look to see if there is anything I can do to work around this issue in Mojave! Cheers, Andrew
  27. Okay, bear with me: I have a stupid simple keybinding + Alfred Remote buttons that I've set up in macOS that's worked forever in macOS up until Mojave. Let's set it up: 1 Open PrefPanes > Keyboard > Shortcuts Tab > Mission Control 2 Set "Move Left a Space' to cntl-LeftArrow, and "Move Right a Space" to cntl-RIghtArrow Confirm that you can now do this with your keyboard. Still with me? 3 Go to Alfred Remote make a new remote 4 Make a keybinding button "Cntl-LeftArrow" 5 Make another one, "Cntl-RightArrow" On any other OS previous to Mojave these remote buttons work, and I'm able to use Alfred to pass cntl-arrows to the OS. What happened? Screenshots: 1 setting up Mission Control Keybindings 2 My "media remote" where all keys work EXCEPT the Control-Arrow keys. Notes: Alfred current beta, Alfred has Accessibility and Automation Access granted ("System Events" and 2 other apps), Alfred Remote Server has Accessibility access. Note2: I also use multiple keyboards, I verified that Alfred has accessibility permissions and also tried just using US keyboard, the remote does not work to move spaces left or right. The other keybindings I use in my "media remote" seem to work fine. Does Alfred need Mojave "Notarization" before deeper scripts work?
  1. Load more activity
×