Jump to content

xilopaint

Member
  • Posts

    896
  • Joined

  • Last visited

  • Days Won

    24

Posts posted by xilopaint

  1. 39 minutes ago, vitor said:

     

    But that only tells your how to interact with a particular app (and often poorly), not how to use the language itself.

     

    But deanishe talked about "the actual API for talking to applications".

  2. 25 minutes ago, deanishe said:

    JavaScript is a much more pleasant language to use than AppleScript (what isn't?), but the actual API for talking to applications is even more demented (it is at least "native" in AppleScript, not a nasty hack),  almost never documented (you spend a lot of time trying to guess what methods and attributes are called), and often simply doesn't work with a given application.

     

    What do you mean with "almost never documented"? I thought JXA had a dictionary similarly to AppleScript.

  3. I am thinking about to learn JXA so rewriting my Things workflow, originally written in AppleScript, feels a good opportunity.

     

    How do you guys see JXA in comparison to AS? Should I expect some gain in performance?

     

    Is there any workflow library for JXA? Maybe rewriting my workflow would not worth the effort if there isn't any workflow library for Alfred feedback generation in XML or JSON.

  4. On 7/16/2017 at 11:24 AM, deanishe said:

    Big update for version 3.

     

    • Option to exclude units when copying
    • Add per-dimensionality defaults
    • Option to specify thousands separator
    • Option to specify custom decimal separator
    • Add cryptocurrencies
    • Update Alfred-Workflow
    • Update Pint

     

    Deanishe, sorry for hijacking the thread for a simple question. But what versioning criteria do you use to release a new major version?

     

    I have read about SemVer that a new major version should come out when "any backwards incompatible changes are introduced to the public API". What can this mean in terms of an Alfred Workflow? Would it be the case of a new version for Alfred 3 that becomes incompatible with Alfred 2? Can I release a new major version just because of significant new features?

  5. 1 hour ago, edbro said:

    Is there a way for individual users to modify this for the apps they choose?

     

    I tried unzipping the workflow, editing shortcuts.py and rezipping into cheatsheet.workflow but when I went to install it said "document could not be opened".

     

    Right-click on the workflow in Alfred Preferences and choose Open in Finder so you can edit its files.

  6. Does the API enable us to mark events as "going" or "interested"? If so you could build the workflow to list all events that we are invited and we could conveniently use Alfred modifier keys to confirm, decline or show our interest on them. Otherwise the default use case would be better (I'm considering that replying to an event includes mark them as "going" or "interested", is this right?).

×
×
  • Create New...