--
You received this message because you are subscribed to the Google Groups "autokey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autokey-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Something tells me that you haven't tried it. :-).
On Saturday, October 18, 2014 12:29:47 PM UTC-4, Johnny Rosenberg wrote:2014-10-18 8:52 GMT+02:00 Ineuw <in...@aei.ca>:This post is related to an earlier post by Mpaa. We are both Wikisource/Wikipedia editors struggling to use Autokey to insert an mdash and other UTF-8 keys in general. I assigned the Compose (aka Superkey) to the Left Windows key on my (standard US) keyboard.
Pressing and releasing the compose key and tapping the - (minus) key (on top of the keyboard) three times in quick succession, generates the mdash, —. Except I don't know the key name for the left windows key and the down and release action. Is this possible?
mdash = "<leftwindn>"+"<leftwinup>"+"-"+"-"+"-"
keyboard.send_keys(mdash)What's wrong with ”keyboard.send_keys("—")”?Or just create a phrase and enter an m-dash (–—) there.My own method for inserting the most common ”special characters” is to use my own keyboard layout. I did it by editing three configuration files. I have ”—” at AltGr+Shift+- and ”–” at AltGr+-. AltGr is missing on US keyboards, I think, but the right Alt key can be used, as far as I heard.Kind regardsJohnny Rosenbergジョニー・ローゼンバーグ
2014-10-18 19:54 GMT+02:00 Ineuw <in...@aei.ca>:Something tells me that you haven't tried it. :-).
On Saturday, October 18, 2014 12:29:47 PM UTC-4, Johnny Rosenberg wrote:2014-10-18 8:52 GMT+02:00 Ineuw <in...@aei.ca>:This post is related to an earlier post by Mpaa. We are both Wikisource/Wikipedia editors struggling to use Autokey to insert an mdash and other UTF-8 keys in general. I assigned the Compose (aka Superkey) to the Left Windows key on my (standard US) keyboard.
Pressing and releasing the compose key and tapping the - (minus) key (on top of the keyboard) three times in quick succession, generates the mdash, —. Except I don't know the key name for the left windows key and the down and release action. Is this possible?
mdash = "<leftwindn>"+"<leftwinup>"+"-"+"-"+"-"
keyboard.send_keys(mdash)What's wrong with ”keyboard.send_keys("—")”?Or just create a phrase and enter an m-dash (–—) there.My own method for inserting the most common ”special characters” is to use my own keyboard layout. I did it by editing three configuration files. I have ”—” at AltGr+Shift+- and ”–” at AltGr+-. AltGr is missing on US keyboards, I think, but the right Alt key can be used, as far as I heard.Kind regardsJohnny Rosenbergジョニー・ローゼンバーグWell, unicode characters works sometimes and sometimes not.Right now I'm writing this in Gmail using Chrome and it seems to work. My abbreviation is --- and here's the result, I'll try it four times
tight now:
Johnny, thanks for your replies. I tried google, + opera + firefox, all installed for testing, and none worked. Perhaps you can post a link for the keyboard syntax of Autokey? Typing three hyphens is the keycode in .XCompose file with a superkey. I have spent the past week learning Linux + X +Ubuntu keyboard/character issues to understand. Another question, please. Is there a way, or a software to implement Windows Alt+Numkeypad ANSI character assignments in Ubuntu? At least those I know those by heart.
Google group forum post access is so strange from other forums. It took awhile to get to this post. I know the compose key, which is in my case the left win key. I works fine to create symbols from non-numeric keystrokes but not from Unicode numbers — This was created by Win + 3 hyphens in quick succession. It works in the latest Opera as well. But Lwin + 2014 or Lwin + u 2014 doesn't work.
To view this discussion on the web visit https://groups.google.com/d/msgid/autokey-users/4c3784f750a87ad5b0bf043283047fb0.squirrel%40main.nc.us.
> Hey there,
>
> If I'm understanding the original request, what's wanted is to use
> the Compose (Super) key in combination with three dashes as an
> Abbreviation for a phrase that would produce an em dash.
>
> As far as I know, that's not currently possible. What you can do,
> however, is any of these:
> * use an Abbreviation
> * use a hotkey by recording a keypress of one key
> * use a hotkey two-key combination by recording a keypress of
> one of the modifier keys (Control, Alt, Shift, Super,
> Hyper, Meta) and any other key.
>
> As an example, you could:
>
> * Create a phrase with these contents: <ctrl>+<shift>+u+2014+
>
> ...or...
>
> * Create a script with these contents:
> keyboard.send_keys("<ctrl>+<shift>+u+2014+")
>
> Then you could:
>
> * Use a press of the Alt key and a press of the dash key as
> its hotkey combination.
>
> ...or...
>
> * Use --- as its Abbreviation (you may need to trick AutoKey
> by saving it as x--- and then editing it afterwards to
> remove the x) with these settings:
> * Remove typed abbreviation
> * Trigger when typed as part of a word
> * Trigger immediately (don't require a trigger
> character)
>
You can do that? That's a pretty good trick because I'm petty sure AutoKey
considers the dash as a word separator character.
Joe
> --
> Little Girl
>
> There is no spoon.
>
> --
> You received this message because you are subscribed to the Google Groups
> "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autokey-user...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autokey-users/611f3463.1c69fb81.9f3d3.ffcc%40mx.google.com.
>
--
You received this message because you are subscribed to the Google Groups "autokey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autokey-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autokey-users/0ec081f0ac16b239251a091a92c2ade5.squirrel%40main.nc.us.