Skip to content

My first @alfredapp extension, Time Somewhere

November 20, 2011

Download Time Somewhere for Alfred Powerpack. It tells you the time somewhere in the world by typing

time in location

For example typing

shows time in Paris typed into Alfred

will give you

Notification Center showing the time in Paris

About these ads

From → Uncategorized

43 Comments
  1. Bram Hubbell permalink

    Hi, The link for the extension is not working.

  2. Fixed, sorry I’ll have to do that for all CloudApp uploads here. I’m not sure Dropbox is the best option though.

  3. nice. and it works. thnx

    but growl notifications staus stay in screen for ever. how to make it close after 5 seconds?

  4. I’ve made a custom one for you (very quick and dirty), just download this:

    No longer available, sorry
    Now in the main post
    But you’ve got to unzip it (double click on it), then import the folder into Alfred :)

  5. Superb. Works great.

    Really helpful when using apps in fullscreen mode to check time quickly in multiple timezone.

  6. Note that this new version is now the default.

  7. Kudos, this is a super handy little extension. Thank you!

  8. This is awesome, thanks!
    One thing tho, on the output message, can you put Time in {query} instead of just Time Somewhere?
    Not that big of a deal, but it makes sense to put the place you typed and not just Time Somewhere.

  9. Not as a shell script, the title is the name of the extension, this is set by Alfred. As far as I know the only way to do this would to be to rewrite it as an AppleScript and initiate a Growl notification there, like in my Consider Unpausing script:

    tell application “Growl” to notify with name “Extension Output” title “Consider Unpausing” description “You paused iTunes ” & (delayLength / 60) & ” minutes ago.” application name “Alfred” icon of application “iTunes”

    Maybe I’ll have a go but as this was based around @jdfwarrior’s great script it might take a bit more knowledge than I have.

  10. Ok Ryan I’ve worked on it and finished it for you!

    However you do have to do a teeny tiny bit of work. First download the new version from here (http://dl.dropbox.com/u/9210754/Alfred/TimeSomewhereAlt.alfredextension Now in main post, please look at the bottom) and install it . Then you’ve got to tell the script where it is.

    In the extensions tab you’ll see that near the top of the new TimeSomewhere script there is the line set fileLoc to “/Users/Adam/Dropbox/Alfred/extensions/applescripts/TimeSomewhere/”

    This is obviously the location of the script on my Mac, to find it on yours right click on the extension and click “Show in Finder”. Drag the TimeSomewhere folder from Finder into the script.

    If you have any trouble please post here or contact me on Twitter, I’d be glad to help

  11. Error 404 on that link

  12. Hi yeah that link is dead now because I’ve put it in the main post. Hope you enjoy it. Also I have removed the need for any setup.

  13. Awesome, it works perfect!
    Thank you!

  14. Ben permalink

    Nice extension, but it doesn’t support spaces. For instance, ‘time in New York’ does not return a result.

  15. Good spot, a result of changing it to Applescript (aaah I hate regressions). I’ve now fixed it, just download it again (or run extension updater).

  16. Ben permalink

    Sweet, works perfectly now. Nice work!

  17. Great work. The best way to check time around the globe on a mac.

  18. Anonymous permalink

    Hi,
    Looks like the link on the main post is also dead. I am getting a 404 error on that link.
    Could you please repost. I really need this app. My work demands this. THanks for creating this.

  19. Thanks for telling me. It should all work now (fortunately I had a backup).

  20. Anonymous permalink

    Thanks Adam, I have downloaded and imported the extension. But looks like I need to do something else to view the output. I have GROWL running and have configured it for extension output. The bezel just does not show up. Would you know if I am missing something or not doing it right. Thanks again.

  21. Very odd, it works for me, try restarting growl? Does growl work with other things? Does Growl work with other Alfred extensions?

    If you still can’t get it working, replace everything from “osascript” onwards with “echo -e $(echo $RESULT | sed ‘s/| /\\n/g’)”

    This will hopefully mean that it works, but the title is just “Time Somewhere”. What inputs have you tried? Please try “time in paris”.

    Thanks

  22. “Unable to find suitable results”
    Did this extension stop working?
    I downloaded it again from the top of this site, and the same message comes up.
    Is it working for anyone else?

  23. Wolfram Alpha say “The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.”

  24. Henrik Omdal permalink

    any update on the unable to find suitable results issue ?

  25. Works for me now

  26. Cool, it works now.
    I just had to delete my old ‘alt’ version and download the newest one.

  27. Note that if you have Extension Updater, you can do updating easily

  28. Raff Camara permalink

    Hi! It’s not working for me! Growl it’s not showing any results.
    Any hints?

    Thanks

  29. Did you try downloading the alternative version at the bottom of the post?

  30. It all works fine here, what software version are you using? Did you modify the extension at all?

  31. Lakshman permalink

    I don’t know whats happening. I didn’t do anything, it just stopped working… There is nothing noted in the Growl history so….

  32. I edited this to work with Notification Center instead of Growl by removing the last lines and replacing them with: echo $RESULT

    Works great, but displays 5:01 pm PST \nThursday, November 8, 2012

    So then replace \n with whatever you’d like, a space or a dash.

  33. This is now fixed but due to Notification Center limitations the title is now static and the icon is Alfred’s

  34. This is now fixed but due to Notification Center limitations the title is now static and the icon is Alfred’s

  35. This is now fixed but due to Notification Center limitations the title is now static and the icon is Alfred’s

  36. Anonymous permalink

    does not properly show time for Moscow -> incorrect time zone

  37. Anonymous permalink

    Awesome extension

Trackbacks & Pingbacks

  1. Adding Extension Updater support « Stuff Adam Makes
  2. 20 Really Cool Alfred Extensions to Download | Mac.AppStorm
  3. 20 Must Have Alfred Extensions | Apple World
  4. 20 Must Have Alfred Extensions | Design City
  5. Las mejores extensiones para Alfred

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: