Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted

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

Posted
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

Posted
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. :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...