Welcome Guest

Pages: 1
A way to pause an action?
framePostOctober 21, 2020, 08:38
Newbie
Posts: 16
Registered:
October 5, 2020, 22:12
Normal topicA way to pause an action?

Hi,
Is there a way to "wait" or "sleep" during action execution?
Context: I tag files sitting on mounted network drive and sometimes I need to give them a second to sync before proceeding. Kind of compensating issues existing with the sync / mounting mechanism...
Thanks

2MR2PostOctober 21, 2020, 08:47
Avatar photo
Administrator
Posts: 2397
Registered:
August 23, 2012, 19:27
Normal topicRe: A way to pause an action?

Not one which would actually pause. You could do the following:

Evaluate Expression "\> + 2000" save result to named variable 'Stop Pausing Time'
Repeat Forever Pause
Start Pause
Set named variable 'Now' to "\>"
Test if the numeric value of named variable 'Now' >= named variable 'Stop Pausing Time' (Set result)
Exit Repeat if true

The \> (backslash) (greater than) escape sequence inserts a time interval for the current time. The 2000 represents 2 seconds.

It's not great but it will waste time.

2MR2PostOctober 21, 2020, 09:33
Avatar photo
Administrator
Posts: 2397
Registered:
August 23, 2012, 19:27
Normal topicRe: A way to pause an action?

The last post is a little worse than nasty. I'll try an add a Pause statement for you.

2MR2PostOctober 21, 2020, 12:21
Avatar photo
Administrator
Posts: 2397
Registered:
August 23, 2012, 19:27
Normal topicRe: A way to pause an action?

Pause statement added in v6.1. Far more efficient ... and easier to use.

framePostOctober 21, 2020, 18:58
Newbie
Posts: 16
Registered:
October 5, 2020, 22:12
Normal topicRe: A way to pause an action?

Amazing! I was ready to start "custom coding" in Actions, but now I have Pause 😉 THANKS!

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.05 seconds.