I'm writing a url helper to automatically access files on an SMB server from a web browser. It works by checking if the share on the server is already mounted, and mounting it in the /Volumes/ directory if it isn't. This all works fine, but the mounted volume does not show up on the desktop. To allow people to connect/disconnect/browse shares mounted by the url helper, I have made a window with a list of all the connected shares. From here, the user can double click on the share to browse it in the finder, or click disconnect to unmount it. This all either works already or will work soon, but I'm wondering how I can prevent this window from displaying when my application is launched by a web browser. I have the getUrl method quit the application, but the window still briefly flashes on the screen (annoying). Is there an object I can query to determine if my application was launched by a double-click or not?
Thanks a lot,
Julian
Thanks a lot,
Julian