Jump to content

obstschale

Member
  • Posts

    18
  • Joined

  • Last visited

Reputation Activity

  1. Like
    obstschale got a reaction from bbezanson in NSC - Number System Converter   
    NSC
     
    Workflow to convert numbers into other based systems.
     
    As a computer scientist student I deal everyday with binary, octal, hex and decimal numbers. Therefore I built this workflow with PHP for Alfred 1 and now I rebuilt it with Python for Alfred 2.
     
    Usage:
     
    5 different keywords are used:
    decimal binary octal hex convert The first 4 act similar. You type the keyword (base of your number) and the number you want to convert. Alfred will show you the same number in the other 3 systems. You can select one of them and copied to your clipboard.
     
     

     
     
    To convert from or into another system beside these four, you use the keyword convert. Then you type your number, the base of your number and the base of the destination. NSC will display the decimal notation and the new number.
     
    To simplify this use the simple frase: "convert number 42 from with base 6 into base 4"


     
     
    Changelog
     
    can be found on GitHub: Changelog
     
    Download

    latest build: NSC Alfred Extension
    Requires: non
    Supports Alleyoop 2
     
    Download | GitHub | README
     
    _mk_ made a bash version of NSC. It can be found at GitHub.
  2. Like
    obstschale got a reaction from alexburtnik in NSC - Number System Converter   
    Hi alexburtnik,
     
    which version did you download? I see this post links v2.01 but on GitHub I already pushed v2.2. So please try this link https://github.com/obstschale/NSC/raw/alfredextension/nsc-v2.2.alfredworkflow
     
    I will update my post above. If it is still not working let me know.
  3. Like
    obstschale got a reaction from Tyler Eich in For what do I need workflow data?   
    Thx Tyler,
     
    this is a great description and I think I finally got it
  4. Like
    obstschale reacted to Tyler Eich in For what do I need workflow data?   
    The cache should be used for data that will not be needed very long. For example, in my Colors workflow, I use the cache to store the color preview images generated by my script; the files are for that moment, only saved for quick access, deletable, unnecessary, and can be made again.The data folder is for information that will be needed again and again. For example, user credentials (like the AppID in my Wolfram|Alpha workflow, passwords, usernames, etc.). They are necessary for functionality, and if deleted, need to be replaced manually.
    The workflow's actual path folder holds scripts, non-changing icons, and other core components of the workflow. These will be deleted and replaced if the workflow is updated, thus updating the components.
    Bundleid is used to identify your workflow. It is used as the name for your workflow's cache folder and data folder; workflows without bundleids cannot be safely updated.
    Hope this makes sense
  5. Like
    obstschale reacted to bevesce in Find and paste unicode symbols - arrow, triangles, greek and more   
    Find and paste unicode symbols. I included a lot of them, like really a lot, over 20k I think, but for me workflow works pretty fast.
     
    Symbol can be pasted as symbol (mh...), in html encoding, as python string and as unicode code point.
     
    Download:
    https://github.com/bevesce/unicode-symbols-search/raw/master/Symbols.alfredworkflow
     
    Source:
    https://github.com/bevesce/unicode-symbols-search
  6. Like
    obstschale reacted to jason0x43 in Unit converter (no longer maintained)   
    Note: This workflow is no longer maintained.
     
    This is a really simple workflow that performs unit conversions. Conversion commands look like:
     
        u {value} {in units} > {out units}
     
    You can include a space after the u keyword, but it's not required. Units can generally be abbreviated or not, as long as the input is unambiguous. Here are some valid commands:
    u 5km > miles u 5km > mi u5km>mi You can also do unit math (again, spaces are generally optional):
    u 1cm * 1in u 1in^2 / 2mm^2 u1cm+2.5in-3mm>ft Just remember that units matter. You won't get any output if you try to do something like 1cm * 1in > in, because multiplying two lengths gives an area (like in^2).
     
    The calculator is called as you type, so it'll give you an answer whenever you type a query it can process. Actioning the result will copy the value (just the number) to the clipboard. That's it!
     
    Well, there are also a couple options you can configure. You can open the configuration file with the command u>. The options are:
    "separator" - what separator to use between the input value and output units "precision" - how many decimal digits to include in the output (set to null for unlimited)  
    More info and source is available here.
     
     
    Download
     
     
    Update 2014/05/22:
     
    You can now use a space between a number and its units (e.g., "5 km" in addition to "5km").
     
    Update 2014/02/06:
     
    Unit math is back!
     
    Update 2013/12/07:
     
    Add output precision option (see above)
     
    Update 2013/12/01 (again):
     
    Bug fix
     
    Update 2013/12/01:
     
    Added support for using "space" as the unit separator, so you can do queries like "1mile km".
     
    Update 2013/11/30:
     
    Added Euros to the currency list. I also added a couple extra commands, accessible with the 'u>' command,
     
    Update 2013/11/29:
     
    Currency conversion is back.
     
    Update 2013/11/25:
     
    At last, I pushed out an update that should have this back up and running. It's using a local library now, so it's faster and not subject to the whims of Google. Sorry it took so long.
     
    Update 2013/11/5:
     
    Google shutdown the API this workflow was using on November 1, so it's broken until I switch it to something else. Sorry about that. I'll have it back up and running in a day or two.
     
    Update 2013/10/11:
     
    Bugfix
     
    Update 2013/8/14:
     
    It should now work with Snow Leopard (Python 2.6).
     
    Update 2013/8/13:
     
    Now with Alleyoop support!
  7. Like
    obstschale 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.
  8. Like
    obstschale got a reaction from _mk_ in NSC - Number System Converter   
    NSC
     
    Workflow to convert numbers into other based systems.
     
    As a computer scientist student I deal everyday with binary, octal, hex and decimal numbers. Therefore I built this workflow with PHP for Alfred 1 and now I rebuilt it with Python for Alfred 2.
     
    Usage:
     
    5 different keywords are used:
    decimal binary octal hex convert The first 4 act similar. You type the keyword (base of your number) and the number you want to convert. Alfred will show you the same number in the other 3 systems. You can select one of them and copied to your clipboard.
     
     

     
     
    To convert from or into another system beside these four, you use the keyword convert. Then you type your number, the base of your number and the base of the destination. NSC will display the decimal notation and the new number.
     
    To simplify this use the simple frase: "convert number 42 from with base 6 into base 4"


     
     
    Changelog
     
    can be found on GitHub: Changelog
     
    Download

    latest build: NSC Alfred Extension
    Requires: non
    Supports Alleyoop 2
     
    Download | GitHub | README
     
    _mk_ made a bash version of NSC. It can be found at GitHub.
  9. Like
    obstschale reacted to jdfwarrior in [HOW TO] Script Filters: Reusing a single script filter or chaining multiple together   
    This tutorial is aimed at Alfred 2. Alfred 3 allows you to connect one Script Filter to another, so these workarounds are not necessary. (They might still be interesting, however.) [added 2017-03-20 by deanishe]
     
    Provided below is a workflow that provides a demonstration of how to reuse a single script filter or, how to chain multiple script filters together so that you can create the illusion of having multiple steps or allow you to further refine results from the first script filter, using the second.
     

     
    Demo 1
    This demo shows how you can use AppleScript to call the next step (another script filter) after the first script filter has completed. This could be used to send the value of the first script filter into the second, or, you could just save the values to file and then read them all back in when you are done. This example will save the value to file.
     
    Demo 2
    This demo shows how you can reuse a single script filter using autocompletion to separate multiple inputs with a delimiter. When the filter completes, you could then use that delimiter to split the string into its multiple parts. This works really well if your input data is numeric or short strings.
     
    Demo 3
    This demo shows how you can reuse a single script filter, with AppleScript to provide multiple inputs/steps to the end user.The data entered by the user is saved to file in each step, then read in and appended together at the end. You could separate the final output with a delimiter and pass it on to something else if you wanted.
     
    There are many ways that this could be customized to your liking. Change the delimiters, how values are passed, etc. This thread is merely meant to provide examples of how this could be accomplished for those interested.
     
    Download the demo workflow here.
×
×
  • Create New...