Gấp - Cần AE thông thạo autoit xử lý lệnh có trả phí

mayback1

Junior
Joined
Nov 29, 2015
Messages
134
Reactions
10
MR
0.003
cần hỗ trợ có trả phí
Anh em nào thông thạo autoit mong hỗ trợ. Mình hiện tại có 2 file autoit làm nhiệm vụ check app. Nếu thỏa mãn thì sẽ close theo chỉ dẫn.
File 1:
====
Global $delayCheckProcess = 1000 * 10;
Global $delayTask = 1000 * 2;
Global $delayResetApp = 1000 * 3600 * 2;;1000 * 60 * 60 * 2;
Global $appName = "Smart.exe";
while 1 ;
$WinList= WinList()
$count=0
for $i=1 to UBound($WinList)-1
if StringInStr($WinList[$i][0],'SmartX') then
$count+=1
EndIf
next
if $count >=2 Then
ProcessClose($appName);
Sleep($delayTask);
EndIf
WEnd.
===


File 2:

Global $delayCheckProcess = 1000 * 10;
Global $delayTask = 1000 * 2;
Global $delayResetApp = 1000 * 3600 * 2;;1000 * 60 * 60 * 2;
Global $appName = "Smart.exe";
while 1 ;
$WinList= WinList()
$count=0
for $i=1 to UBound($WinList)-1
if StringInStr($WinList[$i][0],'Chrome') then
$count+=1
EndIf
next
if $count >=12 Then
ProcessClose($appName);
Sleep($delayTask);
EndIf
WEnd.

===

Làm sao để map 2 file thành 1 file autoit ạ
Mong ae hỗ t rợ
 

Huythuhai

Newbie
Joined
Dec 17, 2020
Messages
11
Reactions
2
MR
0.003
2 file này check điều kiện khác nhau. mình k rõ là 2 file này bác muốn dùng nó chạy check song song hay là điều kiện file 1 liên quan đến file 2. nếu muốn nó chạy cùng lúc thì đơn giản.
 

Announcements

Today's birthdays

Forum statistics

Threads
423,813
Messages
7,133,484
Members
176,256
Latest member
dieply

Most discussed of week

Most discussed of week

Back
Top Bottom