• 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: Very basic "write to file" query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very basic "write to file" query


  • Subject: Re: Very basic "write to file" query
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 4 Feb 2004 14:24:50 -0700

On Feb 4, 2004, at 2:03 PM, Shane Stanley wrote:

open for access file_ write permission 1

Where did you get that from? "write permission" is a boolean parameter, which means it takes a true or false, not a number. Try: "open for access with write permission".

In Panther, coercions between integers and booleans are possible.

1 as boolean
--> true

-- Michelle

--
"To announce that there must be no criticism of the president, or that we are to stand by the president right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." --Teddy Roosevelt
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Very basic "write to file" query
      • From: Walter Ian Kaye <email@hidden>
    • Re: Very basic "write to file" query
      • From: Shane Stanley <email@hidden>
References: 
 >Very basic "write to file" query (From: email@hidden)
 >Re: Very basic "write to file" query (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Very basic "write to file" query
  • Next by Date: Re: Scripting iCal
  • Previous by thread: Re: Very basic "write to file" query
  • Next by thread: Re: Very basic "write to file" query
  • Index(es):
    • Date
    • Thread