Jump to content

leej0nes

Member
  • Posts

    7
  • Joined

  • Last visited

leej0nes's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I bet there's already a way around it but if not the benefit I see is that I instead of having a NSAppleScript for each of my keywords such as sc name io which via a script produces example.io and writes it into the active text field of the active application. I could have the one script instead who's q value would be what I've specified. I hope this makes sense?!?! If the script grows to do more then I have to copy and paste to replace the rest of the scripts in my current workflow (6 so far). I'm totally loving Alfred 2 today. That's the rest of my work out the window. Next up is to find if I can create a keyword named Bookmark which takes an argument and adds the site to to the bookmark name provided by the arguments because my bookmarks are in such mess I haven't used them in years. Time to clear them all down and either find a Workflow for this of write one. Safari only for now and can only run if Safari is the active window of course. EDIT To expand on this I've found another instance where this would be useful. I've added a Keyword to the workflow named sc lua and connected it to a Reveal in Finder action but this action doesn't know where to go because I'm not accepting arguments so there are none passed to it. I want to add an sc lua terminal but see there's no Reveal in Terminal action. I'll figure something out. More things are planned related to GitHub and this project too. Disclaimer: I suspect that the way I'm doing things is probably very noobish and goes against the grain of how Alfred or parts of it are meant to be used. I apologise if so and look forward to learning better ways to do things and as such being able to do more things.
  2. HAHA! It works in the RDP Windows VM too I was going to write a C# app that listened on a port for a command such as 'set text {value}' and send the notification to there. So the only remaining question is can I have Alfred dismiss itself automatically once I've entered the full keyword(s)?
  3. Ok to make it perfect upon typing sc name io poor old (but super awesome and my new favourite thing despite it being I either the first or second application I bought for my first Mac about 10 years ago) I want it to close by itself i.e. without me having to press enter. Can this be done?
  4. Turns out to be pretty simple and quick. A keyword, in the proof of concept named sc name io connected to an NSAppleScript consisting of the following. Boom! on alfred_script(q) tell application "System Events" to keystroke "example.io" end alfred_script Shame its not going to work on my Windows VM, that runs on one the screens.
  5. I'm fed up of typing my new startup's domain name whether it be as part of an e-mail address, site address or jut the name. I've typed it incorrectly few times which has caused issues. Its not the hardest but when you're working as hard/quickly as I am the moment it'd easy to mix connectables with changeable and others that my sub-conscious has been tricking me with. It doesn't help that I cut through some tendons in my left hand about 8 weeks ago. I've only just been told I can take the split off and use for light operations only. They've operated twice already, its thrown my typing out completely. So I'd like to open Alfred (I doubt tap alt on my MacBook Air which is my main machine and leave the defaults on the others when I screen share with them) type sc [name|mail|site| [io|com|co.uk] so for example sc mail io would yield xyz@somewhere.io or sc name io yields somewhere@io. With regards to sc site com I'd want it to launch the default browser at https://somewhere.com which I know is easy enough. Hmmmm... might as well add a send keyword too and open Google Inbox and see if I can somehow trigger a new message window and pre-populate the address. Might leave that part for a rainy day. So can I chain keywords. I've created a work flow and put two in but can't connect then together. And then how do I put the result into the active text box? The doesn't look like an Output which can do that. Thanks, Lee. PS I did do it as a bash script first but its slow, requires terminal to be launched or running etc etc.
  6. Thanks guys and a reasonably cool solution BUT still not as good as in app. If I reinstall I have to do them again where as in app they get saved with the preferences which live in my Dropbox folder.
  7. Hi, Is there a way to filter apps (by explicit name or pattern) from appearing in the search results for example: I'd like to be able to filter the Remove ... items out of the search results? Is if possible? I have seen this post which suggests it can be done via Spotlight but I believe it should be part of the Alfred app itself, for a couple of reasons a) it makes sense and it gets backed up in your preferences if you use that feature. Thanks, Lee.
×
×
  • Create New...