Re: Apple Photo (media) Picker

2011-12-15 Thread Ken Ray
On Dec 14, 2011, at 12:25 PM, Todd Geist wrote: > More on this. > > you don't actually need the full Automator file to run it from the shell. > You can rip out the document.wflow file from the contents of the automator > package and use that. > > This comes in handy because some tools see the r

Re: Apple Photo (media) Picker

2011-12-14 Thread Todd Geist
More on this. you don't actually need the full Automator file to run it from the shell. You can rip out the document.wflow file from the contents of the automator package and use that. This comes in handy because some tools see the regular automator package as a folder not a file. So it can be

Re: Apple Photo (media) Picker

2011-12-09 Thread Graham Samuel
This is just a quick thank you to Ken Ray, and also to Todd Geist for his added note on this. I will get it going in my own environment soon. Being English, I don't often use the word "awesome" but it seems an appropriate response in this case. Graham On Fri, 9 Dec 2011 10:25:28 -0600, Ken Ra

Re: Apple Photo (media) Picker

2011-12-09 Thread Ken Ray
First create the automate as Ken described and save it somewhere. In this > case I saved it on y desktop. > then in LC do the following > > get shell ("automator '/Users/todd/Desktop/test.workflow'") > > put value(line 2 of it) > > > That should do it. I didn't realize you could call Automato

Re: Apple Photo (media) Picker

2011-12-09 Thread Todd Geist
Hello, This way works too. First create the automate as Ken described and save it somewhere. In this case I saved it on y desktop. then in LC do the following get shell ("automator '/Users/todd/Desktop/test.workflow'") put value(line 2 of it) That should do it. Todd On Fri, Dec 9, 2011 at

Re: Apple Photo (media) Picker

2011-12-09 Thread Ken Ray
On Dec 9, 2011, at 5:39 AM, Graham Samuel wrote: > Hi Mark > > I am sure that would be a very fine way of doing it, but I have to ask myself > whether it would be quicker for me to implement a picker in LiveCode (where I > feel comfortable, and where at least some of the logic would be useful

Re: Apple Photo (media) Picker

2011-12-09 Thread Graham Samuel
Hi Mark I am sure that would be a very fine way of doing it, but I have to ask myself whether it would be quicker for me to implement a picker in LiveCode (where I feel comfortable, and where at least some of the logic would be useful on other platforms) or learn AppleScript and Automator and t

Re: Apple Photo (media) Picker

2011-12-08 Thread Mark Schonewille
Hi Graham, Why emulate it? Use AppleScript/Automator to use the real one. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.u