It works splendidly. One final query. What is the best way to position the cursor using Applescript. Is there a way I can say at the end of the script: “put the cursor flush left two line below the salutation”?
Pages.app has a class insertion point
select insertion point after last character of body text of document 1
or
select insertion point before paragraph 3 of body text of document 1
Nifty!
At home this works perfectly; at my office, I get an “allow this app to access contacts” every time I run it . ( I saved it as an application and put an alias in my dock.) Any thoughts?
As the script or application needs the access to Contacts.app you have to allow it
Every time? Would be good if there were a way to gratin access all the time. (Curiously, at home, it doesn;t ask me every time)
Every time? Would be good if there were a way to gratin access all the time. (Curiously, at home, it doesn;t ask me every time)
I figured out how to get Mavericks to stop asking for permission to allow access to contacts: had to code sign the app.
Here’s an additional question: is it possible to use variable in the “title” property of “choose from list” ? I would like to include in the title “Letter to” personName
But I get an error over thisPerson