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;








2















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










share|improve this question




























    2















    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










    share|improve this question
























      2












      2








      2








      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










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 27 at 22:06









      AdihsamAdihsam

      544




      544




















          1 Answer
          1






          active

          oldest

          votes


















          4














          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






          share|improve this answer
































            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            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






            share|improve this answer





























              4














              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






              share|improve this answer



























                4












                4








                4







                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






                share|improve this answer















                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







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 27 at 22:17

























                answered May 27 at 22:09









                user3439894user3439894

                29.8k64769




                29.8k64769













                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company