vitorgalvao / alfred-workflows Goto Github PK
View Code? Open in Web Editor NEWCollection of Alfred workflows
License: BSD 3-Clause "New" or "Revised" License
Collection of Alfred workflows
License: BSD 3-Clause "New" or "Revised" License
Hello,
When I try to configure pinadd, it works with safari.
But when I want to use Firefox, I did not find that option such as
configurepinadd username:token firefox
So I used depends. But that doesnt work either. While safari works.
Is it posisble to support Firefox as well.
Thanks
Joe.
The other two do, and when I type wwe
it looks like it's going to work, then wwe <anything>
doesn't work - it switches to the default actions, like search on Google.
Alfred v2.3 (264).
Any thoughts? Will to hack around but I want to know if you've seen this problem before.
After the password is generated, I can't seem to be able to paste it to anywhere. It has always appears to be blank. I've just installed the latest one on Macbook Pro.
the workflow shows, "turn it off", but nothig happens. Even no debug entry in the workflow
LabelColor isn't giving me anything when initiated. Sorry I can't be more helpful than that, my knowhow w/ Alfred workflows is zero.
Updated, deleted and reinstalled on OSX 10.11.5 from your Github link, no difference made.
Thank you for your rapid update for the version 1.2.1 of New File. However, after updating to version 1.2.2, I find that the command works in English folder path but doesn't work if there are Chinese characters in the path. Can you fix it?
nf
and nfo
[2018-04-28 00:36:14][input.keyword] Processing output of 'utility.argument' with arg 'test.docx'
[2018-04-28 00:36:14][utility.argument] Processing output of 'action.script' with arg 'test.docx'
[2018-04-28 00:36:15][ERROR: action.script] touch: /Users/qfc/Documents/Phd/å¦æ�¯ä¼�è®®/test.docx: No such file or directory
[2018-04-28 00:36:15][action.script] Processing output of 'action.script' with arg ''
Starting debug for 'DenteAzul'
[2018-05-28 17:10:38][input.keyword] Processing output of 'action.script' with arg ''
[2018-05-28 17:10:39][action.script] Processing output of 'action.script' with arg ''
My understanding was that if I just activate bt
it would turn off bluetooth if it is currently on. Or it will turn on bluetooth if is already on.
This doesn't happen. I found this workflow that works like this but I want to use yours as I like the icon. I also like the fact that you can pass in a query to turn on/off bluetooth for some time.
This workflow works really well with English text, but I think that I'm missing something in the configuration to make this work with Spanish and Portuguese. Can you explain me in more detail how I can set up those languages?
Thaks for all those opersource projects that you have been developing.
Follwing issue #34 [(https://github.com//issues/34)],
I have upgraded to 10.11.6. Here there are other issues.
Two issues I have encountered:
1.) Creating templates from file or directory works in principle, but there is an error message displayed every time.
Error on line 6: SyntaxError: Unexpected identifier 'i'. Expected either 'in' or 'of' in enumeration syntax.
Pressing Edit opens Notificator.app in the Script Editor.
2.) Deleting Templates from "tml" with pressing Alt+Enter does not work. With "tme" I can see that the file/directory is still in the templates folderand is still listed the next time I enter "tml"
on packal there is the info that RightClick is not working on mavericks
to make it working you have to add Alfred to Accessbility:
http://support.apple.com/kb/HT6026
http://mizage.com/help/accessibility.html
nf
or nfo
.It would be nice if one can type something like "spell ralley" and the workflow shows up "rallye" (without replacing in). The current workflow uses the spell command from alfred which does not work for other languages than english (e.g. german).
Updated the Hackerboard workflow and nothing showed. Here is what the debugger shows :
2017-08-06 19:11:30][ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `connect': SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version (OpenSSL::SSL::SSLError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `block in connect'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:851:in `start'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:313:in `open_http'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:709:in `buffer_open'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:210:in `block in open_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `catch'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:689:in `open'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:34:in `open'
from ./hackerboard:34:in `<main>'
I believe it was working perfectly well before the update. Not sure what changed.
Pinboard works well on the other hand.
Is this compatible with Alfred 3.2.1? If so, does it need some kind of extra config?
Hi Vitor,
Recently I have noticed that short films is not working for me anymore. I have the latest version of short films and also the latest versions of youtube-dl and mpv from brew (brew directly, not brew cask).
When a short film is selected in Alfred mpv opens briefly and then closes. I have the impression that the issue comes from youtube-dl somehow not passing information properly to mpv internally. Note that when I execute on the command line:
open -a mpv youtube_address
this works perfectly.
Any idea how to fix this?
Do you have the same issue with the latest versions of your installed brews (youtube-dl, mpv)?
Guy
Hi,
I just upgraded to Alfred 3 and downloaded the latest version of MachineClean but it doesn't seem to work. It starts and asks for my username and password but doesn't actually lock the keys. Also, it disregards the time I put in and defaults to 50 seconds. I'm using a Retina MacBook Pro (Mid 2015) in case that is pertinent.
Here is the debug.
Starting debug for 'MachineClean'
[2017-03-17 14:13:39][input.keyword] Processing output of 'action.script' with arg '10'
[2017-03-17 14:13:42][trigger.external] Processing output of 'input.scriptfilter' with arg ''
[2017-03-17 14:13:42][input.scriptfilter] {
"rerun" : 1,"variables": {
"timer": "1"
},"items": [{
"title": "MachineClean",
"subtitle": "Unlocking in 50 seconds",
"icon": "icon.png"
}]}
[2017-03-17 14:13:43][input.scriptfilter] {
"rerun" : 1,"variables": {
"timer": "2"
},"items": [{
"title": "MachineClean",
"subtitle": "Unlocking in 49 seconds",
"icon": "icon.png"
}]}
[2017-03-17 14:13:44][input.scriptfilter] {
"rerun" : 1,"variables": {
"timer": "3"
},"items": [{
"title": "MachineClean",
"subtitle": "Unlocking in 48 seconds",
"icon": "icon.png"
}]}
[2017-03-17 14:13:45][input.scriptfilter] {
"rerun" : 1,"variables": {
"timer": "4"
},"items": [{
"title": "MachineClean",
"subtitle": "Unlocking in 47 seconds",
"icon": "icon.png"
}]}
[2017-03-17 14:13:47][input.scriptfilter] {
"rerun" : 1,"variables": {
"timer": "5"
},"items": [{
"title": "MachineClean",
"subtitle": "Unlocking in 46 seconds",
"icon": "icon.png"
}]}
[2017-03-17 14:14:32][action.script] Processing output of 'action.script' with arg '
'
[2017-03-17 14:14:33][action.script] Processing output of 'utility.hidealfred' with arg '
'
[2017-03-17 14:14:33][utility.hidealfred] Processing output of 'action.script' with arg '
'
MarkdownTransform would be nice if it supports HTML output
Opening and closing this issue for reference.
If you’ve come here, there’s a good chance you tried to open MachineClean on a machine with an unsupported keyboard, like a MacBook Air. Unfortunately, on machines that use the AppleHIDKeyboard
driver, the Workflow can lock the keyboard but not unlock it, forcing you to a restart. As such, MachineClean will abort and not try to run when it detects that to be the case.
If you have a solution that reliably works on any model, please do let me know.
I got the latest version of the workflow, and whenever I press the hotkeys or execute the file actions, nothing happens. I took a look at the error log, and I found this:
[INFO: alfred.workflow.trigger.hotkey] Processing output 'alfred.workflow.action.script' with arg ''
[ERROR: alfred.workflow.action.script] usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
mktemp [-d] [-q] [-u] -t prefix
I could get pinadd configured with my Pinboard API token, but every time I run the workflow it fails to add anything. I hacked the pinadd script to print out the value of ${url}
and it is empty for me. So on my browser (latest version of safari) it just doesn't seem to grab anything for the frontmost URL.
It's not actually an issue, the workflow works perfectly, but it'd be amazing an icon on the upside menu bar showing when the cafeinate is active, because you can't know when it's or not working unless you activate/desactivate again.
I don't have either mpv nor VLC but I do have IINA which I really like.
Would be awesome if you could stream the videos there. IINA is based on mpv but has a modern macOS look to it.
Upon activation, the workflow successfully locks the keyboard, but never unlocks it. Putting the computer in and out of sleep does not fix the issue. Logging out does not fix the issue. Restarting the computer does.
Computer:
MacBook Air 13", base model, serial number C17L4CJWFSV7, purchased summer of 2013.
OS:
10.9.5 Mavericks
Alfred version:
v2.6 (374)
Thanks!
Hello,
I installed TemplatesManager yesterday. in my first tests, I could successfully add a directory structure.
But now, when trying to add a file or folder as template with "Add to TemplatesManager", simply nothing happens. "tml" shows "You have to add some local templates first".
Also, when i manually put a file in the templates directory and then do "tml", the file shows up, but pressing "enter" does not copy it to the current directory.
I tried this both from "Path Finder" (my regular file manager) and Finder.
Alfred: v3.3.2
TemplatesManager: v1.5.0
Thanks!
Great idea Vitor!
I installed it but didn't used it as it wanted to be able to select one part of my screen not take a screenshot of all the screen.
Is such a feature on your roadmap?
Please do not forget to include:
When I try to run the tmpmail
workflow, it appears to run and tells me that the email address has been copied to the clipboard, but it opens a blank tab in Chrome and there's nothing on the clipboard.
I'm running v1.4.1 of the TemporaryEmail workflow in Alfred3.
I'm not sure how easy it is, but if you could implement the ability to upload screenshots to your own account, that would be terrific.
Rightclick should only work if finder is active
IncognitoClone has stopped working. I'm using Mac OS X 10.11.5 (15F34) and Alfred 3.0.2 [676].
Just downloaded the new version and my keyboard remains locked after the countdown. (2016 MBP on 10.12.6) :/
I loved MachineClean but it suddenly stopped working for me. I am on macOS 10.11.6 and using Alfred 2 v2.8.7. I'd greatly appreciate your help in bringing MachineClean back to life!
Seems like there is an issue with the forward.cat email address. The alfred-workflow works absolutely fine but (at least for me) the forward.cat address won't get pushed to my clipboard and therefore I do have to open my email app in order to access the newly crated disposable email address.
However it seems like I do have found a minor tweak that solves this issue for me:
In line 21 (where the variable gets pushed to the clipboard):
Instead of:
pbcopy <<< "${email}"
I modified this line to:
pbcopy <<< "$(tr [A-Z] [a-z] <<< "[email protected]")"
With No Argument you can't start typing to filter the options. Even if there is only 3 options, it still is useful.
When I trigger the shortcut I set to have MarkdowTransofrm convert markdown to HTML, I get the markdown in my keyboard, not the HTML. Can you please help me get the transformation to HTML to work? Thanks!
Starting debug for 'MarkdownTransform'
[2018-04-28 15:04:12][ERROR: action.script] /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': dlopen(/Users/rwbarat/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.F7AF8794-3C7A-4FF8-B9B0-D716429C7446/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.bundle, 0x0009): required dylib '/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib' not found, needed by '/Users/rwbarat/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.F7AF8794-3C7A-4FF8-B9B0-D716429C7446/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.bundle'. Did try: file not found '/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib', file not found '/usr/lib/libruby.2.0.0.dylib', file not found '/usr/local/lib/libruby.2.0.0.dylib' - /Users/rwbarat/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.F7AF8794-3C7A-4FF8-B9B0-D716429C7446/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.bundle (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/rwbarat/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.F7AF8794-3C7A-4FF8-B9B0-D716429C7446/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.rb:1:in `<top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from ./html:4:in `<main>'
I type .echo 'hello' and expect to see a notification with 'hello'. Instead i get a notification saying RunCommand Success - the command finished successfully.
When I click on the notification I get:
Error on line 10: Error: You need to give at least one argument from the CLI. You cannot run this by double-clicking the app bundle.
I tried to convert some markdown on Alfred Forum to BBCode and it did nothing. This is what I get in the log:
Starting debug for 'MarkdownTransform'
[2017-12-19 18:03:17][ERROR: action.script] /Users/nikivi/alfred/Alfred.alfredpreferences/workflows/user.workflow.A4C9B6F5-B1B9-4B49-AC24-C13F11C295C0/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.bundle: [BUG] Segmentation fault
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
-- Control frame information -----------------------------------------------
c:0008 p:-17577847621342 s:0040 e:000039 TOP [FINISH]
c:0007 p:---- s:0038 e:000037 CFUNC :require
c:0006 p:0113 s:0034 e:000033 METHOD /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0005 p:0007 s:0023 e:000022 TOP /Users/nikivi/alfred/Alfred.alfredpreferences/workflows/user.workflow.A4C9B6F5-B1B9-4B49-AC24-C13F11C295C0/_licensed/Redcarpet/ [FINISH]
c:0004 p:---- s:0021 e:000020 CFUNC :require
c:0003 p:0113 s:0017 e:000016 METHOD /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55
c:0002 p:0022 s:0006 E:000d08 EVAL ./bbcode:4 [FINISH]
c:0001 p:0000 s:0002 E:001fd8 TOP [FINISH]
./bbcode:4:in `<main>'
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/nikivi/alfred/Alfred.alfredpreferences/workflows/user.workflow.A4C9B6F5-B1B9-4B49-AC24-C13F11C295C0/_licensed/Redcarpet/gems/redcarpet-3.4.0/lib/redcarpet.rb:1:in `<top (required)>'
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
-- C level backtrace information -------------------------------------------
-- Other runtime information -----------------------------------------------
* Loaded script: ./bbcode
* Loaded features:
0 enumerator.so
1 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/enc/encdb.bundle
2 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/enc/trans/transdb.bundle
3 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/rbconfig.rb
4 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/thread.rb
5 /Library/Ruby/Site/2.0.0/rubygems/compatibility.rb
6 /Library/Ruby/Site/2.0.0/rubygems/defaults.rb
7 /Library/Ruby/Site/2.0.0/rubygems/deprecate.rb
8 /Library/Ruby/Site/2.0.0/rubygems/errors.rb
9 /Library/Ruby/Site/2.0.0/rubygems/version.rb
10 /Library/Ruby/Site/2.0.0/rubygems/requirement.rb
11 /Library/Ruby/Site/2.0.0/rubygems/platform.rb
12 /Library/Ruby/Site/2.0.0/rubygems/basic_specification.rb
13 /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb
14 /Library/Ruby/Site/2.0.0/rubygems/util/list.rb
15 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/stringio.bundle
16 /Library/Ruby/Site/2.0.0/rubygems/specification.rb
17 /Library/Ruby/Site/2.0.0/rubygems/exceptions.rb
18 /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_gem.rb
19 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb
20 /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb
21 /Library/Ruby/Site/2.0.0/rubygems.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
Don't forget to include the above Crash Report log file.
For details: http://www.ruby-lang.org/bugreport.html
/Users/nikivi/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/032AD3C1-24AB-483F-9556-13EB40C6FAAF: line 3: 66497 Abort trap: 6 ./bbcode "${1}"
Thank you for any help.
I believe it was fixed before but came back with a new update.
But when I do take a screenshot with the workflow, I get the link and an extra space in the end.
In my mac,it requires password everytime and after I input password it still can use keyboard or trackpad.I just change the environment variables seconds_to_lock
and do nothing else.
Hi! I got a new MacBook and now the RecentDownloads Workflow does not work, debugging shows this error:
[STDERR: input.scriptfilter] HTML/Entities.pm did not return a true value. BEGIN failed--compilation aborted.
I installed the latest workflow from Github. I’m on Alfred 3.5.1. Thanks for your help!
This is a feature request to WebScreenshot workflow.
I often like to make screenshots that I want to save both locally and also get an immediate Imgur link to share. Currently your workflow only does the second part really well.
Would it be possible to add a new action that will allow user to take a screenshot and then get a little prompt of what name the user wants to give to the screenshot and save the screenshot to a predefined folder user chooses (by default ~/Desktop). The workflow will then save the original screenshot to that location but will also upload it to Imgur and give a shareable link.
I would really appreciate this addition. Thank you.
Hello,
From alfred in Safari, when I type just
"pin" - it works.
However, when I type
"pin tag1 tag2" or "pin tag1" - I thought tag1 and tag2 will be added as tags. But this fails.
Is this the correct way to add tags when bookmarking.
Best
Joe
How do I "unfreeze" a frozen process?
I'm getting an error when I try to add a bookmark with pa
.
The authentication is fine, I can see all my pinboard content with pin
.
The error in the Alfred console is;
[2017-11-23 16:31:02][input.keyword] Processing output of 'action.script' with arg ''
[2017-11-23 16:31:02][ERROR: action.script] sh: -c: line 0: syntax error near unexpected token `km-work'
sh: -c: line 0: `/Users/kmarchand/Dropbox (km-work)/Alfred.alfredpreferences/workflows/user.workflow.2BBB884C-A81C-4078-B091-4B30D3A4D3FA/run_bookmarklet'
[2017-11-23 16:31:02][action.script] Processing output of 'action.script' with arg ''
Looks like it's not escaping the directory path properly so the parentheses are messing it up. I have separate work and personal dropbox folders in my home directory through the dropbox feature to enable that.
Hi Vitor,
It seems that the mpv upgrade from brew today broke the streaming capability of mpv with youtube-dl.
As a consequence, ShortFilms doesn't work anymore either.
I have filled in a bug report for mpv: mpv-player/mpv#5193
You might want to chip in too if you have an idea of what broke.
Cheers,
Guy
For some reason my RightClick workflow no longer works. I am running OSX 10.9.5 is this no longer supported with my version of OSX?
You may already be aware but if not... the latest version of AlfredBookmarklet at: https://github.com/vitorgalvao/alfred-workflows/blob/225542549745c3d4963d3620307d7bfca0f351cb/AlfredBookmarklet/info.plist (and current binary)
Tell me they're for a newer version of Alfred.
I'm on latest 2.2 (243), but perhaps there's another on the way or something else awry
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.