Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

How to call another program in a macro?

Ask for help
Post Reply
caiosc
Neophyte
Neophyte
Posts: 14
Joined: 27.03.2013 14:10

How to call another program in a macro?

Post by caiosc »

I think this maybe kind of a simple questions, but I couldn't find the answer in Stealth manual.

Is it possible to call another program in a macro?

For instance, I have 2 scripts, 1 for Blacksmithy and another for Mining. Is it possible to call Mining after my ingots are done in the Blacksmithy macro?

Thank you in advance!
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: How to call another program in a macro?

Post by Vizit0r »

no.
write all in 1 script.

if you want to make part of script in separated files - "uses" + .pas files will help you.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
caiosc
Neophyte
Neophyte
Posts: 14
Joined: 27.03.2013 14:10

Re: How to call another program in a macro?

Post by caiosc »

Got that!
Thank you!
Post Reply