Добро пожаловать, Гость
Пожалуйста Вход или Регистрация.    Забыли пароль?

AutoHotkey algorithm question
(0 чел.) 
ВнизСтраница: 1
Сообщения темы: AutoHotkey algorithm question
#46627
AutoHotkey algorithm question 8 г., 9 мес. назад Репутация: 10
Is there a potential problem with using the same ini result marker for multiple segments? Should each one be unique? Like this.

320: AutoHotkey(On-GridFiles\OGBMManager.ahk;90;False;False;On-GridFiles\OGEPVars.ini|Booster|EPResult)[670;325;325;320;320]
325: CheckLocal([900+;326;WO]
326: AutoHotkey(On-GridFiles\OGBoosterMarkBelt.ahk;0;False;False;On-GridFiles\OGEPVars.ini|Booster|EPResult)[320;326;327;326;326]
327: AutoHotkey(On-GridFiles\OGBoosterModule.ahk;0;False;False;On-GridFiles\OGEPVars.ini|Booster|EPResult)[327;327;OG0;327;327]

Before I go through the trouble of recoding the results of each file. Can each one use Booster|EPResult ?

Or should I go ahead and use Manager|EPResult Marker|EPResult and Booster|EPResult
Minesalot
Expert Boarder
Постов: 236
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
#46628
Re: AutoHotkey algorithm question 8 г., 9 мес. назад Репутация: 846
You can use the same file/key for any ahk modules. In principle you can use the same file for several clients too. Clients never access this file at the same time.
Slav2
Администратор
Постов: 17109
graph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
Send logs to my mail slav2@list.ru with subject 'log files' to pass spam filter.
How to record logs in knowledge base
Contact me in telegram
 
#46629
Re: AutoHotkey algorithm question 8 г., 9 мес. назад Репутация: 16
Sorry if this is too basic advice, but in your scripts, make sure you initialize the Ini result at the beginning (to signify an error, that things have gone well, etc.) otherwise you might accidentally read a stale value, or another bot's value if you are using a shared Ini.
AbbadonDespoiler
Expert Boarder
Постов: 375
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
#46654
Re: AutoHotkey algorithm question 8 г., 9 мес. назад Репутация: 10
AbbadonDespoiler wrote:
Sorry if this is too basic advice, but in your scripts, make sure you initialize the Ini result at the beginning (to signify an error, that things have gone well, etc.) otherwise you might accidentally read a stale value, or another bot's value if you are using a shared Ini.

Gotcha. I think that's the way I went. With the exception of if data is needed for another part based on the outcome of earlier parts.
Minesalot
Expert Boarder
Постов: 236
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
ВверхСтраница: 1
Модераторы: Slav2
© Macro Laboratory 2026
Все права защищены!
Design by Ivan Kozyrin