image
image
Ticket Options
Question Details
TICKET ARCHIVE -> Trigger Action When File Accessed
Riquez - May 3, 2005 - 4:28 pm
image
image
I guess Automator might be able to do something like this - but I don't use Tiger (yet)

Basically, I have a webcam with a live feed page that is hosted on my G5 at home. If someone accesses this page I would like OS X to automatically open a safari .webloc

The webcam page has a simple webchat system written in php.
If someone accesses the webcam page I would like the page to open for me too, in safari, so i can chat with the person online.

is it possible?

cheers,
riquez
kainjow - May 4, 2005 - 9:12 pm
image
image
Hi Paul,

I looked through Automator and couldn't find anything to do this kind of thing.

What you'll most likely have to is write a CGI or another type of script to do what you want. Checking for changes to a file usually requires you to repeatedly check the modification date of the file and compare it to the last modificaition (saved in a variable somewhere).

It could be done through AppleScript, but I don't know. Unless you can find a program that does something like this, you would have to code it yourself (or get someone else to).

Kevin
Riquez - May 5, 2005 - 1:59 am
image
image
Hi Kevin,

Thanks for your advice.

As you suggested, I suspected that some sort of shell script would be needed to constantly monitor the folder or file.

I'll do some more digging around & see what I can find.

Thanks again,
Paul

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0