Jump to content

amahabal

Member
  • Posts

    13
  • Joined

  • Last visited

Reputation Activity

  1. Like
    amahabal reacted to deanishe in How to package and share workflow?   
    Looks like quite a powerful workflow. Nice work.
     
     
    Put the source code (i.e. the contents of the workflow folder) in the GitHub repo and the exported workflow in GitHub releases.
     
    It can be a good idea to keep the workflow/source code in a subdirectory of the repo root. That way, you can symlink it to your workflows folder in Alfred without putting the .git directory in Dropbox/iCloud.
     
    Be sure to point out that the workflow is Catalina-only (other versions of macOS don't have Python 3).
  2. Like
    amahabal reacted to Acidham in Alfred Markdown Notes   
    Right format is:
     
    - [ ] my todo 
  3. Like
    amahabal reacted to deanishe in Do variables behave differently in NSAppleScript vs AppleScript   
    Run NSAppleScript executes your code in Alfred's own process, on its main thread, so it shares Alfred's own environment. Run Script executes your code in a separate subprocess, so Alfred can manipulate the environment it runs in (i.e. adding workflow variables to the environment).
     
    Basically, just don't use Run NSAppleScript. Because it runs on Alfred's main thread, it blocks Alfred while the code is running (Run Script doesn't). And it behaves weirdly, too.
×
×
  • Create New...