
poddex
Active Members-
Posts
20 -
Joined
-
Last visited
Everything posted by poddex
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Downloaded last 3.3.16.1. Still experience a problem, statement like ObjectAutoit.WinExists("",WindowHeader) works very slowly on Windows 10 20H2 when called from AutoitX COM-object. Why?- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
I updated framework to the latest. I reinstalled AutoIt. Nothing happens. But...I found strange thing. When I try code like this ObjectAutoIt=New COMObject("AutoItX3.Control");ObjectAutoIt.AutoItSetOption("WinTextMatchMode",2); While ObjectAutoit.WinExists(WindowHeader) Cycle ObjectAutoIt.WinClose(WindowHeader); EndCycle; All is fine!!!!!! But when I change code to (for finding in a text description of window....) ObjectAutoIt=New COMObject("AutoItX3.Control");ObjectAutoIt.AutoItSetOption("WinTextMatchMode",2); While ObjectAutoit.WinExists("",WindowHeader) Cycle ObjectAutoIt.WinClose("",WindowHeader); EndCycle; The problem begins. What is that??? I want close ALL windows related to a current project's window. There is a little string (like "1234" inside window text explained what folders and windows related to the current project's window. But statement ObjectAutoit.WinExists(WindowHeader) doesn't find all window text, only ObjectAutoit.WinExists("",WindowHeader) finds. But in Windows 10 above 1807 this statement causes a delay! I put my code in Scite like this AutoItSetOption("WinTitleMatchMode",2) While WinExists("","4514") WinClose("","4514") WEnd And it works fine, no delays. Though, I thinks that it's an AutoItX problem caused by new Windows updates.- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Updated 20H2 today. Nothing happens. Tomorrow will reinstall AutoIt and try to update my framework worked with it. Maybe problem inside it, but I'm confused - 1807 had no problems. Fu***g amazing Windows 10 updates π- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
This method looks as a sledgehammer strike, I do this later, when all other methods will not help me. Haven't enough time, will update Windows soon to the latest, maybe it helps, like Confuzzled tell.- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
How this explains that before update all was perfect. I will test with and without ESET and post result here.- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Same antivirus as before Windows update π ESET Internet Secirity. I updated Windows for 1909 - nothing changes, still exprerience the issue. Yesterday evening MS didn't want update me for 2004, only for 1909 π- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Still experience with 1903, When I update Windows, I post results about testing here.- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Installing Windows 10 is quick, no problem, but installing ALL other my programs and tools (including their settings) will take 2-3 hours waisting my time. It's easier to switch script engine π- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Hmm, I see that this problem is not a mass problem π Anyone help??? Maybe, I will try update Windows again and problem will go away?)))- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Here is a list of WinList[ALL] statement of AutoItX in my code. Earlier there are no problems with it. But now some window(s) causes a delay. What window can do that? Windows.xlsx- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Ok, I made some diag for this. And found, that I can't even sort opened windows by it's PIDs. I can't select only explorer-related folders for WinExists-condition and WinExists checked title-condition for ALL windows (by logic, yes, but I prove this one more time for me). Some of them caused WinExists function for huge delay described above. imho, it's not effective to see ALL windows, when I want to look for windows of a specific process. But I can't select it. I can get WinList habdles massive, I can get WinGetProcess PID (only one), but I can't point WinExists to look only for Windows caused by specific PID. And I can't to check which handle from WinList is for which PID to close them. And finally I want to check if this Window EXISTS. PIDs always changed, ok. But I haven't any ideas for now. Maybe I'm doing some wrong? It's possible to avoid this delay issue or I must use another script-engine? I found that WinList function has no delay. This fact shows that delay is exactly in WinExists function, when it "looks inside" a window information. I found that "While ObjectAutoit.WinExists("",WindowHeader) Cycle" loop cycles as many times as explorer-folders windows are opened. So, WinExists cycles through ALL windows inside itself (not in my code, I see only succeeded loops). So, delay-problem is in WinExists function inside AutoItX library. And I can't trace which window causes it to delay because there is no any verbose (or I didn't find it) inside AutoitX. Please, anybody, any suggestions will be appreciated.- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Please, any help π Any. Maybe I can find such as verbose mode for AutoitX library? Thanks.- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
The code from 1st post: ObjectAutoIt=New COMObject("AutoItX3.Control"); ObjectAutoIt.AutoItSetOption("WinTextMatchMode",2); While ObjectAutoit.WinExists("",WindowHeader) Cycle ObjectAutoIt.WinClose("",WindowHeader); EndCycle; does this: when Project Windows closed, it finds all related folder-windows and closes them. Only folders are affected. By testing slow-error, I found, that first iterations passes quickly, folders closes by it. But after closing last folder WinExists loop got a huge delay (~20 s) - on a line "While ObjectAutoit.WinExists("",WindowHeader) Cycle". So, delay appears at last of loop execution, only AFTER all windows matched for a condition (""",WindowHeader" ) close. Need help with further diagnostic- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Checked. As for me, installing BETA 3.3.15.3 has NO effect. Need help with diagnose this.- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Read, will check the beta. Great thanks for info.- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
AutoItX slow working after Windows 10 upgrade
poddex replied to poddex's topic in AutoItX Help and Support
Forget a detail - option that I used: ObjectAutoIt.AutoItSetOption("WinTextMatchMode",2);- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
Hello everyone. I always try to work with old Windows 10 versions as much as possible because I know mane compatibility issues with Windows 10 upgrading. But I couldn't do anything else (I got drivers problem), and nothing couldn't help me besides upgrading, so I upgraded from 1807 to 1903. And...get another problem π I use AutoitX library in external project like this. ObjectAutoIt=New COMObject("AutoItX3.Control"); ObjectAutoIt.AutoItSetOption("WinTextMatchMode",2); While ObjectAutoit.WinExists("",WindowHeader) Cycle ObjectAutoIt.WinClose("",WindowHeader); EndCycle; After upgrade I get that this line code While ObjectAutoit.WinExists("",WindowHeader) become extremely low - ~ 20 seconds even if 10 windows open. But before upgrade it takes 0.5 s for a max. And every time that this code line passes through - it takes ~20s, (20.115, for example), not less, not more. Something pauses it to work. How can I diagnose, what is that? I tried reinstall whole AutoIt, but no results. Thanks to all.
- 27 replies
-
- winexists
- windows 10
-
(and 2 more)
Tagged with:
-
Maybe a bug - but very interesting
poddex replied to poddex's topic in AutoIt General Help and Support
When I closed the door of my job cabinet, I thinking about this. And damn... I am stupid looser. In $const_process I stored the name for process to killing. And there is a line in my script - If...ProcessExists...ProcessClose($const_process). So, when I named the executable file with name, stored in $const_process, script kills itself, when running. Damn... Problem solved. Sorry for any wrongful concerns. CheckXML is a program for check XML-reports made by the PensionFund report program SPU-ORB. This script allows automatically update this program via LAN from repository. Thanks to all. -
Hello! Here is the script ;Π½Π΅ ΠΏΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡ ΠΈΠΊΠΎΠ½ΠΊΡ Π² ΡΠΈΡΡΠ΅ΠΌΠ½ΠΎΠΌ ΡΡΠ΅Π΅ ;#NoTrayIcon ;---------------------------ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠ΅ ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ --------------------------------------------- Dim $max_date ;ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠ΅ ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΉ, Π² ΠΊΠΎΡΠΎΡΠΎΠΉ Π±ΡΠ΄Π΅Ρ Ρ ΡΠ°Π½ΠΈΡΡΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½Π°Ρ Π΄Π°ΡΠ° ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ°ΠΉΠ»Π° Dim $strdate ;ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ, Π² ΠΊΠΎΡΠΎΡΠΎΠΉ Π±ΡΠ΄Π΅Ρ Ρ ΡΠ°Π½ΠΈΡΡΡΡ ΡΡΡΠΎΠΊΠ° ΡΠ΅ΠΊΡΡΠ΅ΠΉ Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ°ΠΉΠ»Π° Dim $numdate ;ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ, Π² ΠΊΠΎΡΠΎΡΠΎΠΉ Π±ΡΠ΄Π΅Ρ Ρ ΡΠ°Π½ΠΈΡΡΡΡ ΡΠΈΡΠ»ΠΎΠ²ΠΎΠ΅ Π·Π½Π°ΡΠ΅Π½ΠΈΠ΅ ΡΠ΅ΠΊΡΡΠ΅ΠΉ Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ°ΠΉΠ»Π° Dim $str_srav_date ;ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ, Π² ΠΊΠΎΡΠΎΡΡΡ ΡΡΠΈΡΡΠ²Π°Π΅ΡΡΡ Π΄Π°ΡΠ° ΠΈΠ· ΡΠ°ΠΉΠ»Π° ΡΠΈΠΏ ΡΡΡΠΎΠΊΠ° Dim $num_srav_date ;ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ, Π² ΠΊΠΎΡΠΎΡΡΡ ΡΡΠΈΡΡΠ²Π°Π΅ΡΡΡ Π΄Π°ΡΠ° ΠΈΠ· ΡΠ°ΠΉΠ»Π° ΡΠΈΠΏ ΡΠΈΡΠ»ΠΎ Dim $file_list ;ΡΠΏΠΈΡΠΎΠΊ ΡΠ°ΠΉΠ»ΠΎΠ², ΠΏΠΎΠ»ΡΡΠ°Π΅ΠΌΡΠΉ ΠΈΠ· ΠΏΠ°ΠΏΠΊΠΈ Dim $file_name ;ΡΠ΅ΠΊΡΡΠ΅Π΅ ΠΈΠΌΡ ΡΠ°ΠΉΠ»Π° Dim $file ;ΠΈΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡ ΡΠ΅ΠΊΡΡΠ΅Π³ΠΎ ΡΠ°ΠΉΠ»Π° Dim $saved_file_name ;ΡΠΎΡ ΡΠ°Π½Π΅Π½Π½ΠΎΠ΅ ΠΈΠΌΡ ΡΠ°ΠΉΠ»Π° Ρ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠΉ Π΄Π°ΡΠΎΠΉ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ Dim Const $const_path="\\10.30.5.2\Obmen\ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΠ·Π°ΡΠΈΡ\ΠΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ\CheckXML\!update" ;path to an update folder Dim Const $const_process="checkxml.exe" ;name of a process for killing Dim Const $const_file_date="checkxml.txt" ;name of a log file with date of an last update file Dim $long_file_name ;contains the full path+name of the update file $max_date=20000101000000 ;ΠΈΠ½ΠΈΡΠΈΠ°Π»ΠΈΠ·Π°ΡΠΈΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠΉ Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ°ΠΉΠ»Π° ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΠΎ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΠΉ Π΄Π°ΡΠΎΠΉ ;------------------ΠΏΠΎΠΈΡΠΊ Π² ΠΏΠ°ΠΏΠΊΠ΅ ΡΠ°ΠΉΠ»Π° Ρ Π½Π°ΠΈΠ±ΠΎΠ»ΡΡΠ΅ΠΉ Π΄Π°ΡΠΎΠΉ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ--------------------------- $file_list=FileFindFirstFile($const_path & "\*.exe") ;ΠΈΠ½ΠΈΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅Ρ ΠΏΠΎΠΈΡΠΊ ΠΈ Π²ΡΠ²ΠΎΠ΄ ΡΠΏΠΈΡΠΊΠ° Π²ΡΠ΅Ρ ΡΠ°ΠΉΠ»ΠΎΠ² Ρ ΡΠ°ΡΡΠΈΡΠ΅Π½ΠΈΠ΅ΠΌ exe If $file_list=-1 Then ;Π΅ΡΠ»ΠΈ Π² ΠΏΠ°ΠΏΠΊΠ΅ Π½ΠΈ ΠΎΠ΄Π½ΠΎΠ³ΠΎ ΡΠ°ΠΉΠ»Π°, ΡΠ΄ΠΎΠ²Π»Π΅ΡΠ²ΠΎΡΡΡΡΠ΅Π³ΠΎ ΡΡΠ»ΠΎΠ²ΠΈΡ *.exe Exit ;Π·Π°ΠΊΠΎΠ½ΡΠΈΡΡ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ EndIf While true ;Π±Π΅ΡΠΊΠΎΠ½Π΅ΡΠ½ΡΠΉ ΡΠΈΠΊΠ» Π΄Π»Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΠΈ ΠΏΠ΅ΡΠ΅Π±ΠΎΡΠ° Π²ΡΠ΅Ρ Π½Π°Π·Π²Π°Π½ΠΈΠΉ ΡΠ°ΠΉΠ»ΠΎΠ² $file_name=FileFindNextFile($file_list) ;Π² ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ ΠΏΡΠΈΡΠ²Π°ΠΈΠ²Π°Π΅ΡΡΡ ΠΈΠΌΡ ΡΠ°ΠΉΠ»Π° If @error Then ExitLoop ;ΠΊΠΎΠ³Π΄Π° ΡΠ°ΠΉΠ»ΠΎΠ² Π² ΠΏΠ°ΠΏΠΊΠ΅ Π±ΠΎΠ»ΡΡΠ΅ Π½Π΅ ΠΎΡΡΠ°Π»ΠΎΡΡ, Π²ΡΠΉΡΠΈ ΠΈΠ· ΡΠΈΠΊΠ»Π° $long_file_name=$const_path & "\" & $file_name ;conacatenation of path and name of an update file $strdate=FileGetTime($long_file_name,0,1) ;ΠΏΠΎΠ»ΡΡΠ°Π΅ΠΌ Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ΅ΠΊΡΡΠ΅Π³ΠΎ ΡΠ°ΠΉΠ»Π° Π² ΡΡΡΠΎΠΊΡ $numdate=Number($strdate) ;ΠΊΠΎΠ½Π²Π΅ΡΡΠΈΡΡΠ΅ΠΌ ΠΏΠΎΠ»ΡΡΠ΅Π½Π½ΡΡ ΡΡΡΠΎΠΊΡ Π² ΡΠΈΡΠ»ΠΎΠ²ΠΎΠ΅ Π·Π½Π°ΡΠ΅Π½ΠΈΠ΅ If $max_date<$numdate Then ;Π΅ΡΠ»ΠΈ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½Π°Ρ Π΄Π°ΡΠ° ΡΠ°ΠΉΠ»Π° ΠΌΠ΅Π½ΡΡΠ΅ ΠΏΠΎΠ»ΡΡΠ΅Π½Π½ΠΎΠΉ $max_date=$numdate ;ΠΏΡΠΈΡΠ²Π°ΠΈΠ²Π°Π΅ΠΌ ΠΏΠΎΠ»ΡΡΠ΅Π½Π½ΡΡ Π΄Π°ΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠΉ $saved_file_name=$long_file_name ;ΠΏΠΎΠ»ΡΡΠ°Π΅ΠΌ Π΄Π»ΠΈΠ½Π½ΠΎΠ΅ ΠΈΠΌΡ ΡΠ°ΠΉΠ»Π° EndIf WEnd FileClose($file_list) ;ΠΊΠΎΠ½Π΅Ρ ΠΏΠ΅ΡΠ΅Π±ΠΎΡΠ° ΡΠ°ΠΉΠ»ΠΎΠ² ;;----------------------ΡΡΠΈΡΡΠ²Π°Π½ΠΈΠ΅ Π΄Π°ΡΡ ΠΏΠΎΡΠ»Π΅Π΄Π½Π΅Π³ΠΎ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΈΠ· ΡΠ°ΠΉΠ»Π°------------------------------ $file=FileOpen("c:\windows\pfrupdate\" & $const_file_date) ;ΠΎΡΠΊΡΡΡΠΈΠ΅ ΡΠ°ΠΉΠ»Π° Π΄Π»Ρ ΡΡΠ΅Π½ΠΈΡ $str_srav_date=FileReadLine($file,-1) ;ΡΡΠΈΡΠ°ΡΡ ΠΏΠΎΡΠ»Π΅Π΄Π½ΡΡ ΡΡΡΠΎΠΊΡ - Π² Π½Π΅ΠΉ Ρ ΡΠ°Π½ΠΈΡΡΡ Π΄Π°ΡΠ° ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ°ΠΉΠ»Π°, Ρ ΠΊΠΎΡΠΎΡΠΎΠ³ΠΎ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΉ ΡΠ°Π· ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΠ»ΠΎΡΡ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ $num_srav_date=Number($str_srav_date) ;ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΊ ΡΠΈΠΏΡ ΡΠΈΡΠ»ΠΎ FileClose($file) ;Π·Π°ΠΊΡΡΡΠΈΠ΅ ΡΠ°ΠΉΠ»Π° ;---------------------ΡΡΠ°Π²Π½Π΅Π½ΠΈΠ΅ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠΉ Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ°ΠΉΠ»Π° Π² ΠΏΠ°ΠΏΠΊΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ ΠΈ Π΄Π°ΡΡ, ΡΡΠΈΡΠ°Π½Π½ΠΎΠΉ ΠΈΠ· ΡΠ°ΠΉΠ»Π°--------------------------------------------- If $max_date<>$num_srav_date Then ;FileChangeDir("\\10.30.5.2\Obmen\ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΠ·Π°ΡΠΈΡ\ΠΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ\CheckXML\Rep") ;ΠΌΠ΅Π½ΡΠ΅ΠΌ ΡΠ΅ΠΊΡΡΡΡ ΠΏΠ°ΠΏΠΊΡ (Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ Π΄Π»Ρ Π·Π°ΠΏΡΡΠΊΠ° ΡΠ°ΠΉΠ»ΠΎΠ² ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ) ;-----------------------Π·Π°ΠΏΡΡΠΊ ΡΠ°ΠΉΠ»Π° ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ--------------------------------- If ProcessExists($const_process) Then ;If checkxml is running ProcessClose($const_process) ;killing the CheckXML process EndIf RunWait($saved_file_name) ;Π·Π°ΠΏΡΡΠΊ ΡΠ°ΠΉΠ»Π° ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ ;-----------------------Π·Π°ΠΏΠΈΡΡ Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ Π² ΡΠ°ΠΉΠ»------------------------------- $file=FileOpen("c:\windows\pfrupdate\" & $const_file_date,2) ;ΠΎΡΠΊΡΡΡΠΈΠ΅ ΡΠ°ΠΉΠ»Π° Π΄Π»Ρ Π·Π°ΠΏΠΈΡΠΈ ΠΏΡΠΈ ΡΡΠΈΡΠ°Π½ΠΈΠΈ ΠΏΡΠ΅Π»ΡΠ΄ΡΡΠ΅Π³ΠΎ ΡΠΎΠ΄Π΅ΡΠΆΠΈΠΌΠΎΠ³ΠΎ FileWriteLine($file,$max_date) ;Π·Π°ΠΏΠΈΡΡ Π² ΡΠ°ΠΉΠ» Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ°ΠΉΠ»Π°, ΠΈΠ· ΠΊΠΎΡΠΎΡΠΎΠ³ΠΎ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΌ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΠ»ΡΡ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ FileClose($file) ;Π·Π°ΠΊΡΡΡΠΈΠ΅ ΡΠ°ΠΉΠ»Π° EndIf The Script file was named as Updater.au3. When I cimpiled it under name Updater.au3 (became an Updater.exe), it works. But... when I renamed it to CheckXML.au3, and compiled...it works only in SciTe editor's window, but doesn't works when compiled (CheckXML.exe not works). When I renamed my working Updater.exe to CheckXML.exe, it also not works. When I changed all "checkxml" words to "Is2002" words (inside the script), and compile the script under the name Is2002.exe, it also not works. But it works under the name 111.exe (for example). I can rename checkxml.exe to 111.exe, and script became working. I debug the script checkxml.exe for the problems and found that script stops here If $max_date<>$num_srav_date Then ;FileChangeDir("\\10.30.5.2\Obmen\ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΠ·Π°ΡΠΈΡ\ΠΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ\CheckXML\Rep") ;ΠΌΠ΅Π½ΡΠ΅ΠΌ ΡΠ΅ΠΊΡΡΡΡ ΠΏΠ°ΠΏΠΊΡ (Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ Π΄Π»Ρ Π·Π°ΠΏΡΡΠΊΠ° ΡΠ°ΠΉΠ»ΠΎΠ² ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ) ;-----------------------Π·Π°ΠΏΡΡΠΊ ΡΠ°ΠΉΠ»Π° ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ--------------------------------- If ProcessExists($const_process) Then ;If checkxml is running ProcessClose($const_process) ;killing the CheckXML process EndIf RunWait($saved_file_name) ;Π·Π°ΠΏΡΡΠΊ ΡΠ°ΠΉΠ»Π° ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ ;-----------------------Π·Π°ΠΏΠΈΡΡ Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ Π² ΡΠ°ΠΉΠ»------------------------------- $file=FileOpen("c:\windows\pfrupdate\" & $const_file_date,2) ;ΠΎΡΠΊΡΡΡΠΈΠ΅ ΡΠ°ΠΉΠ»Π° Π΄Π»Ρ Π·Π°ΠΏΠΈΡΠΈ ΠΏΡΠΈ ΡΡΠΈΡΠ°Π½ΠΈΠΈ ΠΏΡΠ΅Π»ΡΠ΄ΡΡΠ΅Π³ΠΎ ΡΠΎΠ΄Π΅ΡΠΆΠΈΠΌΠΎΠ³ΠΎ FileWriteLine($file,$max_date) ;Π·Π°ΠΏΠΈΡΡ Π² ΡΠ°ΠΉΠ» Π΄Π°ΡΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ ΡΠ°ΠΉΠ»Π°, ΠΈΠ· ΠΊΠΎΡΠΎΡΠΎΠ³ΠΎ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΌ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΠ»ΡΡ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ FileClose($file) ;Π·Π°ΠΊΡΡΡΠΈΠ΅ ΡΠ°ΠΉΠ»Π° EndIf I solved problem (by renaming the scripts), but it is very interesting. Maybe a bug? Possibly. But very inteseting. I killed 2 hours for finding a problem:) I tried to compile scripts without UPX compression, but scripts not work again. The script itself in attachment. Sorry for russian comments here. updater.au3