Re: applescript idea
or you can just do the voice switcher on the fly to go to your french voice, that's what I do On 7 Sep 2009, at 23:58, Justin Harford wrote: That would be neat. J On Sep 7, 2009, at 2:35 PM, Yuma Antoine Decaux wrote: Hi everyone, I was just hacing a milkshake and thought of a possible script to help polyglotts in this list? I believe this should be possible, bbut since i am not acquainted enough with applescript, please those of you who know some or are veterans, give me some pointers :) Basically, i always have the voice over menu open for switching languages, and though it's not that many manipulations away, i wish there is something more fluid and streamlined, sort of slick in its behavior. This could apply to safari, mail, and perhaps at a later date, documents. SO, if there are variables that can specify a language, either in an html body, it's address quote country suffixe? unquote or checking redundant words and common nouns in the subject line of a mail, the applescript would switch automatically to the given language. Now is this possible? getting handlers to pre-process document contents to see if it is in a given language could be done right? I have the applescript documentation, but since this list is about communicating, and i like to brainstorm before really engaging in any type of project :) i wanted your advice, opinion and comment. Thanks for reading, and best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---
Re: applescript idea
i love this one! wont mind to see it on the iphone as well. rk Il giorno 08/set/2009, alle ore 00.17, Anne Robertson ha scritto: Hello Yuma, To switch languages on the fly, hold down Control-Option-Command then use the left or right arrow until you reach Default voice (name), then use the down arrow to change the voice. If you don't move to another setting, the next time you press these modifier keys, you will be on the Default Voice setting and when you press down arrow, you'll be on the voice you were using previously. I do this all the time to switch between French and English. Cheers, Anne On Sep 7, 2009, at 11:35 PM, Yuma Antoine Decaux wrote: Hi everyone, I was just hacing a milkshake and thought of a possible script to help polyglotts in this list? I believe this should be possible, bbut since i am not acquainted enough with applescript, please those of you who know some or are veterans, give me some pointers :) Basically, i always have the voice over menu open for switching languages, and though it's not that many manipulations away, i wish there is something more fluid and streamlined, sort of slick in its behavior. This could apply to safari, mail, and perhaps at a later date, documents. SO, if there are variables that can specify a language, either in an html body, it's address quote country suffixe? unquote or checking redundant words and common nouns in the subject line of a mail, the applescript would switch automatically to the given language. Now is this possible? getting handlers to pre-process document contents to see if it is in a given language could be done right? I have the applescript documentation, but since this list is about communicating, and i like to brainstorm before really engaging in any type of project :) i wanted your advice, opinion and comment. Thanks for reading, and best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---
applescript idea
Hi everyone, I was just hacing a milkshake and thought of a possible script to help polyglotts in this list? I believe this should be possible, bbut since i am not acquainted enough with applescript, please those of you who know some or are veterans, give me some pointers :) Basically, i always have the voice over menu open for switching languages, and though it's not that many manipulations away, i wish there is something more fluid and streamlined, sort of slick in its behavior. This could apply to safari, mail, and perhaps at a later date, documents. SO, if there are variables that can specify a language, either in an html body, it's address quote country suffixe? unquote or checking redundant words and common nouns in the subject line of a mail, the applescript would switch automatically to the given language. Now is this possible? getting handlers to pre-process document contents to see if it is in a given language could be done right? I have the applescript documentation, but since this list is about communicating, and i like to brainstorm before really engaging in any type of project :) i wanted your advice, opinion and comment. Thanks for reading, and best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---
Re: applescript idea
Hello Yuma, To switch languages on the fly, hold down Control-Option-Command then use the left or right arrow until you reach Default voice (name), then use the down arrow to change the voice. If you don't move to another setting, the next time you press these modifier keys, you will be on the Default Voice setting and when you press down arrow, you'll be on the voice you were using previously. I do this all the time to switch between French and English. Cheers, Anne On Sep 7, 2009, at 11:35 PM, Yuma Antoine Decaux wrote: Hi everyone, I was just hacing a milkshake and thought of a possible script to help polyglotts in this list? I believe this should be possible, bbut since i am not acquainted enough with applescript, please those of you who know some or are veterans, give me some pointers :) Basically, i always have the voice over menu open for switching languages, and though it's not that many manipulations away, i wish there is something more fluid and streamlined, sort of slick in its behavior. This could apply to safari, mail, and perhaps at a later date, documents. SO, if there are variables that can specify a language, either in an html body, it's address quote country suffixe? unquote or checking redundant words and common nouns in the subject line of a mail, the applescript would switch automatically to the given language. Now is this possible? getting handlers to pre-process document contents to see if it is in a given language could be done right? I have the applescript documentation, but since this list is about communicating, and i like to brainstorm before really engaging in any type of project :) i wanted your advice, opinion and comment. Thanks for reading, and best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---
Re: applescript idea
I think if you did this, you would need to write it too its own function. Generally the events I have seen for AppleScript are not as widely available as for example in jaws. There are Folder Action scripts that can do special functions when a file is added to or removed from a folder. ( I was thinking of investigating these for automating some things with my downloads folder and my Victor Stream). In terms of mail there is no read message event. You can certainly have a script that gets the selected message and looks at the text body I would then expect you could tell Voice Over to change based on that. So that part should be fairly easy. I I would start by opening the mail scrip dictionary. You should be able to first try tell application mail set theText to the body of the seled speek theText end tell If you can get that to work then try doing a search of the body and get that to respond. Then you can say something like if isFrench tell application Voice Over ... end tell the On Sep 7, 2009, at 5:35 PM, Yuma Antoine Decaux wrote: Hi everyone, I was just hacing a milkshake and thought of a possible script to help polyglotts in this list? I believe this should be possible, bbut since i am not acquainted enough with applescript, please those of you who know some or are veterans, give me some pointers :) Basically, i always have the voice over menu open for switching languages, and though it's not that many manipulations away, i wish there is something more fluid and streamlined, sort of slick in its behavior. This could apply to safari, mail, and perhaps at a later date, documents. SO, if there are variables that can specify a language, either in an html body, it's address quote country suffixe? unquote or checking redundant words and common nouns in the subject line of a mail, the applescript would switch automatically to the given language. Now is this possible? getting handlers to pre-process document contents to see if it is in a given language could be done right? I have the applescript documentation, but since this list is about communicating, and i like to brainstorm before really engaging in any type of project :) i wanted your advice, opinion and comment. Thanks for reading, and best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---
Re: applescript idea
Yuma, I think you have to have Snow Leopard for this combination to work. Best wishes, Simon On 7 Sep 2009, at 23:34, Yuma Antoine Decaux wrote: Hi Anne, I tried it and it only gives me rate, intonation, pitch and volume. control option command and left or right arrow, right? Hmm, i had my apple script editor up and took a shower to delve into this. Thought it would be a good idea for a first apple script :) Thanks though, if i can get it to work Best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---
Re: applescript idea
That would be neat. J On Sep 7, 2009, at 2:35 PM, Yuma Antoine Decaux wrote: Hi everyone, I was just hacing a milkshake and thought of a possible script to help polyglotts in this list? I believe this should be possible, bbut since i am not acquainted enough with applescript, please those of you who know some or are veterans, give me some pointers :) Basically, i always have the voice over menu open for switching languages, and though it's not that many manipulations away, i wish there is something more fluid and streamlined, sort of slick in its behavior. This could apply to safari, mail, and perhaps at a later date, documents. SO, if there are variables that can specify a language, either in an html body, it's address quote country suffixe? unquote or checking redundant words and common nouns in the subject line of a mail, the applescript would switch automatically to the given language. Now is this possible? getting handlers to pre-process document contents to see if it is in a given language could be done right? I have the applescript documentation, but since this list is about communicating, and i like to brainstorm before really engaging in any type of project :) i wanted your advice, opinion and comment. Thanks for reading, and best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---
Re: applescript idea
Hi Anne, I tried it and it only gives me rate, intonation, pitch and volume. control option command and left or right arrow, right? Hmm, i had my apple script editor up and took a shower to delve into this. Thought it would be a good idea for a first apple script :) Thanks though, if i can get it to work Best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---
Re: applescript idea
Hi John, Thanks for some insight on this :) I've decided to start with something a bit simpler and work from there. i want to start something like this: variable=language Language=voice type in voice over menu variable=french french=margaux infovox ivox hq tell voice over open tab voices if current language=french, open alex else open margaux infovox ivox hq end tell Now i'm looking in the syntax library, which is quite confusing for navigation for now, to figure where each of the commands would fit from the terms used in applescript. Let's see where this goes :) best Yuma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MacVisionaries group. To post to this group, send email to macvisionaries@googlegroups.com To unsubscribe from this group, send email to macvisionaries+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~--~~~~--~~--~--~---