Hello everyone, I followed this great tutorial : http://forum.joaoapps.com/index.php?resources/open-app-on-windows-with-voice-command.111/ to open software on my computer (and tweaked it to make it work with Google Home). However, the autoremote plugin for Eventghost does not react to non-ASCII characters (such as accented letters : é, è, ê etc., and they are very frequent in my language). -> There is nothing in the Eventghost log. If I disable port 1818 forwarding in Join options, I am able to see the Chrome push notification with the proper accented characters. (So there is nothing wrong with Join configuration). Is there a configuration/option so that the Autoremote plug-in can react to non-ascii characters ? Thank you , Mathieu
Hi there. Can't reproduce this unfortunately. If I send João for example, the event appears in EventGhost.... Can you try with that?
Hello, No, it does not work with João ... Only Joao without accent, as you can see below (I tried many times with accented characters --> nothing in the log) I am using windows 7 64bits, Eventghost 0.4.1.r1722 (2016) (Python 2.x) , Autoremote Plugin 1.991006. Thanks, Mat
Hmm, can you try updating the plugin from here? https://www.dropbox.com/s/3o0f18xzwgk0ywb/__init__.py?dl=1 Thanks!
Oh you're right, sorry... Will have to try to figure out what's happening then... seems to work for me... :/
Hello there, Have you had a chance to look at this issue ? Or maybe could you send me your own python script if that works for you ? Thanks, Mat
Hello, I am still trying to solve this issue. By any chance, could it be a Windows version issue ? I may change to Windows 10 if you think that will help. Or is it purely Python / Eventghost related ?
Sorry about necroposting, but i noticed i have quite the same problem. The only difference is that i'm trying to send out an AutoRemote message within EventGhost. Whenever the message contains an accented letter, the plugin fires an error and the message is not sent. Attached a screenshot of an example, with the string i'm trying to send and the error in EG. EventGhost v0.4.1.r1722 AutoRemote Plugin v1.991009 https://drive.google.com/file/d/1poBugEISVmQ3n7eSgpvICJSj6HljFu_m/view?usp=sharing
Any news about this? Sorry to keep asking, but i really need it to work for a project i'm working on. Thanks for your time.
@joaomgcd I'm having the same or a similar problem using EventGhost and the AutoRemote plugin. I did use the following setup successfully to send my clipboard content to my phone. However, it stopped working a while ago - not sure if or what changed. The Python script does the following: Code (Text): import win32clipboard # get clipboard data win32clipboard.OpenClipboard() eg.globals.clpbrd = win32clipboard.GetClipboardData() eg.globals.clpbrd = eg.globals.clpbrd.decode('latin1') # eg.globals.clpbrd = eg.globals.clpbrd.encode('utf-8') #clpbrd = win32clipboard.GetClipboardData() win32clipboard.CloseClipboard() print eg.globals.clpbrd If I set "äüä" in the clipboard and run the command, I get the following error in the log It works with non-special characters, so it is certainly an issue with the encoding. The characters also show up correctly in the OSD (last command in EventGhost). You may have noticed the line Code (Text): # eg.globals.clpbrd = eg.globals.clpbrd.encode('utf-8') in the script. I saw this in another post and tried this out, but without success. Also, I re-installed EventGhost and the latest AR plugin, no success either... Thanks for your help!
The last post is quite old, but I just noticed João fixed it in v.1.991009 https://joaoapps.com/autoremote/eventghost/download/
"__init__.py" Version v.1.991009 I added the following line to send ö,ä,ü to Android : ---------------------------------------------- class SendMessage(eg.ActionBase): ... text = text.encode('utf-8') message = Message(self, key,text,ttl,password,target,files) message.Send(self) ---------------------------------------------