Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Why does this simple apple script generate an error?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mark FX" data-source="post: 1677674" data-attributes="member: 211556"><p>There are also potentially further errors in the AppleScript, which I would of come to later had the poster replied.</p><p></p><p>Namley that when reading defaults through a shell command, boolean values are returned as integers of 0 and 1, which then have to be checked for, and converted to AppleScript true or false booleans, or converted to Yes or No string values, whichever would suit any other code in the script.</p><p></p><p>Mark</p></blockquote><p></p>
[QUOTE="Mark FX, post: 1677674, member: 211556"] There are also potentially further errors in the AppleScript, which I would of come to later had the poster replied. Namley that when reading defaults through a shell command, boolean values are returned as integers of 0 and 1, which then have to be checked for, and converted to AppleScript true or false booleans, or converted to Yes or No string values, whichever would suit any other code in the script. Mark [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Why does this simple apple script generate an error?
Top