Jump to content

cortig

Member
  • Posts

    60
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by cortig

  1. Working beautifully for me now. Thanks a million for all the hard work. Corentin
  2. I have 4 user accounts on this Mac (with completely different names). The workflow lists them all, telling me they are all logged-in. who lists 2 (which reflects the reality). In addition, instead of displaying something like "Switch to Bob", as on your capture, it says "Switch to RealName: Bob". Corentin
  3. Well I checked with who on my Mac and everything there is right, plus the other usernames appearing as logged-in are not subsets of the other ones. I posted a capture (removing the usernames) here. On the capture, only the first user is logged in. This part of the script is not excluding entries that get 0 through who: # check if the user is logged in, if so then add (logged in) to the name if [[ $(who | grep -c "$USERNAME ") -gt 0 ]] then LOGINSTATUS=" (Logged In)" fi It also looks like the syntax of the entries doesn't match the one on your first capture (e.g.: $RealName is not parsed as my real name): # fuzzymatch with real name and username if [[ " $REALNAME" == *\ $QUERY* || $USERNAME == $QUERY* ]] then # if match is found display the user echo "<item uid=\"fastuserswitch $USERNAME\" arg=\"$USERNAME\">" echo "<title>$REALNAME$LOGINSTATUS</title><subtitle>Switch to $REALNAME</subtitle>" echo "<icon>$PICTURE</icon></item>" fi Corentin
  4. This one works great. It only lists real users. On 10.7 it looks as intended, but for some reason, on 10.8 it lists all users and adds “(Logged in)” at the end (even though that's not the case — they're not logged in). e.g.: RealName: Bob (Logged In) Not super critical, but I thought it was worth mentioning, Corentin
  5. Nice workflows!! I'm having problems with the Switch User workflow though. I see it's looking for users in group 20 (staff) and therefore lists a number of active services (eg: Notification center, Calendar server, etc) if you're running Mac OS X Server. It might be a good isea to exclude all com.apple.* “users” from the list Corentin
  6. Than maybe my question should be turned into a feature reques ;-) (seriously though. a workflow repository with auto-updates would be great!!) Corentin
  7. I see… I didn't understand that it was basically working as a Save button. I guess it was wishful thinking on my side :-> Corentin
  8. Hi All, I see that the Info panel on workflows how has an Update button. How does that work?? Anything we can do to lonk to new versions or will this be something pointing to a future repository on alfredapp.com itself? Corentin
  9. I got the OK from Jono Hunt :-) I replaced the copy on my server with an updated version with his icons (same link). Corentin
  10. The Web site has a clear "All rights reserved" on the bottom of the page and a reference to "released on request" on the download page. I'll try to contact the author though, but I'm trying to do the right thing and not use things I'm not allowed to, even for non-profit, etc. Corentin
  11. I love Jono Hunt's icons too, but I couldn't see anywhere that they were free of right. I therefore used the OpenMeta icons you linked to instead. Thanks a million for providing that link. I replaced the version on my server with the one with updated graphics on the same link. Corentin
  12. In addition, I don't think there is even enough space in the Alfred UI to display everything you'd need for each result (list of authors, title, journal, volume, year, pages, etc). Corentin
  13. It's not just an alteration… It's a whole project onto itself. You'd need to parse the results from the HTML result page while maintaining the links to the corresponding articles, and the selecting one of the results would open up the corresponding new page in your web browser anyway. In addition, I see a lot of disadvantages: You can't narrow down the search by adding terms You can't see more than a few results You can't perform any action for the search (like generating an RSS stream for the saved search) …and after all that, you still have to open the web page. It sounds like a lot of work for close to no gain Corentin
  14. Well, I just created a workflow for JSTOR: http://www.alfredforum.com/topic/501-jstor-searches/ The workflow uses modifier keys to restric the searches to different subgroups. Corentin
  15. Hi All, I jsut created a simple workflow to performs searches on the JSTOR academic digital library search engine. http://www.jstor.org The Workflow offers 3 modifier keys to refine the searches: Ctrl: for searches restricted to Journals Alt/Option: for searches restricted to Books Cmd: for searches restricted to Pamphlets The workflow is available here (zipped archive) Corentin
  16. The search link is easy: http://www.jstor.org/action/doBasicSearch?Query={query} (obviously {query} is the query term). You can create an easy custom search for it as “hankydysplasia” mentioned, but if you want, I can create a workflow for you that will do the same thing. You could even take the PubMed workflow and edit the link and keyword in there to search JSTOR instead. Corentin
  17. I found a new issue… I performed a search on my own name and noticed that there is a problem with accent encoding in the results. The From field displayed “Corentin Cras-Me\U0301neur” for my name. It failed to parse e\U0301 as é. Corentin
  18. On that note, I thought about a custom search, but I'm not sure how you can share a custom search… Sharing and installing a workflow is easy and I suspected some users might either not figure out the syntax for the custom search for PubMed (I know it's easy with the current PubMed syntax, but some users are *not* all that tech savy). Corentin
  19. I see. Thanks a million for the clarification. It makes a lot of sense! Corentin
  20. Very nice! I clearly didn't think about MESH terms. Corentin
  21. Hi All, Again, a very simple Workflow to search for MailTags keywords and project names in Mail. Nothing fancy to it, but I thought it’d make it easier for users intimidated by workflows, or people who wouldn’t know how to find the Spotlight keywords to use for these things. The workflow is here. Corentin
  22. Hi All, I just created a simple workflow for performing searches on PubMed (biomedical literature searches). It’s right here (zipped archive). Corentin ==-==-== Update (Feb 1st): I updated the version on the same link with the modification “hankydysplasia” submitted belowe just in case people don't read down the thread and miss his link. Now includes an option for searching for MESH terms witht he Alt key down (and a nicer-looking icon).
  23. Hi All, I created three simple workflows to search for either Messages, Contacts or Events in Outlook for Mac. The workflows are for Outlook 2011. They assume your identity is named Main Identity (I purposefully wanted to avoid searching backed-up identities, but the search scope can easily be edited). The workflows are available here. (zipped archive) Corentin
  24. Hi All, I created a quick and easy workflow for searching for OpenMeta tags in Alfred 2. I used the icon from CASEapps Tags for the workflow. I’m not sure whether or not this is OK, but I thought I could still share the workflow here while we’re in beta and worry about icons at a later point (obviously, I’m not an icon designer myself and I couldn’t find a generic icon for the OpenMeta project). Here it is (zipped archive). Corentin
×
×
  • Create New...