Using an external image file to display on page while page is loading

I am uploading my site to a host that insists that I put their logo on the top of my web pages. They will not permit me to embed the logo on the page. They want me to insert an image srch on the page to a graphic file they store locally. This is so they can update all web pages on their site at once when a change is made to their logo. How do I place this on my web page using muse so the logo loads with my page.

Hello,
You can insert the image as HTML. Use Object>Insert as HTML option in Muse.
Please refer to the link : http://www.w3schools.com/html/html_images.asp for using the Image tag as HTML.
Replace the Source to what your hosting service provides you as their logo file path.
Hope this helps.
Regards,
Sachin

Similar Messages

  • External images are not displaying in RDLC report

    I need to add an external image in my RDLC report. My issue is the image has to come from an external site URL. I passed the URL using report parameter, but doesn't show any output. However, if I pass the URL directly in the RDLC report in the image control
    it displays the image. Since this doesn't make the report dynamic, I need to know how to make Image display in RDLC report using report parameter.

    Try below:
    http://www.codeproject.com/Questions/440205/Display-image-on-rdlc-report-viewer
    Dim paramList1 AsNew Generic.List(Of ReportParameter)
    paramList1.Add(New ReportParameter("Path", "+ /images/CPC.jpg")) Me.ReportViewer1.LocalReport.SetParameters(paramList1)
    http://www.c-sharpcorner.com/uploadfile/abylex/show-images-in-reports-at-run-time-using-reportviewer/
    If you do not have images in your Application. That is, you want to use an external image.
    a. Use an Image control on your RDLC file.
    b. Set the Image's Property-Source = External.
    c. Reserve a Report's DataSource Member for the image Path. For example-
    DataSource.ImgPath.
    d. Set the value for image path from the code in DataSource.ImgPath.
        For example:
    DataSource.ImgPath = "http://www.google.com/intl/en_ALL/images/logo.gif";
    e. The following self explanatory code also needs to be written:
        reportViewer1.LocalReport.EnableExternalImages = true; 
    (reportViewer1
    is the Name for the   ReportViewer Control)
    f. Do the normal stuff to bind DataSource etc.
    g. Done. Enjoy your image in the Report.
    If this helped you resolve your issue, please mark it Answered

  • Loading external htm file to display in TextArea

    Hi,
    I'm trying to think how I can load an external HTML file ad
    display the page in a TextArea and assign an external css file to
    style the text.
    Would appreciate any advice and sample code.
    Alex

    lexy,
    Are you trying to just use HTML text for a single text area,
    or are you trying to load an entire web page? If you are just
    looking to load some text, you can create an
    <mx:HTTPService> and point it to your .html file. Then
    you have to drill down to the section you are looking for ie..
    htmlVar.HTML.Body.div.tr.td.etc. Unless you are creating the
    file from scratch, in which case you can just make is an HTML
    formatted flat file with a single header like:
    <body> this is the <b>TEXT</b> I wanted to
    <i>display</i> </body>
    and then just load that. In any case, load that into an
    Object and then assign, the
    htmlText property of your textArea the Object variable and
    you should be set (be that the case).
    If you are looking to load a webpage in a container, check
    out this link:
    http://raghunathraoflexing.blogspot.com/2006/12/flex-i-frame.html

  • Load image file into a LONG RAW column via SQL*Loader

    Does anyone know how to load a image file into a LONG RAW column via SQL*Loader?
    Thanks
    -Hsing-Hua-

    Are you trying to import the image on the client into Oracle lite, or from the server end into the main oracle database for download to the client?
    On our system images are loaded into the the oracle lite database (10g R1 at the moment) on the client (DELL X50 PDA's) into a BLOB (Not LONG RAW) column using Java (relatively standard functionality in Java) as this is what our application software is written in.
    From the server end, we do not at the moment load images as such, but we do load the application software into the database for deployment of new versions to the clients (the DMC/DMS updates we have found very unreliable), and the technique should be the same for images. Again the file is imported into a BLOB column.
    NOTE a column defined as BLOB on the main Oracle database appears as a LONG VARBINARY on the client Oracle lite database, but the synchronisation process handles the conversion with no problem.
    To import into a BLOB column on the server try the following
    1) you will need to create a DIRECTORY (CREATE DIRECTORY command) within the database, pointing at a directory on the database server (or accessible from it). This is needed for the file location.
    CREATE OR REPLACE DIRECTORY PDA_FILE_UPLOAD AS '/pdaapps/jar/'
    NOTE create directory needs to be run as SYSTEM
    2) define your table to hold the image and other data. Our tables is
    SQL> desc pda_applications
    Name Null? Type
    ID NOT NULL NUMBER(12)
    PDAAT_CODE NOT NULL VARCHAR2(10)
    VERSION NOT NULL NUMBER(5,2)
    PART_NO NOT NULL NUMBER(3)
    FILE_OBJECT BLOB
    DEPLOY_APPLICATION_YN NOT NULL VARCHAR2(1)
    3) copy the image (or in our case a .jar file) to the database server directory specified in step 1
    4) the actual import is done using a DBMB_LOB procedure
    PROCEDURE pr_load_file
    Module Name     :     pr_load_file
    Description     :     Main call. Create a new pda_applications record, and import the specified file into it
    Version History:
    Vers. Author Date Reason
    1.0 G Wilkinson 03/02/2006 Initial Version.
    (PA_VERSION IN NUMBER
    ,PA_FILENAME IN VARCHAR2
    ,PA_PDAAT_CODE IN VARCHAR2
    ,PA_PART_NO IN NUMBER DEFAULT 1
    ,PA_DEPLOY IN VARCHAR2 DEFAULT 'Y')
    IS
    l_FileLocator BFILE;
    l_blobLocator BLOB;
    l_seq NUMBER;
    l_location VARCHAR2(20);
    no_params EXCEPTION;
    call_fail EXCEPTION;
    BEGIN
    -- Throw error if required details not present
    IF pa_version IS NULL
    OR pa_filename IS NULL
    OR pa_pdaat_code IS NULL THEN
    RAISE no_params;
    END IF;
    -- Initialize the BLOB locator for writing. Note that we have
    -- to import a blob into a table as part of a SELECT FOR UPDATE. This locks the row,
    -- and is a requirement for LOADFROMFILE.
    SELECT pdaa_id_seq.nextval
    INTO l_seq
    FROM dual;
    -- First create the application record (file is imported by update, not insert
    INSERT INTO pda_applications
    (ID,PDAAT_CODE,VERSION,PART_NO,FILE_OBJECT,DEPLOY_APPLICATION_YN)
    VALUES (l_seq,pa_pdaat_code,pa_version,pa_part_no,EMPTY_BLOB(),pa_deploy);
    -- Lock record for update to import the file
    SELECT file_object INTO l_blobLocator
    FROM pda_applications
    WHERE id=l_seq
    FOR UPDATE;
    -- Initialize the BFILE locator for reading.
    l_FileLocator := BFILENAME('PDA_FILE_UPLOAD', pa_filename);
    DBMS_LOB.FILEOPEN(l_FileLocator, DBMS_LOB.FILE_READONLY);
    -- Load the entire file into the character LOB.
    -- This is necessary so that we have the data in
    -- character rather than RAW variables.
    DBMS_LOB.LOADFROMFILE(l_blobLocator, l_FileLocator
    ,DBMS_LOB.GETLENGTH(l_FileLocator)
    ,src_offset => 1);
    -- Clean up.
    DBMS_LOB.FILECLOSE(l_FileLocator);
    -- Create download records for each user associated with the application for sending to the PDA's
    -- to install the software
    IF pa_deploy = 'Y' then
    IF fn_deploy (pa_pdaa_id => l_seq
    ,pa_pdaat_code => pa_pdaat_code) != 'SUCCESS' THEN
    RAISE call_fail;
    END IF;
    END IF;
    EXCEPTION
    WHEN no_params THEN
    pkg_appm.pr_log_message( pa_mdl_name => g_module_name
    , pa_mdl_version => fn_get_body_version
    , pa_error_code => SQLCODE
    , pa_location => l_location
    , pa_text => 'Missing parameters'
    , pa_severity => 'E'
    WHEN OTHERS THEN
    DBMS_LOB.FILECLOSE(l_FileLocator);
    pkg_appm.pr_log_message( pa_mdl_name => g_module_name
    , pa_mdl_version => fn_get_body_version
    , pa_error_code => SQLCODE
    , pa_location => l_location
    , pa_text => SQLERRM
    , pa_severity => 'E'
    END pr_load_file;
    I hope this may be of some help

  • Uploaded image files not displayed correctly

    Hello everyone,
    I used the following article(on o'reilly) as reference for file upload:
    http://www.onjava.com/pub/a/onjava/2001/04/05/upload.html?page=1
    While it works fine for most files types, there are problems with image files.(I am using PrintStream, BufferedOutputStream,FileOutputStream to write the files on the server).
    When links to these image files are clicked, the uploaded gif and jpeg image files are not displayed correctly.When directly opening the files on the server, it gives a 'error opening file' message.But other word docs , text files do not give an error.
    If anyone else has come across the same problem and could help out , I would appreciate it.
    Thanks in advance.

    I do not want to enter into the logic which you are following to upload the file. I did the upload process successfully even as a blob datatype.
    For this I followed the logic given in http://www.java.isavvix.com/codeexchange/codeexchange-viewdetail.jsp?id=22.
    Here you can download the complete sourse code, which is working fine for gif and jpeg, I tested.
    Please go with this. Also let me know, if you still have problem.
    Regards.

  • How do  I do a backup using a disk image file and SuperDuper?

    The external drive won't mount on the desktop even though the power light shows up on the external drive case. I want to back up the files on the computer, Powerbook G4 Panther in a hurry as the computer keeps shutting down on me.
    I opened up SuperDuper which I normally use for backups and there was a message that said it couldn't find the drive or something like that. Then there was a window to choose where I was copying from, and it came up with the hard drive name. Then another window came up with a disk image icon which is the place to copy to. I named it "Copyofharddrive", but I am not sure if this is right. I then pressed "Click" and then it told me it was going to erase the volume "Copyofharddrive" and asked if that was OK.
    I am scared of doing the wrong thing and erasing my hard drive. I only have 12GB left on my hard drive too. I am trying to copy 100GB of data onto the disk image file. Will that work out?
    I have never done this before. I don't understand disk image files. I just want to back up the data so that if the computer or the hard drive crashes I can then put the files on another computer.
    Is a disk image a suitable way to do a backup and can I restore the hard drive exactly as it was on the hard drive on another hard drive using the disk image? Do I have enough space on the Powerbook to do the backup? Am I following the correct steps in doing the backup on Superduper? Why does it ask me if it's OK to erase the volume "Copyofharddrive" when I jsut created it?
    Thanks for all your help.

    If you only have 12 GBs of space on your hard drive then how will you fit 100 GBs of data into a disc image file on that hard drive?
    If your external drive is not functioning then you cannot do any kind of backup to it. And, you cannot backup your hard drive to your hard drive.
    What you need is another external hard drive with at least 100 GBs or more of free space that you could use for a backup. However, if you have the unpaid version of SuperDuper, then SD will erase the backup drive before making a full clone of your internal drive.

  • What compression type to use for disk image files

    Hello all
    I was wondering if a more experienced user than me could give a recommendation as to which compression format I should use to compress an image I made of my / partition. I used dd to make the image file.
    For me, (de)compression time is more important than compression ratio (size), but I'm of course looking for a good blend of both
    Thanks for any advice

    If you have a multicore processor, use pigz instead of gzip etc. Start with this app and only after you're not happy with it, look for one that's faster / compresses better.
    BTW, do you have a lot of incompressible data in there? Movies, pics, music and already compressed files won't compress any more.
    Last edited by karol (2011-01-29 16:16:03)

  • Using an External Jar file

    I was hoping my intro programming class would be easy, as I've done some C++ before, but go figure, it's not.
    Although the language/concepts aren't to difficult to learn, it seems compiling programs is. For one program, I'm giving an external .jar file to use. I'm using crimson editor and I do have it setup with the jdk1.6.0. It compiles all my other programs besides this one (command line doesn't work either).
    Essentially, I've created a project, I have an instantiable class, and an application class. I can call the instantiable class in the app class and creating/modifying objects works just fine. Then I have a .jar file added to the project that came from the class (supposed to be used for I/O, don't know why we can't just use the standard java classes, but oh well). anyways, when I try to call the methods in the .jar file I get the following error:
    ---------- Capture Output ----------
    "C:\Program Files\Java\jdk1.6.0\bin\javac.exe" file.javafile.java:6: cannot find symbol
    symbol : variable externalJar
    location: class file
              int value = externalJar.getIntInput();
              ^
    After doing some searching, I found that it might be due to the classpath. So I set the classpath to the directory.. no go. Then I set the classpath to the externalJar.jar file and I get the follow error:
    ---------- Capture Output ----------
    "C:\Program Files\Java\jdk1.6.0\bin\javac.exe" -classpath C:\folder\externalJar.jar file.javaerror: error reading C:\folder\externalJar.jar; error in opening zip file
    I'm at a loss. It works when I use Eclipse and I can just add the external jar file, but I don't want to use eclipse, it's slow and bulky. Any other solutions to this problem? Thanks.
    E-Rod
    *names were changed for a reason.. i already know i'm not misspelling anything                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    The error about not being able to find the variable externalJar has nothing
    to do with the classpath. It's just that your code in file.java refers to this variable,
    but you have not declared it anywhere.
    Variables within a class, the names of classes and the names of .jar files
    which contain packages have nothing whatsoever to do with one another.
    If you are using a variable externalJar intending it to reference your external jar
    file in some way, then your file.java code is seriously wrong.
    (Also, classes and their associated source files should begin with an
    uppercase letter.)
    Regarding your attempt to specify the classpath when you invoke the
    compiler (always a good idea), I think you should also include the current
    directory (if that is where file.java is). Like this:"C:\Program Files\Java\jdk1.6.0\bin\javac.exe" -classpath C:\folder\externalJar.jar;. file.javaThe "error opening zip file" thing is odd. Make sure you are
    able to read it (permissions OK, no other process has it locked). And that
    it's not corrupt (Did you create it? If so, rebuild it. If not, aquire another copy.)
    Sorry for the generalities and guesswork, but without seeing any code and
    without knowing your directory structure or the contents of this externalJar.jar
    it's hard to do any more.

  • I have an older MacBook Pro using 10.4.11 and want to use new operating system to use the latest iLife. Can i install 10.7 on an external hard drive and use the external hard drive to run new system while leaving my old system intact?

    I want to use a new version of iLife (for iMovie and iDVD) but am currently running OS 10.4.11, which won't work with the newer iLife programs. Can i install OS 10.6.3 or 10.7 on an external hard drive, boot to that hard drive and work with the new software (installed on the external hard drive) using my MacBook Pro  (circa 2005/6) as the engine while leaving my laptop running 104.11 the rest of the time?

    Yes, you can use an external drive. To upgrade, however, means:
    Purchase Snow Leopard DVD then update Snow Leopard to 10.6.8.
    Access the App Store with your Apple ID and purchase and download Lion.
    Your computer must meet system requirements:
    Snow Leopard General requirements
    Mac computer with an Intel processor
    1GB of memory
    5GB of available disk space
    DVD drive for installation
    Some features require a compatible Internet service provider; fees may apply.
    Some features require Apple’s MobileMe service; fees and terms apply.
    Lion System Requirements
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Some features require an Apple ID; terms apply.
    Obviously, you do not have to upgrade to Lion but can stop at Snow Leopard 10.6.8 which is sufficient for the current versions of iLife apps. Note that iDVD is no longer part of the newest version of iLife. Lion 10.7.2 or later is needed should you wish to use iCloud.

  • Using an external as file so it displays on the stage?

    Hi,
    How do I get this code to work?
    package
        import fl.controls.*;
        import flash.display.*;
        import flash.events.*;
        dynamic public class MainTimeline extends MovieClip
            public var btSubmit:Button;
            public var btAlpha:Button;
            public var mytween:MovieClip;
            public var i:String;
            public var tiAge:TextInput;
            public var people:Array;
            public function MainTimeline()
                addFrameScript(0, frame1);
                __setProp_btSubmit_Scene1_objects_1();
                __setProp_btAlpha_Scene1_objects_1();
                return;
            }// end function
            function __setProp_btSubmit_Scene1_objects_1()
                try
                    btSubmit["componentInspectorSetting"] = true;
                catch (e:Error)
                btSubmit.emphasized = false;
                btSubmit.enabled = true;
                btSubmit.label = "Submit";
                btSubmit.labelPlacement = "right";
                btSubmit.selected = false;
                btSubmit.toggle = false;
                btSubmit.visible = true;
                try
                    btSubmit["componentInspectorSetting"] = false;
                catch (e:Error)
                return;
            }// end function
            function frame1()
                stop();
                people = new Array("julie", "bill", "steve", "paul");
                btAlpha.addEventListener(MouseEvent.CLICK, clickHandler);
                for (i in people)
                    trace(people[i]);
                btSubmit.addEventListener(MouseEvent.CLICK, Ageval);
                return;
            }// end function
            public function clickHandler(event:MouseEvent) : void
                mytween.alpha = 0.5;
                return;
            }// end function
            public function Ageval(event:MouseEvent) : void
                var _loc_2:* = undefined;
                _loc_2 = tiAge.text;
                if (_loc_2 > "18")
                    trace("You are " + _loc_2 + " years old you are old enough to vote!");
                else
                    trace("You are " + _loc_2 + " years old you are not old enough to vote yet!");
                return;
            }// end function
            function __setProp_btAlpha_Scene1_objects_1()
                try
                    btAlpha["componentInspectorSetting"] = true;
                catch (e:Error)
                btAlpha.emphasized = false;
                btAlpha.enabled = true;
                btAlpha.label = "Alpha";
                btAlpha.labelPlacement = "right";
                btAlpha.selected = false;
                btAlpha.toggle = false;
                btAlpha.visible = true;
                try
                    btAlpha["componentInspectorSetting"] = false;
                catch (e:Error)
                return;
            }// end function
    I can't tell how to get the code to interact with the objects on the stage.
    Thanks,
    Nightwalker

    Follow steps below:
    Open your fla  file.
    Click on stage area.
    opne Properties window from  either the "Window" menu or using shortcut CTRL+F3
    You will see one text field with the label 'Document class:' type your class name.
    Make sure you are placing your class file i.e. .as  file in the same directory as that of your fla file.
    To check click on the edit Icon infront of that text field and it should open your .as file
    Also keep in mind that you  will have to write the class as public and should have the same name as that of your file or vice-e-versa'
    I guess this will help you.
    P.S.: A flash program starts with the constructor of the Document class assigned to that Fla.

  • Image File Name Displayed

    Hi, I’m new to Numbers and would like to know how to automate a text feild so when a JPEG is position ed the text field automaticly displays the JPEGs file name. I need this for my invoices because I have to document my work with a JPEG (Graphic Design). Any help out there?

    (1) If you inserted a picture out of a table, you may get its filename thru Inspector > Metrics > File Info
    (2) If you inserted the picture in a cell, you can't get info from the Inspector.
    In both cases there is no way to automatically insert the file name in a cell.
    Given that, I quickly wrote a script doing the trick.
    --[SCRIPT insertPictureWithName]
    Enregistrer le script en tant que Script : insertPictureWithName.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    sélectionner la ou les cellules où insérer une image et son titre
    menu Scripts > Numbers > insertPictureWithName
    Choisir un fichier image dans le dialogue Choose File
    Le script ouvre le dossier contenant le fichier sélectionné
    copie celui-ci dans le presse-papiers
    insère le nom dans la table pointée
    colle l'image dans la cellule pointée.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    --=====
    Save the script as a Script: insertPictureWithName.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select the target cell(s)
    menu Scripts > Numbers > insertPictureWithName
    Select a picture file in the Choose File dialog
    The script opens the folder containing the file
    copy it in the clipboard
    insert its name in the table
    paste the picture in the target cell.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2010/05/23
    --=====
    on run
    GUI scripting must be active
    my activateGUIscripting()
    Get infos about the target cell(s)
    set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    Choose a picture file which may be : Jpeg, Png, Tiff, Pict, Pdf, Bmp, Gif
    set thePict to choose file of type {"public.jpeg", "public.png", "public.tiff", "com.apple.pict", "com.adobe.pdf", "com.microsoft.bmp", "com.compuserve.gif"} without invisibles
    tell application "Finder"
    set PictName to name of thePict -- grab the picture's name
    open (container of thePict) -- open the folder containing the picture
    select thePict -- select the picture
    end tell
    my raccourci("Finder", "c", "c") -- copy to the clipboard
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    Define the coordinates of the cell to store the picture's name
    if (not colNum1 = colNum2) or (not rowNum1 = rowNum2) then
    set rr to rowNum2
    set cc to colNum2
    else
    if colNum1 = (count columns) then add column after last column
    set rr to rowNum1
    set cc to colNum1 + 1
    end if
    Insert the picture's name
    set value of cell rr of column cc to PictName
    set selection range to range (name of cell rowNum1 of column colNum1)
    end tell
    my raccourci("Numbers", "v", "c") (* Paste the picture *)
    end run
    --=====
    set { dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    on getSelParams()
    local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
    set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
    if r_Name is missing value then
    if my parleAnglais() then
    error "No selected cells"
    else
    error "Il n'y a pas de cellule sélectionnée !"
    end if
    end if
    set two_Names to my decoupe(r_Name, ":")
    set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
    if item 2 of two_Names = item 1 of two_Names then
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    else
    set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
    end if
    return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
    end getSelParams
    --=====
    set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
    apply to named row or named column !
    on decipher(n, d, s, t)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
    on getSelection()
    local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
    tell application "Numbers" to tell document 1
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of tables
    if x > 0 then
    repeat with y from 1 to x
    try
    (selection range of table y) as text
    on error errMsg number errNum
    set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
    return {theDoc, theSheet, theTable, theRange}
    end try
    end repeat -- y
    end if -- x>0
    end tell -- sheet
    end repeat -- i
    end tell -- document
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on activateGUIscripting()
    tell application "System Events"
    if not (UI elements enabled) then set (UI elements enabled) to true (* to be sure than GUI scripting will be active *)
    end tell
    end activateGUIscripting
    --=====
    ==== Uses GUIscripting ====
    This handler may be used to 'type' text, invisible characters if the third parameter is an empty string.
    It may be used to 'type' keyboard raccourcis if the third parameter describe the required modifier keys.
    I changed its name « shortcut » to « raccourci » to get rid of a name conflict in Smile.
    on raccourci(a, t, d)
    local k
    tell application a to activate
    tell application "System Events" to tell application process a
    set frontmost to true
    try
    t * 1
    if d is "" then
    key code t
    else if d is "c" then
    key code t using {command down}
    else if d is "a" then
    key code t using {option down}
    else if d is "k" then
    key code t using {control down}
    else if d is "s" then
    key code t using {shift down}
    else if d is in {"ac", "ca"} then
    key code t using {command down, option down}
    else if d is in {"as", "sa"} then
    key code t using {shift down, option down}
    else if d is in {"sc", "cs"} then
    key code t using {command down, shift down}
    else if d is in {"kc", "ck"} then
    key code t using {command down, control down}
    else if d is in {"ks", "sk"} then
    key code t using {shift down, control down}
    else if (d contains "c") and (d contains "s") and d contains "k" then
    key code t using {command down, shift down, control down}
    else if (d contains "c") and (d contains "s") and d contains "a" then
    key code t using {command down, shift down, option down}
    end if
    on error
    repeat with k in t
    if d is "" then
    keystroke (k as text)
    else if d is "c" then
    keystroke (k as text) using {command down}
    else if d is "a" then
    keystroke k using {option down}
    else if d is "k" then
    keystroke (k as text) using {control down}
    else if d is "s" then
    keystroke k using {shift down}
    else if d is in {"ac", "ca"} then
    keystroke (k as text) using {command down, option down}
    else if d is in {"as", "sa"} then
    keystroke (k as text) using {shift down, option down}
    else if d is in {"sc", "cs"} then
    keystroke (k as text) using {command down, shift down}
    else if d is in {"kc", "ck"} then
    keystroke (k as text) using {command down, control down}
    else if d is in {"ks", "sk"} then
    keystroke (k as text) using {shift down, control down}
    else if (d contains "c") and (d contains "s") and d contains "k" then
    keystroke (k as text) using {command down, shift down, control down}
    else if (d contains "c") and (d contains "s") and d contains "a" then
    keystroke (k as text) using {command down, shift down, option down}
    end if
    end repeat
    end try
    end tell
    end raccourci
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) dimanche 23 mai 2010 11:29:06

  • Externally edited files not displaying properly in Aperture

    I've edited some pictures in my default exteranal editor PS CS3 to take advantage of layers and some filters. When I see the thumbnail in the stack or when I try to view it in a bigger view window it looks as if one of the PS layers is acting like a mask and I can only view part of the image through the mask window.
    I've tried resaving the file in PSCS3 and even making some small alteration so it is an actual new file but it's the same thing? It's a bummer because I've done a lot of work on them and would like to view them along with my other photos.
    Does anyone else have this problem?

    From the way you are describing the display issue this sounds like a bug that I have been screaming at Apple about for about 9 months. The bug is in CoreImage and effects everything in OS X that uses the coreimage library to display PSD files.
    The issue is caused by having ANY saved alpha channels in an image, these are either created manually by you or automatically by saving a selection. Check the PSD in photoshop, click the channels tab and look for any channel that is not part of the color model itself, if one is there it is causing the display issue. If you do not need this channel then just delete it, if you must have it for some reason the work around is to load the alpha channel into a blank layer layer mask and then get rid of it. If you need it back reverse the process. Bottom line if you have a save an alpha channel it will display all wild and crazy everywhere in OS X that uses core image.
    RB

  • Use of external image

    With AS3 if you need to make an external file such as a image appear in flash you use the UIloader component.
    How do you achieve the same effect with AS1, i strictly need to make it happen in AS1

    that is great
    a few questions
    in your example you used instancename.loadmovie("file location"); and put the code in the pearents actions
    instead i have used this.loadmovie("file location"); and put the code in the childs actions
    does it matter which version of the code i use?
    also i may decide to add a preloader to it.
    to do this would i simply use the AS1 versions of commands such as loaderInfo.bytesTotal; and loaderInfo.bytesLoaded; on the child clip?
    If yes does preload code such as bytestotal include external data which is called upon by a loadmovie command?
    if not how would i make a preloader take account of external content?

  • We want display image by using plsql but image is not display properly

    DECLARE
    p_dir varchar2(100):='/prd/rcms/test/bala_test/';
    p_file varchar2(100):= 'sam.png';
    dest_dir varchar2(100):='/prd/rcms/test/bala_test/';
    dest_file varchar2(100):='test_image.html';
    dest_handle UTL_FILE.file_type;
    p_clob CLOB;
    l_bfile BFILE;
    l_step PLS_INTEGER := 2074;
    v_string varchar2(4000):='';
    BEGIN
    dbms_output.put_line('Encoding starts');
    l_bfile := BFILENAME('BFILE_DIR', p_file);
    dbms_output.put_line('File is going to open');
    DBMS_LOB.fileopen(l_bfile, DBMS_LOB.file_readonly);
    FOR i IN 0 .. TRUNC((DBMS_LOB.getlength(l_bfile) - 1 )/l_step) LOOP
    dbms_output.put_line('Inside encodeing');
    p_clob := UTL_RAW.cast_to_varchar2(UTL_ENCODE.base64_encode(DBMS_LOB.substr(l_bfile, l_step, i * l_step + 1)));
    p_clob := p_clob||v_string;
    dbms_output.put_line(p_clob||'<------------- '||i);
    END LOOP;
    dbms_output.put_line('Base64 encoded');
    p_clob:= '<img src="data:image.png;base64,'||p_clob||'" width="32" height="32">;
    dest_handle := UTL_FILE.fopen(p_dir, dest_file, 'w', 32767);
    UTL_FILE.put(dest_handle, p_clob);
    dbms_output.put_line(p_clob);
    DBMS_LOB.fileclose(l_bfile);
    dbms_output.put_line('Encoding ends successfully');
    exception
    when others then
    dbms_output.put_line('Error : '||SQLERRM);
    end;
    /

    972021 wrote:
    DECLARE
    p_dir varchar2(100):='/prd/rcms/test/bala_test/';
    p_file varchar2(100):= 'sam.png';
    dest_dir varchar2(100):='/prd/rcms/test/bala_test/';
    dest_file varchar2(100):='test_image.html';
    dest_handle UTL_FILE.file_type;
    p_clob CLOB;
    l_bfile BFILE;
    l_step PLS_INTEGER := 2074;
    v_string varchar2(4000):='';
    BEGIN
    dbms_output.put_line('Encoding starts');
    l_bfile := BFILENAME('BFILE_DIR', p_file);
    dbms_output.put_line('File is going to open');
    DBMS_LOB.fileopen(l_bfile, DBMS_LOB.file_readonly);
    FOR i IN 0 .. TRUNC((DBMS_LOB.getlength(l_bfile) - 1 )/l_step) LOOP
    dbms_output.put_line('Inside encodeing');
    p_clob := UTL_RAW.cast_to_varchar2(UTL_ENCODE.base64_encode(DBMS_LOB.substr(l_bfile, l_step, i * l_step + 1)));
    p_clob := p_clob||v_string;
    dbms_output.put_line(p_clob||'<------------- '||i);
    END LOOP;
    dbms_output.put_line('Base64 encoded');
    p_clob:= '<img src="data:image.png;base64,'||p_clob||'" width="32" height="32">;
    dest_handle := UTL_FILE.fopen(p_dir, dest_file, 'w', 32767);
    UTL_FILE.put(dest_handle, p_clob);
    dbms_output.put_line(p_clob);
    DBMS_LOB.fileclose(l_bfile);
    dbms_output.put_line('Encoding ends successfully');
    exception
    when others then
    dbms_output.put_line('Error : '||SQLERRM);
    end;
    /You are trying to output a clob using UTL_FILE.PUT which takes a varchar2 parameter, and thus has a limit of 32767 bytes. That could be problematic unless you know you are outputting less than 32K, in which case you should just store your data in a varchar2 in the first place.
    You could use multiple UTL_FILE.PUT statements in a loop outputting up to 32767 bytes at a time, though you have to flush the UTL_FILE buffer to ensure you don't exceed 32K before flushing.
    Alternatively, you can output CLOB data using some other techniques such as...
    DBMS_XSLPROCESSOR.clob2file(
      cl => p_clob
    , flocation => p_dir
    , fname => dest_file
    );However, it's not even clear if that is causing you a problem, as we don't have your data
    And for gawds sake, get rid of the stupid exception handler:
    exception
    when others then
    dbms_output.put_line('Error : '||SQLERRM);

  • Can you use a single webhelp file to display different help for two apps?

    I have updated a WebHelp project for a Windows app (let’s call it App1). Now the Dev team is creating a separately installed app (lets call it App2) that shares some of the same Help information as the original app. Both apps can be installed on the same system. The Help for App1 is accessed from an About menu in the app UI.  Some of the topics are dialog boxes accessed from a question mark icon (?) at the bottom of the UI (I assume map IDs are involved in hooking up the dialog box Help - I need to verify this with Dev). The Help for App2 will be accessed from the App2 UI, which looks very similar to the App1 UI, except that certain features in App1 are missing from App2.
    Here are the parameters:
    In some cases, entire Help topics will apply to both apps.
    In some cases, a portion of a topic for App1 will also apply to App2.
    In some cases, a topic or topic portion for App 1 does not apply to App2 and vice versa
    I’m using Robohelp 9 (RH9). Is there a way to allow App1 to display only the WebHelp that is relevant to that app and for App2 to display only the WebHelp that is relevant to that app? Is there a solution that would allow me to use one Help project and build only one Help file, with the result that App 1 displays only the Help it needs and App 2 displays only the Help it needs?  Would conditionalizing the Help and providing two sets of WebHelp be the solution? Or is there some other alternative?

    You could do it in a couple of ways – one way is to have 1 project & use conditions to generate 2 flavours of WebHelp output, one for each App; the other way would be to use one project and create DUCC flavoured WebHelp – that way the use would choose to read the appropriate flavour of help for their App.

Maybe you are looking for

  • Account without payment method

    I've had my itms account for a few years now and have been quite happy with how I have used it. Essentially I buy all the tunes and authorise them on my wifes, the 2 kids and the mac in the kitchen. However I figure it's time they all had their own a

  • Compilation failed while executing: ADT

    I have a project that I've been successfully compiling for iOS in Flash Professional 5.5, with uses AIR 2.6. I decided to try compiling in Flash Builder 4.6 using AIR 3.1. It runs fine on the desktop, no errors or warnings. When I try to do an Ad Hoc

  • Problem with OBPM Studio 10.3.2

    Hi all, I now have OBPM Studio 10.3.2 instead of 10.3.1. This new version indeed eliminates the loading part of presentations when you change a field. But now I have another problem with presentations. When I try to add a group with either Basic or C

  • Apple GMail sync - Fail

    Getting an issue with Gmail sync on the Apple Mail client where it refuses to accept the settings. Claims the password isn't correct. The same password I can actually log in to Gmail in on the web version AND the same email that I can use to set up G

  • Where is the "reset product download button"?

    I got "Error downloading this product...."  Message says I can use "Reset product download button".  Where is this button?