Jump to content

Search the Community

Showing results for tags 'time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
    • Advanced Tips & Tricks
  • Alfred Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting
  • Alfred 5 Early Access
    • Alfred 5 Early Access


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL




Found 24 results

  1. Calculate Anything is a workflow for Alfred 4, that uses natural language and is able to calculate multiple things like currency, time, vat, px, em, rem, percentage, and more. Why? There are several conversion workflows out there but I wanted a workflow that worked naturally. For example, you can open Alfred, type `100 + 9` and get a result. No need for keywords or hotkeys -- it just works. With Calculate Anything you can do the same, simply type `100 + 16%`, `100 euros to usd`, `100km to cm` or `100 years to hours` and many more. Features - Natural language - type 100 euros to dollars, 100 euros in usd, 100€ to $, 100eur usd, 100 euros a dolares -- it does not matter, the same result will be displayed - Currency - Up to 168 currencies - Cryptocurrency - Support for 100 cryptocurrencies - Units - 100 kilometers to meters or 100 km to m or simply 100km m - Data Storage - 100 gigabytes in megabytes, 2 gb to mb, 400MiB to kib, 2tb gb, etc. - Percentages - 100 + 16%, 100 - 16%, 40 as a % of 50, 20 is what % of 50, etc. - PX,Em,Rem,Pt - 12px or 12px to em or 12px pt - Time - time +15 years, time now plus 6 hours or convert a timestamp - VAT - value added tax calculations, we all need this - Translations You can create your own translations to display results in your language - Keywords Extend the natural language in the queries so you can type 100 dolares a pesos and the code will see 100usd to mxn Important You will always find the latest version, changelog and updated documentation on Github as is difficult to use the forum to keep track of updates and support. Requirements for Mac OS Monterey Users and up Starting from Mac OS Monterey Apple removed PHP so you have to install it manually, that can easily be done with Homebrew, just open your terminal and paste the commands below: 1.- Install Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2.- Install PHP brew install php That's it, you need to have the latest version of Alfred and will automatically find the PHP version that you install. Mac OS Big Sur users and below do not need to do anything, your Mac OS already includes PHP. Download Download directly from Github releases page, make sure to download the latest release. Download here Base Configuration There's only one global setting and that's the language. This setting will allow you to type in Alfred using your own language and also will change the notifications and texts. View the Translations section for the available languages. Configure it with: - In Alfred type `ca`, select **Set base language** and choose the language you want to use. You can also type in Alfred `ca lang` Currency You can use natural language or a few characters -- that's all! For example: 100 us dollars in mexican pesos 100 canadian dollars in argentinian peso 100 euros to dollars 100 euros in dollars 100 euros as dollars 100 euros a dolares (you can also write it in your own language) 100 usd to mxn 100 usd mxn 100usd yen 100€ to $ 100 ¥ in € 100¥ € 100eur (if no target the currency will be converted to the base currencies that you configured) You can set a base currencies so if you type for example 120 euros it will be automatically converted to the currencies that you configured. All these examples just work. You can add spaces between the value and the currency or not. If by any chance you don't remember the currency symbol or abbreviation simply type in Alfred ca list and select "List Available Currencies" Currency Modifiers When a result is displayed you can use action modifiers to copy the value in different formats: Return - Press Return to copy the value with format, for example 2,376.54 Command + Return - Press Command + Return to copy the value without formatting, for example 2376.54 Option + Return - Press Option + Return to copy the value of a single unit, for example 23.76 Currency Options By default the workflow will use exchangeratehost api to make the conversion. exchangeratehost only support 32 currencies; if you need support for additional currencies supported by Calculate Anything, you need to get a FREE API Key from https://fixer.io -- it takes less than a minute. The following options are available for the currency. Simply launch Alfred and type ca and select any of the options below. Add base currency - This will become your base currency, if you type `100eur` it will automatically be converted to the currencies you define here. You can define multiple currencies by repeting the process. Delete base currency - If you no longer want a base currency you can select this option to list all configured base currencies, you can delete a currency by simply pressing Return Set currency format - Used to format the converted amount, you will see a list of formats to choose from, simply press return to select a format. Set Fixer API - Set your fixer API Key for support more currencies, after you select this option just copy paste your Key and press Return to save it. Currency Symbols You can also use currency symbols in your query for example 100¥ to € will be converted to 100JPY to EUR, here is a list of available symbols. Please go to the repo description on Github for a full list of supported symbols it's really difficult to write them here in the forum. View Currency Symbols Cryptocurrency Calculate Anything can convert between 5,000 cryptocurrencies and 168 currencies. Again, you can use natural language or simply pass the currency symbol. 2 bitcoin to dollars 0.1 bitcoin in dollars 5 bitcoins in ethereum 1 ethereum to ¥ 10 ethereum in mxn 1eth btc 1btc (If no target the currency will be converted to the base currency that you configured) Cryptocurrency Modifiers When a result is displayed you can use action modifiers to copy the value in different formats: Return - Press Return to copy the value with format, for example 2,376.54 Command + Return - Press Command + Return to copy the value without formatting, for example 2376.54 Option + Return - Press Option + Return to copy the value of a single unit, for example 23.76 Cryptocurrency Options You need to get a FREE API Key from https://coinmarketcap.com/api/pricing/ it takes less than a minute. The following options are available for cryptocurrency. Simply launch Alfred and type ca and select any of the options below. View the configuration section for more info Set Coinmarketcap API - Select this option and paste your API key and press enter to save it. Units You can write your query using natural language or just a few characters. Either way works! 100 kilometers to meters 100 km in meters 100 km m 100km m 100 miles as meters 100miles in meters 100 miles to m 100 ounces to kilograms 100oz to kg 100oz = kg 100oz kg 10 years to months 10years to seconds 1 year to sec 1hr s 10 días a horas (use your own language) If you don't remember the unit abbreviation just simply type the name for example instead of "oz" you can type "ounce" or "ounces" or even use words in your own language for exaple "onza" or "onzas" in spanish. Finally if you still don't remember the unit abbreviation or it's name simply launch Alfred and type ca list and select "List Available Units" you can type to filter, etc. Please go to the repo description on Github for a full list of units it's really difficult to write them here in the forum. View Units Units Modifiers When a result is displayed you can use action modifiers to copy the value in different formats: Return - Press Return to copy the value with format, for example 2,376.54 Command + Return - Press Command + Return to copy the value without formatting, for example 2376.54 Option + Return - Press Option + Return to copy the value of a single unit, for example 23.76 Units Options There are no options available for now. Data Storage You can write your query using natural language or just a few characters. Either way works! 100 gigabytes in megabytes 100 gigas in megas 100 Mebibytes in Kibibytes 100 gb to mb 100gb to kb 100gb mb 400MiB in kib 2tb gb 1b kb Please note, this workflow follows the IEC Standard (International Electrotechnical Commission) as it had been adopted by the IEEE, EU, and NIST. That means that if you type `1MB in KB` you will get `1000 KB` but if you type `1MiB in KiB` you will get `1024 KB`, you can read more about it here https://en.wikipedia.org/wiki/Byte#Multiple-byte_units Do you prefer 1 MB = 1024 KB? No problem, you can configure it, checkout Data Storage Options. Data Storage Modifiers When a result is displayed you can use action modifiers to copy the value in different formats: Return - Press Return to copy the value with format, for example 2,376.54 Command + Return - Press Command + Return to copy the value without formatting, for example 2376.54 Data Storage Options There's no exactly "options" it's more of a way for people to overwrite the conversion and use always the Binary mode so `1 MB = 1024 KB`. To enable this you need to [Set a Workflow Environment Variables](https://www.alfredapp.com/help/workflows/advanced/variables/). The name should be datastorage_force_binary and the value should be true. Percentages You can easily calculate percentages for example: 15% of 50 = 7.50 //7.5 equals to 15% of 50 120 + 30% = 156 //120 plus the 30% of 120 120 plus 30% = 156 //120 plus the 30% of 120 120 - 30% = 84 //120 minus the 30% of 120 120 minus 30% = 84 //120 minus the 30% of 120 30 % 40 = 75% // 30 is 75% of 40. Translations and natural language can also be used 120 más 30% = 156 PX, EM, REM, PT Open Alfred, type `12px` and you'll see the value converted to em, rem and pt. It's that simple. Check the examples below. 12px 12px to em 2 rem 2rem 2rem to pt 12px in em base 17px (use a custom px base or configure it in the workflow) PX, EM, REM, PT Options The following options are available. Simply launch Alfred and type ca and select any of the options below. View the configuration section for more info Set base pixels - custom px base for conversions Time Given its less frequently used, time conversions require the use of the keyword time Gives you the current time time Converts the timestamp to a regular date time 1577836800 Gives you the time from now plus anything you want time +15 days time now plus 3 days Number of days until specified date time days until 31 december The start date of current year time start of year The start date of specified year time start of 2021 The end date of current year time end of year The end date of specified year time end of 2021 It also works in your language time inicio de 2020 time fin de 2020 time dias hasta 31 diciembre Get information about date time 31 December, 2021 18:00:00 time 31/12/2021 18:00:00 time 12/31/2021 18:00:00 Calculate the difference between two dates time 25 December, 2021 - 31 December, 2021 time 31-11-2019 - 21-11-2019 time 11/31/2019 - 11/21/2019 Time Options The following options are available. Simply launch Alfred and type ca and select any of the options below. Set base time zone - Base time zone used to calculate dates in your time zone, search and select your zone from the list and press Return to save it. Add date format - Configure a new date format so the date is displayed the way you want, for example j F, Y, g:i:s a more information about available values for date https://www.php.net/manual/en/function.date.php Delete date format - It will show you a list of configured date formats, simply select the one you want to delete and press Return to remove it VAT (value added tax) With this you can calculate the VAT for a given amount. Like time, VAT is also triggered with a keyword. By default, the keyword is "vat" but you can change the keyword in the workflow. Given the following query vat of 400 (with a 16% VAT configured, a percentage you can configure) Calculate Anything will provide the following conversions: VAT of 400 = 64 (the VAT amount) 400 plus VAT = 464 (the Amount plus VAT) 400 minus VAT = 344.82 (the Amount minus VAT, useful if you have a final amount and want to know the VAT applied) VAT Options The following options are available. Simply launch Alfred and type ca and select any of the options below. Set VAT percentage - for example 21% Configuration You can easily configure the Calculate Anything workflow. Simply open Alfred, type `ca` and you will see a list of all the available options to configure the workflow. You can also filter the options for example launch Alfred and start typing `ca fixer` and you will automatically see the options filtered. To select an option just press Return. Translations Please check the available languages on Github, it's easier to update the information there and also how you can create a translation. Keywords Keywords are words that can be used when writing a query in natural language for example a keyword "ounces" will be converted to "oz", "kilometers" will be converted to "km" or "dollars" will be converted to "USD", "seconds" will become "s" and a large etc. This keywords allows the user to type in a more natural way and in their own language. You can write your own keywords to extend the functionality, please check the information on Github. Stop Words Stop words are words that can be used in the query when using natural language for example "100km to cm" - here the stop word is "to" Stop words are useful for two things: Allows the user to write more naturally and in their own language (e.g 100 dolares a mxn) "a" is the stop word Are used to check if the query has to be processed for example: 100km equals meters if the word "equals" is not registered in the stop_words array then it won't be processed. At the end this stop words are removed so 100km to cm becomes 100km cm. Please take a look at the readme on Github to learn more about this. For Currency, Percentages and Units this workflow will only process the query if it begins with a digit and it has at least 3 characters. Time and VAT have a keyword because those are not often used. Cache The workflow stores some data about currency in the workflow data folder. You can delete the cache by opening Alfred and typing `ca clear`. You can decide between deleting the cache, delete stored settings or both. Updates The workflow will check for updates in the background every 15 days and will notify you when a new update is available. If you want to check for updates manually, launch opening Alfred and type `ca update`.
  2. Hi guys, the new snippets auto expansion is nice. Thanks for such a great update! Anyway is it possible to set different format for {date} and {time} ?
  3. I would like to perform a simple calculation on a time (i.e. +4h); but, all I can find in the documents are calculations using now as the start time. What I want to do is: 9:00 +4h = 13:00 Is this possible?
  4. Here's another little tool I've just whipped up: Get an instant list of the current time in various cities around the world. Which you can customize, of course. Main keyword: tz (for TimeZones) - this just shows the World Clock list (seen above). (Select a city for a Large Type display.) To remove a city from the list - option-select it. To add a new city - timezone add Name of City To update all cities' timezone offset information - timezone update To look up the time in a place without storing it (custom loookup), just keep typing the place name after the initial tz (eg. tz timbuktu) To move the location of your stored city list - timezone move Download v1.7a This workflow saves a list of your cities and their UTC offsets locally, so the basic world clock will display instantly. Adding new city information is done via an API call to Google Wolfram Alpha. The only downside to locally cached offsets is that there's no provision for automatically updating for Daylight Savings changes, but a manual timezone update will refresh all the cities with their current offset. Enjoy. As usual, I welcome comments, bug reports, feature requests, etc. ---- 28 March 2013 - UPDATE to v1.5 Major rewrite - now uses Google Maps APIs, which should be a lot more reliable and consistent. Flag icons! Bit of eye candy, courtesy of http://www.free-country-flags.com (and managed to squeeze flags for every country in the world into just over 400k - thank you TinyPNG ) More detail retrieved and displayed, including timezone name, country, etc. When doing a full "update", a text file is saved to your Desktop summarising any changes found. General enhancement and tweaks. PLEASE NOTE: Because this version stores its data substantially different to previous versions, it will create a new timezones.txt file with default cities. However, it will attempt to save your old timezones.txt file to your Desktop, so you should be able to rebuild your previous list without too much hassle. A quick note about the flags: The workflow simply compares the retrieved name of the country and does a simple name match against the workflow's local repository of flag icons. From my testing, it's working very well, but I'd appreciate it if you'd report back if you find any countries that don't properly match a flag icon. Cheers. ---- 31 March 2013 - UPDATE to v1.6 New feature: Custom lookups. Just keep typing a new place name after the tz keyword to look up the time in a place without saving it to your saved list. Added support for phyllisstein's Alleyoop auto-updater. [EXPERIMENTAL] - support for autocomplete for adding place names (timezone add). You'll need to add a keyword yourself to the script filter if you want to try it out. The reason I haven't enabled it by default is that I've found it kind of slow and I'm not sure it's actually an improvement over the current method. Let me know what you think. [Add a keyword to this script filter if you'd like to try it out] Novelty: Added (unofficial) Antarctica flag to flag repository. (Try tz south pole. ) ---- 2 April 2013 — UPDATE to v1.61 Small fix for Dutch (Netherlands) flag matching. ---- 22 March 2014 — UPDATE to v1.7 City List now always shows in the same order. (Achieved by removing “uid” parameter.) Removed Alleyoop updater. ---- 22 March 2014 — UPDATE to v1.7a New 256x256px icon
  5. I've rewritten my Alfred-Time workflow so that it's more easily extensible, and better tested. Currently it works with the Toggl and Harvest services. You can start, stop, or continue a timer, choose a project and a tag if necessary. With version 2.0 it's one service or the other though. The previous version allowed to use both services at the same time. I personally don't use that anymore, and it was a pain to maintain. If you still need that functionality, you can still use the previous version. I'm planning to add new services. It's very basic (even more basic than the previous version). Just start, stop or continue. No more delete, no more cache bullshit. There's some ideas in the queue like enable/disable tags (or choose a default one), but nothing done yet. I use the workflow daily and it works fine (for me). If it does help you, enjoy! GitHub: https://github.com/godbout/alfred-time/releases Packal: http://www.packal.org/workflow/alfred-time-v2
  6. This side project is inspired by Welcome to the 168 Hours Time Tracking Challenge! - Laura Vanderkam. You could leverage Alfred and Google Sheets to track your time with ease. The goal is to track your time in a way that is easy to understand how much time you spend on. 168 Hours Time Tracking Challenge Sheet Why ? Idea inspired by Welcome to the 168 Hours Time Tracking Challenge! - Laura Vanderkam. When you want to understand how much time you spend on and you need to log it FIRST. Although Laura Vanderkam provide good time sheet template (Excel or PDF; 30- or 15-minute versions) you could download but there is no easy and quick way to fill out the form. Features - International ISO 8601 weekly number - from Monday to Sunday - Sheet - save auto created Spreadsheet in specific Drive folder (default: timelog, you could change you want) - Security - use deanishe/awgo support API to handle sensitive data like Google API token Requirement alfred-timelog DONOT provide any GCP project client_id and client_secret. User need to create your own. It's recommend to create new GCP project. Usage Installation Visit Google Cloud Platform Console and create new project. Enable Google Drive API and Google Sheets API via gcloud command or GCP console. $ gcloud services enable drive.googleapis.com $ gcloud services enable sheets.googleapis.com In the Cloud Console, go to the Credentials page. Click CREATE_CREDENTIALS, then select OAuth client ID. Select Web application application type Set Name as Alfred Timelog At Authorized redirect URIs session Click ADD URI and set https://localhost:38146 Click CREATE and save Client ID and Client secret for using later Visit Releases · cage1016/alfred-timelog Download latest release and install. Setup Client ID and Client secret tl auth to authorize alfred-timelog to access your Google Drive and SpreadSheet by Google API tl setup to create Drive folder and weekly Spreadsheet tl to add action description you want and will add to Spreadsheet Download Download directly from Github releases page, make sure to download the latest release. Download here
  7. My preferred way to search Google is to limit results to the past year. To do so I use this URL: https://www.google.com/webhp?cr=&tbs=,qdr:y I have attempt to enter that in the "Search URL:" field in Alfred's Preferences so that I could search within Google using that time limit just as I do on a new web tab. However Alfred's response when I click the "Lookup" function is an invalid search. The URL in the dialog box is cut off after the "/webhp" just at the question mark. I have attached a screenshot as illustration. Can anyone provide guidance as to how to use this specific Google search URL as a Custom Search? The intent is so that when I enter a term into Alfred's search field this Custom Search URL would appear as the default search. Then when I hit Return it would enter the searched term in Google's search field and activate the search just as it does for the standard Google URL. Thanks in advance for any guidance you can offer.
  8. Tells you how many days until / since any day. https://www.dropbox.com/s/1sb3hi5q3aeumlj/Days.alfredworkflow?dl=0
  9. This workflow extends Alfred's built-in calculator function. It recognizes durations as input and allows them to be added / subtracted. For example, if you type "8:00:18 - 4:19:23" into Alfred, you'll get "3:40:55". You may add or subtract as many durations as you like (e.g. "3:32:55 - 5:57 + 4:50:14"). Download Preview:
  10. Here's a workflow that's useful for developers; it allows you to convert between timestamps and formatted datetime strings with ease. Simply type "df" followed by: "now", a UTC unix timestamp, or a formatted datetime string. This will present you with the parsed date in various formats ready to copy to your clipboard. Download
  11. I just added workflow snippets to my Time Stamp Workflow and noticed that I had never shared it. So, here it is. You can use "ts:stamp" to list the pre-defined date/time stamp format and paste the current date/time into the top application. Or, you can use the "ts:build" to build your own date/time stamp to add to the list. I also have several predefined snippets: ;tsl = the current date/time using the last select date/time stamp. ;ed = the current date/time in the mm/dd/yyyy format. ;dow = the current day of the week. ;nsu - the next Sunday date using the last select date/time stamp. ;nmo - the next Monday date using the last select date/time stamp. ;ntu - the next Tuesday date using the last select date/time stamp. ;nwe - the next Wednesday date using the last select date/time stamp. ;nth - the next Thursday date using the last select date/time stamp. ;nfr - the next Friday date using the last select date/time stamp. ;nsa - the next Saturday date using the last select date/time stamp. My GitHub: https://github.com/raguay/MyAlfred Packal: http://www.packal.org/workflow/time-stamp-workflow
  12. Hey ya'll, This may be a silly ask but I'm new to Alfred so I figured I'd start here! Can anyone tell me how to calculate a new date ie 16 days from today's date? I tried using a snippet that looked similar to this: {date}+16 and it doesn't seem to work out. Any tips? Thanks!
  13. This is pretty self-explanatory. My suggestion is that a new trigger object is added for workflows which triggers at the specified time, perhaps with a day/date component as well, and passes the date through to the workflow.
  14. G'day folks! I've recently dug into writing a workflow for Alfred which purpose is to control Hyperion (a service which supplies LED stripes with data). However, when I'm trying to ssh into the remote machine to fetch a list of all available colors (148 ones), it apparently takes too long. Now, I've read on the forum that Alfred has no such thing as timeout. But in that case, I would love if someone could explain why I can fetch the list of effects, where there are only 14 lines and not the list of colors (148). Is there anything I can do? Oh, and yeah: I've seen the setting "terminate script on subsequent input setting", but I cannot find it no more. I thought I could test without that setting, but I don't seem to find it anymore. Edit: found the setting. Whatever setting I had didn't matter. If I run the script in the terminal, the file with the list creates just fine. It's only an issue when using Alfred. Thankful for answers.
  15. I currently use Mac's Parental Controls feature to limit the amount of time my child can spend on the family iMac on a given day. For instance, once he's done with homework and chores, he's allowed to login and use up his weekday allotment. Sometimes I want to grant him extra time as a reward for something, yet the iMac is often a good distance from where I situated in the house. I'm looking for a way to "extend" my child's time using an iPhone app for remote control so that I don't need to go to the Mac and type in my admin username and pw. Ideally I would also be able to just lock/unlock his iMac screen using my iPhone from anywhere (over internet) at any time. Will Alfred work for this? Any other suggestions? I've been web searching like crazy, reading about different software offerings, and cannot seem to come up with anything like this. One would think Apple would supply native remote control capabilities across its product line-up. Thanks in advance!
  16. Hello. I've been looking for a workflow that changes the system date, but couldn't find one. Does anyone know of one or how to make it? Thank you and take care,
  17. What? Synopsis: If you are regularly attending meetings where people from different countries need to join and you need a quick and easy way to check a future date in all the time zones, wouldn't you love just saying "April 17 10am london to paris,germany,india" And boom. You would know what date and time April 17 10am is in paris, germany and india? Every timezone calculator I've used so far either have clunky drop down menus or, like google time search, only works with current dates, not future dates. Not very helpful. Read on. This workflow does just that. Features: 1) enter your own shortcuts for long timezones (there is a convenience code mapping in a file you can extend) 2) enter full timezones 3) enter cities,countries not part of above and it will use Google to convert it to a timezone (best guess) 4) allows you to enter many destinations at once (tzc 10am md to paris,london,czech,algeria) Download Download link Current version of workflow 1.4 Changelog May 5 2013: Released v1.4 - fixed bugs. Removed dependency on DateTime - easier to install for non dev. users. No xcode etc. needed. The workflow should work without any additional installation steps (or so I hope) May 4 2013: Released v1.3 -added Google api integration, added explicit instructions on install pre-requisites April 18 2013: Original version Keyword tzc How This is an easy to use time zone converter with multiple tz support. Specifically, I often have 'meeting scheduling requirements' with customers from all around the world. So someone asks me 'hey are you ok with a meeting on April 17th at 10am london time?' and then given that I want to make sure that time is ok with me as well as my team members who are in different countries, I need to quickly calculate what that means in different timezones. tzc to the rescue Most available calculators are cumbersome, or, don't handle multiple zones, etc. so I wrote my own All you need to do for the above is, in alfred type "tzc April 17 10am london to paris,germany,india" and boom - you will have what this means to folks in paris, germany and india. Alternately, you can just say "tzc 10am london to paris, germany, india" to skip date. Many other options - see help file in the worflow Here you are converting 10AM maryland to paris and bogotia. Note the different icon for Bogota. This means, bogota was not recognized and it did a google API matching to resolve the timezone Here is an example of a future date + time conversion Note that this workflow requires some perl modules to be installed, so if it does not find them, it will tell you. See below for installation instructions Also, in that workflow folder, there is a file called mycities.inc - you can assign shortnames to timezones so you don't have to remember long timezone names (london,paris,germany examples are all shortnames defined in mycities.inc - extend it to add your own). To edit the shortnames "tzc edit" To get help, "tzc help" Troubleshooting (if things don't work) This workflow needs two perl modules to be installed. They are Date::Parse & LWP::UserAgent. You *should* already have them installed but if the workflow is telling you one of these modules are missing, read on: Step 1: Launch a terminal Step 2: Check if you have both Date::Parse and LWP::UserAgent installed In the terminal, type and then If either of them generate an error, you need to follow the next steps. If neither of the above produce any output, you have them installed already. Enjoy the workflow - you don't need to follow the rest of the steps. Step 3: Type in It may ask you lots of questions, just go with defaults/yes. Get to a point where you get a cpan> prompt Then type, one by one To make sure, exit cpan, launch a terminal and repeat step 2 to make sure these don't print any errors. If none of these result in an error, you are all set. Comments, feedback welcome. Its possible I am not leveraging some cool things in Alfred - feel free to point them out to me as well.
  18. Hi, With the recent comments about wanting to add up several time values using the calcutor, I decided to cleanup and give out this handy workflow. I am often needing to add up a series to times in a document. This workflow makes it very easy. Clear the accumulator, select a time value, and hit your hotkey combination you assigned in this workflow. The time will be accumulated. You can show the time in Hr:min:sec format or just plain minutes. Have fun! ta:clear This clears the accumulator ta:showmin Show the accumulated time in just minutes. ta:showhr Show the accumulated time There is a hotkey you need to set for adding the currently selected time. GitHub: https://github.com/raguay/MyAlfred/blob/master/TimeAddingWorkflow.alfredworkflow Packal: http://www.packal.org/workflow/time-adding-workflow
  19. I often end up in a situation when my entire screen is covered with windows and the tiny analog clock on the menu bar is just too hard to decipher. Plus, I guess it's safe to say that all of us hate using the mouse or the trackpad on those over-work days (hence Alfred! ).So I decided to make a most basic workflow using the "date" command of the Terminal. There are two keywords: 'date' and 'time'. On actioning these keywords, the current date and time (respectively) are displayed on the screen using the "Large Type" output mode. That's it! (oh, one more thing - I use the word "Clock" for the search result to avoid conflict with "Date & Time" of "System Preferences") Here are a few screenshots: date keyword date output time keyword time output NOTE: Although it is not apparent from the screenshots, the large type output is actually transparentso it does not really cover your screen with a completely opaque black panel! And a press of the Esc key is all that's required to get it out of sight. You can download the workflow from here: https://github.com/bedartha/DateTime I hope you guys like it. - Bedartha
  20. I created a workflow to display the current date and time in a configurable format. Pressing enter will copy to clipboard. You can also add and subtract time. Examples: date 3w: today + 3 weeks date -2y: today - 2 years date 2m -5d: today + 2 months - 5 days View GitHub for more details. Direct Download.
  21. alfreTS This is a time stamp workflow for the Alfred Application. Download the current package via dropbox. Open the alfred window then type now. The results show the current timestamp in different formats. Select a timestamp format to copy the shown timestamp to the clipboard. Paste it into any editor you like. You can define your own formats via the python strftime syntax. It is also possible to define your preferred locale setting to acquire the weekday and month names in your local language. In order to edit these settings you need to enter the settings into the script of the Script Filter inside the workflow. This can be done by editing the #commented lines. (In case you did not know how #comments work: lines with # in front will be ignored by the python interpreter and not be executed.) Please visit the projects github repository. If you are using this workflow and you happen to make a new format for timestamps please share it here. Thankyou! <( )> hug me <(^.^ )> PS: somehow I cannot add screenshots here. It says I am not allowed to link *.png files (T_T)" If you would like to see some screenshots please visit the github repository. The README.md contains two screenshots. update: new version online =) alfreTS_v0.0.201402142154.alfredworkflow Question to all users: Would you like to have an interface via the Alfred input window to edit your locale and your formats?
  22. I created a simple workflow to copy the current timestamp (In seconds or milliseconds) to clipboard. Useful as a developer! http://cl.ly/001g0F3K0e2R Usage timestamp - Copies current time in seconds to clipboard timestampm - Copies current time in milliseconds to clipboard timestamp <timestamp> - Converts timestamp to readable date Feedback Let me know if theres any problems or feature requests! Cheers.
  23. Download (v2.01) I took nirl's workflow and built it upon it, adding an option to see custom locations in Alfred (populated back into Alfred results). Usage: timein - see the time your default locations (you can setup those in the workflow, easy to remove/add more and modify existing ones). timein <location> - see the time in the typed in location, including it's flag (without the '<>'). Credits: I've used the flags from CarlosNZ TimeZones workflow (with his permission), so a huge thanks for him for having the flags display faster and correctly now (flags were originally taken from this site, so a huge thanks to them as well). Notes: Feel free to take any of the code I written for the workflow and use it, but please give proper credit where needed. * Please note that this workflow is no longer in development considering the latest update to the TimeZones workflow, which implements TimeIn as a whole in it. Also, I don't have the time to maintain it as much anymore. Hopefully you'll continue enjoying the new version of TimeIn in the future, or move over to TimeZones.
  24. Anyone have a way to pull up the time in different countries? A conversion app that could do postal codes etc. would be SWEET!
  • Create New...