Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Nope | 26 comments | Create New Account
Click here to return to the 'Nope' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Nope
Authored by: aranor on Oct 09, '02 09:51:32PM

You could simply use an applescript to get their computer to talk. If you have SSH into their computer, just SSH in and use the 'osascript' command. If you don't have SSH but you have remote applescript capability, use an applescript or use 'osascript' with remote appleevents.

On a related note, I used this new 'cat' for a very cool purpose. I wrote a small PHP page that displays a text box, and when you hit the submit button it makes the computer speak whatever was typed! I tried this using
'osascript' and it didn't work because, when run from the webserver, 'osascript' didn't have access to the windowserver. I tried writing my own quick tool to do it, but for some reason speech simply didn't happen. So this 'cat' tool rocks, because now random people can make my computer speak! Of course, I need to publish my IP for that to happen, and I keep forgetting it (and I'm behind an IP mask so I can't easily figure it out). Oh well.



[ Reply to This | # ]
Nope
Authored by: babbage on Oct 10, '02 01:00:09AM

Uhh, maybe I wasn't clear. I've got access to a Mac, as do a couple of co-workers, but the majority of the other computers are Linux. The better general solution would be to capture the audio output (something like {osascript -e 'say "hello world" ' >hello.mp3 } or... yeah, something like that) and then just push the sound file to whatever platform can play mp3s (all of 'em). Hmm...



[ Reply to This | # ]
Nope
Authored by: osxpounder on Dec 20, '02 05:11:06PM

Your idea reminds me of a prank I pulled years ago on an OS9 user.

Just be sure that, once you get them to run the file, Applescript makes it impossible to delete. I had made a recording that played back every 15 min., and when my ill-fated user located the offending file and dragged it to the Trash [& emptied it], she was surprised to hear it 15 minutes later, chiming away.

The Applescript was written to quietly and invisibly undelete the file and return it to its original folder every time it was dropped into the Trash. Took her forever to figure that one out.

Ah, good times.



[ Reply to This | # ]