I have a really elementary question to ask here. AppleScript I really would like is one we have talked about before, a command to read the battery power. However, if I had an AppleScript file, where do you put it so voiceover can find it and use it? , I have not a clue how to write them. I think somebody on this list wrote one for the purpose of reading the battery power, but I can't find it.
Gigi > On Nov 11, 2014, at 4:24 PM, Jonathan C. Cohn <[email protected]> wrote: > > Delay is the applescript command for a pause. I believe its argument is in > seconds. If you really need, I can look that up for you. > > Also, I discovered the error in my previous post about the mouse click. > > It should have been > tell mouse cursor to click twice > The twice can be once, twice, or thrice. As I believe I mentioned in that > post, there is also an optional argument to specify a specific button to > press. > > > Best wishes, > > Jonathan > > > > On Nov 11, 2014, at 3:55 PM, Jürgen Fleger <[email protected] > <mailto:[email protected]>> wrote: > >> Hi Nic, >> >> great, that’snearly what I needed. :-) >> >> Is there a way to implement a pause before the script performs a mouse >> click? Waht I experienced was the click sound immediately after running the >> script. And what happened was that the mouse clicked where it was at tis >> moment but not necessarily at the VO cursor. I beleive if there was a pause >> the mouse cursor would have time to move to the VO cursor then it could >> click right on this spot. >> >> Thanks and >> all the best >> Jürgen >> >> >> >>> Am 08.11.2014 um 01:32 schrieb Nicholas Parsons >>> <[email protected] <mailto:[email protected]>>: >>> >>> Hi Jürgen, >>> >>> Try this: >>> >>> tell application "VoiceOver" >>> tell commander >>> perform command "move mouse pointer to voiceover cursor" >>> perform command "click mouse" >>> end tell -- commander >>> end tell -- VoiceOver >>> >>> -- >>> 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 [email protected] >>> <mailto:[email protected]>. >>> To post to this group, send email to [email protected] >>> <mailto:[email protected]>. >>> 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 [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> 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 [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.
