Re: do shell script
Re: do shell script
- Subject: Re: do shell script
- From: "koenig.yvan" <email@hidden>
- Date: Fri, 28 Mar 2014 08:08:00 +0100
Le 28/03/2014 à 02:54, Iurista GmbH < email@hidden> a écrit : Am 28.03.2014 um 02.44 schrieb Nick: try (value as string) instead.
Oops, Nick, that may be a misunderstanding (maybe my english??) What I meant is that when the value is an integer, it is NOT transported as an integer, but as a string. But: when the value is an integer, I would like to have it stored in the plist as such: as an integer.
No hope
When you pass the command, the integer is automatically coerced as a string because the beginning IS a email@hiddenIt may be shortened as : do shell script ("defaults write " & Plistfilename & " " & Key & " " & value) because Key is automatically, silently, coerced as string.
If my memory is right, the system is able to recognize the numerical value when it grab datas from the plist.
Yvan KOENIG (VALLAURIS, France) vendredi 28 mars 2014 08:06:41
|
_______________________________________________
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