Jump to content

Jasondm007

Member
  • Content count

    47
  • Joined

  • Last visited

  1. SSRN & Web Search - Search URL?

    Thanks, @dfay!! I really appreciate it.
  2. SSRN & Web Search - Search URL?

    Weird, I still receive the error below: Do you have a different Alfred setup than me? I'm not sure if it's relevant, but I use Safari as my default browser. Thanks again!!
  3. SSRN & Web Search - Search URL?

    @dfay @deanishe Sorry to bother you guys about this again, but it appears as though SSRN has updated its search form - breaking the Search URL used by Alfred (below): https://papers.ssrn.com/sol3/results.cfm?txtKey_Words={query} Now, when searching, I get the usual page not found notice. I tried looking at the code from the form, but it looks identical to what @dfay posted above (action, name, etc.). Do guys have any idea what they might have changed and where I might look next? Thanks for your help!!
  4. Thanks a ton @deanishe!! I'll see if I can make sense of these materials over the weekend. Much appreciated!!!
  5. @deanishe Thanks for your help! The RTF method sounds like the best option, however, I'm afraid it also sounds like it's far beyond my limited skill set. I'll try to poke around and see if others have workflows or applescripts that edit text as an RTF; that way, I can just try and modify it for Evernote. If you know of any, please let me know. Thanks again!
  6. Has anybody created a workflow that can change the color of text to a specific color within the Evernote app? At the moment, Evernote only allows you to show and hide the Color Picker with a shortcut (C-Command-Shift for both hiding and showing). However, it doesn't even make the Color Picker window/pane active, so it's not entirely clear to me how to script something that would could pick a color and close the Color Picker. I'm a scripting newbie, but I find it really annoying to constantly have to fidget with the mouse to get this repetitive task done. In fact, several other people have complained about the issue on Evernote's message boards. Like most people that use Evernote, I commonly highlight text in articles and change its color when I want to draw my attention to something or take a note, etc. However, the app only has a menu item shortcut for highlighting text, and it does not include anything to help people change the text's color without clicking around with their mouse. For example, I'd love to just assign a shortcut in Alfred that changes the text's color to red. Within Evernote's Color Picker-restricted system, it would need to do something like the following: After text has been manually highlighted by the user (i.e., not highlighting, as in its format, but just selected with the cursor), use an Alfred workflow to assign a keyword or a shortcut to: Open the Color Picker (C-Command-Shift) Make the Color Picker window active Select the Color Palette option - which is the 3rd one from the top on Macs without anything else installed Click the "Apple" palette - which is the default option that should already be selected Click the boring old Red color towards the bottom, and Close the Color Picker (C-Command-Shift) Of course, I'm completely open to suggestions for a solution outside of Evernote, too - i.e., one that happens out of plain sight and does not depend on clunkily opening and closing the Color Picker. Thanks for any help you can lend!!
  7. Mail Actions Workflow [Updated v0.7]

    @palobo By chance, did you get a chance to look at the MM (move mail) function in your Mail Actions workflow (see quote below)? I was never able to get it working again. The workflow always looks like its working perfectly, but when I navigate out of the folder where the message was moved from and reopen it, the message is always still there. It looks like it may just be copying the message over to the new location. Thanks in advance for any help you can lend!
  8. @vitor Thanks for updating the workflow! Unfortunately, I can't seem to get the new keywords working (rda & rdz) (rdn & rdo - work fine). When I click them they run for a second and then my fallback searches show up. I've tried restarting a few times and even downloading new files, but I haven't had any luck. Any suggestions? Thanks!!
  9. Last question, @vitor , I promise! For those of us without coding backgrounds, do you have any favorite resources that you'd recommend to others interested in tweaking the RecentDownloads workflow? More specifically, I'd like to learn how to use some of the other spotlight metadata to restrict the output further, but - as a newbie - I'm not exactly sure where to start with some of these things. For example, if wanted to restrict the output to certain file types, it looks like using the kMDItemKind field might be a good way of doing that. However, I don't have enough understanding of how your script is using these elements to provide the output (i.e., and this is a "ME" problem and nothing with the script). I've tried adding these elements, but it's clearly not working ... and I don't know enough to efficiently problem shoot. In any event, I'd just like to learn how to some of these metadata elements without bothering you and other equally nice people in the Alfred community. Thanks for your help!
  10. @vitor Sure - my apologies. Here's a link to the present workflow: https://drive.google.com/file/d/1_9nCeNVudhnzEwS2u7ATyxnABtOyvz0e/view?usp=sharing Thanks for your help!
  11. @vitor A few weeks ago, in this thread, you were nice enough to update this great workflow, adding the options to sort by the date added. More specifically, you added two options: one placing the newest item first, and another placing the oldest item first. To jog your memory I've added the script from the filter below (for the second option - file with the oldest date added is listed first). IFS=$'\n' files=$(mdls -name kMDItemFSName -name kMDItemDateAdded -raw "${HOME}/Downloads/"* | xargs -0 -I {} echo {} | sed 'N;s/\n/ /' | sort | cut -d ' ' -f 4- | grep --ignore-case ".*{query}.*" | perl -MHTML::Entities -CS -pe'$_ = encode_entities($_, q{&<>"'\''})') echo "<?xml version='1.0'?><items>" for file in ${files}; do echo "<item uuid='file' arg='${file}' type='file'>" echo "<title>$(basename ${file})</title>" echo "<subtitle>${file}</subtitle>" echo "<icon type='fileicon'>${file}</icon>" echo "</item>" done echo "</items>" fi While the query works great - as it pulls the items up in their proper order - unfortunately, they're not clickable. When I press return on the file that I'd like to open, the files never actually open. In addition, all of the icons/thumbnails in the query just look like white (see image below). Any ideas for how I might amend your code above to operate like usual? As always, thanks a ton for all of your help!
  12. Mail Actions Workflow [Updated v0.7]

    Are others having problems moving messages in High Sierra? When using "mm" to move an email to a specific folder, the workflow appears to work perfectly: I get a notice that the email has moved, and it disappears from the folder. When I refresh the mailbox or Quit and Re-open Mail, however, these messages always come back. The message will be located in its original folder, but a copy of the message will be located in the mailbox where it was moved. To be clear, I'm not accidentally using the alternative copy option either. Has anybody else experienced this issue? If so, how'd you fix it? Thanks for your help!
×