• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
set x to "0" = (do shell script "...") ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set x to "0" = (do shell script "...") ???


  • Subject: set x to "0" = (do shell script "...") ???
  • From: Jim Weisbin <email@hidden>
  • Date: Mon, 24 Jul 2017 15:51:07 -0400

I was Googling around, looking into ways to use regex in AS, when I came across
this page:

https://stackoverflow.com/questions/997828/is-there-something-akin-to-regex-in-applescript-and-if-not-whats-the-alternat

<https://stackoverflow.com/questions/997828/is-there-something-akin-to-regex-in-applescript-and-if-not-whats-the-alternat>

In a few places the code snippets there have the construct:

set x to "0" = (do shell script “…”) etc

I have no idea what that does, or why it compiles. What am I missing?

Jim Weisbin | C.T.O. | Human | Post Human | 27 West 20th Street | Suite 801 |
New York, NY | 10011 |  (212) 352-0211 |  (917) 375-2272 | 2046 Broadway |
Santa Monica, CA | 90404 |  (310) 264-0211 telephone | www.humanworldwide.com
<http://www.humanworldwide.com/>
Click here <http://www.humanworldwide.com/#commercials> to view our online reel


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: set x to "0" = (do shell script "...") ???
      • From: Shane Stanley <email@hidden>
    • Re: set x to "0" = (do shell script "...") ???
      • From: Steve Mills <email@hidden>
  • Prev by Date: Re: Get List of Contact Names and Associated EMails for EMail Addresses that contain a string
  • Next by Date: Re: set x to "0" = (do shell script "...") ???
  • Previous by thread: ISSUE: ASUL Online Pages Are Now Plain Text
  • Next by thread: Re: set x to "0" = (do shell script "...") ???
  • Index(es):
    • Date
    • Thread