Jump to content

woofy31

Member
  • Posts

    30
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by woofy31

  1. Hey David, Just like I've promised, I already finished a fully working Applescript version of your Workflow class (slightly enhanced here and there). You can get it here: https://github.com/qlassiqa/qWorkflow (it contains heavily commented code, and I also made a very detailed documentation on all methods with examples). As you will see I had to change the name of the methods to avoid language conflicts. Also, right now it has no JSON support since Applescript doesn't know what that is, but I'm already planning a JSON parser for Applescript P.S. I've also included an example AlfredWorkflow that uses my AS Workflow to show iTunes rating for the current song and also give options to rate it differently (make sure you look at the screenshot, it's funny )
  2. Of course I'll do that. Thanks for the support!
  3. Awesome, thanks so much man! P.S. the only problem I see so far with the library is that AS doesn't have json support, and using third-party libraries is out of the question for multiple reasons.. so I will probably improvise and see what other format I can use for reading/writing cache files and such things..
  4. Hey, I just wanted to ask you if it's OK if I write the equivalent Workflow library using AppleScript with the help of your code.. of course I will include in my source code the link to the original source, and the library will be shared for free on github. I'm just trying to help out all my fellow AppleScript gurus Please let me know if it's fine
  5. That's it! You just answered all my questions! P.S. if you're familiar with Alfred's Workflows class written in PHP by David Ferguson, I'm already starting to write the equivalent AppleScript script object class to make it easier for AS lovers to generate feedback much easier and write/read settings more easily and with less code (and I love that I can mimic object-orientation with AS to achieve this!); when it'll be ready, I'll put it on github and share it with all my fellow AppleScript comrades
  6. Hey guys, I've seen a lot of people using python or php for their script filters. However, I am an Applescript programmer and don't know how to use script filters using Applescript I know, I obviously select the "usr/bin/osascript" from the language combo and type the code there, but is it even possible to generate feedback from an applescript? I have even tried making a simple script filter (e.g., set the clipboard to "{query}"), but it seems that the argument is not passed to the script in cause since the clipboard doesn't change (yes, escaping is set to double quotes and arguments are on).. What am I doing wrong? or are Applescript filters not properly supported yet?
×
×
  • Create New...