Hookup to browser

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
vladoportos
Posts: 17
Joined: Wed Jun 20, 2012 8:21 pm

Hookup to browser

Post by vladoportos » Mon Oct 14, 2013 3:45 pm

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.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Hookup to browser

Post by Simon » Mon Oct 14, 2013 5:29 pm

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply