Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #90454
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Jolly Roger <jollyroger@pobox.com> |
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Applescript Q: file specifications |
| Date | 28 Mar 2016 20:03:47 GMT |
| Organization | People for the Ethical Treatment of Pirates |
| Lines | 31 |
| Message-ID | <dlth13F6q94U3@mid.individual.net> (permalink) |
| References | <56f7758c$0$9287$c3e8da3$5d8fb80f@news.astraweb.com> <1mksh01.1t27xubng8j2uN%dempson@actrix.gen.nz> <56f8302a$0$14578$b1db1813$2411a48f@news.astraweb.com> <1mktkf3.14k3lwj1shpznkN%dempson@actrix.gen.nz> <56f8d583$0$5013$b1db1813$7968482@news.astraweb.com> <dlt202F3omfU1@mid.individual.net> <56f983f0$0$16692$c3e8da3$76a7c58f@news.astraweb.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net xfZo2pmra0DhwDoOa2uRFghHXklAsMKXUjnhraHiFt+9kuz4wJ |
| Cancel-Lock | sha1:Ld/H5zSyXnw5TlUlPvysERdDb2E= |
| X-Face | _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1<n@LQ!aZ7vLO_nWbK~@T'XIS0,oAJcU.qLM dk/j8Udo?O"o9B9Jyx+ez2:B<nx(k3EdHnTvB]'eoVaR495,Rv~/vPa[e^JI+^h5Zk*i`Q;ezqDW< ZFs6kmAJWZjOH\8[$$7jm,Ogw3C_%QM'|H6nygNGhhl+@}n30Nz(^vWo@h>Y%b|b-Y~()~\t,LZ3e up1/bO{=-) |
| User-Agent | slrn/1.0.1 (Darwin) |
| Xref | csiph.com comp.sys.mac.system:90454 |
Show key headers only | View raw
On 2016-03-28, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: > On 2016-03-28 11:47, Jolly Roger wrote: >> set quotedString to the quoted form of filePath > > set quotedfile to the quoted form of aPhoto's original path > write "original: " & quotedfile & return to outfile That's not what I wrote above. Notably, "aPhoto's original path" isn't necessarily a string, depending on the context. > It doesn't like the "quoted form" in first line above. > > iPhoto got an error: Can’t make quoted form of original path of photo id > 4.294973456E+9 into type reference. No, what it doesn't like is the fact that "aPhoto's original path" is resolving into an object reference: original path of photo id 22 > 4.294973456E+9. Coerce it to a string before you send it to "the quoted form of" to fix the problem: set quotedfile to the quoted form of (aPhoto's original path as text) You may get away with: set quotedfile to the quoted form of (aPhoto's original path) -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar
Applescript Q: file specifications JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-03-27 01:54 -0400
Re: Applescript Q: file specifications dempson@actrix.gen.nz (David Empson) - 2016-03-27 21:36 +1300
Re: Applescript Q: file specifications JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-03-27 15:10 -0400
Re: Applescript Q: file specifications Jolly Roger <jollyroger@pobox.com> - 2016-03-27 19:25 +0000
Re: Applescript Q: file specifications dempson@actrix.gen.nz (David Empson) - 2016-03-28 12:35 +1300
Re: Applescript Q: file specifications JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-03-28 02:55 -0400
Re: Applescript Q: file specifications Jolly Roger <jollyroger@pobox.com> - 2016-03-28 15:47 +0000
Re: Applescript Q: file specifications JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-03-28 15:20 -0400
Re: Applescript Q: file specifications Jolly Roger <jollyroger@pobox.com> - 2016-03-28 20:03 +0000
Re: Applescript Q: file specifications JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-03-28 17:08 -0400
Re: Applescript Q: file specifications Jolly Roger <jollyroger@pobox.com> - 2016-03-28 21:15 +0000
Re: Applescript Q: file specifications Paul Sture <nospam@sture.ch> - 2016-03-27 10:53 +0200
Re: Applescript Q: file specifications Jolly Roger <jollyroger@pobox.com> - 2016-03-27 16:53 +0000
csiph-web