Jump to content

judas

Member
  • Posts

    28
  • Joined

  • Last visited

Posts posted by judas

  1. Hi. I'm also experiencing this issue, and would like to hear what people have done to solve it. 

     

    In particular, I'm using Airmail Beta.

    -I have double checked in Mail.app preferences and Airmail Beta IS selected as the default email app.

    -When in Alfred, if I write "email ju***@domain.com", then a new email is opened correctly in Airmail. But if i select a file, action it and select "email or email to.." then Mail.app is opened and the file attached there. 

     

    As a sidenote, just in case it helps, I have managed to create a Print-PDF workflow by just adding Airmail to the options, and it correctly attaches a file to a new Airmail message. 

     

    Thanks!

  2. Hi. Great Workflow!

     

    I have two questions:

     

    My Mac computer uses EN_US as the default locale, but all my work is done in spanish. Is there anyway I can change the default locale to spanish?

    Also, does the Workflow supports time?

     

     

    Thank you!

  3. Hi, so seeing how a lot of workflows catter to specialized topics and are built on local information (converters, paper sizes, text expanders) I was thinking about building a custom DB of things for Alfred. I normally have to remember/type a lot of information, for example my own ID number, my car license plate, my email address, my home address, etc. which are not related to each other. 

     

    I have been dealing with this by using the textexpander extension, but have always thought it would be great to have them all in a central location and making it easy to:

     

    -Add a hotkey to some entries

    -Perform an action on some entries

    -Tag entries...so you could lookup info by this tags.

     

    I don't know if this exists...the issue is really the way to add new entries into the DB

     

    Ideas?

     

  4. So I created a very simple workflow from a blank template:

     

    Trigger:

    Hotkey:CMD+SHIFT+V, 

    Action: Pass through to workflow

    Argument: OSX Clipboard Contents

     

    Output:

    Argument: {clipboard}

    Check "Automatically paste to frontmost app"

     

    Then when I copy anything, pressing cmd+shift+v does the job!

  5. So I checked the iOS dialer, and it allows the following characters:

    Numerals 0-9

    #

    +

    *

    , (pause)

    ; (wait)

    And it formats numbers with

    (

    )

    -

    But this are not actually dialed, so they could be sent or stripped from the number

    Now that I think about it, letter could be allowed to and converted into numbers, to allow dialing word numbers (1800 COLLECT) and so on.

    ABC 2

    DEF 3

    GHI 4

    JKL 5

    MNO 6

    PQRS 7

    TUV 8

    WXYZ 9

    Great to see your working on it! Thanks!

  6. Ok, so reply to my own self:

     

    I wasn't able to strip the \ backslash before the ( ) parentheses in the {query}, so I created a new variable argumento that gets sent to prowl as the description:

     

    argumento=${arg//[\\]/}
    

     

    Also, I modified the notification so it does not show the \.

     

    	echo "The number \""{query}"\" was successfully sent to your iPhone"
    

     

    The complete code I am using now is:

     

    #USER INFO:
    
    #You'll need Prowl (http://www.prowlapp.com/) installed on your iphone. Once you've got your account set up, go to https://www.prowlapp.com/api_settings.php to retrieve your API key and enter it here:
    
    PROWL_API_KEY=MY-PROWL-API-KEY
    
    =========================================================
    
    phoneno=$(echo "{query}" | tr -d ' ')		#strip spaces from Phone no.
    
    #echo "Query1: {query}"
    arg="{query}"
    argumento=${arg//[\\]/}
    
    #strip possible non-digit chars
    phoneno=${arg//[-. '\(\)']/}
    
    #Check that we're left with only digits
    if [[ $phoneno = *[!0-9,+]* ]]; then
    	echo "Sorry, \""{query}"\" is not a valid phone number."
    	exit
    fi
    
    
    RESULT=$(curl -s -k https://prowl.weks.net/publicapi/add -F apikey=$PROWL_API_KEY -F application="Alfred" -F event="Open to call:" -F description="$argumento" -F url="tel://$phoneno")
    
    if [[ "$RESULT" =~ "<success code=\"200\"" ]]; then
    	echo "The number \""{query}"\" was successfully sent to your iPhone"
    else
    	echo "Oops. There was a problem. Number not sent."
    fi
    
  7. Hi Carlos, I was testing your extension and it works wonderfully, except when a number contains parenthesis "(" ")"...then it says it is not valid. I mainly got it working by changing the phoneno replacement to:

     

    phoneno=${arg//[-. '\(''\)']/}
    

     

    but I'm still not happy with the results as it includes / symbols after the parenthesis in the {query} statements (both in notification center and in iPhone notifications), so it looks ugly. Can you think of a prettier way?

  8. I was trying to mimic the theme I used to use in v1, which is just mainly gray with some use of transparency...I noticed the preview shown in theme editor does not really correspond with the final result when you open alfred...I'm pretty sure this is somehow related with the way you're performing the "overlapping transparency" calculations. 

     

    To reproduce, just edit one of the themes and see, layering the real alfred over the theme editor background, how the transparency is different. 

     

    As a sidenote, I think the current theme editor background is to "clean" and it makes it hard to see how alfred will look in real case scenarios (above white windows, with text and pictures and textures, etc.). It should include more contrast and more details (the one in alfred v1 was better to see how transparencies, etc. would look as it had darker and lighter colors).

     

  9. I too miss the last command performed, specifically for the reason bwanamatt said above: calculator. 

     

    I agree with what people are saying regarding use of keys to show history, and my personal opinion is that left and right keys is more intuitive (we're used to seeing left and right on browsers windows, undo/redo, etc.) and that would also mean  the up/down ambiguity would not exist. (there's still a problem with left right and cursor movement)

     

    Anyway, I0m sure you did a thotough analysis of this and decided up was the least tradeoff. 

  10. I may be the only one around here that forgets to type a space or the ' when searching for a file...usually there are no results for what I searched, so I get the options to search on Wikipedia, Amazon or Google. I would love to have another option here: file search. This would just perform the search again with a ' or " " added in front. 

     

    I saw fallback searches functionality changed a little bit, and that when adding one there's a menu that for the time being only shows "web search"...so hopefully this is something Andrew and Vero have thought about before. 

×
×
  • Create New...