We have a search utility on our internal company web site that can quickly locate the names and other info of jobs we’ve archived (over 1 TB). A separate file server stores the actual work done for these jobs. It can be sometimes tedious to navigate through the folder tree to find the job you want. If a link could launch Finder at the correct spot, it would save a lot of time.
Take a look at this topic for a similar discussion. It uses PHP to write a file to a folder that an AppleScript is watching but any server should be able to write the file on the server based on some web input.
This seems to be the closest to what I am trying to do so far. The reason I am looking to open the Finder to the desired folder instead of the browser, is that 1) some of our client Macs are still running IE, 2) the way that the browser opens the folder does not coincide with the views that you can select in Finder (icons, list, etc) which is what the users would prefer.
This was very interesting. I am coding the web pages in PHP, running on a FreeBSD server. I think this method, however, may be a bit too complicated for what I am trying to accomplish. Thanks for the mention of it, though!
You can’t. If someone could run AppleScript code on your machine just by you visiting their page, that would be a horrible security risk. You either need to use a “file:” URL to a file you’ve put on their Mac, or they need something that let’s you send AppleScript code.
An “unmodified” Mac should never let a webpage run AppleScript code.