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
Where did the “Vikings wear helmets with horn” stereotype come from and why?
What is the best linguistic term for describing the kw > p / gw > b change, and its usual companion s > h
Draw a checker pattern with a black X in the center
How do I subvert the tropes of a train heist?
What is the 中 in ダウンロード中?
How could Catholicism have incorporated witchcraft into its dogma?
Compact Mechanical Energy Source
Windows 10 Programs start without visual Interface
What was this black-and-white film set in the Arctic or Antarctic where the monster/alien gets fried in the end?
How current works
What does "Marchentalender" on the front of a postcard mean?
Why doesn't the Earth's acceleration towards the Moon accumulate to push the Earth off its orbit?
Is my router's IP address really public?
Infinitely many hats
Comment dit-on « I’ll tell you what » ?
What does the term “mohel” mean in Hilchot Melicha (salting)?
How to prevent bad sectors?
Is floating in space similar to falling under gravity?
Could IPv6 make NAT / port numbers redundant?
Is CD audio quality good enough for the final delivery of music?
Apparent Ring of Craters on the Moon
Can't use numexpr in horizontal mode
I think I may have violated academic integrity last year - what should I do?
What is a subpixel in Super Mario Bros, and how does it relate to wall clipping?
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
New contributor
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
New contributor
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
New contributor
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
New contributor
New contributor
New contributor
asked 8 hours ago
AdihsamAdihsam
153
153
New contributor
New contributor
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 8 hours ago
answered 8 hours ago
user3439894user3439894
29.6k64669
29.6k64669
add a comment |
add a comment |