Hello Daniela.

Applescript is very easy to learn through just trial and error, but I have a 
few resources that I’ll pass along that I think you and others may find helpful.
The first one is 
http://macosxautomation.com/applescript/firsttutorial/index.html 
<http://macosxautomation.com/applescript/firsttutorial/index.html>.
I have not used that one, but I’ve heard good things about it.  Also, the book 
is available on the iBooks store.

I’ve used the language guide available from the help menu of the editor, but I 
think that it is structured poorly and somewhat hard to use.

I also found this helpful: 
https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/work_with_as.html#//apple_ref/doc/uid/TP40001568-BABEBGCF
 
<https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/work_with_as.html#//apple_ref/doc/uid/TP40001568-BABEBGCF>

There is an example on that page that told me basically everything I needed to 
know on how a script is written.

You can allso learn a lot from just looking at the scripts in /Library/Scripts.

Hope this helps.
Good luck.



On Feb 27, 2015, at 11:19 AM, Daniela Rubio <mabuha...@gmail.com> wrote:

Hello dear Barry.
Thanks for sharing all this resources.
I am trying to work on scripts again after some time. I have little time, but a 
lot of desire. If there was a course that I could take, I definitely would do 
it! lol!
Thanks again!

Daniela Rubio T
 Distinguished Educator

Macneticos, Apple y accesibilidad a tu alcance.
Productos innovadores y cursos a tu medida certificados por Apple.
www.macneticos.com <http://www.macneticos.com/>

iPhone: +34662328507




> El 22/2/2015, a las 16:14, Barry Hadder <bhad...@gmail.com 
> <mailto:bhad...@gmail.com>> escribió:
> 
> Hi Daniela,
> 
> Here is a direct dropbox link: 
> https://www.dropbox.com/s/nhuqihboef1rsuf/SetTableNameForNumbers.scpt?dl=0 
> <https://www.dropbox.com/s/nhuqihboef1rsuf/SetTableNameForNumbers.scpt?dl=0>.
> I hope you find it helpful.   I’ve had very good success with it.  I’m also 
> pasting the script below.
> 
> (* This script enables Voiceover users to set the name of a table in Numbers.
> Tab to a table on the active sheet and run the script.
> *)
> 
> tell application "Numbers"
>       set tableList to table of active sheet of document of front window
>       repeat with aTable in tableList
>               if (selection range of aTable is not missing value) then
>                       set tablename to name of aTable
>                       set dialogresult to display dialog "table name" default 
> answer tablename
>                       set name of aTable to text returned of dialogresult
>               end if
>       end repeat
>       
> end tell
> 
> 
> On Feb 22, 2015, at 5:15 AM, Daniela Rubio <mabuha...@gmail.com 
> <mailto:mabuha...@gmail.com>> wrote:
> 
> Hello Barry!
> Thanks for this interesting script. Where can we get it? That for Pages would 
> be great as well, I really appreciate your great disposition to share this.
> Best
> 
> Daniela Rubio T
> iPhone: +34662328507
> 
> 
> 
> 
>> El 22/2/2015, a las 6:44, Barry Hadder <bhad...@gmail.com 
>> <mailto:bhad...@gmail.com>> escribió:
>> 
>> For anyone interested in trying this, I have written a small script that 
>> will enable vo users to set the name of a table in numbers.  To use it, you 
>> would just tab to a table on the active sheet and run the script.  A dialog 
>> will come up where you can type a new name.
>> I’m using the selection range of a table to determine if it has been 
>> selected.  I’ve seen it fail only once after many trys.  So, it seems to 
>> work pretty well.  The selection range method seems to be the weak part, but 
>> it was all I could come up with to tell which table is selected.  Would like 
>> to hear any other ideas on this..
>> I allso plan to do something simular for Pages.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "MacVisionaries" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to macvisionaries+unsubscr...@googlegroups.com 
>> <mailto:macvisionaries+unsubscr...@googlegroups.com>.
>> To post to this group, send email to macvisionaries@googlegroups.com 
>> <mailto:macvisionaries@googlegroups.com>.
>> Visit this group at http://groups.google.com/group/macvisionaries 
>> <http://groups.google.com/group/macvisionaries>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
>> <SetTableNameForNumbers.scpt>
>> Barry Hadder
>> bhad...@gmail.com <mailto:bhad...@gmail.com>
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "MacVisionaries" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to macvisionaries+unsubscr...@googlegroups.com 
>> <mailto:macvisionaries+unsubscr...@googlegroups.com>.
>> To post to this group, send email to macvisionaries@googlegroups.com 
>> <mailto:macvisionaries@googlegroups.com>.
>> Visit this group at http://groups.google.com/group/macvisionaries 
>> <http://groups.google.com/group/macvisionaries>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com 
> <mailto:macvisionaries+unsubscr...@googlegroups.com>.
> To post to this group, send email to macvisionaries@googlegroups.com 
> <mailto:macvisionaries@googlegroups.com>.
> Visit this group at http://groups.google.com/group/macvisionaries 
> <http://groups.google.com/group/macvisionaries>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> Barry Hadder
> bhad...@gmail.com <mailto:bhad...@gmail.com>
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com 
> <mailto:macvisionaries+unsubscr...@googlegroups.com>.
> To post to this group, send email to macvisionaries@googlegroups.com 
> <mailto:macvisionaries@googlegroups.com>.
> Visit this group at http://groups.google.com/group/macvisionaries 
> <http://groups.google.com/group/macvisionaries>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.


-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com 
<mailto:macvisionaries+unsubscr...@googlegroups.com>.
To post to this group, send email to macvisionaries@googlegroups.com 
<mailto:macvisionaries@googlegroups.com>.
Visit this group at http://groups.google.com/group/macvisionaries 
<http://groups.google.com/group/macvisionaries>.
For more options, visit https://groups.google.com/d/optout 
<https://groups.google.com/d/optout>.

Barry Hadder
bhad...@gmail.com



-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to