Vindicator209 Posted July 7, 2007 Share Posted July 7, 2007 Hmm, confusing title? Well, I'm making an IRC Server inside an embedded IE, I read the script from an HTML file within the same folder, now problem is, all the javascripts and bins cant be acessed in the same way, because its not on the inter net... if none of that made sense, look here: If you made a pic, that was in the same foldr as your script, you only need to put in: "mypicture.bmp" Now, say now I am using DocWrite into an embedded IE object: <img src="mypicture.bmp"> that WONT work because its not on the same domain thingy as it is... but thats EXACTLY what I want to do! Any thoughts? Thanks! [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Vindicator209 Posted July 7, 2007 Author Share Posted July 7, 2007 (edited) I just tried uploading all the files onto a filehost, and tried putting the filehost name infrom onf all the needed files, that didnt work either, infact the applet just said it failed to load... EDIT: Will _IEBodyWriteHTML still retain the domain name of the visited website? Edited July 7, 2007 by MethodZero [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
mikehunt114 Posted July 9, 2007 Share Posted July 9, 2007 Hmm, confusing title?Very confusing indeed...Not sure what you're asking....but would _IEBodyWriteHTML($body, "<IMG src = " & @ScriptDir & "\mypicture.bmp>") work?EDIT: Will _IEBodyWriteHTML still retain the domain name of the visited website?Again, not sure what you're asking...what visited website? IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] Link to comment Share on other sites More sharing options...
Vindicator209 Posted July 10, 2007 Author Share Posted July 10, 2007 well, none in particular, here, say I have my own website, with all the files uploaded on it, then I put a website on there (blank, say, www.myweb.com/blank.html), then I use the _IEBodyWriteHTML() to write on the blank page, now, after writing HTML into that page, is the page now a temp, or is it still the blank page name (www.myweb.com/blank.html)? because if it is STILL www.myweb.com/blank.html, I will still be able to use the objects I uploaded, (such as www.myweb.com/image.gif) [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 10, 2007 Share Posted July 10, 2007 well, none in particular, here, say I have my own website, with all the files uploaded on it, then I put a website on there (blank, say, www.myweb.com/blank.html), then I use the _IEBodyWriteHTML() to write on the blank page, now, after writing HTML into that page, is the page now a temp, or is it still the blank page name (www.myweb.com/blank.html)?because if it is STILL www.myweb.com/blank.html, I will still be able to use the objects I uploaded, (such as www.myweb.com/image.gif)I think you would be overwriting the body of the local object, which is a downloaded copy of the actual page. It would (I guess) overwrite whatever links, etc, were there. But you would have to test it and see... what happens when you try it? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
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