BrianGilbert_ Posted January 26, 2013 Share Posted January 26, 2013 example: Is it possible for helper variables for [volatile] and [non-volatile] to be added to Alfred that get expanded to the path of the relevant directory including the bundleID before the scripts are run? So if I used it in the Drupal workflow that I'm building they would be expanded to the following before any scripts containing them were run.. [volatile] = '/Users/brian/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.realityloop.alfreddrupalworkflow' [non-volatile] = /Users/brian/Library/Application Support/Alfred 2/Workflow Data/com.realityloop.alfreddrupalworkflow mklement0 1 Link to comment Share on other sites More sharing options...
CarlosNZ Posted January 26, 2013 Share Posted January 26, 2013 Surely for your own workflows, you'd just hard-code these values? They're never going to change for a specific workflow. Or am I missing what you're asking? Link to comment Share on other sites More sharing options...
jdfwarrior Posted January 27, 2013 Share Posted January 27, 2013 Brian, See my other post on the Workflow Best Practices. I posted a workflow utility class that will generate all that data automatically. I believe you said you wanted to use PHP. If not, this can still be generated easily Link to comment Share on other sites More sharing options...
BrianGilbert_ Posted January 27, 2013 Author Share Posted January 27, 2013 Brian,See my other post on the Workflow Best Practices. I posted a workflow utility class that will generate all that data automatically. I believe you said you wanted to use PHP. If not, this can still be generated easily Cheers David Link to comment Share on other sites More sharing options...
BrianGilbert_ Posted January 27, 2013 Author Share Posted January 27, 2013 Surely for your own workflows, you'd just hard-code these values? They're never going to change for a specific workflow. Or am I missing what you're asking? The idea was to make it easier for all developers.. I wasn't thinking about myself. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now