• 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
Re: I broke AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I broke AppleScript


  • Subject: Re: I broke AppleScript
  • From: Takaaki Naganoya <email@hidden>
  • Date: Thu, 26 Jan 2017 09:29:16 +0900

Nothing wrong with my environment.

macOS 10.12.4beta
InDesign 12.0.0.81

<AppleScript>
set aList to {1, 2, 3, 4}
set item 4 of aList to 100
aList
--> {1, 2, 3, 100}

tell application "Safari"
set item 4 of aList to 0
end tell
aList
--> {1, 2, 3, 0}

tell application id "com.adobe.indesign"
set item 4 of aList to -10
end tell
aList
--> {1, 2, 3, -10}
</AppleScript>

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
References: 
 >I broke AppleScript (From: "Jacopille, David" <email@hidden>)

  • Prev by Date: Re: I broke AppleScript
  • Next by Date: An Acrobat Pro heads up.
  • Previous by thread: Re: I broke AppleScript
  • Next by thread: drapplet?
  • Index(es):
    • Date
    • Thread