• 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
do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

do shell script


  • Subject: do shell script
  • From: Iurista GmbH <email@hidden>
  • Date: Fri, 28 Mar 2014 02:20:44 +0100

Hi all

Writing to a plist file like this:

do shell script ("defaults write " & Plistfilename & " " & Key as text & " " & value)

Plistfilename and Key are string globals, value may be a string or an integer.

This works fine for text, but when the value is an integer, it does not transport that. The result in the plistfile is always a string.
"Quoted form of" does not work with integers, so how do I get my desired result.

Thanks for help
Rudolf
 _______________________________________________
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: do shell script
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Exporting JPEGs from Illustrator CS6
  • Next by Date: Re: do shell script
  • Previous by thread: Re: Exporting JPEGs from Illustrator CS6
  • Next by thread: Re: do shell script
  • Index(es):
    • Date
    • Thread