AppleScript: what do you want to see in the Scrivener Suite?

Online
User avatar
AmberV
Posts: 20601
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Thu Jun 21, 2007 6:34 pm Post

/me injects precautionary anti-venom

Here is my outsider, unsubstantiated, unfounded, and completely clueless guess: They rushed a beta distribution out for WWDC attendees which may or may not be stable enough to push out to all ADC members. They are probably collecting initial bug reports from the recipients right now, but are unable to fully act on them because--as we all know--the L*@pard team is gutted and on the iPhone project which goes mainstream in a little over a week. Firmware work can be done up until a much later date than fabrication work, so I wouldn't doubt they are pushing long hours on that project.

So once again, I curse the iPhone as the bane of Leo&ar!.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
KB
Site Admin
Posts: 19178
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Thu Jun 21, 2007 9:53 pm Post

I'm afraid for once, AmberV, your reasoning doesn't hold. You forget that those of us who have paid for ADC membership are already running older, less stable Leopard seeds. I'm running a seed from two months ago to develop Scrivener (it has to be linked using the latest version of Xcode to run on both Leopard and Tiger) and Xcode crashes on me regularly.

And I've already moaned elsewhere how the Leopard Early Start Kit page actually advertises access to the "latest" versions of Leopard, so really, there is even a case for dodgy advertising here, too. Nope, I am really, really angry about this. It is Apple at their worst.

Best,
Keith

Da
Dave1976
Posts: 14
Joined: Wed Jul 25, 2007 9:03 pm
Location: Ukraine

Sun Oct 07, 2007 5:13 pm Post

It's been a while since anyone posted to this topic - I suppose you've got the latest Leopard seed by now though (I hope!)

My question is when will Scrivener be available for Leopard, given it smells like the cat is close?

My trial expired just as a few other more immediate expenses piled up, but I do plan to buy in about a month (I really miss the program!) so I'm wondering about your Leopard timing? Any comments you can make?

Oh, and in the meantime (after you put up your Leopard version but before I can afford it!), will you be updating your site with nice-looking screenshots, so I can know what I'm missing out on? :-)))

User avatar
KB
Site Admin
Posts: 19178
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Sun Oct 07, 2007 5:20 pm Post

Hi,

The beta in the Beta Testing forum is Leopard-ready. The 1.09 beta will be out in a day or two, then 1.1 will be released officially before Leopard hits the shelves (unless Apple just drops it on the shelves without announcing it). The site will be updated with new screenshots at the same time as 1.1 comes out.

And by the way, the 1.08 beta in the Beta Testing forum restarts the trial and gives you 30 days of actual use, so you can continue using the program for a while longer if you download it. :)

All the best,
Keith

Da
Dave1976
Posts: 14
Joined: Wed Jul 25, 2007 9:03 pm
Location: Ukraine

Tue Oct 09, 2007 6:46 am Post

Thanks, I downloaded it and it looks great!

It's even better than I remember from a few weeks ago.

Definitely on my "buy" list.
Winning demands uncompromising loyalty to perfection.

ky
kylben
Posts: 2
Joined: Mon Jan 14, 2008 12:41 am
Location: Arizona
Contact:

Mon Jan 14, 2008 12:54 am Post

I just got my first Mac, and saw the plug for Scrivener on Slashdot, so I gave it a try. It looks GREAT. The first thing I thought after running through the tutorial is how this would help in writing blog posts. The research and link collection features would be helpful, and if the posts are all collected in Scrivener, it would make selecting certain ones and merging them into a book (someday) really easy as well.

I'm not familiar with Apple script (yet), but I'm guessing the uploading could be automated if there is script access to the files in the binder and the file metadata, especially status, so the script could know what articles and associated files (images, etc) need to go up. The ability to add arbitrary custom metadata fields would be very helpful to this as well. I think this feature would be inappropriate for the main program, but very doable with AS/Cocoa given the right interface exposure.

User avatar
Wock
Posts: 2540
Joined: Fri Aug 24, 2007 8:09 pm
Location: Gallatin, Tennessee (USA)
Contact:

Tue Mar 04, 2008 8:51 pm Post

The wheel is turning but the hamster is still dead.

jc
jcscrib
Posts: 33
Joined: Tue May 06, 2008 2:47 pm

Mon Aug 11, 2008 5:44 pm Post

Am I the only one who doesn't know what AppleScript or Automator are for?

User avatar
Jaysen
Posts: 5740
Joined: Mon Dec 17, 2007 4:00 am
Platform: Mac + Windows
Location: East-Be-Jesus-Nowhere SC, USA

Mon Aug 11, 2008 5:50 pm Post

jcscrib wrote:Am I the only one who doesn't know what AppleScript or Automator are for?

Nope. I say that as someone who does know, but who has provided others a longwinded and meandering answer several times lately. It all boils down to providing you the ability to extend, automate, or combine various components of your system. When you need to use either, they will suddenly start making sense.

At least I think it all boils down to that.
Jaysen

I have a wife and 2 kids that I can only attribute to a wiggle, a giggle, and the realization that she was out of my league so I might as well be happy with her as a friend. 24 years marriage later, I can't imagine life without her. -Me 10/7/09

Image

de
derick
Posts: 259
Joined: Mon Aug 11, 2008 9:58 pm

Wed Aug 13, 2008 9:51 pm Post

I'd love to see robust Applescript support. Of the mac word processors I think Pages has the best Applescript support -- I'd look at the Pages dictionary for an idea of the possibilities.

To give an example of its advantages -- Jim Harrison has been able to write a BibDesk (BibTex-focused bibliography manager) for Pages using Applescript -- http://jhh.med.virginia.edu/main/CiteInPages. I thought about doing the same thing for Nisus Writer Pro & realized that NWP's Applescript support is pretty limited, with not much more than TextEdit and developers who are focusing on a proprietary Perl-based macro language instead of Applescript (don't get me started on that...).

User avatar
KB
Site Admin
Posts: 19178
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Wed Aug 13, 2008 9:53 pm Post

I would expect that Pages would have the best AppleScript support given that it is written by Apple themselves. :) The trouble is that Pages isn't really comparable to Scrivener, as Scrivener isn't a straight word processor. There are a thousand other commands you would need to control the binder and stuff too...

I'm hoping to look more at AppleScript support after the next update, though.

All the best,
Keith

te
terryd
Posts: 18
Joined: Sun Sep 28, 2008 4:46 am

Sun Sep 28, 2008 5:06 am Post

Think of Applescript as a way to automate multiple applications and you've got what you need to add as a minimum. For example, I think of Applescript more in terms of what I want to DO than what functionality a specific application would have. One I know what I want to do, then I can determine what to add to an application.

For example:

1) I'd like to be able to automate the whole process of collecting and moving a draft into a word processor and them imposing some standard template to it for my publisher. On the Scrivener side, I'd need to be able to select all of the draft documents, assemble them, then export them (I'm assuming I understood all this in the tutorial, so forgive my ignorance if I've got something wrong). You can see the need ... one the file exists, Applescript can handle the rest from there as long as my target application can handle the other parts.

2) I'd like to be able to automate producing a sample chapter as part of a proposal so I can collect all the stuff I need to get to an agent or publisher formatted appropriately. Again, the formatting can be handled by the Word Processor or layout program, that's not your issue, but choosing the draft elements, assembling them, and passing them out to the word processor are your parts.

3) I'd like to be in a word processor or online web surfing or somewhere else and be able to hit run a script that would take some element (say a web page) and insert it into a Scrivener project under the appropriate research heading without having to run Scrivener directly. Apple script will allow me to automate things like that if the applications I'm using allow it.

de
derick
Posts: 259
Joined: Mon Aug 11, 2008 9:58 pm

Thu Oct 23, 2008 11:25 pm Post

Here's a specific task I'd like to be able to do with Applescript.

With text selected, 1. copy the selection, 2. create a new document in a folder called Cuts, 3. paste the selected text in the new document, 4. set the synopsis of the new document to the first 20 words of the selected text, 5. delete the selection from the source document.

I do this all the time with stuff that I want to cut but keep around - it would be great to automate it. Steps 1, 3, and 5 are all doable with Applescripts core language features. So what's needed from Scrivener is a way to create the new document and make its body and synopsis available as a target for pasting, and to switch back to the source document.

That'd be awesome!

PJ
PJS
Posts: 1181
Joined: Sun Jul 22, 2007 5:05 pm
Platform: Mac + Windows
Location: Upstate New York

Fri Oct 24, 2008 1:48 am Post

What Derick said. Good idea.

ps
You can't conquer stupid — or cure it — with more stupid.

User avatar
gr
Posts: 1592
Joined: Wed Feb 14, 2007 3:57 am
Platform: Mac + iOS
Location: Florida

Fri Oct 24, 2008 5:02 pm Post

derick wrote:Here's a specific task I'd like to be able to do with Applescript.

With text selected, 1. copy the selection, 2. create a new document in a folder called Cuts, 3. paste the selected text in the new document, 4. set the synopsis of the new document to the first 20 words of the selected text, 5. delete the selection from the source document.

I do this all the time with stuff that I want to cut but keep around - it would be great to automate it. Steps 1, 3, and 5 are all doable with Applescripts core language features. So what's needed from Scrivener is a way to create the new document and make its body and synopsis available as a target for pasting, and to switch back to the source document.

That'd be awesome!


Actually, you do not have the ability to do step 3 via Applescript unless you mean invoking the menu Paste function. But you would not want to have to do that in your script (because it means changing what is in an editor window, etc.). Rather, you would just want the ability to get and set the contents of a document's body and synopsis.