Search found 6 matches

by grishka89
Sat Jun 05, 2021 8:44 pm
Forum: Help Me
Topic: Running a looping action through a script
Replies: 9
Views: 3706

Re: Running a looping action through a script

Yes, I got a private message from you! :-)
by grishka89
Sat Jun 05, 2021 8:09 pm
Forum: Help Me
Topic: Running a looping action through a script
Replies: 9
Views: 3706

Re: Running a looping action through a script

OK! I have sent you a private message.
by grishka89
Sat Jun 05, 2021 6:46 pm
Forum: Help Me
Topic: Two processes at the same time?
Replies: 1
Views: 1166

Two processes at the same time?

Greetings!

Can you please tell me if it is possible to make the drawing function available when executing the script?

The fact is that when the script is executed, other processes "hang" at this time, is it possible to somehow avoid this?

Many thanks!
by grishka89
Sat Jun 05, 2021 12:35 pm
Forum: Help Me
Topic: Running a looping action through a script
Replies: 9
Views: 3706

Re: Running a looping action through a script

Unfortunately, on the CC + version in the "Accelerator" mode, I cannot draw on the canvas, in parallel. I have to switch to Step by Step, but it's too slow. Is it possible to somehow artificially create small pauses in the action? Here's a video example of what I'm talking about - https://...
by grishka89
Sat Jun 05, 2021 12:13 pm
Forum: Help Me
Topic: Running a looping action through a script
Replies: 9
Views: 3706

Re: Running a looping action through a script

Kukurykus wrote: Sat Jun 05, 2021 8:48 am

Code: Select all

try{while(true) {doAction('actionName','actionSetName'), $.sleep(200)}}catch(err){}
Yes! That's what I need!!! Thank you very much!! :D :D

I just have one question. Is it possible to use the code to reduce the time of the "Playback Options" and to pause every 0.2 seconds?
by grishka89
Sat Jun 05, 2021 12:37 am
Forum: Help Me
Topic: Running a looping action through a script
Replies: 9
Views: 3706

Running a looping action through a script

Good day! I really need the help of experts. Help write a script that would run the action cyclically (repeating until it is manually stopped through the "Esc" button). I found something, but when I stop the action, the error pops up: var repeat = true; while (repeat) { app.doAction("...