ctwise
-
Posts
307 -
Joined
-
Last visited
-
Days Won
23
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by ctwise
-
-
-
20 hours ago, FroZen_X said:
Good collection and overall nicely shown
I actually saw that you use CleanMyMac 3, is that overall good of any use?
Never tried any cleaning app on a Mac oO
Cheers,
Frozen
Yes, it's very useful. I fire it up every so often (every month or two) and let it search for unused items. It can be over-enthusiastic so I tend to ignore much of what it suggests - like deleting unused language files from apps and removing iTunes artwork caches. That said, it provides a curated list for you to choose from including log files, broken login items, broken preferences, etc. Since I do software development I can end up with massive log files that I simply don't notice. I just recovered 10GB of space due to that.
-
Yep, that fixed it. Please add a long-term feature request for application-specific tweaks.
-
The snippet auto-expansion doesn't work correctly in HipChat (https://www.hipchat.com). For example, if I have a snippet (thx -> thanks), it expands into 'ththanks' in HipChat. Snippet expansion works as expected in other apps.
-
I'm trying to do the same thing. It works with all VPN connections except connections of type IKEv2.
Trying to run this script in Script Editor:
tell application "System Events" tell current location of network preferences set service_name to "IKEv2_connection_name" do shell script (do shell script "scutil --nc start \"" & service_name & "\"") end tell end tell
And here is the error:
error "System Events got an error: No service" number 1
It appears that AppleScript cannot recognize the IKEv2 VPN connection. So I tried to run another script which to print out all the current internet connections in the system:
tell application "System Events" tell current location of network preferences set names to get name of every service end tell end tell
The result shows all the network connections (including "Wi-Fi", "USB Ethernet", "Bluetooth PAN", "Thunderbolt Bridge", all VPN connections of type L2TP, PTPP, IPSec) but it doesn't list any IKEv2 connections although I have set a few of them and they're all working.
Is this a known issue with El Capitan? Is there any workaround for this kind of VPN on El Capitan?
This probably won't work either then, but you can give it a try:
property newLine : (ASCII character 10) set results to "" set flag to true tell application "System Events" tell network preferences to set locs to every location repeat with loc in locs tell loc set vpns to every service repeat with vpn in vpns if flag is true then set flag to false else set results to results & newLine end if set vpnName to (the name of vpn) as string set results to results & vpnName set results to results & "|" & (kind of vpn) end repeat end tell end repeat end tell results
-
I'm not talking about wanting to have Alfred copying the text in focus, I just want Alfred to be able to use the existing clipboard item as an input. I can't see why this limitation isn't arbitrary? Surely Alfred have permission to the clipboard?
'Copy to clipboard' does exactly that, it copies selected text from the current app to the clipboard.
What _you_ want, is the 'pbpaste' command line utility. Call that from Python to get the contents of the clipboard.
-
Thanks for the suggestion, can you give me a hint of how to write the one-liner in bash to achieve this?
It seems like an arbitrary limitation that Alfred can insert the clipboard content as input on a hotkey, but not on a keyword? Is there any technical reason for this or is it arbitrary? I'm thinking about sending a feature request to Crayons Ltd about it.
Yes I'm using the Copy to Clipboard at the end - the only practical way I knew of getting python output out in an Alfred workflow. I think I'm fine with it, however it also inserts a newline at the end. Do you know any way to prevent this newline from happening, so it just paste the python script result from the clipboard and *don't* also insert a newline afterwars?
It's not arbitrary. Hot keys are triggered while another app is active. So Alfred can copy selected text from the current app before Alfred grabs focus and displays it's input window. In comparison, keywords are entered into the Alfred input window while Alfred already has the focus so it can't trigger a copy on the _previous_ application.
If you want to modify something _already on the clipboard_ instead of forcing a copy of what is currently selected, use the command line utility 'pbpaste' and modify the output of that command.
-
a long shot this one, but can you get the email command to go to Outlook in a Vmware Windows 7 session?
What email command?
-
Set $GOPATH to $HOME. Make sure you have ~/bin, ~/src and ~/pkg directories.
That way, anything you go install will be put in ~/bin, which should be on your PATH.
That should work for private development, but what about distributing workflows? I don't know Go. Is there a way to build a static executable?
-
In Alfred 2, a small gear appeared in the top right corner of the pop up window that would open Alfred Preferences.
The gear is gone in Alfred 3. I’ve never heard of (or used) Command + to open an app's preferences, but following those directions on another post here, I tried it. Failed again.
How do I access Alfred Preferences in version 3?
Every app on OS/X uses the shortcut ⌘, (command-comma) to open the app's preferences.
-
-
-
-
-
These are fairly simple - https://github.com/ctwise/alfred-workflows
-
Actually, I accidentally left my computer for a bit while trying this on chrome - it works, it just takes a while to load for chrome (whereas it's near-instant for other apps). Don't know if that's the case for you/if you know why that might be, but thanks anyway!
I'm assuming you have a crap-load of bookmarks in Chrome. Safari has a similar problem but it's much, much worse. For Safari I intentionally ignore the bookmarks menu because it's extremely slow. Chrome didn't exhibit the same behavior with the same number of bookmarks as Safari. I'm guessing it gets a lot slower as the number of bookmarks increases.
-
Hello, great workflow! This isn't working for me with chrome on El Capitan. (When i type "m [anything]" it says "Loading..." and then goes to defaults) I know someone was having that issue previously, was that ever fixed?
This doesn't help you in the slightest but it's working fine for me. If it's not working anywhere you need to make sure that Assistive Devices are enabled for Alfred in the Security settings.
-
Hey it seems not working anymore
Here at packal it says the same http://www.packal.org/workflow/menu-bar-search
OS X 10.11 isn't even listed
Thank you anyways one the beste workflows ct !! Thanks!
Nope, still works fine. Check your accessibility settings to make sure Alfred still has access.
-
Applescript. Create an 'external' trigger in the workflow you're interested in. Give it some name and Alfred will show you the Applescript to run to invoke the trigger. Connect the trigger to whatever you want it to run in the workflow.
-
I'm not saying this as a fanboy of VMWare, but simply as an observation. The interface to control VMWare is stable. It's used by both the personal client and the Enterprise server so it needs to be. If controlling your VMs is important to you, you might take that into consideration.
-
-
Yes, the Funnel workflow - http://www.packal.org/workflow/funnel
Select a block of text, trigger the workflow with the pipe character '|' a space, and then the filter you want to run against the text, e.g., case conversion, html encoding/decoding, markdown conversion, etc.
You need to be using the very latest release of Alfred.
-
'ru' isn't a built-in command. If it was installed to one of the system library directories (/bin, /sbin, /usr/bin), then El Capitan moved it during install. You can find it in the migration directory (/Library/SystemMigration/History/Migration-(some UUID)/QuarantineRoot/). The Migration-(some UUID) directory will look something like this - Migration-6D079FB8-BCC2-4A28-B987-1FA2FE3ADE6.
Move the 'ru' command into some safe location (/usr/local/bin, ~/bin, etc.) and make sure that the bin directory you chose is part of your PATH. Even if it's not, the workflow can still work, just provide the full path to the relocated 'ru' command.
-
OneNote Snippet Expansion Pastes Clipboard Instead of Creating Snippet
in Closed
Posted · Edited by ctwise
I'm using OneNote 15.36 on macOS Sierra 10.12.6. Snippets expand just fine in OneNote for me. However, in my Tweaking settings I have:
✔ Slow down simulated key events
Restore clipboard contents: ✔ After Auto Expansion
Restore after 0.5s
---
The Slow Down tweak is required for some apps on my Mac (I'm looking at you, HipChat).