Jump to content

oorahduc

Member
  • Content Count

    5
  • Joined

  • Last visited

About oorahduc

  • Rank
    Newbie

Recent Profile Visitors

420 profile views
  1. Hey Vero! First off, I want to thank you for all the effort you and Andrew have put into Alfred over the years. I've been a very happy user for a long time now. I don't use any other apps that affect the keyboard in any way - confirmed that in accessibility. I think the issue stems from my keyboard's "Key Repeat" and "Delay Until Repeat" which are 100% fast and 100% short (screenshot). The strange thing about the behavior though, is that it's not 100% of the time. When alfred _does_ begin to do merging with single key presses, adding a small delay between the CMD press
  2. I'm using version 3.3.2 and when pressing cmd+c once, an estimated 75% of the time it still does a clipboard merge, which leads to multiple successive appended strings, rather than copying something new to the clipboard. Anyone else experience this?
  3. Resolved....Something was fishy somewhere. I copied over the other script that I mentioned was identical in the query arg handling, remodified it to be identical to the broken code above, and everything is gravy. Strange happenings.
  4. I incorporated your modifications to main() - tidying up indeed. Unfortunately that didn't help the XML error. I am validating that arglist is getting split, though. In my code I assigned separate vars to the indexes of arglist to be certain it was splitting here: arglist = query.split(',') port = arglist[0] srv1 = arglist[1] srv2 = arglist[2] and my wf.add_item is calling those vars here: wf.add_item( title = "Jump from %s to %s" % (srv1,srv2), arg = "-A -t -L 9800:localhost:{0} -L {1}:localhost:{2} bvi@{3} ssh -L {4}:local
  5. The title basically says what I'm trying to do. I have a python script using deanishe's alfred-workflow library that I'm using to build an ssh CLI string. Workflow is set up like this: The Script Filter runs "python jump.py {query}", or attempts to. jump.py looks like the following, and is meant to take args such as "9999,192.168.100.100,50.57.203.223", and buildout 'query', which should be passed to the Terminal Command action of "ssh {query} def main(wf): if len(wf.args): query = wf.args[0] else: query = None print query log.debug(query
×
×
  • Create New...