Hi,

Ok, so either appleScript or bash will suffice here. Here is my
scenario:
I have a textfile with a number of quotes in it. I want one of these
quotes to be spoken and also to be shown on screen when mac OS is
started, and I want this to happen independent of VoiceOver for it
will not be running on the mac this is being made for.
Now, after some digging I found out the easiest way to do this is by a
nifty little terminal program called Fortune. This program allows
quotes to be sent to the terminal from a specified file. I made the
necessary files and I can send them to the Say command with a shell
script. The info can therefore be spoken. But now I get stuck. I also
want the same quote to be visible on screen, most preferably by means
of a messageBox.
My first idea was to use osascript -e display dialog. But this didn't
work. Also thought of somehow sharing the info sent to Say by sending
it to a variable and then sending that variable to Say. This works,
but I don't know how to tell appleScript about this variable. Does
anyone have an idea to get me out of this? I am running out of ideas
pretty fast.

Florian

-- 
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.

Reply via email to