Jump to content

Alan He

Member
  • Posts

    341
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    Alan He reacted to Chris Messina in Add ⌘-D to duplicate Workflow object   
    I make many keyword-based Workflows and I would find it incredibly efficient to be able to quickly duplicate an object using ⌘-D.
     
    Currently I can hit ⌘-C and then ⌘-P (copy and paste), or right-click and choose copy and then right-click and paste:
     

     
    ...but many apps (like Sketch) support ⌘-D to duplicate the selected object or objects:
     

     
    This would greatly improve my efficiency. 
  2. Like
    Alan He reacted to deanishe in Lock doesn't work when QQ(an instant communication app in China) is running   
    Hi @AsterY, welcome to the forum.
     
    I believe Alfred’s Lock works by simulating the Hotkey for macOS’s “Lock Screen” function, which is ^⌘Q.
     
    So what’s probably happening is that QQ has redefined ^⌘Q, which is why it’s activating.
     
     
  3. Thanks
    Alan He got a reaction from lycopodiopsida in Adding AirDrop Support to Alfred   
    you can have a try.

    Now, it is only simplified, right click=》 share=》airdrop operation
     
    https://github.com/alanhg/alfred-workflows/blob/master/airdrop/Airdrop.alfredworkflow
  4. Haha
    Alan He reacted to deanishe in Preferences folder for Alfred 4   
    That's not the settings file, that's the Alfred Preferences application. You can tell by how it's name ends with .app.
  5. Thanks
    Alan He reacted to Andrew in Can I Save Screenshots to Clipboard?   
    @speedypete962 if you use the macOS screenshot combo of shift+cmd+5, and select the Options > Save To (in the little control at the bottom of the screen) as clipboard, then the resulting screenshot will appear in Alfred's clipboard history.
  6. Thanks
    Alan He reacted to deanishe in Preferences folder for Alfred 4   
    The default folder is ~/Library/Application Support/Alfred, with all your important preferences stored in the bundle ~/Library/Application Support/Alfred/Alfred.alfredpreferences.
     
    However, if you'd set Alfred up to sync your preferences, the Alfred.alfredpreferences bundle would be stored in the folder you told Alfred to use as its sync folder.
  7. Thanks
    Alan He reacted to vitor in Are there any good Giphy workflows?   
    Alfred doesn’t provide an interface for using that in Workflows.
  8. Like
    Alan He reacted to Vero in Question concerning Alfred License   
    @franco-allemande Apologies for missing your post last week! Yes, you'll be able to use your license on your new Mac. 
     
    With the Single User license, you can activate on two Macs concurrently, provided they're for your own use and not shared workstations. With the Mega Supporter license, you can activate on up to four Macs, again, provided they're for your own use only.
     
    If you're getting rid of your old Mac, you can deactivate your license by popping up Alfred's preferences to the Powerpack tab, viewing your license and choosing Deactivate.
     
    Cheers,
    Vero
  9. Thanks
    Alan He reacted to Vero in Alfred 4.1 Is Now in Pre-Release   
    A few moments ago, we popped Alfred 4.1 on the pre-release channel. It's a big release with lots of tasty stuff for you to sink your teeth into.
     
    New workflow objects for integrating with files and the File Buffer Shared Hotkeys for workflows Embedded Snippets Contact Actions Built-in File Search Troubleshooting from the Help preferences And loads more!  
    Take a look at the Update tab for a complete change log, as there's a lot in this release, which is free to all Alfred 4 Powerpack license holders. 
     
    We'd love to get your help in testing out the new features before the general release! To get started, launch Alfred's preferences to the Update tab, choose the "pre-releases" option and grab the latest build
     
    Cheers,
    Vero
  10. Thanks
    Alan He reacted to Koto13 in Adding Localization/Translation   
    Hi,
    Why not add other languages ​​to Alfred in this case French.
     
    If you are busy, why do not we appeal to members to help you in this task. Thanks.
  11. Thanks
    Alan He reacted to face in Adding Localization/Translation   
    I understand your point of view.
    But, please, take a look at 
    http://crowdin.net
    1 Password Team for example uses that service to translate their great app (4 version).
    It's an incredible and simple tool that helps a lot developers and not interfere or slow down developer work.
    As said take a look please at that and rethink about it
    I'm here to translate your invaluable app in italian ...
  12. Thanks
    Alan He reacted to andreas.w in Future macOS versions won't bundle any scripting language runtimes   
    @deanishe Thanks for the link to that thread!
     
    It all seams to be a mess really.
    - The Catalina Beta release notes said at some point that all the scripting languages will be removed eventually, but there where nothing that indicated that in the actual OS
    - Big Sur Beta does not say anything about that in the release notes (not that I could find anyway), and all scripting languages are still there
    - PHP's and Python 2's version info in Big Sur says that they will be removed in a future version (which they didn't do in Catalina)
    - Python 3 wasn't even there before Big Sur, so it was added right now, and does not say anything about being deprecated, so it would look like that would stay then I guess?
     
    Seems to me like Apple might have changed there minds to not actually remove all scripting languages anyway, but only some of them that in their minds doesn't fit in a desktop OS for some reason, which would be PHP and maybe something else, and then of course Python 2 that is more obvious to remove as it is end of life now, and seems to rather finally be on it's way to be replaced by Python 3 even in macOS. (You still get Python 2 when you run the python command without any version number in the command though, in Big Sur Beta 1)
  13. Thanks
    Alan He reacted to Andrew in Future macOS versions won't bundle any scripting language runtimes   
    I think the really good news with this is that Apple are recommending bundling, which, basically means scripting will continue to work on Mac... It could have gone the horrific route of deprecating macOS altogether and making iPadOS run on the Mac.
     
    This is a deprecation in 10.15, so default scripting languages should remain in the OS for the time being, which will give me time to contemplate the best approach for this for Alfred. Alfred may just download the runtimes needed.
     
    Cheers,
    Andrew
  14. Like
    Alan He reacted to tristan42 in default language setting of Alfred prefs   
    Hi there
    I just installed Alfred and I can't find a button or a switch that makes it possible to change the default settings of Alfreds preferences from English into German. 
    I'm not talking about the "Where are you" question. I don't want to get anything wrong. 
    Thanx in advance and cheers from Nuremberg
     
    Tom
     
  15. Thanks
    Alan He reacted to deanishe in Search my own site inline with Alfred 4   
    If you want to show the search results inline, then you either need to add a proper search API to your site that can return search results as machine-readable data, or you need to write an HTML parser than can parse the results page into machine-readable data.
     
    An HTML parser shouldn't be too difficult to write (as those things go) because the HTML contains schema.org tags.
  16. Like
    Alan He reacted to Luddite in Show list of running apps in Alfred?   
    I know this thread is a lifetime ago, but I just need to thank you for sharing that workflow. It still works great after all those years. I always have at least 6, sometimes more than 10 apps running, and my hands can longer handle that. 
  17. Like
    Alan He got a reaction from JimmyTheSaint in Adding AirDrop Support to Alfred   
    you can have a try.

    Now, it is only simplified, right click=》 share=》airdrop operation
     
    https://github.com/alanhg/alfred-workflows/blob/master/airdrop/Airdrop.alfredworkflow
  18. Thanks
    Alan He reacted to deanishe in Auto-layout (or better layout) of workflow nodes   
    Agree entirely regarding the difficulty of laying out a workflow.
     
    For me, the pain comes when I decided to add new elements between existing ones because this means I have to shift all the other elements up/down.
     
    As a result, I'd prefer option 1 — some form of auto layout. Ideally, it would retain the vertical order I have elements in and just ensure that they are appropriately spaced.
  19. Like
    Alan He reacted to vitor in Auto-layout (or better layout) of workflow nodes   
    I seem to remember this being briefly discussed but I’m not finding it on a preliminary search (not sure even if it was a full topic or a post), so here it is in greater detail.
     
    Laying out nodes in a workflow is for me a pain point in Alfred. Perhaps I’m the oddball, here, but I like to have everything extremely clear. Case in point, WatchList:


    In case you’re wondering, yes, every row has the exact same distance from the others. Again, maybe I’m taking this to an extreme, but when a workflow reaches that degree of complexity, organisation becomes imperative. It is that organisation that makes it easier to add a node later on, but it also makes it a bore if that node is added to one of the earlier options, since bringing everything has to be made with care.

    I also loathe when I see something like this:


    That is not an exaggeration, I’ve found workflows exactly like that — only two nodes, both with some distance from the top, and not even aligned with each other. I wouldn’t blame you if you questioned the quality of the code inside.

    Yes, some workflows are hard to keep to a grid in a good way, if for example multiple nodes link to multiple others (instead of a more one-to-one relation), but I feel something could be worked here, still. I’d like to have either:
    Auto-layout option: press something, and Alfred auto-arranges everything itself. This is a bit more complex — decisions would have to be opinionated, and could lead to more work (bug reports to things not being laid-out accurately) in the future. Snapping: currently, when Alfred makes a new node, it is always in a certain position relative to the preceding one. However, we drag them in small increments. What if we had an option (say ⇧+drag, or even using the arrow keys, since they currently do nothing) that would nudge nodes up an down on this predefined grid? Second option should be way easier to accomplish, and there’s little room for messing up. We’d still be arranging everything ourselves, but the most obsessive amongst us would have a way better time doing so, and perhaps even the less obsessed would join in.
  20. Like
    Alan He reacted to Tyler Eich in Colors—convert color formats & access the OS X color panel   
    Colors v2.0.0
     
    Get it from Packal (Recommended)
     
    Quick Summary:
    This workflow can process and convert all CSS color formats and several Objective-C formats, namely NSColor (calibrated and device) and UIColor. It also provides an interface to the OS X color panel for easier color manipulations.
     
    It's written in native code (i.e. it's really fast).
     
    Quick Preview:

    You can find a full description on Packal.
     
    Direct download • source code on Github
  21. Like
    Alan He got a reaction from JJJJ in Statistics how many workflow and display   
    I think show display how many workflow installed 
     
    Such as shown here  `10 installed `
     
     

  22. Like
    Alan He reacted to vitor in [SOLVED] Reset Usage Statistics   
    Welcome @alfredwayne,
     
    Delete the file ~/Library/Application Support/Alfred/usage.data (~ means your home directory).
  23. Like
    Alan He reacted to Tsunami in Alfred 4.1 Is Now in Pre-Release   
    Change the dropdown at the bottom to "pre-releases".
  24. Haha
    Alan He reacted to Carlos-Sz in Evernote Workflow 9 beta 4 (Alfred 4)   
    Alfred 4
    Read about this workflow below.
     
    This is an update to address the new Alfred 4 data folder (thanks to xilopaint).
    DOWNLOAD Evernote Workflow 9 beta 4 for Alfred 4
     
    Description
    Alfred 3 workflow to search and create notes in Evernote.

    Search

    Keywords
    ens to search in every note field ens @ to search in a selected notebook ens # to search notes with a selected tags You can use ent (search in titles only) or enr (search in reminders) or entodo (search to-do notes) or enrec (search notes updated within a week) or enu (search notes with a source URL) instead of ens.

    You can select multiple tags to fine tune your searching. Just add a second hash sign and select or type the tag e.g. ens #tag1 #tag2 :my query

    In addition, you can select a single notebook then tags too e.g. ent @notebook #tag1 #tag2 :my query

    Note that, if you want to select a notebook and/or tags, the query goes after the colon sign as seen above.

    Actions
    Return key to open the note Shift key to preview the note Option key to set a reminder Control key to paste the note text content to the top most application Function key to open the note URL Command key to append text (from clipboard, selected text or typed) or selected file(s) in Finder. After pressing the Command key a new Alfred window will be shown so you will be able to select the text source and the action: Return key will append without date Option key with append with current date Hint: You can also use the Command key to only add tags to a note. To do so, type or select a tag and don't type anything after the colon then select the source "Type a Note" e.g. enn #tag :

    Note that Alfred Fallback Search is also supported (you have to add it in Alfred 2 Preferences>Features>Default Results, then click Setup fallback results button).

    Create

    Keyword enn

    http://cl.ly/image/3t1e440l1c0Q/enn8.png

    You can optionally type the note title or, for a more complex creation, follow the syntax below:

    @Notebook #tag1 #tag2 !reminder :Title
    @notebook: after typing @ a list of notebooks will be displayed then select one or type it; the default will be used if omitted #tags: after typing # a list of tags will be displayed then select one or type a new one (multiple tags are supported, type each one after a hash sign) !reminder: after typing an exclamation point a list of reminder suggestions will be displayed then select one or type a custom reminder such as in 4 days or 05/01/2014 or 05/01/2014 at 2:00 Title: at the end, after a colon (or the second colon if you are adding time in your reminder) Note that items of the syntax are optional, however the syntax has to end with a colon, with or without typing the note title e.g. #tag1 :

    Note Content Source
    From clipboard From selected text Typed directly in Alfred From Safari or Google Chrome URL From message(s) selected in Mail app From file(s) selected in Finder app: you can create one note with files or one note for each selected files. Alfred File Browser also supported. Type a Note also supports multiple lines and, in this case, the first line will be the title of the note e.g. enn Line 1 /n Line 2 /n Line 3

    Actions
    Return key: create a note Control Key: create a note and open it Command key: append text or file to a note Option key: append text to a note with current date How to Append
    Highlight one of the note content source e.g. From Clipboard Optionally type tags and a reminder e.g. #tag1 #tag2 !tomorrow hold command key and hit return key select a note from the list (search by title only) and hit return key Mail
    Message subject as the note title Message received date as the note creation date Message Link as the note source URL A short header (e.g. sender) A plain text version of the email content  
    Note Templates
     
    Read about templates here.
     
    Preferences

    Bring Alfred and type the keyword enpref:
    Search wildcard: you can set the workflow to automatically use the Evernote search wildcard (*) or you can set the workflow to use only if it is typed (the Manual setting may by faster in a huge note collection).  
    Download Evernote 9 beta 3
    Release date: 99 Jun 2019 Made in OS X 10.13.5 Requires Evernote 7.2 from evernote.com Requires Alfred 3 Download now  
    Download Evernote 9 beta 2
    Release date: 09 Aug 2016 Made in OS X 10.11.5 Requires Evernote 6 from evernote.com Requires Alfred 3 Download now  
    For Alfred 2
     
    Version 8.992 Release date: 20 Feb 2015 Made in OS X 10.10.2 Requires Evernote 6.06 from evernote.com Requires Alfred 2.6 or later Download now  
    What's new?
    9 beta 3: minor code optimizations and updated workflow preferences (enpref keyword) 9 beta 2: bugs fixed and Evernote API updated 9 beta 1: Alfred 3 support 8.991: Evernote 6.06 initial support 8.9: Yosemite beta and note templates support 8.7: interface bugs fixed 8.6: enn issue fixed Improved reminder time support e.g. Tomorrow at 2:00 Added support for tags that start with a hash sign e.g. #Home Added support for tags that start with an at sign e.g. @Work Added support for notebooks that start with an at sign e.g. @Notes Workflow should be faster in most of cases When appending from a search result now you can hold Option key to include current date Type a Note supports multiple lines (first line will be the title) e.g. enn Line 1 /n Line 2 New Keyword enl and its hotkey to load the last search query Added support for some of Alfred 2.3 new features Workflow version history here.
  25. Thanks
    Alan He reacted to vitor in [SOLVED] How can you add a workflow to Alfred default search?   
    That you cannot do, as it would slow down Alfred’s default results without most users understanding why.
     
     
    You can simply change the keyword that is there.
×
×
  • Create New...