Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Acidham

  1. hmm, any idea on what I did wrong or why I am receiving instantly this error?
  2. Is golang required to run the workflow? I tried it but I get no results but [ERROR: input.scriptfilter] Code 11: Exited with error code but no message
  3. Suggestion: The SECRET is stored in plain text file what about to get SECRET from Keychain? I am not experienced in Python but google tells me that there are methods which read and write to keychain.
  4. @hpoul good question! E.g. when using clipart with Power Point, SVG is not supported. Why not implementing further steps if required to convert svg to png and enter size or presets?
  5. Is there a way to change output to PNG instead of SVG?
  6. Thx a lot for your help. I need some practice now
  7. I am not able to get the "icon": {"type":"fileicon", {"path":"icon.png"}} piece into the dict. I tried set theItems to {} set end of theItems to json's createDictWith({{"title", "foo"}, {"uid", 1}}) set end of theItems to json's createDictWith({{"title", "bar"}, {"uid", 2}}) set theFileIcon to json's createDictWith({{"type", "fileicon"}, {"path", "icon.png"}}) set end of theItems to json's createDictWith("icon", theFileIcon)$
  8. Thx for the example, that works. I will try to get used of using JSON instead of XML even it seems to be bit complicated
  9. Thx for the link and I tried it but I am not able to get a basic JSON with {"items": [ {"title":"foo",{"uid":1} {"title":"bar",{"uid":2} ]} together with the applescript
  10. For usability reason I suggest better solution for Script Filter Output. Maybe it is all great from a developer perspective but for non developers and script kiddis like me it becomes really hard to deal with Script Filters. For me Alfred is an efficient tool to write quick and short scripts which helps me on my daily business. Lets hope to get better support for producing output from script filters in the future.
  11. Thats why I am using Applescript with Alfred. What about when Alfred would provide an Applescript function to create JSON Output? Applescript is most efficient when you need to talk to other Apps. I was fine with XML but bad that it will disappear.
  12. Seems that I have to switch to JavaScript instead. Working with JSON in AppleSript is a pain.
  13. In the past I used XML format for generating output of Script Filter in Applescript. It seems that XML will be depreciated soon and the format for going forward will be JSON output. With Applescript the JSON format is quite cumbersome because when I am using repeat loop to generate icons the comma in between the items cannot be set properly. e.g. {"items": [ {<menu item 1>}, {<menu item 2>} ] } After menu item 1 i need a comma. with xml it was not a problem because i was able to loop and create new items without a comma. Are there any best practices to use the Script JSON format with applescript and especially within repeat loops?
  14. Updated to v 1.1 Some minor improvements with special characters in the title and better search results.
  15. Why not using Evernote as Bookmark Manager? I am constantly saving URLs as bookmarks with the Evernote web clipper but finding it and open it was a bit challenging. Therefore I decided to implement a Alfred WF for searching Evernote notes based on a given tag and search term: Usage: enb <query> - Shift for quicklook url - CMD to copy to clipboard http://www.packal.org/workflow/evernote-bookmarks
  16. I am not using FL3 but get selection only works in Finder. You have to use Alfred for collecting images and use file action command. Does FL3 support any scripts or action command from AppleScript or Bash? If yes I could take a look on how to enhance my WF.
  17. Ok just updated to 1.2, please install new version from packal.org Note: There are two ways on how to trigger Resize Image: 1. Select one or more files in Finder, open Alfred and type rimage plus target width 2. Search png or jpg via Alfred and use File Action Resize Image
  18. did you trigger rimage with Finder selection or from Alfred ?
  19. Thx Vitor! I was playing with Transform Utility but I always tried newline ٩(͡๏̯͡๏)۶ With Trim Whitespace it works.
  20. I was able to fix a bug where last file in the list was not processed due to a newline added by Alfred. In addition I added a file action which allows to choose files within Alfred and process with Resize Images. Version 1.1 is available on packal.org. @ixium please test the new version an let me know if your issue is fixed.
  21. I am not sure if I miss something but when I set a variable after an applescript returns a value the var always contains a newline (\n). I created a test workflow which shows the newline issue: https://db.tt/XmeYCGT5oL Any idea why Alfred adds the \n to the end of the value?
  22. Can you tell me but more when it fails? - How many items in batch? - any specific Filename pattern when it breaks ? - any specific image format? can you provide me with a zip containing batch items?
  23. Great Idea!! Some room for a lot of improvements manageable in Alfred (without touching bitbar) Change font size and add font in bitbar script Change refresh time Ability to add more than one entry Cycle thru more than one entry in bitbar Action to delete and add new items in alfred
  • Create New...