Page 1 of 1

Hookup to browser

Posted: Mon Oct 14, 2013 3:45 pm
by vladoportos
Hello all,

I'm still researching but here is my issue.

I'm trying to create application that would hookup to my browser so when I click special link ( in my own web app ) it will execute local application, like notepad or open local directory ( new window on my desktop, the same one where I clicked on the link ). Basically its a catalog of projects on web, each project have its own folder in PC, so when I click on project link in web I want to have it open local folder with the project as new window.

I might not be making much sense :D is this possible somehow with livecode ? ( php exec function is not working, we have tried.. )

Thanks.

Re: Hookup to browser

Posted: Mon Oct 14, 2013 5:29 pm
by Simon
Hi vladoportos,
I'm not completely sure of your request but I think you want to use "browserBeforeNavigate" in a custom liveCode browser.
From Resources > Tutorials > Internet > Browser Sampler
With browserBeforeNavigate you can intercept the url and make a decision based on that url e.g.

Code: Select all

if pUrl = myTextFile.txt then launch document pUrl
Is that what you were looking for?

Simon