tmas73 Posted March 1, 2009 Share Posted March 1, 2009 Hello, I am trying to create a library solution that saves web viewer browsed images or pdfs and re-imports them into a container field in the solution. So if a user browsen a website in the webviewer and he wants to make a visual bookmark of the page he clicks a script that opens the same url in a new window saves the whole window as pdf to the desktop and then the script imports the saved image (pdf) into a container field. If [not(fnIsWebConnection)] Set Variable [$Recipe; Let ( [ MAC = "filemac:" & Get ( DesktopPath ) ; PC = "filewin:" & Get ( DesktopPath ) ] ; Case(Abs(Get ( SystemPlatform )) = 1; MAC; Abs(Get ( SystemPlatform ))= 2 ; PC ) & "Recipe" & recipes::rec_name & ".pdf")] Go to Related Record [show only related records; From table: "recipes"; Using layout: "recipe_others" (recipes); new window] Print Setup [Restore; No dialog] Save Records as PDF [Restore; No dialog; "$Recipe"; Current Record] Go to Object [ObjectName: "library1"] Insert Picture ["$Recipe"] So is this a way to achieve this? The problem seems in the insert picture, i specify the path but how can I tell it the file name (Recipe" & recipes::rec_name & ".pdf) Thanks for the help. Also is there a way to boomark the current browsed page? Link to comment Share on other sites More sharing options...
tmas73 Posted March 17, 2009 Author Share Posted March 17, 2009 (edited) With someone's help in a different forum, the solution is attached! Log:1 Pass:2 webcap.fp7.zip Edited March 18, 2009 by Guest Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5539 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 accountSign in
Already have an account? Sign in here.
Sign In Now