Jump to content

How can I get the url from a Web Browser into a filemaker field?


This topic is 2900 days old. Please don't post here. Open a new topic instead.

Recommended Posts

AppleScript can grab a URL and write it into an open FileMaker database.

 

I'm not sure, though, what exactly it is you want, and why: what do "a web page” (which one?), and “another […] field" mean?

 

Maybe describe the scenario in which you need this functionality.

Link to comment
Share on other sites

I have had to paste the url (manually select it and copy it and then paste it into a filemaker field. I thought maybe a the filemaker web object might be able to open the website I already have in filemaker and then extract the URL. I am collecting a bunch of website addresses. I would like to avoid having to scroll down and select the URL in the address bar and then copy it and then paste it into the filemaker field. I am looking to put a script together that will automate that.

 

I hope someone can help me with this. Thanks

Link to comment
Share on other sites

If you can let your users browse the internet in a web viewer then you can use the GetLayoutObjectAttribute() function to get the current URL.

If that is not feasible then you will have to revert to OS-level scripting just as Eos mentioned earlier in the thread.  AppleScript will work on OSX, VBscript or PowerShell will work on Windows.  But obviously that is bit more complex.

Link to comment
Share on other sites

This topic is 2900 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.