Jump to content

jdfwarrior

Member
  • Posts

    2,028
  • Joined

  • Last visited

  • Days Won

    55

Everything posted by jdfwarrior

  1. Try two things and let me know the outcome please. 1. Pop up Alfred and type Reload and press enter to reload the Application Cache. 2. If the above doesn't work, even though Spotlight finds them, try reindexing. Let me know if this clears up your issue.
  2. As a temporary solution, instead of using the Open URL action, why not just use the Run Script action and do: open "http://aws-portal.my...re-prod/{query}"
  3. Sorry man I must have missed this question in the past. It may be possible. It would depend on how messages are stored with Postbox. It seems like I checked into this before and it wasn't easily possible. I'll take a look again though.
  4. Correct, the same thing could be done with a filter but you cant format the way it is shown. I made an extension for Alfred v1 that did this very same thing with a filter. It would show the subject of the email as the title but would only show the file path as the subtext. By using a script filter I can make it show other useful information. I can make the subtext show who the email is from and other data as well.
  5. Ah yeah I see what you mean. What's doing is reading the entire input as one string and querying that so... say your searching for 'alfred app', it searches for that exactly and not alfred, and app individually. So what I need to do is go back and when I read the input, split it based on a space, and then alter the query to search for: name like "%arg1%" or name like "%arg2%" and so on... Thanks for pointing that out. I'll get it worked in.
  6. You are correct in that Applescript isn't available as a default available language in the script filters, however, since bash is an available option, you could easily run scripts through that using osascript and passing the {query} value into the script as a parameter.
  7. This feature has already been suggested here: http://www.alfredforum.com/topic/273-copy-paste-workflow-parts/. It in the works, but isn't completed.
  8. The method Carlos suggested doesn't work either. I actually looked into this for a bit last night. The method he's suggesting is typically executed using pmset. Using pmset, you can set the timeout before the display sleeps. The down side of this is, the value passed is integer minutes. Setting it to zero as Carlos suggested disables the feature. The lowest possible value is 1 (minute). I looked into Applescript methods for doing this. You can't simulate a keystroke for the Eject key, so that doesn't work. Once again, I would simply recommend Sleep Display (linked above). Just because something hasn't been updated in a while doesn't mean that it's going to stop working sometime really soon. Also, it's not as if OS X is updated weekly.
  9. Yeah guys, I need to update several of mine. With the additions Andrew has been making and then me constantly changing my extensions_utils class to include more stuff and make it work better, I have lots to do. Currently, the search does search the description, extended text, url, and tags. It performs a search looking for results where the title, description, extended, or tags match the search query. It sounds like what you're asking for though is for it to be more of a nested search? Kinda like, if you type one word it find matches, then if a second word is added, it performs a search on the currently returned items? Is that correct?
  10. It's been discussed, adding some kind of debugging ability into Alfred but a decision hasn't been made. Dave, have you tried checking Console.app to see if there is any kind of error output from there? Also, if you would like, I can look at the code for you as well and see if I can help you figure out the issue
  11. I can understand your wanting it but I don't understand the, being focused on the file or the action explanation. What you're asking for could still essentially be done using the File Navigation feature. Pop up Alfred, type ~/Desktop/etc.. and it allows you to complete the file path and names and such and then just use an "Upload" action, same as Jonas suggested
  12. Why not just specify path to the executable? Also, are you sure that PATH isn't available? I can easily get values for HOME and other variables from bash scripts.
  13. This has been requested already by multiple people. As mentioned in the other threads, this isn't currently available because of the ability to customize script filters to have any kind of output. Current result actions are available because the result types are known. They are a file, or a contact, etc. With script filters, it could be any kind of generic text. Maybe something like this could be added in the future but it would probably require the additional ability to create custom result actions for a workflow. So, long story short, it can't be done right now.
  14. Will be fixed. I've already been cleaning it up and making it work a little better. Will be released soon.
  15. +5 awesome points for the description alone
  16. I'm sure Andrew knows how much we'd like these little things
  17. Why not just surround {query} with double quotes and the escape double quotes as well. That way you can pass single without an issue.
  18. You could always set the value of {query} to two variables first and then only work with the second variable that way you can preserve the original value in the first variable throughout execution.
  19. As a stop-gap, you could download this app: http://www.macupdate.com/app/mac/26234/sleep-display And just create a workflow or hotkey to trigger it.
  20. 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
  21. This function currently isn't available in Alfred. The reason for this is, with the default results and other items that you have the ability to action in Alfred, results are available for a known type of data (e.g. a file, a folder, a contact). With script filters, there could be any kind of text that is passed as the argument so the default actions may not apply to the type of data that is passed as the argument of your script. So, the only way that this would work would be for there to be a mechanism in place for your to create custom actions for a workflow and that isn't available.
  22. Brian, I've posted an initial PHP library on Github that provides a lot of helper functions to get you going when creating a PHP based workflow. When the class object is created, it automatically reads the bundle ID of the workflow, and then provides functions for easily grabbing: users home path, path to workflow, path to workflow data, path to workflow cache data and provides many other functions as well. It's just an initial push. I hope to get a lot more done and make this a REALLY helpful utility for all. Find it here: https://github.com/jdfwarrior/Workflows
  23. Really and truly you guys SHOULD set a minimum string length before performing a search. In other words, don't execute a web based search after 1 character. I typically don't execute a search until at least a 3rd character is typed.
  24. I'm going to try and post my PHP one tonight on Github. You can look through it if you want but this is what I'll have in mine. 1. Functions to return useful data (path to users home folder, path to workflow folder, path to workflow data folder, path to workflow cache folder, return bundle id) 2. Shortcut functions for simplifying requesting remote data 3. Function to read/write plists 4. Functions to read/write data to other files (as a string, array, or json object) 5. Functions to interact with sqlite databases 6. Functions to easily create result items for feedback 7. Functions to create feedback xml from an associative array or json object.
  25. I just checked this code on an random iMac in the Apple Store to make sure it wasn't something special I had done to get it work.. <?php $var = exec('printf $HOME'); echo $var; That DEFINITELY works. In your example if you put the printf $HOME portion in double quotes that will mess things up btw. By doing that, it will look at $HOME as a php variable instead of system variable. Take the code above and copy and paste it into a new php file and then run: php -f <file>.php That will run the file from the command line. That should 100% work.
×
×
  • Create New...