Make AppleScript delay a random number between x and y?How do I generate a random even number with Applescript?Shell or Applescript to delay shutdown?AppleScript “delay” command not working since switch to YosemiteMake Applescript press LShiftWhat is the minimum “delay” in AppleScript?How might I save a variable between Applescript runs?Applescript remove Missing value and unwanted dataHow to make applescript type items into url barCan AppleScript select text after my cursor between designated characters?AppleScript : separating number from text in variable
Convert GE Load Center to main breaker
My mom's return ticket is 3 days after I-94 expires
Are the guests in Westworld forbidden to tell the hosts that they are robots?
How can powerful telekinesis avoid violating Newton's 3rd Law?
If absolute velocity does not exist, how can we say a rocket accelerates in empty space?
Why do (or did, until very recently) aircraft transponders wait to be interrogated before broadcasting beacon signals?
How does AFV select the winning videos?
Am I allowed to determine tenets of my contract as a warlock?
Is it advisable to add a location heads-up when a scene changes in a novel?
Suppose leased car is totalled: what are financial implications?
Melave d'Malka on Motze Yom Tov
In American Politics, why is the Justice Department under the President?
Why did the World Bank set the global poverty line at $1.90?
What is Gilligan's full Name?
What is the theme of analysis?
How do I type a hyphen in iOS 12?
Why vspace-lineskip removes space after tikz picture although it stands before the picture?
What's the difference between DHCP and NAT? Are they mutually exclusive?
What does the homotopy coherent nerve do to spaces of enriched functors?
What does "lit." mean in boiling point or melting point specification?
Course development: can I pay someone to make slides for the course?
What is the "books received" section in journals?
How to represent jealousy in a cute way?
Prove that the infinite series equals 1
Make AppleScript delay a random number between x and y?
How do I generate a random even number with Applescript?Shell or Applescript to delay shutdown?AppleScript “delay” command not working since switch to YosemiteMake Applescript press LShiftWhat is the minimum “delay” in AppleScript?How might I save a variable between Applescript runs?Applescript remove Missing value and unwanted dataHow to make applescript type items into url barCan AppleScript select text after my cursor between designated characters?AppleScript : separating number from text in variable
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
set DelayTime1 to 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58
set DelayTime2 to some item of DelayTime1
delay DelayTime2
Is there any way I can clean this up so that if I want the range to be larger I don't have to type a bunch more numbers? i.e. set DelayTime1 to 18 thru 58
applescript
add a comment |
set DelayTime1 to 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58
set DelayTime2 to some item of DelayTime1
delay DelayTime2
Is there any way I can clean this up so that if I want the range to be larger I don't have to type a bunch more numbers? i.e. set DelayTime1 to 18 thru 58
applescript
add a comment |
set DelayTime1 to 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58
set DelayTime2 to some item of DelayTime1
delay DelayTime2
Is there any way I can clean this up so that if I want the range to be larger I don't have to type a bunch more numbers? i.e. set DelayTime1 to 18 thru 58
applescript
set DelayTime1 to 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58
set DelayTime2 to some item of DelayTime1
delay DelayTime2
Is there any way I can clean this up so that if I want the range to be larger I don't have to type a bunch more numbers? i.e. set DelayTime1 to 18 thru 58
applescript
applescript
asked May 27 at 22:06
AdihsamAdihsam
544
544
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can use random number
, e.g.:
set timeDelay to random number from 18 to 58
delay timeDelay
Or any integer
values you wish.
For more information about random number click the link. Also have a look at: AppleScript Language Guide
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use random number
, e.g.:
set timeDelay to random number from 18 to 58
delay timeDelay
Or any integer
values you wish.
For more information about random number click the link. Also have a look at: AppleScript Language Guide
add a comment |
You can use random number
, e.g.:
set timeDelay to random number from 18 to 58
delay timeDelay
Or any integer
values you wish.
For more information about random number click the link. Also have a look at: AppleScript Language Guide
add a comment |
You can use random number
, e.g.:
set timeDelay to random number from 18 to 58
delay timeDelay
Or any integer
values you wish.
For more information about random number click the link. Also have a look at: AppleScript Language Guide
You can use random number
, e.g.:
set timeDelay to random number from 18 to 58
delay timeDelay
Or any integer
values you wish.
For more information about random number click the link. Also have a look at: AppleScript Language Guide
edited May 27 at 22:17
answered May 27 at 22:09
user3439894user3439894
29.8k64769
29.8k64769
add a comment |
add a comment |