Jump to content

jdfwarrior

Member
  • Posts

    2,028
  • Joined

  • Last visited

  • Days Won

    55

Posts posted by jdfwarrior

  1. Hi,

     

    it would be great if Alfred supports web search suggestions or auto complete natively. There are some workflows that implement this feature for particular searches. e.g. http://www.alfredforum.com/topic/1207-alfred2-workflow-for-google-search-suggestion-instant-search-and-current-site-search/

    But native support would be great! Instantfox, for example, allows you to configure a search URL with %q for the query (same as search URL in alfred's custom searches) AND an optional "Suggest URL" that gets the auto complete suggestions. For google search, it's simply

    http://suggestqueries.google.com/complete/search?json&client=firefox&q=%q&hl=en

     

    The addition of this feature would be great! Alfred could go a step further and allow the user to set a script that returns the auto complete suggestions (as an alternative to the "Suggest URL".

     

    Thanks!

     

     

    Hey! Great Idea -- I Love it! I would love an easy way to get autosuggestions from websites using json with GET!

     

    Under the Example workflows area, there is already a workflow bundled with Alfred that provides suggestions. This is done with a workflow as opposed to built in to make it so that Alfred still functions properly when he doesn't have an internet connection

  2. Sometimes I am not sure what the name of a file is, I only know the text string I am looking for.  For example, I have a text document that I know the words "I love you" are typed, but I forgot the name of the text file.   So if I bring up Alfred and type "Find" or "Find In" now Alfred can't find a file it only gives me choices to search for it on the Internet, I want to restrict this type of search only to my computer and to either files with the text string I am looking for. 

     

    How do I have Alfred do that type of search for me? 

     

    The keyword to search within a file is "in" and not "find in" unless you have edited the keyword for this function. This does require that Spotlight can read the text content of the file. 

  3. Interesting, I wrote this workflow 3 days ago, and I have been typing 'mail' on the console and the first one that appears is still Mail.app... How long does it usually take for Alfred to learn/prefer 'mailing' over Mail.app?

     

    Also, how do I clear Alfred's knowledge? Thanks.

     

    Resetting Alfred's knowledge is available in the Advanced preferences. Afterward, it shouldn't take long for Alfred to learn your preference

  4. I am trying to select all, so I press command A.  I get Alfred and can't select my text.  So I end up turning off Alfred.  How can I prevent this from happening?

     

    Mr Magoo is correct. You have more than likely inadvertently set a hotkey within Alfred to Cmd+A. This could be any of Alfred's basic hotkey settings or some workflow. Check through Alfred's preferences and see if you can find the hotkey setting that is conflicting with this and change it to something else.

  5. Is it possible to make a keyboard command, like typing "show", to then show a list of running apps? Then I can just arrow down to open the one I want?

     

    This could be possible with a workflow but you may be better served to just type a few characters and press enter to get the app you want, or, set a hotkey to launch/show the app you desire

  6. I created a workflow and named it 'mailing', but when I type 'mail' in the alfred console, the Mail.app is the first one to appear. See the link below.

     

    http://postimg.org/image/wb81jtce5/

     

    Is there a way to remove the Mail.app result? Also, I am not using Mail.app so I am okay with removing it.

     

    Thanks.

     

    Alfred should learn that you prefer the "mailing" keyword over Mail.app over time. If you are having trouble with this, you may have success by clearing Alfred's knowledge and then trying again. You could also try adding Mail.app to Spotlight's privacy section to prevent it from showing in results

  7. I have two questions that someone here might know about.

     

    I'd like to know if it's possible to call a workflow from within another workflow (or, run a generic alfred command as if I had typed it in).

     

    Also, I'd like to know if there's an Alfred applescript API that I could use to control Alfred from applescript.

     

    Using some great workflows already and looking forward to writing my own :)

     

    Both of these things are possible. Pop open the AppleScript Editor and open Alfred's dictionary to view all of the commands available for Alfred via AppleScript. As for calling a workflow from another workflow, you could use the AppleScript or you could use Alfred's new external triggers. 

  8. I created a file filter workflow on my desktop computer, where everything works as expected (I type "p" "space" "query" and get results from the correct folder). On my laptop, where Alfred is synced via Dropbox, the file filter does not return results--it presents the fallback search options. The file filter is set to a Dropbox path, so the path is the same on both computers. Will this type of workflow not sync? Is there some other procedure to follow?

     

    Thanks,

    Derek

     

    Do you have the same username on both machines? That would make the paths incorrect. Otherwise, these settings should sync fine

  9. Thanks Vero for this, I have done as you suggest and asked the question, but I am not hopeful! I remember some time ago asking if there was the facility to empty the trash with a keystroke as there is in Mail and the answer was “no” and not much hope of it happening in the future! We will see. 

     

    A quick look at the AS dictionary for Airmail seems to indicate that this isn't currently possible. Airmail dev is constantly adding new functionality though. I wouldn't be surprised if they were open to adding it in the future.

  10. I did some more searching and I saw a thread which suggested that Alfred doesn't work as well when the screen layout in a bit weird. My layout was probably non-standard.  Has that issue been fixed?

     

    Most of those issues have been resolved. Have you done as Andrew suggested and created a temporary account and test it there to see if it still occurs?

  11. Apologies for the very basic question: I have just started experimenting with Alfred, and was trying to get the 'send email' feature to work, without success.

     

    When I type 'wj_dorman', Alfred sees my email address in my contacts app. But when I type 'email wj_dorman' all I get are options for Google and Wikipedia searches.

     

    What am I doing wrong? Thanks, Bill

     

    Apologies for the very basic question: I have just started experimenting with Alfred, and was trying to get the 'send email' feature to work, without success.

     

    When I type 'wj_dorman', Alfred sees my email address in my contacts app. But when I type 'email wj_dorman' all I get are options for Google and Wikipedia searches.

     

    What am I doing wrong? Thanks, Bill

     

    Does this work with any other contact?

    As you type 'email', does the "Send an Email" action appear in Alfred?

  12. Is there a video showing the clipboard history functionality being used?

     

    I want to upgrade on Alfred

    My main usage is to use the clipboard history

     

    I use a free program called Flycut

    It's awesome - but there's one annoying feature that I dont like

     

    A video would be great

     

    Thanks

     

     

    Omar

     

    Not sure what all else you would want for this.. I made a quick little video. If you want more or want/need more of an explanation, don't hesitate to ask.

    Video

  13.  

    Hi Alfred community,

     

    As a tool PowerPack lover, I tried to automize any manual task on my Mac. One missing one is to replace "line breaks” with "commas” from a list of items that I want to paste from my clipboard to Alfred and get it converted and then added to my clipboard. e.g. turn:

     

    123

    234

    345

    999

     

    To --> 123,234,345,999

     

    As I'm a beginner, I'd be great if someone already worked on this or something similar who could give me some hints.

     

    Thanks!
    R

     

     

    This can be done a lot of different ways, in a lot of different languages dependent on what you want to use. Are there any languages in particular that you are already familiar with or feel comfortable with?

  14. I often want to open the Preferences and Application Support folders in ~/Library, but Alfred doesn't see them, even if I add ~/Library to Alfred's default search scope. Is there any way to be able to get them to appear in Alfred?

     

    Try doing this with a file filter workflow and make sure to set it to show system files in the results. That should work

  15.  

    In my case, when you don't have a dictionary for applescript, you can use something like this: 

     

    tell application "System Events"
     tell process "Focus Time"
      tell menu bar 1
       tell menu bar item "Timer"
       click
        tell menu 1
        click menu item "Start"
       end tell
      end tell
     end tell
    end tell
    end tell

     

     

    UI scripting in AppleScript isn't fun by any means. I don't know of any great AppleScript resources right off. Apple's online documentation may be a good place to start.

  16. I'm trying to create a workflow to transform some text into a hyperlink and automatically paste it.

     

    I've copied some text to the clipboard that contains the bits that I need to form the URL.

    I have a script to create the URL and I can pass it to the Copy to Clipboard Output.

    But it's still just the URL text.

     
     

     

    I can modify the script to hack the URL into an RTF snippet.

    If I push the snippet on the clipboard in the script, I can paste it as a hyperlink, so I know it works.

     

    But, if I just pass the RTF data as text to Copy to Clipboard it doesn't paste as a hyperlink (just the RTF code as text).

     

    Anybody know if I'm approaching this wrong or if there's a way to programmatically create a hyperlink and automatically paste it to the front most app?

     

    Alfred's paste works as a plain text paste only. How to programmatically do this otherwise, I'm not sure unless you use AppleScript to manipulate the clipboard and paste that way, skipping Alfred's action for copying to clipboard and pasting..

     

    I've never tried this so I'm not sure if it would work but seems like the best bet

  17. @Tyler, okay, does Alfred sync the appearances and themes?  Yeah, I'm not trying to change the hidden files, I'm trying to create a set of themes programmatically from a set of RGB/HEX values.

     

    Alfred does sync themes but not which all Appearance settings. This allows you to set a different theme per machine if you use multiple and not always being forced into the exact same settings

  18. I know zero about programming and scripting, but I'd really like to make an Alfred command to open and set up some apps for doing video work on my iMac.  I see a built-in workflow to easily add apps to (Launch file group from keyword), but there's one more step I would like to do.

     

    I have set the workflow to open my FTP program (Fetch), final cut pro x, and smcFanControl.  I would like the next step in the workflow to make smcFanControl begin my "Video Render" settings (which crank up my fans).  If anyone is familiar with this program and knows how to write that script, I would be very grateful.

     

    I know nothing about it but if nobody else speaks up, let me know and I can download the app and try to work out the details for you or at least let you know whether or not that CAN be scripted.

  19. Escape can't normally be set to this. However, if you use something like KeyRemap4MacBook, you could set the Alfred hotkey to Cmd+Space and then remap Escape to perform Cmd+Space. You would have to create a custom item in KeyRemap4MacBook to do this but I went ahead and figured out how to do it for you :) (I've never used KeyRemap4MacBook before, just knew it was capable of doing something like this).

     

    If you installed KR4MB, you would need to go to the Misc & Uninstall tab, click "Open private.xml" and modify it to the following..

    <?xml version="1.0"?>
    <root>
    	<item>
    		<name>Escape to Command Space</name>
    		<identifier>private.escape_to_command_space</identifier>
    		<autogen>__KeyToKey__KeyCode::ESCAPE, KeyCode::SPACE, ModifierFlag::COMMAND_L</autogen>
    	</item>
    </root>
    
    

    Then save and go back to the Change Key tab and click the Reload XML button. The option should show up at the top I believe. Click to enable it, then set Alfred's hotkey to Cmd+Space.

     

    After that, pressing Escape should work fine.

  20. Hi all. Just got suggested by someone from the Alfred team on Twitter to post this question here. 

     

    So, my default browser is Safari, on which I have an extension called "Disconnect Search", which is basically private search so that you don't have all the usual "tailored" search results. Basically like DuckDuckGo but much better as it supports other search engines so you can get more than one page of results!

     

    I use Alfred for pretty much everything from app launching, launching websites, and of course: web searches. I have a bunch of custom search engines added. Whenever I try to do a Google search, it obviously uses the general search string built into Alfred instead of the default Disconnect Search as it would be if I search directly from the omnibar in Safari, and I can't add a custom search string from Disconnect Search because it looks like this: 

     

    https://search.disconnect.me/searchTerms/serp?search=11786da2-1e27-456b-9788-6a7e405cd46a 

     

    and so there is nowhere to put {query}.

     

    Has anybody found a workaround for this? Or is it something that would need to be suggested as a feature?

     

    Thanks for your help in advance. 

     

    Try this :)

     

    https://search.disconnect.me/searchTerms/search?location_option=US&ses=Google&query={query}

  21.  

    Ok, so I'm needing help building a workflow where I type a {query} in the search window, and it returns results from monster.com autofill.

     

    Here are the request headers and response headers/response body.

     

    Can anyone point me in the right direction on how to do something like this?

    Accept: application/json, text/javascript, */*
    Accept-Encoding: gzip,deflate,sdch
    Connection: keep-alive
    Content-Type: application/json; charset=UTF-8
    Referer: http://www.monster.com
    Host: www.monster.com
    Orgin: http://www.monster.com
    Content-Length: 10
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
    X-Requested-With: XMLHttpRequest
    Accept-Language: en-US,en;q=0.8
    
    {
      "q": "jav"
    }
    
    HTTP/1.1 200 OK
    
    Server: Microsoft-IIS/7.5
    Content-Type: application/json; charset=utf-8
    X-Powered-By: ASP.NET
    X-AspNetMvc-Version: 3.0
    Connection: keep-alive
    P3P: CP=CAO DSP COR CURa ADMa DEVa TAIa IVAa IVDa CONo HISa TELo PSAa PSDa DELa UNRa PUBi OTRa BUS LEG PHY ONL UNI PUR COM NAV INT DEM CNT STA HEA PRE GOV OTC
    Date: Mon, 23 Jun 2014 13:24:35 GMT
    Set-Cookie: DOMAINALIAS=; path=/, DOMAINALIAS=; expires=Sun, 22-Jun-2014 13:24:35 GMT; path=/
    Content-Length: 186
    Cache-Control: private, max-age=3600
    X-AspNet-Version: 4.0.30319
    
    {
        "Result": {
            "Items": [
                {
                    "Text": "Java Architect",
                    "ID": 170038,
                    "Data": null
                },
                {
                    "Text": "Java Software Engineer",
                    "ID": 167790,
                    "Data": null
                },
                {
                    "Text": "JavaScript Developer",
                    "ID": 166359,
                    "Data": null
                }
            ]
        }
    }
    

     

    Are you familiar with any scripting/programming languages? This would be best done by sending an http request to monster then reading the result (json formatted) and displaying those using script filter feedback in Alfred. 

×
×
  • Create New...