Jump to content

jdfwarrior

Member
  • Posts

    2,028
  • Joined

  • Last visited

  • Days Won

    55

Posts posted by jdfwarrior

  1. Hi all, interesting behavior I'm seeing with a workflow I made. The workflow (linked below) waits for 'w directory' then opens that directory in terminal and runs a command to open Sublime Text on the directory. It works great but when I have that original terminal window open, any time I then open new window (in tab or new window), the command is repeated. When I close the original window, the command no longer happens when opening a new window.

     

    Seems odd, any ideas? Thanks!

     

    https://dl.dropboxusercontent.com/u/1662270/Workon.alfredworkflow

     

    Unless there is some reason that you want to use terminal, this could be done much more efficiently. Looking at the workflow you created... try this instead.

     

    Create a new workflow (or just remove the elements you have in the current one) and instead of a keyword, add a File Filter. Set your scope in the file filter to ~/workspace. For the file types, drag any old folder on top of that to set the content type to folders. After the file filter, add an Action->Open File. When you double click it to set the properties, drop the Sublime Text application in that box. Connect the two, and save. Now.. with the keyword you set for the file filter, you don't have to know the folder name. You type the keyword and it will show you the folders in the path and you can type to filter them. Upon selecting one, it opens in Sublime Text.

  2. Upon searching and locating a file (say an image file) I right arrow to action on the item, then choose to 'email to' the file, then search and select a contact to send the file to.  All goes fine until email app fires up.  Background:  I have Thunderbird as my default email app - which works just fine with Alfred when I go directly to search and select a contact to launch email.  However, when I use the 'email to' to send a file, my Apple Mail app launches.  ...not what I want.  Any way to solve this?

     

    Thunderbird isn't one of Alfred's supported email clients. By default, Alfred supports Mail.app, Mailplane, Postbox, Postbox Express, Sparrow, Airmail and some versions of Outlook. These applications all support either a) AppleScript or B) custom urls that provide an api for attaching files. I'm not aware of any such support from Thunderbird. If it does, as a temporary solution, I could help build an email plugin for Thunderbird that would get you the functionality you need. I did do a quick search though and didn't see any mention of such support being available. I think it's just going to be a limitation of using Thunderbird.

  3. I have a Powerpack license and I have a workflow with a fuel filter that matches on "kMDItemDisplayName" and this searches on the Bookmark title.  I want to also search on the URL but see no Metadata field that works and was trying to find out what the custom field would be.  

     

    kMDItemURL should get you what you need.

     

    As mentioned, in the Advanced tab of a file filter, click the + and add that field, match settings from other fields and it should work

  4. I want to use search Safari Bookmarks with the Metadata Field.  None of the predefined fields search the URL   Can someone assist?  

     

    What metadata field? This should be possible with a file filter workflow. Within it, in the advanced tab, you should be able to add custom fields for it to search. This of course requires a powerpack license though

  5. I accidentally deleted a workflow (thought I had a workflow element selected, but apparently didn't). Went to the Trash to restore, but nothing is there. How can I restore that workflow?

     

    Were you syncing your preferences through something like Dropbox? Perhaps you could restore the workflow from the Dropbox web interface if so.

  6. Hi.

    It is possible to create a search directing it to a specific Mailplane gmail account, by creating a simple web search using Mailplanes internal url. But, can some one explain how I can create an Action that creates a new mail in a specific Mailplane account and attaches a selected fil?

     

    I would like it to work like the default function for it in Alfred that attaches the selected document to the active account in Mailplane, except that i now would like the action to do it in another account that is open but not active.

     

    Alternatively, can I get the code from the native actions somewhere to play around with?

     

    Thanks

     

     

    Does anyone has a solution for this issue?

     

    Thanks!

     

    Are there any examples of what the custom url looks like that helps perform this action?

  7. I absolutely love the Switch to Tab extension for Chrome, as I often have many chrome windows and many tabs.

     

    It works like this:

    1. Switch app focus to Chrome.

    2. Hit Cmd-L to put cursor in omnibox.

    3. Type "sw[space]"

    4. Type string to match on tab, and I can them pick among matches by tab name or URL.

     

    How easy would it be to make an Alfred extension to:

     

    1. Hit custom hotkey.

    2. Type search string.

    3. See matches in alfred (or in a new chrome tab but that is less optimal), as chrome might not be on current desktop.

    4. Arrow down to match.   

     

    Obviously, since this would require a workflow, this would require a powerpack license, but I assume you know that already.

     

    Aside from that, I dont think this would be TOO hard. You could use AppleScript to grab a list of the name of every tab in all windows in Chrome for searching and just have AppleScript set the active tab based on which one you select. The Applescript for selecting that tab looks like...

    tell application "Google Chrome"
        set the active tab index of the first window to 3
    end tell
    
  8. Hi guys

     

    Love Alfred, but can not get it to search my external hard drive. I can do this in a other similar software and I am sure it's nothing more than a setting I am missing but can anybody help. 90% of what I have stored is on the external and not internal hard drive

     

    Thank you in advance

     

    Andre

     

    Is the external drive indexed by Spotlight (can spotlight find the files you need to search for)? If not, you may need to enable indexing on the drive. If Spotlight does find them, you probably just need to add this external device to your Search Scope in Alfred. This is available on the Features->Default Results section in Alfred's preferences.

  9. Hi Adrew, 

     

    Thanks you for your answer. 

     

    1°) Tested it and it is working.

     

    2°) Reinstalled the Chrome extension. Not working. 

    Experiencing what I described in my first post. On Facebook, it tries to fill to login form but fails.

     

    I installed the Safari extension, but the site I tried to open always opened in Chrome.

    So made Safari my default browser, working well with Facebook and Twitter.

     

    In conclusion: 

    Safari test : success

    Chrome test : fail

     

    Using the latest version of 1Password (4.1.2 on the App Store), latest version of Alfred (2.2) and Chrome 33, I have no issues. Could you confirm versions of everything for us (aside from Chrome)?

  10.  

    Sure, David. I couldn't figure out what to do with the snippet once I created it, so it just exists. Both of these workflows just open a blank Chrome window. The first thing I tried was:

     

    Hotkey

    Action: Pass through to workflow

    Argument: OS X Clipboard contents

    Prefix: cache:

     

    leading to:

     

    Open URL

    URL: {query}

    Browser: Chrome

     

    The second thing I tried was

     

    Keyword

    Keyword: cache (with space) (argument required)

     

    leading to:

     

    Open URL

    URL: cache:{query}

    Browser: Chrome

     
     
    Thanks!

     

     

    Is the result you are looking for the same as navigating to this?

    http://webcache.googleusercontent.com/search?q=cache:http://digg.com

     

    It opens a cached version of the site passed in the q variable. If so, then you could just create a custom search for alfred that adds the url into the url above and would work.

  11. I have Pages '09 as my main word processor.  When I try to open a Pages template (using Alfred 2) that I use quite a bit, it always tells me that the template is a file that needs a newer version (Pages 5) of the program I'm running.

    The weird thing is that when I open this template using a shortcut program called Overflow, opens normally and into Pages '09.

    Why is Alfred the only program that's not letting me open this template?

     

    That's certainly an odd thing to happen. Are you a Powerpack user? If so, have you tried the "Open With..." action result action for the template and selected Overflow as the app to open with to see if it works like you expect? Alfred doesn't do anything special with it. If you were to drop to a terminal and navigate to that file then type "open filename.ext", that is the same thing that Alfred should be performing. 

  12. Hi,

     

    Bound Alfred to CMD + Space to replace OSX spotlight...works fine.

     

    Problem: in Photoshop CMD + Space is used for Zooming in, and I'd prefer not to change that since Ive used for many years and it's ingrained in my muscle memory.

     

    Question: Can I disable the Alfred Hotkey (CMD + Space) ONLY in Photoshop?

     

    Thanks

     

     

    Luis

     

    In order to keep Alfred lean and fast he doesn't monitor or watch context or other things going on within the operating system. Unfortunately, the best thing to do for now may be to change the hotkey that activates alfred.

  13. Here is the workflow as implemented right now. Thanks for any help.

     

    https://dl.dropboxusercontent.com/u/10782873/Attach%20to%20IBM%20Notes%20Email.alfredworkflow

     

    You didn't include the actual automator workflow with the alfred workflow. I haven't messed with csh before but from the looks of it, it seems like its just building onto the mailto and then opening that url with IBM Notes. I'm not a big csh guy but could knock this out really quickly with PHP.

     

    Try the workflow attached here and let me know if this works please.

     

    It does just as I mentioned above. It builds a custom mailto url that is opened with IBM Notes.

  14. I am trying to create a workflow to send either the URL of the current page or the url on my clipboard to Chrome with "cache" prepended onto it. I've seen several workflows to open the current page in Chrome, and I created a snippet to form the final url (cache:http://....), but, when I've tried to add cache: to the URL field in several options, it just opens a blank Chrome window.

     

    Any help would be much appreciated!

     

    Could you potentially share the workflow that you've created so that we could take a look at it and see where you might be going wrong with it?

  15. Nice tip, would be perfect. Now to just teach myself how to :)

     

    My lazy wants to just buy this: https://itunes.apple.com/us/app/clockwise/id644904486?mt=12

     

    To expand a little on Vitor's response, in an effort to remain as lean and fast as possible alfred doesn't include any sort of monitoring capability to let you perform things like this. You could potentially do such things with workflows depending on your knowledge with programming/scripting or with using cron jobs

  16. I'm trying to setup an alfred workflow to open a URL with a search query.

     

    Example: 

     

    1) I want to search for someone named 'John Doe'

    with the following domain:

     

    http://www.whitepages.com/name/John-Doe

     

    How do I Encode Spaces as '-' Dashes? 

     

    2) Same Scenario, but encode spaces as '/' OR '%2F'

     

    http://radaris.com/p/John%2FDoe/

    http://radaris.com/p/John/Doe/

     

    As deanishe said, it all depends on the language that you are using. Some languages you would have to set up a manual list of character replacements. PHP has a urlencode() function that will handle a lot of the encoding for you.

  17. FYI, problem solved...it was a bugger to figure out, though. 

     

    Turns out that Alfred 2 was trying to access Contacts, but Contacts.app wasn't loading. Further investigation found that iCloud was crashing (couldn't even load the Preference Pane), so because iCloud (and thus Contacts) were borked, Alfred 2 wouldn't launch.

     

    I finally narrowed it down to a buggy login item that was affecting iCloud. I removed the login item, and now everything is working fine.

     

    Awesome, glad you were able to figure it out. Thanks for reporting back as well.

  18. Hi,

    I rarely search my filesystem, but very often use Alfred to search the web.

    It'd be very handy if I could use the spacebar to start my Google searches, is that possible?

     

    Regards,

    Brian

     

    The spacebar is reserved for searching for files on your machine. If you have the Powerpack though, you could very easily create a workflow with a simple, 1 character keyword that would allow you to perform web searches. You could also do the same things with Custom Searches in Alfred. Also note that, if you enter a search term, you can set modifier keys in Alfred that will force him to execute the default fallback search (typically google). You can find that setting in Alfred's advanced preferences

  19.  

    Alfred 2 does not update 1Password4’s Login Items.

     

    I have two machines, an iMac and a Macbook Pro. I am running Mavericks on both machines. My primary machine is the iMac which works perfectly fine with Alfred  2 and 1Password4 integration. 

     

    On my MacBook Pro, Alfred 2 v2.2 and 1Password4 v4.2.2 were both re-downloaded after removal of both programs. Their Program Folders were also removed from \Library\Application Support and then the computer was rebooted before re-installing both programs.

     

    Both programs work perfectly as individual programs. When used jointly, Alfred 2 does not update 1Password’s Login Items. 1Password is checked to Enable Integration with 3rd party apps.

     

    1Password4 iCloud syncing is working. Alfred 2 Drop Box is syncing.

     

    Suggestions?

     

     

    When you say it doesn't update the login items, do you mean that it isn't finding them at all or you are adding something to the login items section and Alfred can't find it?

  20. Unfortunately, that didn't work. 

     

    When I first went to delete Alfred 2.app, it told me it couldn't be deleted because it was open. (But there's no indication anywhere that it's open/running...no menu bar icon, doesn't launch with the keyboard commands, etc.) So, I removed it from the "Start at login" group, restarted, then deleted it. But I didn't just delete it - I used CleanMyMac to remove everything - Application Support files, .plist, etc. Clean uninstall.

     

    I re-downloaded, and un-zipped with the built-in OS X unarchiver. 

     

    Same thing as before: nothing happens. Again, I can't drag it to the trash because it says it's running.

     

    So, it seems it's sort-of running, just not finishing or something. 

     

    Any other ideas? 

     

    Related note: I noticed that version 1.2 is available in the App Store. Can I install that version? Will my PowerPack license work with it? Any issues with giving that a try?

     

    I would also suggest trying to make another user account on your Mac and logging in there to see if you have the same issues with Alfred. If not, I think we could probably rule out there being something wrong with Alfred. At that point, it may be something more specific to your configuration that is causing the issues.

  21. I created a workflow to open 3 files (Filemaker files).

    All files are password protected. Normally I start one file, put in a password and it opens.

    The Alfred workflow ends with the first file :-(.

    This is the same for a keyword and a shortcut workflow.

     

    How can I get, what I want ?

     

    Are you just just passing all 3 files at once for Filemaker to open? If so, perhaps you should make it loop through all files and open each one individually to see if it would prompt for the password for them that way

  22. So it does - my bad! Thanks David. 

     

    Just tried to edit the playing.php to change the '#alfredtweet' to '#nowplaying', as soon as you remove it and save the file, the script no longer works. Weird. Why would that be?

     

    Did you verify that AlfredTweet was working before? Have you authenticated to Twitter?

×
×
  • Create New...