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;








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







New contributor



Adihsam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    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







    New contributor



    Adihsam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      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







      New contributor



      Adihsam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      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







      New contributor



      Adihsam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      Adihsam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      Adihsam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      AdihsamAdihsam

      153




      153




      New contributor



      Adihsam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Adihsam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          2














          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









            2














            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





























              2














              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



























                2












                2








                2







                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 8 hours ago

























                answered 8 hours ago









                user3439894user3439894

                29.6k64669




                29.6k64669













                    Popular posts from this blog

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367