AppleScriptObjC Web View and Image Well

Ok, so I have been working on this for a long time now and I can't figure it out. Here is what I need to do: Load an image from the web to an image view or load a url in a web view. Here is what I tryed: http://macscripter.net/viewtopic.php?id=28459 but with:
set imageURL to "http://www.google.com/intl/en_ALL/images/logo.gif"
tell current application's class "ImageLoader" to loadImageInImageView(imageView,imageURL)

Your method call is not formed correctly.  In AppleScriptObjC, an underscore acts as a placeholder for the parameters in the equivalent Objective C method.  For example (from your linked page):
+ (void)loadImageInImageView:(NSImageView *)theImageView fromURL:(NSString *)url
becomes:
loadImageInImageView_fromURL_(theImageView, |url|)
(the url term in the above example is surrounded by pipes because it is an AppleScript reserved word)

Similar Messages

  • Web view and Page view

    I would like my document to be the same in web view and page view.  When I move the page breaks in page view it messes up the web view so that one page runs into another.  How do I make my document look uniform?  I am using a Mac and Safari web browser.

    Hi,
    Could you please share your form with me ([email protected]) so that I can help to resolve this issue? Instructions on how to share a form can be found here - http://forums.adobe.com/docs/DOC-2462.
    Thanks,
    Brian

  • Discoverer Web Viewer and Charts

    I did a search in the forum and saw no previous discussions on this subject. So, here's the question. I've developed a worksheet with a graph in Discoverer Plus 4.1. Now the question is how does one display this graph on the Discoverer 4i viewer (Web viewer)? I've looked under Presentation and it has "Chart Area" clicked ON, but the chart doesn't show. Any ideas?
    Thanks,
    Kerry Brannen

    Thanks Andy, you've answered the question (I think). I created the chart with the DeskTop version and figured it was only logical that since everything else created in Desktop version is viewable on the web, then the chart should be as well or why else would Oracle have put it there?
    So the question is, how do I access the "Discoverer Plus Applet" and create a chart? Is there documentation?
    Thanks,
    Kerry
    P.S. We had already set the <argument name="show_graphs">true</argument> .

  • Why my adobe lightbox gallery widget works well on "live view" and not well in the browsers?

    Hi I need help with adobe lightbox gallery.I am building a website using dreamweaver cs5.
    My problem is that the gallery works perfect in "live view" but when I check it in the browsers the pictures do not show at all.
    What am I doing wrong .Please help.
    Thank you

    Hi All:
    From my experience with other people having problems with the widget, here are some things you can check when it doesn't work:
    Names with uppercase characters: Some servers don't see a difference between "images" and "Images" but most of them do: Check that the paths to the folders and files are correctly written. I encourage people to use always lowercase characters. Same applies to spaces (I prefer to use an underscore instead)
    "scripts" folder: I've also found that some servers don't allow a folder called "scripts". You should change both the folder name and the paths in the main document.
    Paths: This is the most common one: Make sure that the paths to the required files are correct. In theory, you shouldn't find this when the document is at the site root. If the document is inside a folder, sometimes files' location and related paths may vary. If you are using CS5 or above, a good trick is using the related files toolbar and check whether DW can find and open the files.
    Upload all the required files: Some users forget to upload the "lightbox" folder, located inside "images". That folder contains the images used by the lightbox to work (nav and close buttons, for example). And also check that the paths to those images is correct. In this case, you can edit the paths in the parameters that you will find in the script code added to the document (names are quite self explanatory and every param is commented, so this shouldn't be a problem)
    I hope this helps.

  • Problems with fast web view and really large PDF files.

    If "allow speculative downloads in background" is set then the Fast Web view becomes nonfunctional.  Reader is makeing the HTTP Byte range requests but will ask for almost the entire PDF file in one range (180 MB of the 182 MB file).
    If "allow speculative downloads in background" is not set then Fast Web view is working fine, Reader is making more HTTP Byte range requests but the larges ones are still small 20K or so.
    Is this behavior being experianced by anyone else?
    What are the disadvantages, if any, of having "allow speculative downloads in background" turned off?
    My environment:
    182 MB pdf file (Optimized) around 41,000 pages.  I have also seen this with 42 MB and 25 MB pdf files.
    IE 6
    Reader 9.2
    Apache webservers (On Solaris Apache 1.3.20 and Linux Apache 2.0)
    Thanks in advance
    Angus Laidlaw

    Hi,
    The signing tool use Capicom (Library from .NET) to generate attached digital signature. I also tried signing with .net class SignedCms but the result is the same. What I don't understand is why some PDFs are working and others are not.
    For example, I uploaded here a signed PDF which can be opened up succesfully: http://dl.dropbox.com/u/104591126/PDFs/Signed_Dummy1.pdf  (it is the same PDF but I didn't enable the fast web view)
    Can you suggest other signing method?
    Thank you.

  • Preview in web browser and image is not center

    hi i have some question concerning about centering an image.
    When i open dreamweaver i can successfully center an image using AP div and the image was perfectfully center at the background(my background is using another image as background). HOwever when i preview it in my web broswer, it show otherwise and the image was not at the center of the background. I am a dreamweaver newbie, Please help thanks

    Try this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
    background-image: url(../Downloads/MP900439381.JPG);
    background-repeat: no-repeat;
    background-color: #690;
    background-position: center center;
    #wrapper {
    width: 980px;
    margin: 0 auto;
    position: relative;
    #apDiv1 {
    position:absolute;
    width:508px;
    height:345px;
    z-index:1;
    left: 236px;
    top: 44px;
    </style>
    </head>
    <body>
    <div id="wrapper">
    <div id="apDiv1"><img src="../Downloads/5968_104598498870_597763870_2228858_4478189_n.jpg" width="508" height="345" /></div>
    </div><!-- end wrapper -->
    </body>
    </html>

  • InDesign - export a PDF for web view and print

    I have a brochure created for print in InDesign. I need to create a PDF for the web, that would be a link to download and print on a home printer. How do I accomplish this?
    Thanks for any help!

    export smallest size or take the print PDF in to Acrobat and reduce the size there.

  • Safari 6.0.4 is compressing all web sites and images from both sides

    My MBP 13: (mid 09, 8 gb ram, OS X Mtn Lion v OS X 10.8.3 (12D78)
    I much prefer Safari but about a month ago Safari started showing compressed screens of website or other info.
    (I tried to post a screenshot here but couldn't figure out how to do it, sorry)
    I've tried a few searches on this Board w/o help; and can't figure it out myself. MacBook Pro has OSX Mtn Lion; Boot Camp/Win 7 using VM Ware Fusion (current version).
    Safari worked fine for years, across all the OSX versions I've had till now.
    Other browsers do not have this display problem (Firefox, Chrome).
    I tried to post a screen shot of the garbled/messed up page, but couldn't figure out how to attach the shot of the screen in this condition.
    TIA,
    Howard/Penacious H

    Open the screen shot in Preview.
    Then from the Preview menu bar top of your screen click File > Open and navigate to the image then select it then click Open.
    Back to the menu bar, click File > Export
    Click the pop up menu where you see:  Format and select JPEG then click Save.
    Click the camera icon in the reply here.
    Select From Your Computer > Choose file > Insert image
    If you still can't insert an image, try troubleshooting Safari plugins and extensions.
    Help here >  Troubleshooting Safari plug-ins and Extensions

  • Creating a pdf for web viewing and printing

    I need to create files in pdf format from indesign cs6. They are educational units will go up on a website to be downloaded for good quality printing. Which options do I have? I am not too familiar with this process. Thank you for your expert suggestions

    Use the PDF/X-4 preset

  • Survey View and Reordering Slideshow Images

    I'm sure you all know this one but I searched the forum to learn how to rearrange Slideshow images and the only answer was "...you just drag them around." That didn't seem to work for me. I went to Library Module, selected my Folder, selected Survey View (the choices down toward the bottom where one finds the various view options). In Survey View, one can move the images around into your personal order. Go back to Thumbnail view and images are where you want them -- so is your Slideshow. Please forgive me for injecting this when you probably know this but I didn't (and maybe someone else out there doesn't know this)

    No Such thing as a limited version. Only dif is a serial number. Press 'T' for Toolbar and one of the Icons on it is for Survey Mode. Keyboard Shortcut 'N'.
    Only thing Limited here is the amount of reading you've done in this fourm.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Issue with multiple digital signatures disabling fast web view

    Hello, I'm using acrobat 9.1 pro and have some questions regarding an issue using multiple signatures on a pdf.
    Why am I asking the question below? My job involves preparing pdf's for submission to FDA. The FDA requires, among other things, that electronically submitted docs have fast web view enabled.
    I am currently exploring ways of using digital signatures to sign pdf reports and still make sure they are FDA spec compliant. My issue involves a document that would have multiple signature fields. What I do is create at least two signature fields in the doc and then save and optimize while enabling fast web view. When I sign the first box and save, the file retains the fast web view status. Yet, when I apply and signatures past the first one, the file is subsequently set to fast web view off without any obvious way of turning it back on. I am confused as to why it gets disabled only after the second, and not right after even the first one was signed. And, of course, I would like to know if it is possible to maintain fast web view and how to do it. I'll gladly accept "tinkering under the hood" of the file suggestions if they exist as well.
    Please let me know if anything is unclear or you need further information.
    Thanks for your time and help.
    ~Vlad

    Hi Vlad,
    Michael actual had the correct answer. The purpose of a "Linearized" file (i.e. a file that has been Optimized for Fast Web View) is to get the first page to display as soon as possible so you can start reading without waiting for the rest of the file to download. As an aside, the designated first page doesn't necessarily have to be page 0 (PDF's use a zero based counting system for pages), but usually it is. To quote the PDF specification, "The primary focus of Linearized PDF is optimized viewing of read-only PDF documents. It is intended that the Linearized PDF be generated once and read many times. Incremental update is still permitted, but the resulting PDF is no longer linearized and subsequently is treated as ordinary PDF."
    When you sign a PDF file the first time the Save process is a "full save", that is the entire document is rewritten so there are no more than two %%EOF (end-of-file) markers in it. The first EOF designates which page to show first and the second EOF designates the end of the rest of the file (so the browser knows when to stop downloading). However, when you add a second (or subsequent) signature the file is saved as an "incremental save" and all of the new data is tacked onto the the end of the original file. This is so you can do a rollback to the previous signed version and allows Acrobat/Reader to check the integrity of each signature independent of any other signatures. It's the incremental save that breaks the linearized optimization of the file.
    Steve

  • Web Viewer stettings

    Hi guys !
    I'm working on adobe web viewer and I wanted to know if I can change its size.
    I use a 768x1024 iPad rendition and when it display on a computer screen it's too big and I need to scroll down to see the bottom of viewer.
    Can I change viewer size in source code or do I need to publish a new rendition with a lower size.
    Regards,
    Franck Soulier
    Edit : 2 screens
    What I have :
    What I need :
    I zoom out at 75% in my browser to get my last sreenshot

    Thanks for that quick answer !
    I'll make a special web viewer rendition.
    But I have a new question about renditions.
    Is there a way to avoid all those copy/past for each article's descriptions, title, etc.
    Every month I'll make 4 renditions (iPad, iPad retina, Android, and now web viewer). 3 fields (heading, title and descriptions) to fill for each articles (about 50 per folio) in folio producer.
    That means 150 copy/past per rendition, 150 x 4 ! 600 ! And I don't count all the 200 images I need to upload for feature summary. It's really take a very long time each month...
    Is there a way to fill all those descriptions once and for all ? Perhaps in indesign file...
    Regards,
    Franck

  • Acrobat Pro 10 Actions Not Applying Fast Web View

    Acrobat Pro 10 actions are pretty useful overall, however they are not applying Fast Web View all the time. In my opinion, all PDFs generated today should be Fast Web View by default, but among the many applications which allow for PDF creation, not all apply Fast Web View for some reason.
    I did see http://forums.adobe.com/message/3335827for a potential band-aid fix. Unfortunately, it did not work for me.
    Here is the text from my Action sequence file:
    <</Commands [/c << /0 [/c <<  /Config [/c <<   /UIPolicy [/i 3]
    >>]
      /HandlerName [/a /FlattenOCGs]
      /Params [/c <<>>]
      /Title [/t ()]
    >>]
    /1 [/c <<  /Config [/c <<   /UIPolicy [/i 3]
    >>]
      /HandlerName [/a /ReduceFileSize]
      /Params [/c <<   /RFSCompatibility [/i 6]
    >>]
      /Title [/t (Reduce File Size)]
    >>]
    /2 [/c <<  /Config [/c <<   /UIPolicy [/i 3]
    >>]
      /HandlerName [/a /ExamineDocCmd]
      /Params [/c <<   /RmAnnots [/b false]
       /RmAttachments [/b false]
       /RmBookmarks [/b false]
       /RmDeletedContent [/b true]
       /RmFormFields [/b true]
       /RmHiddenLayers [/b true]
       /RmHiddenText [/b false]
       /RmLinksActionsJS [/b false]
       /RmMetadata [/b false]
       /RmOverlappingObjects [/b false]
       /RmSearchIndex [/b false]
    >>]
      /Title [/t (Remove Hidden Information)]
    >>]
    >>]
    /Input [/c << /FileVariation [/i 3]
    >>]
    /Output [/c << /AddToBaseName [/b false]
    /DontOverwrite [/b false]
    /EmbedIndex [/b false]
    /FileVariation [/i 2]
    /HandleOutput [/b true]
    /NumbericNaming [/b false]
    /OptimizePDF [/b true]
    /PresetName [/t (test2)]
    /RunPDFOptimizer [/b true]
    >>]
    >>
    As you can see, the "/OptimizePDF [/b true]" is set per the instructions in the aforementioned link. It still does not set Fast Web View all the time. I ran a test of the action on a batch of 10 PDFs, some were set to Fast Web View and some were not. While one of the PDFs that was not set to Fast Web View was open in Acrobat, I ran the same Action again and it did apply Fast Web View! I even installed the latest patch hoping that would fix it, but unfortunately it did not. Distiller does in fact set Fast Web View, but it won't work on PDFs. The only way I can find to guarantee the establishment of Fast Web View is to manually do a Save As on every file which I think is asking a bit much when you deal with hundreds of PDFs on any given day. Also that would effectively defeat the purpose of running an Action on hundreds of PDFs in the first place.
    Any ideas?

    There is a bug because of which fast web view is always disabled. While that is fixed, here the workaround. Save the action and open the .sequ file in Notepad. Change:
                    /OptimizePDF [/b false]
    to
                    /OptimizePDF [/b true]

  • Digital Publishing Suite Web Viewer

    I saw this demo (http://stage.adobepublish.com/s/f72c05c4-8e54-4ea6-a633-aeb5b8738511/6-monaco.html) for the Digital Publishing Suite Web Viewer and I'm trying to figure out how to get my folio to display like in this demo?

    Please refer to belows:
    http://helpx.adobe.com/digital-publishing-suite/kb/setting-dps-app-social-networking.html
    http://help.adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60-12e05bfc12f6c86d767-7 ffe.html
    1st: The folio's Ptotect Off at Folio Producer (DPS Dashboard)
    2nd: Publish or Update the folio
    3rd: Mail button at the folio protect-off on Viewer app.
    4th: The Web view Link is showed in the mail message.
    I hope this helps you.
    shimoawazu

  • Hi  I am a keen photographer and I have just bought you SD card reader for ipad. This works well but was winding if there is an app that I can view the images on the SD card full screen without having to import them to the iPad or is there a way to do thi

    Hi
    I am a keen photographer and I have just bought you SD card reader for ipad. This works well but was winding if there is an app that I can view the images on the SD card full screen without having to import them to the iPad or is there a way to do this on the iPad
    The reason for buy this was for when I was out and about to get a better view off my images.
    I have a iPad 2 16gb
    Hope you can help!
    Thanks

    A couple of weeks ago, (after reading a review in TUAW) I bought a wireless hub/ SD card reader called RAVPower.  its app comes with a built in viewer, so you can load it up, and see the pics full screen. 

Maybe you are looking for

  • Photo beside name in Contacts

    I have noticed in commercials and in photos that they show the contacts name with a small photo beside them. This shows up in ads for the contact list - as well as the latest commercial where they show a call coming in. The screen then shows the wall

  • Mail enabled list not picking up items from the drop folder.

    Hi all,  I'm sorry if this has already been addressed but my searches didn't turn up anything that helped. Our site has some mail enabled lists, that used to work and now do not.  Here is a list of things I've verified and done. 1.  Verified that ema

  • Exception --- Value can not be converted to requested type.Error Code: 0

    Inside my query, I try to use function,like Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD"); sometimes query works fine and sometimes got following exception, can anyone here help me out.. Internal Exception: java.sql

  • SQL Developer 1.5.3: SIZE honored in SET SERVEROUTPUT ON SIZE nbr ?

    I'm running some PL/SQL in SQL Developer 1.5.3 and am getting some buffer overflow error messages while using dbms_output.put_line. At the top of my script, I've put: set serveroutput on size 100000 But get these errors: ORA-20000: ORU-10027: buffer

  • Copy File, Delete File & Opening Document

    Hi All Please help, note that I use JDK 1.1.7A. I have 2 directories I recieve a file into the first. This kicks of a process, when the process is finished I must take the file and copy it to the 2nd directory. Once it is copied I have to delete it f