Jump to content

precision

Member
  • Posts

    6
  • Joined

  • Last visited

Everything posted by precision

  1. This has stopped working properly in the latest version of Sierra. I'm assuming it's an OS bug as the script is run by the OS, not Alfred. Anyway, when you use the script to send a keystroke via apple events, if you have upper and lower case letters mixed up the script will now randomly change the case of individual letters. i.e. if you send this: tell application "System Events" keystroke "thisIsAnExample" end tell the result could be "ThisISAnEXAmple" or a "THisISANExample" Apple's bug? PS> I'm still using Alfred 2 as I've not updated my PowerPack license (yet).
  2. Bump. I'm still amazed you can't copy a name and address in one step!
  3. Thanks! There doesn't appear to be a way to ignore the modifier keys in AppleScript. It's a good workaround but not perfect. I didn't want to use the clipboard as I use the hot keys to enter a password sometimes (which is secure enough for me! If somebody had direct access to my mac the hotkeys would be the least of my worries!). But I still don't want my clipboard history cluttered up with my passwords... It looks like Alfred can't do exactly what I'd like. Butler is old and creaky but there are some things it still does better than anything else. It still has the best clipboard history feature by far... You can have a menu with just your latest clipboards and no clutter. that and the keystroke features are the only two things that keep butler in my app folder. I only use Alfred for the launcher abbreviation type stuff but was hoping the power pack would replace butler completely. It doesn't!
  4. Thanks. I'd never have guessed in a million years that you had to right click on the hotkey to get to this option! A little UI clue that it's there would be nice! ;-) This just about works but feels very wrong and slow as hotkeys should work instantly, not upon release of the keys. I'd prefer if Alfred had the option to just clear them and not pass them through, whether held down or not. After all, the modifier keys have done their job the moment you type the hotkey. Waiting for you to release the keys before running the script feels too wrong in practice to be workable. The 'simulate modifier keys released' option doesn't work either. I'm not sure what that is supposed to do even. Perhaps there's a way of doing this in applescript... I'll have to investigate further (although this has already taken too much time! In Butler, it's a simple matter to achieve that takes seconds. I was hoping to replicate all of Butlers functionality, as it doesn't appear that Butler will ever be updated and I want replacements in place before it completely dies!)
  5. I have tried making a workflow using system events to insert a keystroke. It works fine except for the fact that whatever modifier keys are used in the hotkey combination are passed through to the keystroke text. So, for example, if I set the hotkey to cmd+option+anything, and the keystroke to "quick" the result is the app is quit as the cmd key is passed through to the keystroke. How do I stop this behaviour? Thanks. PS. i'd posted this question in an old thread found via search, but it ended up in the feature requests section...
  6. If I want to enter keystrokes via a hotkey, how do you clear the hotkey before it gets to the script? In other words, if I set up a script to type some text using "keystroke", whatever modifier keys I held down to trigger the script affect the output... So, if my hotkey is Cmd + Shift + (whatever), the result doesn't work as the first thing that gets 'typed' by system events is Cmd+Shift+first letter of what you wanted to type, followed by Cmd+Shift+second letter, etc. How do I stop the hotkey modifiers getting passed through to the script output? I don't want to do this with snippets, as I don't want to change or use the clipboard.
×
×
  • Create New...