Jump to content

Felciano

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Felciano

  1. I just got bitten by this. I think it would be helpful to note in the (excellent) documentation, especially as this page sends you to RegExr which treats \ as an escape character in the replace string, vs the NSRegularExpression behavior. This stumped me for a while because I was able to get everything working correctly on RegExr, so a footnote or similar on the docs page would have prevented this. The workaround works well, as does the capture method listed above.

     

    Thanks,

     

    Ramon

  2. Hi folks --

     

    Is there an Alfred workflows action or idiom for parsing a string into multiple variables? I'm trying to get something like "2014-09-15 - Wells Fargo - Monthly Statement - Account 1234.pdf" and extract out "Wells Fargo", "Monthly Statement", and "Account 1234" into separate variables. I know how to write the regex for this using groups, but I'm not clear if there is a way to have those groups end up in workflow variables that can then be passed on to subsequent steps in the workflow. Any guidance/tips for me?

     

    Thanks in advance!

  3. Hi --

     

    I'm trying to learn how to use/create Alfred scripts myself, and would like to implement something like an auto-complete feature often found in search boxes. In particular, I'd like to prompt the user with a list of pre-defined options, but given them the option of typing in something new that isn't on the list. The List Filter appears to provide a mechanism to define a fixed list of items to pick from, but is truly restricted to only those inputs. Is there another widget type, or even an Alfred Workflows idiom, for handling the additional case of "My item is not on this list so I want to enter it by hand"?

     

    Thanks in advance,

     

    Ramon

  4. Hi --

     

    Thank you very much for making this workflow available. Is it possible to use the workflow to quickly repeatedly add items to the same Evernote note? In particular, I'm looking to be able to quickly add without always selecting the destination note, either by pre-configuring a particular note or with a "add to the same note I most recently added to" command.

     

    Any suggestions?

     

    Ramon

  5. Hi --

     

    I'm a long time Text Expander user that has fallen in love with Alfred, and am wondering if I can do everything I need with the latter. One thing I'm still struggling with is how to implement a system to enforce consistent filen aming conventions. Basically I need a system to help me stay disciplined about naming basic PDFs (home and business records) using a convention like

     

    YYYY-MM-DD - <vendor> - <account> - <purpose>
    

    So my bills would end up being something like

    2018-01-15 - ATT - XX5555 - confirmation of invoice payment.pdf

    I've done this in text expander by creating a snippet that launches a dialog that pre-computes some of the above (like the correctly formatted date) and then gives me drop-down menus to select the vendor, account and transaction type/purpose. An example of this strategy, with screenshots, is nicely written up here.

     

    A key benefit is that you can trigger it with a single snippet, and the finish it with 2-3 clicks. I originally tried creating individual snippets for each type of file (e.g. "ATTConfirmInv") but there were too many combinations of vendors and transaction types to remember. This model works well for us. So I'm looking for something that can apply to a breadth of different naming conventions but be triggered by a single keyword, plus some additional user data entry.

     

    As far as I can tell, Alfred doesn't have a framework for creating interactive UIs like this. Is there an alternate approach that anyone has worked through that could provide a similar result? I have not explored Alfred workflows yet, so if there is a path using that capability, I'd appreciate some pointers.

     

    Thanks in advance!

    Ramon

×
×
  • Create New...