Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #90445
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Applescript Q: file specifications |
| Date | 2016-03-28 15:47 +0000 |
| Message-ID | <dlt202F3omfU1@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> |
JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: > Different question: > > the file specificatiosn as obtained by Applescript from iPhoto look like: > >> /Users/jfmezei/Pictures/iPhoto Library/Masters/2012/Baie James 2012/DSC_1311.NEF > > Is there an easy way to escape spaces in a string to "\ " ? > > Once I have the information extracted from iPhoto, applescript is likely > to call the shell to run exittool to add that info to the original photo > file. (some of my iPhotos already have a .xmp sidecar that was vreated > with Bridge/Camera Raw, so it may be more difficult to add to those > files or modify them - but this is something I am still considering). No need to mess with space escapes. Just quote the string like so: set quotedString to the quoted form of filePath -- 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