Jump to content

p1r2c1

Member
  • Posts

    5
  • Joined

  • Last visited

p1r2c1's Achievements

Helping Hand

Helping Hand (3/5)

1

Reputation

  1. This is a great workflow for a great app. I discovered SideNotes a few days ago and it's exactly what I was looking for. Brilliant AppleScript implementation, too!
  2. Ah! Line endings. Those tricky little invisible gremlins. Again, this is something I should have figured out. Thanks @deanishe. For anyone having this same problem, I found this helpful: http://www.apeth.com/sd5help/indexfolder/referencfolder/faqfolder/lineendings.html
  3. I may be too hard on myself! In any case, I have run into another problem: It also gives me "error 2" sometimes. The workflow in question is generated from an AppleScript that gets a selected number of Keyboard Maestro macros and adds them to a JSON script filter. The JSON seems to be valid (JSON Editor opens it without a problem, and it is more fussy than Alfred). I've tried `chmod +x`, launched from the AppleScript and from Terminal. Also, the script won't run from the Alfred script box this time (the window appears but nothing drops down). I've put the script side by side with others that are still working for me and I can't see any meaningful difference. https://www.dropbox.com/s/zz55r42jvyejwv6/__Script Filter test.alfredworkflow?dl=0 FWIW, tried this on both Catalina and Monterey. There's probably something very simple that I'm missing again. Trying not to be too hard on myself!
  4. A fantastic reply, thank you very much. This is clearly something I should know but I would never have known where to look to find it out. I just meant 'when run on the basis of an external script' rather than one contained in Alfred. Perhaps a confusing way of putting it.
  5. I am trying to create a (very) simple JSON script filter that is run as an external script (so that it can be updated by another app). It works perfectly as an internal bash script but not externally. The non-functioning workflow: [removed as no longer needed] The error message: Alfred 4.5.1 [1256] MacOS 10.15.7 I am guessing that the bash shebang (as has been discussed here) is incomplete, or I'm making some other mistake. I'm just not clear on what Alfred is doing with the script when run internally that it isn't doing when run externally (a newb issue, I'm sure). Any help would be greatly appreciated.
×
×
  • Create New...