Search found 18 matches

by ravett
Sun Dec 13, 2020 4:57 am
Forum: Technical / Scripting
Topic: Long startup .exe
Replies: 9
Views: 4569

Re: Long startup .exe

Grovkillen wrote:
Sun Dec 13, 2020 2:57 am
The exe contains the "engine" to run your script. So the minimum size will always be around 2.2MB.
I made the same script (if I can call it 2 lines :)) in AutoHotKey and created an executable .exe file in it

It starts much faster there.

So it's not about the power of the PC as I thought before.
by ravett
Sat Dec 12, 2020 5:49 pm
Forum: Technical / Scripting
Topic: Long startup .exe
Replies: 9
Views: 4569

Re: Long startup .exe

Grovkillen wrote:
Sat Dec 12, 2020 5:40 pm
Depends on what commands your script is using.
My script is 2 lines)
Press Shift
Press F3
It seems that the matter is not in the script, but in the .exe itself
The script works quickly.
It takes a long time to start.

I wonder why the executable file is more than 2MB?
by ravett
Sat Dec 12, 2020 4:09 pm
Forum: Technical / Scripting
Topic: Long startup .exe
Replies: 9
Views: 4569

Re: Long startup .exe

Grovkillen wrote:
Sat Dec 12, 2020 3:54 pm
My experience is the opposite. Compiled macros run faster than from within the editor.
Hmm ...

What is usually associated with the startup speed of .exe?
by ravett
Sat Dec 12, 2020 4:07 pm
Forum: Technical / Scripting
Topic: 00BBB661
Replies: 2
Views: 1647

Re: 00BBB661

Grovkillen wrote:
Sat Dec 12, 2020 3:56 pm
Are the files stored in Dropbox? If so, you need to pause the sync for it to work.
Not using Dropbox.

The problem has not recurred yet.
by ravett
Sat Dec 12, 2020 3:14 pm
Forum: Technical / Scripting
Topic: Long startup .exe
Replies: 9
Views: 4569

Long startup .exe

Hello

It is very important that the script runs as soon as possible.

If the script is run from the Macro application, then it comes out much (about 1-2s), faster than running the .exe file.

But it turned out that it is necessary to run from .exe.

How can you speed up this moment?
by ravett
Sat Dec 12, 2020 2:51 pm
Forum: Technical / Scripting
Topic: macro in command line does note exist
Replies: 2
Views: 1850

Re: macro in command line does note exist

Marcus Tettmar wrote:
Sat Dec 12, 2020 1:25 pm
Can you try removing the spaces from the macro name? Or edit the shortcut and check that the quotes are in the right places.
Thank you.

Yes, the problem is with spaces in the macro name.
by ravett
Sat Dec 12, 2020 12:53 pm
Forum: Technical / Scripting
Topic: 00BBB661
Replies: 2
Views: 1647

00BBB661

Hello

I got this error when I converted multiple scripts to .exe one by one.
Image
by ravett
Sat Dec 12, 2020 12:16 pm
Forum: Technical / Scripting
Topic: macro in command line does note exist
Replies: 2
Views: 1850

macro in command line does note exist

Hello

Here is a script. Works.
Image

I made a shortcut on my desktop. At startup, such a window appears.
Image

What am I doing wrong?
by ravett
Fri Dec 11, 2020 9:18 pm
Forum: Beginners
Topic: Kill any active process
Replies: 2
Views: 3320

Re: Kill any active process

You want these three functions. GetActiveWindow> GetWindowProcess> KillProcess> Or if closing the window closes the process you could also just write a script that presses ALT + F4. Or manually press ALT + F4 rather than bothering with a script. Press ALT Press f4 Release ALT Brilliant! As I myself...
by ravett
Fri Dec 11, 2020 9:08 pm
Forum: Beginners
Topic: Entering data in the desired language
Replies: 1
Views: 2676

Re: Entering data in the desired language

Hello. I wrote the script. It inserts text into the window. In the script, the text is in English. But if the layout on the computer is changed to another language, then the text in another language is inserted. And I need English. How do I make sure the text is inserted exactly as I write, without...
by ravett
Fri Dec 11, 2020 8:42 pm
Forum: Technical / Scripting
Topic: 00BA523D
Replies: 2
Views: 1646

Re: 00BA523D

Here are questions to ask yourself to troubleshoot this : Have you changed the "Stop Running Scripts With" setting in Tools/Options to CTRL+SHIFT+B? What happens if you change it back to SHIFT+ESC? Is another script already assigned to CTRL+SHIFT+B? What does F6 do? Does it fire another Macro? What...
by ravett
Fri Dec 11, 2020 8:26 pm
Forum: Beginners
Topic: Kill any active process
Replies: 2
Views: 3320

Kill any active process

Hello I am familiar with the function "KIllprocess". But you need to specify constantly a specific process for closing. Now I have a script for each process. Inconvenient. Tell me please. A script to close any process whose window is currently active. Example. The active window is Chrome. Launched t...
by ravett
Fri Dec 11, 2020 5:35 am
Forum: Technical / Scripting
Topic: 00BA523D
Replies: 2
Views: 1646

00BA523D

Hello

The error appears when I turn off the script with the keys CTRL+SHIFT+B

Image

Image
by ravett
Tue Dec 08, 2020 2:26 pm
Forum: Beginners
Topic: Entering data in the desired language
Replies: 1
Views: 2676

Entering data in the desired language

Hello. I wrote the script. It inserts text into the window. In the script, the text is in English. But if the layout on the computer is changed to another language, then the text in another language is inserted. And I need English. How do I make sure the text is inserted exactly as I write, without ...
by ravett
Tue Dec 08, 2020 2:15 pm
Forum: Technical / Scripting
Topic: 009E8EBB
Replies: 2
Views: 1460

009E8EBB

Hello. What is this error? How to remove it?

009E8EBB

Image
Sign up to our newsletter for free automation tips, tricks & discounts