Issue when using "Sleep(0000)" in AutoItX scripts

Feature Requests, Comments, Bugs, and Suggestions on the Intelliremote application.

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby Keylonta » Sun Nov 22, 2015 2:22 am

That's the Logitech Harmony 525 remote that's having 3 events fired. A stock standard MCE remote (in my case the Hauppauge MCE remote that comes with their TV tuners) is firing 2 events. I assume this will be the same for all MCE remotes.

http://www.hauppauge.co.uk/site/webstor ... tml?prod=8
Keylonta
 
Posts: 40
Joined: Wed Dec 11, 2013 12:45 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby Melloware » Sun Nov 22, 2015 8:23 am

So Strange. But the log only shows 1 executed event from Intelliremote? So now I am really confused where the 2 and 3 events are coming from. Possibly from inside the AutoIt DLL?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11085
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby Keylonta » Sun Nov 29, 2015 3:53 am

The fact that different remotes are causing 2 and 3 events means there's some relationship between; the way the command is being sent from the remote; AutoItX pause scripts; and the Block signal on Tray Blink. If you can determine the difference between standard MCE remote commands and the Logitech Harmony 525 commands, that will be the key to understanding the relationship between the AutoItX pause scripts and the Block signal on Tray Blink. That's how I would go about trying to solve the mystery if I had the necessary technical knowledge to do so.
Keylonta
 
Posts: 40
Joined: Wed Dec 11, 2013 12:45 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby tatayoyo » Sun Mar 25, 2018 7:00 am

Hello,

I know that this post is an older post, but today, i've excatly the same problem.
With my remote (One for All Xsight color 8602)
With Intelliremote v 2.8.6.926 (buy in 2013)
With win7

if i use autoit "send(xxx)" where xxx is > tray blink rate, the icone-tray blink during sevral second and the script is running two time (not 3 time like Keylonta but two time).
I read all the post but i don't found any solution.
But i need to block the script during more than the time in tray blink rate.

Have you found a solution ? An other Autoit command ?

Thanks in advance for answer
tatayoyo
 
Posts: 12
Joined: Thu Dec 05, 2013 11:20 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby Melloware » Mon Mar 26, 2018 5:56 am

Send or Sleep? You said you used Send? Sleep() is the command that is supposed to pause the thread.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11085
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby tatayoyo » Mon Mar 26, 2018 8:51 am

yes, sleep of course, not send. Excuse me, i make a mistake
tatayoyo
 
Posts: 12
Joined: Thu Dec 05, 2013 11:20 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby tatayoyo » Mon Mar 26, 2018 8:53 am

and i try today another script and it repeat 2 time the script ; in total that make 3 time like Keylonta
tatayoyo
 
Posts: 12
Joined: Thu Dec 05, 2013 11:20 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby Melloware » Mon Mar 26, 2018 9:01 am

Have you gone into Settings and put Intelliremote in DEBUG mode and pressed the button again? I would like to see what the log says for this...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11085
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby tatayoyo » Mon Mar 26, 2018 10:18 am

26/03/2018 17:05:51 [ INFO] Intelliremote [STARTING]
26/03/2018 17:05:51 [ INFO] --------------------------------------------------------------------------------------------------
26/03/2018 17:05:51 [ INFO] Intelliremote Version: 2.8.6.926
26/03/2018 17:05:51 [ INFO] System : Windows 7 Home Edition
26/03/2018 17:05:51 [ INFO] IP Address:
26/03/2018 17:05:51 [ INFO] Processor : Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz
26/03/2018 17:05:51 [ INFO] Display : 960x540 pixels, 32 bpp
26/03/2018 17:05:51 [ INFO] --------------------------------------------------------------------------------------------------
26/03/2018 17:05:51 [ INFO] Initialize Registry Settings
26/03/2018 17:05:51 [ INFO] AutoItX3 v3.3.6.1 Copyright 1999-2010 www.autoitscript.com
26/03/2018 17:05:51 [ INFO] Releasing MIDI Listeners
26/03/2018 17:05:51 [ INFO] Loading MIDI Listeners
26/03/2018 17:05:51 [ INFO] No MIDI devices found
26/03/2018 17:05:51 [ INFO] Socket Library Version: 9.0.50
26/03/2018 17:05:51 [ INFO] TCP Socket : Listening on IP Address:
26/03/2018 17:05:51 [ INFO] TCP Socket : Listening on IP Address:
26/03/2018 17:05:51 [ INFO] UDP Socket : Listening on IP Address:
26/03/2018 17:05:51 [ INFO] HTTP Socket: Listening on IP Address:
26/03/2018 17:05:52 [ INFO] Checking for Intelliservice Windows Service...
26/03/2018 17:05:52 [ INFO] Intelliservice: MCE Remote Service Running
26/03/2018 17:05:52 [ INFO] Intelliremote [STARTED]
26/03/2018 17:05:52 [ INFO] USB Devices have changed...
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 045E
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 045E
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 045E
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 045E
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 045E
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 045E
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 045E
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 045E
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 046D
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 046D
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 046D
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 046D
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 046D
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 046D
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 046D
26/03/2018 17:05:52 [ WARN] Unknown HID Device From Vendor 046D
26/03/2018 17:05:52 [ WARN] Unknown HID Vendor VID=0835 PID=8501
26/03/2018 17:05:52 [ WARN] Unknown HID Vendor VID=0835 PID=8502
26/03/2018 17:05:52 [ INFO] Found HID Device: Formosa21 eHome Infrared Transceiver
26/03/2018 17:05:52 [ WARN] Unknown HID Vendor VID=1852 PID=50D1
26/03/2018 17:10:34 [ INFO] Saving all profiles to disk...
26/03/2018 17:10:49 [DEBUG] UDP: [127.0.0.1] 31727
26/03/2018 17:10:49 [DEBUG] Line 1: mousemove(700,20,0)
26/03/2018 17:10:49 [DEBUG] Line 2: sleep(550)
26/03/2018 17:10:50 [DEBUG] Line 3: mousemove(650,20,0)
26/03/2018 17:10:50 [DEBUG] Line 4: sleep(200)
26/03/2018 17:10:50 [DEBUG] Line 5: mousemove(500,20,0)
26/03/2018 17:10:50 [DEBUG] Line 6:
26/03/2018 17:10:50 [DEBUG] Line 7:
26/03/2018 17:10:50 [DEBUG] Line 8:
26/03/2018 17:10:50 [DEBUG] Line 9:
26/03/2018 17:10:50 [DEBUG] UDP: [127.0.0.1] 27_Ecran pg5-HD_
26/03/2018 17:10:50 [DEBUG] UDP: [127.0.0.1] 31727
26/03/2018 17:10:50 [DEBUG] Line 1: mousemove(700,20,0)
26/03/2018 17:10:50 [DEBUG] Line 2: sleep(550)
26/03/2018 17:10:50 [DEBUG] Line 3: mousemove(650,20,0)
26/03/2018 17:10:50 [DEBUG] Line 4: sleep(200)
26/03/2018 17:10:51 [DEBUG] Line 5: mousemove(500,20,0)
26/03/2018 17:10:51 [DEBUG] Line 6:
26/03/2018 17:10:51 [DEBUG] Line 7:
26/03/2018 17:10:51 [DEBUG] Line 8:
26/03/2018 17:10:51 [DEBUG] Line 9:
26/03/2018 17:10:51 [DEBUG] UDP: [127.0.0.1] 27_Ecran pg5-HD_
26/03/2018 17:10:51 [DEBUG] UDP: [127.0.0.1] 31727
26/03/2018 17:10:51 [DEBUG] Line 1: mousemove(700,20,0)
26/03/2018 17:10:51 [DEBUG] Line 2: sleep(550)
26/03/2018 17:10:51 [DEBUG] Line 3: mousemove(650,20,0)
26/03/2018 17:10:51 [DEBUG] Line 4: sleep(200)
26/03/2018 17:10:51 [DEBUG] Line 5: mousemove(500,20,0)
26/03/2018 17:10:51 [DEBUG] Line 6:
26/03/2018 17:10:51 [DEBUG] Line 7:
26/03/2018 17:10:51 [DEBUG] Line 8:
26/03/2018 17:10:51 [DEBUG] Line 9:
26/03/2018 17:10:51 [DEBUG] UDP: [127.0.0.1] 27_Ecran pg5-HD_
26/03/2018 17:10:57 [DEBUG] Opening LogFile...
26/03/2018 17:10:57 [DEBUG] ExecuteExternalApplication C:\Windows\notepad.exe C:\Users\\AppData\Roaming\Intelliremote\Intelliremote.log
26/03/2018 17:10:57 [DEBUG] Window focus: notepad.exe
tatayoyo
 
Posts: 12
Joined: Thu Dec 05, 2013 11:20 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby Melloware » Mon Mar 26, 2018 10:33 am

OK yep then 3 signals are definitely coming in from the UDP driver.

1. Have you tried bumping up the Settings value for Block Signal On Tray Blink to a higher number?

2. Make sure "Block Signal On Tray Blink" is checked?

This is very strange.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11085
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby tatayoyo » Mon Mar 26, 2018 11:15 am

1) i don't understand what you mean ; i suppose you tell about the "Tray Blink Rate (ms)" (that's the only parameter i can change) ; if that's what you mean, of course. Here it's a exemple. In this script, we have two sleep for 750 (550+200). If i entre the value 800, it will run one time. It's only if the "Tray Blink Rate (ms)" is less than 750 that repeat 3 time the script. And the icon-tray blink sevrall second. In fact, the icon-tray blink until the 3 time run finish
2) yes of course too : checked. And i tried unchecked and nothing changed (3 time if "Tray Blink Rate (ms)" less than 750)
tatayoyo
 
Posts: 12
Joined: Thu Dec 05, 2013 11:20 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby tatayoyo » Mon Mar 26, 2018 11:17 am

2) and i try to send "1" and Notepad write only one "1"
tatayoyo
 
Posts: 12
Joined: Thu Dec 05, 2013 11:20 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby tatayoyo » Mon Mar 26, 2018 11:20 am

3) and i add that make 4 years i use your wonderfull program without any problem with my OneForAll Xsight Color remote and all the bouton have been reaffected. The problem is only with the script mode and the sleep parameters i try yesterday with a new script (necessary with a new programm)
tatayoyo
 
Posts: 12
Joined: Thu Dec 05, 2013 11:20 am

Re: Issue when using "Sleep(0000)" in AutoItX scripts

Postby Melloware » Mon Mar 26, 2018 11:34 am

OK interesting. SO its definitely related to Sleep. I am just trying to think of why that would make a difference.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11085
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Previous

Return to Intelliremote

Who is online

Users browsing this forum: No registered users and 3 guests