I need a plug-in that calls up a web browser within PS, nothing more. I will pay someone for the Job, I assume good knowledge of the SDK will be required.
Just use a script for example
// This script is supplied as is. It is provided as freeware.
// The author accepts no liability for any problems arising from its use.
#target photoshop
app.bringToFront();
try{
var URL = new File(Folder.temp + "/PhotoCollageToolkit.html");
URL.open("w");
URL.writeln('<html><HEAD><meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html"></HEAD></HTML>');
URL.close();
URL.execute();
}catch(e){
alert("Error, Can Not Open.");
};
This does work, can it be made not to call an actual browser, but a HTML file that is within the script or an HTML file, calling the HTML externally may be better, this way I would have more control rather then tinkering within the script, what do you think ? Is it possible that the script automaticlly fills the entire screen, I don't know if this will require payment ?
How can you have a file in a file? A file can include the contents of an other file but that is not a fle its just part of the script file. The sript does not call a browser it just writes a new html file with the contents of the included html file. Then has the OS execute that file. If a browser starts its because .html is associated with a browser exeutable. In my example the included copy of a html file html content will redirect a browser to a URL on the www. The example URL is to my web server to my documentation for my Photoshop Photo Collage Toolkit. This script code is what the help buttons in my toolkit dialog do. That way users can see if any updates have been made and will get the latest documentation. So the sample script may be what your asking for. Html can be written to have the browser resize the browser window to filll the display it starts on.
How about just calling a HTML file. The objective I want it simple, a button in the Ps Interface, I click it and a HTML file loads up with information I may need at any given time. I wanted it to not call up a literal web browser but a nice semi-opaque window displaying a HTML file in full screen, whatever the full screen size is. That's it.
StrongBeaver wrote:
How about just calling a HTML file. The objective I want it simple, a button in the Ps Interface, I click it and a HTML file loads up with information I may need at any given time. I wanted it to not call up a literal web browser but a nice semi-opaque window displaying a HTML file in full screen, whatever the full screen size is. That's it.
As I wrote the script code example is the code that my Photoshop Photo Collage Toolkits Scripts dialog execute when a button in their dialogs is clicked on. The Scripts do not terminate the button just gives the user an independant help window. Help is provided via hyper text markup language and which is displayed independently by a web browser. I do not know HTML well at all so I don't know if you can control the opacity of a browser window with HTML.
I Also do not know if you can control the opacity of a window displayed by a script written in a language like javascript for I do not know javascript.
It sounds to me like you need the information loaded up to be used by the user or the script in some manor like some sort of user interface, perhaps a dynamic user interface. If any of that is what you need look at reading and wiring a processing file like CVS or XML files using a scripting language.
If you need a dynamic User interface download X's Image Processor Pro plug-in script from Russell Brown's site it uses XML files for maintaning dynamic configurations of user output file dialog options. Which can me Loaded modified and used within the Image Processor Pro userui dialog.
Also in Photoshop scripting tree there is javascript samples folder in there is a FlashUISample script that uses a FlashUISample.mxml file and a FlashUISample.swf file perhaps Flash can give you your semi-opaque window. I don't know for a need an other $700 Adobe producy like I need a hole in my head my mind is to far gone for that.
This script is becoming more and more impossible to become a reality. I was informed that I need to use Ps scripting commands to create this script. Can I use regular JS and it calls up a U.I within Ps ? I want to know what direction I should take on this, it is not a difficult project, just one that requires the right steps.
It may not be a difficult project but it does not look like you have a designed for your project which make implementation impossible. You need to create a design for your project. Then you implement that design. Right now your flowndering around with an uneducated mind that has some ideas of what it would like but that mind lacks the knowledge to be able to design and implement a project to satisfy its desirer. The direction you need to take is education you need to gain the knowledge that is required for designing and implemting a project like the one your dreaming of.
Some time ago I've created simple browser panel extension for InDesign, but it works in Photoshop as well.
You can download it from here:
http://tomaxxi.com/2010/10/panel-tomaxxibrowse-panel-based-web-browser -for-indesign-cs5/
Place it in PhotoshopAppFolder\Plug-Ins\Panels.
Hope that helps.
--
Marijan (tomaxxi)
Marijan Tompa wrote:
Some time ago I've created simple browser panel extension for InDesign, but it works in Photoshop as well.
That depends on how you define works. Yes it does creat a browser like Photoshop panel that supports some of the HTML markup language. However many web pages do not function correctly. Bookmarks can not be added deleted or edited the ? about button turns the panel grayed. Collapising to icon the expamding the palem looses the htlp page and returns to the google page. I think it better to just spawn an external browser window using the users default browser and have full web browser support.
You took the link and download the panel did you read the page? This is what is on that page can you answer your question now?
Few days ago, my very good friend Martinho da Gloria posted picture that inspired me. It was picture of web of panel based web browser inside InDesign CS5! It was simple, just with address bar and page window, and I decided to expand it little bit more. I added back/forward, refresh, stop buttons, little menu with some useful links. Hope you will find it useful as much as I do! ![]()
StrongBeaver wrote:
There are two things I want to know if they can be changed ?
a) The browser loads a HTML file, not a web page
b) It runs full screen, automatically and all stop, back buttons are removed.
a) Hyper Test Markup Laguage is stored in files web pages are files browsers format and display HTML file either a local file or remote files. Either a local or remote file address is needed for a browser to display a files HTML contents. His panel default file is a remote file google servers default file. Can defaults be change?
b) I'm sure the panel has some default size if the user has never use it and resized it to suite their preference. Can defaults be changed?
He added (back/forward, refresh, stop buttons, little menu with some useful links) It sound like you want what he stated with pehaps he can point you to or send to you what he started with. Why not ask for that? Or search for Martinho da Gloria stuff.
North America
Europe, Middle East and Africa
Asia Pacific