Added support for {DELAY=<delay>} to allow for custom delay in command execution instead of using dedicated UI and settings for this

This commit is contained in:
Michael Starke
2019-06-17 15:38:12 +02:00
parent 3ef2c01859
commit 8d66621803
5 changed files with 62 additions and 17 deletions

View File

@@ -25,6 +25,7 @@
@interface MPAutotypeDelay : MPAutotypeCommand
@property (readonly) NSUInteger delay;
@property (readonly) BOOL isGlobal;
/**
* Creates an DelayCommand that delays the execution for n milliseconds
*
@@ -33,5 +34,6 @@
* @return <#return value description#>
*/
- (instancetype)initWithDelay:(NSUInteger)delay;
- (instancetype)initWithGlobalDelay:(NSUInteger)delay;
@end