-
Posts
911 -
Joined
-
Last visited
-
Days Won
69
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Carlos-Sz
-
-
I’m not sure how Evernote is consistent regarding its local note storage path. But if there is a common path to go then preview is coming to Evernote workflow. Here is a screenshot from a HTML preview (instead of tiny Evernote image preview):
Of course it is possible to use Evernote default preview but I’m not sure how useful it is to have an image of part of the note instead of having the entire note in HTML.
Any thoughts?
Here is the same note with the Evernote default preview:
-
Reminders
Goal- Show overdue and due today reminders right away
- Easily show lists and their due, overdue and not completed reminders
- Create new reminders
- Create new lists
- Mark reminders as completed
This is a simple Reminders approach, with its own workflow, aimed for users that have only a few due or overdue reminders. If you are a havy user with tons of due, overdue or not completed reminders then you may consider using Jack James Reminders workflow that also caches reminders which can make things faster.
Usage
Bring Alfred and type the keyword rm and a list of overdue and due today items will be displayed:
Type a single interrogation point for a quick syntax help:
Type to create a new reminder in the default list (see date format options below):
Type a single hash sign to show all lists:
Once in a list you can see its reminders and also create a new one:
If you want, type a third hash sign to set the due date:
There are a lot of date formats accepted:- tod or today (default)
- tom or tomorrow
- ne or next week
- 2m or 2 m or 2 minutes or in 2m or in 2 m or in 2 minutes
- 2h or 2 h or 2 hours or in 2h or in 2 h or in 2 hours
- 2d or 2 d or 2 days or in 2d or in 2 d or in 2 days
- 01/01 or 01/01/13 or 01-01 or 01-01-13
- 01/01 6:00pm or 01/01/13 6:00pm
You can always check if the date format entered is valid or not in Alfred subtitle:
Due soon: type rm due
Displays a list of due soon (in a week) and not completed reminders:
Mark a reminder as completed- highlight a reminder
- hold control key (the reminder subtitle will change to Mark Reminder as Completed)
- hit return key
Open a reminder in Reminders app
- highlight a reminder
- hit return key
What’s new
- (1.1) Better handle of reminder creation when within a list (#)
Download
- Version 1.1
- Release date: 13 Jul 2013
- Made in OS X 10.8.3
- Supports Alleyoop 2
- Download now
PS: post wrote in Byword and converted using Markdown to BBCode workflow
-
Thanks for the updated link,
I meant, I'd love to be able to quickly save an image that I have in the clipboard (typically, I just did a screenshot to the clipboard, and I now have to create a file for some reason)
FYI: In OSX you can use Command+Shift+4 to take a custom screenshot* and get a file saved in the Desktop automatically.
*Hit space bar then mouse click a window to take its screenshot
-
Great workflow!
Do you think it would be hard to autodetect whether the clipboard content is an image or a text to save it accordingly?
Regarding text this workflow is better and you can also save in current Finder window.
When you say image what exactly you mean? A peace of it from an image editor?
-
You can save the current clipboard content to a string, copy the selection to the clipboard using System Events keystroke command, count the words then put the initial content back to the clipboard. In resume:
try set sCurrentCB to get the clipboard end try tell application “System Events” keystroke "c" using command down end tell set sTextToCount to get the clipboard as text —count words here try set the clipboard to sCurrentCB end try
-
Hi Carlos,
You can reduce this
set wf to load script POSIX file (POSIX path of ((POSIX file ((POSIX path of (path to me)) & "/..") as text) & "q_workflow.scpt" as text) as text)
to this...
set wf to load script POSIX file (POSIX path of ((path to me as text) & "::") & "q_workflow.scpt")
Thank you. I’ll try it for sure.
-
I'm trying to make a script to help in calculating em values. I feel really dumb asking this, but I can't for the life of me figure out how to get the result copied to the clipboard, for pasting into other applications. Here's what I have so far:
set query to {query} set base_em to 16 set calculated_em to query / base_em calculated_em as real get calculated_em set the clipboard to calculated_em
Essentially, the workflow will be typing em {query}, then ⏎, copying the result to the keyboard. I've got everything working until the clipboard part - I'm sure I'm missing something totally obvious here, but I can't for the life of me figure out the last part, argh.
Here is an AppleScript code that seems to be working:
set query to "{query}" as text set base_em to 16 set calculated_em to (query / base_em) as real set the clipboard to calculated_em as text
And here is the workflow I did to test it: download now
-
Thanks, but I'm finding that hard to follow without a basic explanation of the technique.
Here is a simple workflow sample that is shorter and commented: download now
Start reading tm_filter.scpt then tm_time.scpt
-
Carlos. Thank you! This is exactly what I wanted it to do.
Comparing your code to mine, I now understand that if I wish to pass a string from Alfred to Applescript, I must:
a. include "{query}" in the set command, and
b. declare the variable as text.
I really appreciate your help.
Great. Note that we are also working only with AppleScripts language.
-
When the workflow sent the file Evernote didn’t create a note for some reason. The error occurs after that when the workflow expects a note and tells Evernote to change its creation date.
Did you download your Evernote from Mac App Store?
Can you try the version from Evernote site?
[update] I installed the Mac App Store version and I can’t add a file anymore. Evernote does not send an error though. In resume, if you’d like the feature it seems you have to install Evernote from evernote.com.
I posted the reason behind this problem a couple of days ago, but it doesn't seem to have made it to the forum.
The app store version of Evernote is sandboxed. As such, it can only access files in certain folders. I and others have the same problem with Scansnap software. If you use their "scan to Evernote" function, you have to make sure the scan goes to folders like Documents or Pictures, otherwise it won't work. If you look in the console log when you attempt to save a file to Evernote via this workflow, you'll see sandbox errors. You can verify this by creating a note from a file in, say, the Documents folder. That will work. But try a file from, say, Dropbox, and it won't.
I think the only solution is to use the downloadable version of Evernote rather then the app store version. Not sure of the process to revert to that yet. But then you'll also get back the "print PDF to Evernote" function, which is good!
Thank you. I was not aware of this kind of limitation.
-
Yes. I can add New, From Selection and From Clipboard. It's just 'File' that doesn't work.
I do have Chrome installed.
I'll gladly give the script a go.
Many thanks.
Great. Please:
1. download and unzip in a folder (there are two files) the test: download now
2. open en_addnote.scpt in AppleScript Editor
3. select a file in Finder to add in Evernote (make sure nothing is also selected in the Desktop due a bug in Finder)
4. Click the AppleScript Editor Run button or hit Command+R
5. take a screenshot of the error and the Result
Here is an AppleScript Editor screenshot showing the Run button and the Result window at bottom:
-
I love this Workflow but have never yet gotten 'Add file' to work.
I'm running OSX 10.8.3, Evernote 5.0.7, Workflow 6.0 and Alfred 2.0.3 (187).
I've now resorted to using a Finder sidebar folder monitored by Hazel. I just drag a file onto it and Hazel pops it into Evernote.
When you are adding a file do you see it in Alfred? Something like this:
Can you add other type of notes? Like from Text Selection?
If you have time I can send you a script to execute so we can try to catch an error? Finally: do you have Google Chrome installed?
Thanks.
-
Version 2.0 is out:
- Last used application listed right after the keyword ew (use the keyword at least once)
- Curor at the end of the initial text too
- The workflows detects if there is an initial selection otherwise it will select all text
- The initial step does not require any text at all so you can start with a blank document
- Supports Alfred 2.0.3 (187) AppleScript improvements
See initial post for details or download it now.
Thank you all for the great feedback!
-
Thanks for this workflow. Very handy.
I'm also having problems. If I type "ew" I see nothing except "select your text editor) but no list or anyway to select.
On the other hand if I type "ew" then space then name of editor it works (partly).
The other problem I face is that it will only put highlighted text into the new editor. I thought highlighting was optional. This problem slows me down the most. It's not horrible, and I can certainly work around it, but if I understand things correctly this is not intended behavior.
Using MacBook Air 11" with 10.8.3.
It seems you’re using version 1.6 of the workflow. Please try this version: download now
Run the keyword ew at least once.
Later today I’ll release a new version based on it.
-
Right now it will place the cursor at the end of the text, not the selection. If I find a way to detect the selection itself I will add the feature for sure. Thank you for your feedback.
I did try it with the OS X notes app, highlighted some text then ran alfred to edit with textedit then pb with alfred and it sent the cursor to the end of the note instead of the end of the selection. I also tried starting with textedit and then going to word and back to textedit with the same result.
-
Thanks! I've been looking for this simple explanation for ages. Nicely written.
I've now got my workflow up and running sweetly. I will post it soon, but there's one related question I have.
My workflow's embedded AppleScript contains a couple of variables that users will have to customise for their own purposes – is there a smart way to do that? Some way of prompting the user once at install and thereafter just working with the entered values.
I write my workflows in AppleScript too.
Check this workflow: http://www.alfredforum.com/topic/460-to-dropbox-30-formerly-move-to-dropbox-url-to-the-clipboard/
Or this working in progress with a more updated approach regarding a setup: download now
-
Please, try this: TextExpander CK
Note: it will change the !CK! content (though it seems this is what you want).
-
Just installed Alfred V2 and the 6.0 workflow. Adding a note from Finder selection doesn't seem to do anything for me...
Make sure to check the selected files in Alfred window:
Above I have 2 files selected.
Finally, try to restart Alfred 2 and Evernote.
If you’re still having problems please give me more details about your Mac, OSX, if Path Finder is replacing Finder, if Note from Selection or Clipboard are working, if searching is working (keyword en) and so on. You can contact me at: carlos dot sz at gmail dot com
Thank you.
-
carlos, thanks for another great workflow. is it possible to have the cursor be at the end of the text that is pasted back instead of at the end of the document?
It should do that… Can you make some tests please?
Everything working fine for me
Thank you!!!!
Great!
-
Hi Carlos -
Brilliant effort here, I so miss QuickCursor
I can confirm that all your last fixes:
- cursor at end of line
- selecting all text if none selected
- not using clipboard if document blank
totally work fine for me too.
Thanks so much!!
Oh and for anyone else that may have a similar issue to me not finding my text editor of choice (Sublime Text), if you have any apps in your home Applications folder you need to edit the: ew File Filter part of the Workflow to include search in: ~/Applications
[Not sure if that's worth just adding to the script or not Carlos?]
Hi
Thank you for your feedback!
Regarding your question. Right now the workflow is expecting an editor from /Applications/ folder. I’ll also have to adjust the scripts in order to use an editor from home Applications too (not only the File Filter). I’ll see what I can do about it.
[update] Here is a new version that will also search and properly process an app from Home folder: download now
It is working here but let me know if it is working properly for you too. Thanks.
-
Hi Carlos
You can remove keywords by setting them to an empty list
Projects -- set to ""
and the next version of MT will have ability for applescript to tell a message to clear the tickle date.
Scott
Thank you Scott.
I think I tried that only with tickle date.
Great to hear you will add more commands. I’ll surely use them. Thank you.
-
Version 6.0 is out:
- Easily import selected messages in Mail
- Imporved New Note from Text Selection if topmost application is Mail
- URL and email URL added to source URL field of the note (instead of appended to the end of the note)
- Improved support for multiple selected files in Finder
- New Note from Finder Selected Files: note creation date will be the file one (thanks to dantetemp)
- List all notebooks and search from one of them: use keyword en then type a hash sign e.g. en #
- Several internal improvements including support for Alfred 2.0.3 (187) that fixes some issues regarding AppleScripts
New list notebooks feature:
Search within a selected notebook:
-
Great work !
Thx
Thank you!
Yes I agree this would be REALLY useful. Love this workflow. This would make it perfect
I’ve already sent Scott an email about it. It depends on him to add new AppleScript commands so I can use them in the workflow.
-
Simply brilliant
Man you are really fast!! Thank you so much. I was missing QuickCursor like crazy. I will update you if anything else crops up.
Thanks again!!!!!
Dionysis
Thank you!
Hey (again)
Just a little detail. When starting the workflow from an empty page (for example a new email) it will bring in the editor the last thing on the clipboard.
best,
Dionysis
Here is a new version that should fix this: download now
I’ll make more tests here too but its seems to be working with an empty document now.
Zip for Alfred 3: compress files and folders
in Share your Workflows
Posted
I’m not sure why the Alfred File Filter, which I don’t have much control over it, is sending you to Search Google but you can type another keyword such as Public.