Images run through

My portfolio site has thumbnails (buttons) that bring up
images when rolled over. I have them scripted as "onRollover"
"GoToAnd Stop" to a flagged frame.
Sometimes, but not always, when I log into the site, the
flagged frames, or images, run through the whole gamut before
settling down to the first one. Or, they may do this when I roll
over just one thumbnail button.
I have a "stop" n the first frame of a timeline action layer.
Anything else?
http://www.adunate.com/what.html

Thank you for getting back to me on this...  my slides are set for 1024 x 768 does making it that size reduce the mega pixels of the image?  The slide show I have going now is 3.88 GB is this to big for Keynote... things are really running slow here...
thank you
Mark

Similar Messages

  • IDVD6 Buffer under-run through View Image

    Higtherto a fair run with iDVD6 but suddenly, no matter what I've tried, when I eventually have run through the creation in iDVD then saved to Image View the complete disc build carries right through to the end then closes with the box message tellingme it has failed through buffer under-run. A waste of approximately 11 hours.
    I'm employing OSX.3.9 for the job with my undermentioned spec. The film is a holiiday one of 58 mins 30 secs, and I'm working in PAL with a Pioneer 109 and -R disc.
    Maybe I should know what is buffer under-run and maybe it's something I'm doing along the line but I haven't a clue.....
    Help required here, people - with thanks.

    Apologies - read it as 'when burning from' and confirm that I get as far as having already saved as Disk Image.
    I've a number of times gone over the lengthy process of saving from FCP through FCP Movie then iDVD to Disk Image followed by spasmodic print results to disks during this present difficulty. Last night I had one result from Toast 6 and another result from Disk Utility followed by a string of complete failures in the way I have already reported - that fatal "The drive drained its buffer without underrun protection."
    I've used Disk Warrior's Optimiser to optimise both my HDs which showed a noticeable difference to the storage graphs. Turned the computer off and on again. Resaved the film in the way described. Gone through the process with Toast and Disk Utillity, and produced one good disk from each. All followiing attempts have ended in failures as described and those attempts have included switching off and on again, not just restarting. My startup disk has 42gb free space and the storage disk containing the edited material has 47gb free space.
    So yes - the problem shows from the Disk Image starting point. When I got a result from Toast 6 followed by another one from Disk Utility I thought I'd cracked it. Maybe there's a clue in noting that the failures occurred again after once more using Disk Utility.
    Thanks again for your interest.

  • Aim to process all files in folders on desktop to run through photoshop and save in multiple locations

    Aim to process all files in folders on desktop to run through photoshop and save in multiple locations
    Part one:-
    Gather information from desktop to get brand names and week numbers from the folders
    Excluding folders on desktop beginning with "2" or "Hot"
    Not sure about the list of folders
    but I have got this bit to work with
    set folderPath to "Hal 9000:Users:matthew:Desktop:DIVA_WK30_PSD" --<<this would be gained from the items on the desktop
    set {oldTID, my text item delimiters} to {my text item delimiters, ":"}
    set folderName to last text item of folderPath
    set my text item delimiters to "_WK"
    set FolderEndName to last text item of folderName
    set brandName to first text item of folderName
    set my text item delimiters to "_PSD"
    set weekNumber to first text item of FolderEndName
    set my text item delimiters to oldTID
    After running this I have enough information to create folders in multiple locations, (i need to know where they are so that photoshop can later save them in those multiple locations
    So I need the following folders created
    Locally
    Hal 9000:Users:matthew:Pictures:2011-2012:"WK" + weekNumber
    Hal 9000:Users:matthew:Pictures:2011-2012:"WK" + weekNumber: brandName
    Hal 9000:Users:matthew:Pictures:2011-2012:"WK" + weekNumber: brandName: brandName + "_WK" + weekNumber + "_LR" --(Set path for Later)PathA
    Hal 9000:Users:matthew:Pictures:2011-2012:"WK" + weekNumber: brandName: brandName + "_WK" + weekNumber + "_HR"--(Set path for Later)PathB
    Network
    Volumes:GEN:Brands:Zoom:Brands - Zoom:Upload Photos:2012:"Week" + weekNumber
    Volumes:GEN:Brands:Zoom:Brands - Zoom:Upload Photos:2012:"Week" + weekNumber:brandName + "_WK" + weekNumber + "_LR"  --(Set path for Later)PathC
    Volumes:GEN:Website_Images --(no need to create folder just set path)PathD
    FTP (Still as a normal Volume) So like another Network
    Volumes:impulse:"Week" + weekNumber
    Volumes:impulse:"Week" + weekNumber:Brand
    Volumes:impulse:"Week" + weekNumber:Brand:brandName + "_WK" + weekNumber + "_LR"  --(Set path for Later)PathE
    Volumes:impulse:"Week" + weekNumber:Brand:brandName + "_WK" + weekNumber + "_HR"  --(Set path for Later)PathF
    I like to think that is end of Part 1
    Part 2
    Take the images  (PSD's) from those folders relevant to the Brand then possibly run more applescript that opens flattens and then saves it in the locations above.
    For example….
    An image in folder DIVA_WK30_PSD will then run an applescript in Photoshop, lets call it DivaProcessImages within this we then save to PathA, PathB, PathC, PathD, PathE, PathF the folder path of C should therefore look like this
    Volumes:GEN:Brands:Zoom:Brands - Zoom:Upload Photos:2012:Week30:DIVA_WK30_LR and of course save the image as original filename.
    Then from the next folder
    An image in folder Free_WK30_PSD will then run an applescript in Photoshop, lets call it FreeProcessImages within this we then save to PathA, PathB, PathC, PathD, PathE, PathF the folder path of C should therefore look like this
    Volumes:GEN:Brands:Zoom:Brands - Zoom:Upload Photos:2012:Week30:Free_WK30_LR and of course save the image as original filename.
    The photoshop applescript i'm hoping will be easier as it should be a clearer step by step process without any if's and but's
    Now for the coffee!!

    Hi,
    MattJayC wrote:
    Now to the other part, where each folder was created (and those that already existed) how do I set them as varibles?
    For example,
    set localBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", localBrandFolder)
    This line was used to create more than one folder as it ran though the folders on the desktop. The next part is I will need to reference them to save files to them.
    You can use a records
    Examples
    if you want the path of localBrandFolder_High_Res  of "Diva", if "Diva" is the second folder of the Desktop
    You get the path with this : localBrandFolder_High_Res of record 2 of myRecords
    if you want the path of localWeekFolder  in the first folder of the Desktop
    You get the path with this : localWeekFolder of record 1 of myRecords
    Here is the script
    set myRecords to {}
    set dtF to paragraphs of (do shell script "ls -F ~/Desktop | grep '/' | cut -d'/' -f1")
    repeat with i from 1 to number of items in dtF
        set this_item to item i of dtF
        if this_item does not start with "2_" and this_item does not start with "Hot" then
            try
                set folderPath to this_item
                set {oldTID, my text item delimiters} to {my text item delimiters, ":"}
                set folderName to last text item of folderPath
                set my text item delimiters to "_WK"
                set FolderEndName to last text item of folderName
                set brandName to first text item of folderName
                set my text item delimiters to "_PSD"
                set weekNumber to first text item of FolderEndName
                set my text item delimiters to oldTID
            end try
            try
                set this_local_folder to "Hal 9000:Users:matthew:Pictures:2011-2012"
                set var1 to my getFolderPath("WK" & weekNumber, this_local_folder)
                set var2 to my getFolderPath(brandName, var1)
                set var3 to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", var2)
                set var4 to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", var2)
                --set up names to destination folders and create over Netwrok including an already exisiting folder
                set this_Network_folder to "DCKGEN:Brands:Zoom:Brand - Zoom:Upload Photos:2012:"
                set var5 to my getFolderPath("WK" & weekNumber, this_Network_folder)
                set var6 to my getFolderPath(brandName, var5)
                set var7 to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", var6)
                set website_images to "DCKGEN:Website_Images:"
                --set up names to destination folders and create over Netwrok for FTP collection (based on a mounted drive)
                set this_ftp_folder to "Impulse:"
                set var8 to my getFolderPath("Week" & weekNumber, this_ftp_folder)
                set var9 to my getFolderPath(brandName, var8)
                set var10 to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", var9)
                set var11 to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", var9)
                set end of myRecords to ¬
      {localWeekFolder:var1, localBrandFolder:var2, localBrandFolder_Low_Res:var3, localBrandFolder_High_Res:var4, networkWeekFolder:var5, networkBrandFolder:var6, networkBrandFolder_Low_Res:var7, ftpWeekFolder:var8, ftpBrandFolder:var9, ftpBrandFolder_Low_Res:var10, ftpBrandFolder_High_Res:var11}
            end try
        end if
    end repeat
    localBrandFolder_High_Res of record 2 of myRecords -- get full path of localBrandFolder_High_Res in the second folder of Desktop
    on getFolderPath(tName, folderPath)
        tell application "Finder" to tell folder folderPath
            if not (exists folder tName) then
                return (make new folder at it with properties {name:tName}) as string
            else
                return (folder tName) as string
            end if
        end tell
    end getFolderPath

  • Image transfer through *socket*

    hi.
    can anyone plz show how to send a PNG image file through a raw socket outputStream (from a j2se server to a midlet) ???
    thanks

    You will have to take care of indentation.
    midlet code:
    //SOCKET ---------------------------------------------------------------
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import java.io.*;
    import javax.microedition.io.*;
    public class Main extends MIDlet implements Runnable
         private Thread t;
         private Display display;
         private Form form;
         private Command exitCommand, getCommand;
         private String connectionDetails "socket://10.10.100.109:1500";
         private InputConnection ic;
         private DataInputStream dis;
         public Main()
              //create the backCommand, okCommand and the exitCommand
              exitCommand = new Command("Exit", Command.EXIT, 1);
              //creating the form
              form = new Form("CONNECTING......");
              form.addCommand(exitCommand);
              System.out.println("exit command and get command were appended to the form");
              //instantiating the listener
              CommandListener listener = new CommandListener()
                   public void commandAction(Command c,Displayable d)
                        if(c==exitCommand)
                             System.out.println("exitCommand as pressed");
                             exit();
                   public void exit()
                        destroyApp(true);
                        notifyDestroyed();
              //setting the listeners
              form.setCommandListener(listener);
              //getting the display object
              display = Display.getDisplay(this);
         public void startApp()
              display.setCurrent(form);
              System.out.println("form was set as the currentscreen");
              t = new Thread(this);
    t.start();
         public void pauseApp()
         public void destroyApp(boolean cond)
              display = null;
              form = null;
              exitCommand = null;
    public void run()
         while(true)
                                  try
                                       //establishing a connection with the remote server
                                       System.out.println("about to get a stream connection");
                                       ic = (InputConnection)Connector.open(connectionDetails,Connector.READ);
                                       System.out.println("input connection was created");
                                       //input stream is created on top
                                       //of the stream connection object
                                       dis = ic.openDataInputStream();
                                       System.out.println("input stream was created");
                                       //receiving data
                                       byte []ib = new byte[10000];
                                       int length = dis.read(ib);
         System.out.println("BYTES RECEIVED "+length);
         /*for(int k= 0;k<length;k++)
              System.out.println("byte["+k+"]="+ib[k]);
                                       //displaying the received data
                                       if(form.size()!=0)
                                            form.delete(0);
                                       form.append(Image.createImage(ib,0,length));
                                       //form.append(new StringItem("DOLLAR NIS exchange rate is ", sb.toString()));
                                  catch(Exception e)
                                       if(form.size()!=0)
                                            form.delete(0);
                                       form.append(new StringItem("problem:",e.getMessage()));
                                  finally
                                       //releasing resources that were allocated
                                       try
                                            if(dis!=null)
                                                 dis.close();
                                       catch(IOException e)
                                            e.printStackTrace();
                                       try
                                            if(ic!=null)
                                                 ic.close();
                                       catch(IOException e)
                                            e.printStackTrace();
                   try{Thread.sleep(1000);}catch(Exception e){e.printStackTrace();}
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Server code:
    // tcpServer.java by fpont 3/2000
    // usage : java tcpServer <port number>.
    // default port is 1500.
    // connection to be closed by client.
    // this server handles only 1 connection.
    package sock;
    import java.net.*;
    import java.io.*;
    public class ImageServer {
         public static int counter = 0;
         public static final int counter_end = 4;
    public static void main(String args[]) {
         int port;
         ServerSocket server_socket;
         BufferedReader input;
         OutputStream output;
         try {
         port = Integer.parseInt(args[0]);
         catch (Exception e) {
         System.out.println("port = 1500 (default)");
         port = 1500;
         try {
         server_socket = new ServerSocket(port);
         System.out.println("Server waiting for client on port " +
                   server_socket.getLocalPort());
         // server infinite loop
         while(true) {
              Socket socket = server_socket.accept();
              System.out.println("New connection accepted " +
                        socket.getInetAddress() +
                        ":" + socket.getPort());
              //input = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    output = socket.getOutputStream();
              // print received data
              try
    byte []ib=getCurrentFileBytes();
    System.out.println("BYTES TO SEND "+ ib.length);
    output.write(ib);
    output.flush();
    output.close();
              catch (IOException e) {
              System.out.println(e);
              // connection closed by client
              try {
              socket.close();
              System.out.println("Connection closed by client");
              catch (IOException e) {
              System.out.println(e);
         catch (IOException e) {
         System.out.println(e);
    private static byte[] getCurrentFileBytes() throws IOException
              byte []ret = getFileBytes("c:/temp/ts"+counter+".png");
              if(counter == counter_end)counter = 0;
              else counter++;
              return ret;
    private static byte[] getFileBytes(String FileName) throws IOException
              byte[] lReturn = null;
              try
                   FileInputStream fis = new FileInputStream(FileName);
                   lReturn = getBytes(fis);
                   fis.close();
              catch(Exception e)
                   e.printStackTrace();
                   throw new IOException();
              return lReturn;
    private static byte[] getBytes(InputStream inputStream)
    byte finalBuffer[] = null;
    int receiveBufferSize = 1000;
    byte receiveBuffer[] = new byte[receiveBufferSize];
    int offset = 0;
    int length = 0;
    int bytesRead = 0;
    try
    while(inputStream.available() > 0)
    bytesRead = inputStream.read(receiveBuffer,offset,
    receiveBufferSize);
    byte temp[] = new byte[length + bytesRead];
    if(length>0)System.arraycopy(finalBuffer,0,temp,0,length);
    System.arraycopy(receiveBuffer,0,temp,length,bytesRead);
    finalBuffer = temp;
    length = length + bytesRead;
    catch(IOException ioe)
    ioe.printStackTrace();
    finalBuffer = new byte[0];
    return finalBuffer;

  • I have an apple iphone 4 that I want to download audio books from my library onto it.  I cannot figure out how to do that.  The iphone does not show up on my mac laptop as a connected device.  Does this kind of download have to run through itunes?  Thanks

    I have an apple iphone 4 that I want to download audio books from my library onto.  I cannot figure out how to do that.  The iphone does not show up on my mac laptop as a connected device.  Does this kind of download have to run through itunes?  Thanks

    Yes it is done through iTunes. The iPhone will never show up in Finder as a device. The following is general information on iTunes sync: http://support.apple.com/kb/HT1386 and the following is a previous discussion where the post by Andreas Junge helped others that had a problem syncing audiobooks: https://discussions.apple.com/message/20052732#20052732

  • When MRP run through background process in MDBT open PR and PO not comming?

    Hi,
    When MRP run through backgroung process in MDBT open PR and PO not coming in MDBT result.
    Pls advise accordingaly.
    Regards
    rk

    Ram,
    Either I am totally misunderstanding your statements, or your business people are misinformed.  
    The output of MD01 (MRP total run in foreground) and the output of MDBT (MRP total Run in Background) ARE IDENTICAL, provided you have selected the same parameters.  
    Neither output contains a discrete listing of open Purchase orders and Purchase requisitions.
    Standard output of both MD01 and MDBT are:
    1.  List of materials processed, with exception messages
    2.  Statistics
    In addition, both of these programs also write MRP records to the MRP databases, provided that the "Display Material List" parameter is set.  In this case, both of these programs will produce data that can be further reviewed and managed in MD05 and MD06. MD06 is the tool that most planners use to process the MRP database info.
    If you wish to see a listing of the entire MRP results (either MD01 or MDBT), then execute transaction MDLD.  This will produce either a spoolfile or a printed document.
    For the PO or PR listings, review my earlier suggestions.
    Rgds,
    DB49

  • Insert statement not working when Interface is run through PI ..

    Hi Every one,
    There is an interface(Server proxy) which updates a ztable in the program. Updates are happening when we are running this interface manually(putting Payload manually) but in case there are already entries in ztable and we are trying to update these records, even after handling exception z table is not getting updated when run through PI and happening manually.
    Please suggest me for the same.
    Vivek

    Tobias from this forum had the answer!
    http://powershell.com/cs/forums/p/5438/8786.aspx#8786
    His fix:
    Whenyou putput text from powershell, the console width is assumed. Since task scheduler runs its own hidden console, the width of that console is used to truncate the text.
    You can work by this issue by setting the width yourself. Try using a combination of Format-Table -auto / Format-List -auto and Out-File -width like this:
    get-process | Format-Table -Auto | Out-File c:\test.txt -Width 10000
    The format-cmdlet with -Auto makes sure the file uses only as much width as is truly needed. The -Width parameter sets the maximum width available.
    If you must redirect the output to something else, replace Out-File with Out-String -Stream -Width 10000 and then redirect the result to whereever you want.
    Note that multiline strings will still be truncated after the first line.
    My code looks like this:
    #Export Dataset Table to a text file       
    $DataSet.Tables[0] | Format-Table -Auto | Out-File $rcvrFileName -Width 10000
    This worked like a charm.
    Thanks!

  • How can I put a limit on how many times my 'if' statement runs through?

              while (done == false)
                   testnumber++;               //Testing the next number
                   testdivisor = 1;          //Resetting the testdivisor
                   System.out.println("1st while statement");
                   if (testdivisor <= testnumber)
                        testdivisor++;
                        divisors = testdivisor % testnumber;
                        System.out.println("2nd while statement");
                        if  (divisors == 0)
                             divisor1= testdivisor/testnumber;
                             System.out.print (divisor1);
                             System.out.println("3rd while statement");I need to stop it after it goes through the 4th if statement 4 times. The specific code might not make sense because it's a rough copy, but it will give you an idea of the program real quick.
    So is there any way to make it stop after 4 runs through the last if statement?

    So is there any way to make it stop after 4 runs
    through the last if statement?If you seriously can't think of how to do that, are you sure programming is up your alley?
    int hits = 0;
    while (!done) {
      if (divisors == 0) {
        ++hits;
        ... // do your current stuff
        if (hits >= 4) break;

  • Any ideas on a cleaner way to write this? - run through a function with multiple steps; if any step fails, restart the function from the begining

    Basically there are 3 different functions for various "tests"; they each return "1" if the test passes and "0" on failure.  A "master" function calls these 3 functions in the desired order and keeps a counter
    of tests that pass.  The counter has to be 1 to proceed to step 2, has to be 2 to proceed to step 3, and when it's 3 the loop closes.
    This approach is giving the expected results, but I was wondering if anyone has ideas on a cleaner approach?  What I really wanted to accomplish was to have the 3 tests past in succession and to provide an overall pass and proceed to the next step;
    and also to exit the function if any step fails rather than running through each step before trying again.  If the script were to for example loop through the 3 tests and wait until each one passes, tests 1 and 2 might pass, but then 3 might fail
    a few times and finally pass before the script exits.  I did not want to allow for that scenario to count as an overall pass.
    Function Test1 {
    If PASS Return 1
    If FAIL Return 0
    Function Test2 {
    If PASS Return 1
    If FAIL Return 0
    Function Test3 {
    If PASS Return 1
    If FAIL Return 0
    Function TestAll
    [int]$counter = 0
    $Check1 = Test1
    If ($check1 -eq 1) {$counter++}
    If ($counter -lt 1) {Exit}
    Start-Sleep -s 15
    $check2 = Test2
    If ($check2 -eq 1) {$counter++}
    If ($counter -lt 2) {Exit}
    Start-Sleep -s 15
    $check3 = Test3
    If ($check3 -eq 1) {$counter++}
    If ($counter -lt 3) {Exit}
    Return $counter
    Do {$STATUSCOUNT = TestAll}
    While ($STATUSCOUNT -lt "3")

    This is cleaner:
    Function Test1 {
    If PASS Return 1
    If FAIL Return 0
    Function Test2 {
    If PASS Return 1
    If FAIL Return 0
    Function Test3 {
    If PASS Return 1
    If FAIL Return 0
    Function TestAll{
    while($true){
    while($true){
    $counter=0
    if(($counter+=Test1) -ne 1){break}
    if(($counter+=Test2) -ne 2){break}
    if(($counter+=Test2) -ne 3){break}
    return
    Write-Host ('try again' + $counter) -fore
    TestAll
    Of course all of your test functions have syntax errors.
    \_(ツ)_/

  • Report not running through Forms menu

    Hi Gurus,
    In our reports we have used Query PL/SQL to reference cursor. When it is compiled and an executable 'rep' file is created, which when
    called through froms menu generates following error and aborts the report.
    REP-1401:'qr_1refcurds': Fatal PL/SQL error occured.
    ORA-06508: PL/SQL: could not find program unit being called
    The same report when called through forms menu, without the compiled version, executes smoothly. Also it runs through report builder perfectly after compilation and generation of rep file.
    Would appreciate if anyone can provide suitable guidelines to solve this issue.
    null

    hello,
    is the program-unit you are trying to call, in an external plsql-library ? if so, you have to provide the PLX version of this library in order to use it from a REP file.
    however, why are you using the compiled REP version at all ? i would suggest to use the RDF file.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Unable to open PDF document when run through task/workflow

    Hi all,
    I am currently usign a background method to send a smartform as a PDF document to all the agents who approve.
    When i send the smartform in mail as a PDF documetn throught the task i get an error message when opening the PDF document which says that 'The file could nto be opened because it was either not a supported file type or because the file was damaged(for example, it was sent as an email attachment and wasn't decoded correectly'.
    The below is the code i am using to send the smartform
    { CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZFI_ASSET_PDA_NOTIF'
        IMPORTING
          fm_name            = lv_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.}
    { ls_ctrlop-getotf    = 'X'.
      ls_ctrlop-no_dialog = ''.
      ls_compop-tdnoprev  = 'X'.
    ls_ctrlop-DEVICE = 'LOCL'.
      ls_ctrlop-preview   = 'X'.
      ls_ctrlop-no_dialog = 'X'.}
      CALL FUNCTION lv_form_name
        EXPORTING
          control_parameters = ls_ctrlop
          output_options     = ls_compop
          user_settings      = 'X'
          gv_prctr_txt       = gv_prctr_txt
          gv_cc_text         = gv_cc_text
          gv_class_txt       = gv_class_txt
          gv_lname           = gv_lname
          gv_fname           = gv_fname
          gv_position        = gv_position
          gv_initiator       = gv_initiator
          gv_bookcost        = gv_bookcost
          gv_bookvalue       = gv_bookvalue
          gv_date            = gv_date
          gv_prctr           = gv_prctr
          gs_anla            = gs_anla
          gv_emv             = gv_emv
          gv_cond            = gv_cond
          gv_operable        = gv_operable
          gv_action          = gv_action
          gv_justify         = gv_justify
          gv_replace         = gv_replace
          gv_replace_comment = gv_replace_comment
          gv_process         = gv_process
        IMPORTING
          job_output_info    = lt_job_output
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'S'  NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT lt_job_output-otfdata INTO ls_otf.
        lt_otf = ls_otf.
        APPEND lt_otf.
        CLEAR lt_otf.
      ENDLOOP.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = lv_len_in
        TABLES
          otf                   = lt_otf
          lines                 = lt_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
    Fehlerhandling
      IF sy-subrc EQ 0.
      ENDIF.
      LOOP AT lt_tline.
        TRANSLATE lt_tline USING '~'.
        CONCATENATE ls_buffer lt_tline INTO ls_buffer.
      ENDLOOP.
      TRANSLATE ls_buffer USING '~'.
      append ls_buffer TO lt_objbin.
    DATA  lv_counter         TYPE i.
      DO.
        lt_record = ls_buffer.
        APPEND lt_record.
        SHIFT ls_buffer LEFT BY 255 PLACES.
        IF ls_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Attachment
      REFRESH:
      lt_reclist,
      lt_objtxt,
      lt_objbin,
      lt_objpack.
      CLEAR ls_objhead.
      lt_objbin[] = lt_record[].
    lt_objhex[] = lt_record[].
      CLEAR lv_descp.
      CONCATENATE 'Asset'
                  gs_anla-anln1
                  'Approval details'
             INTO lv_descp
    SEPARATED BY space.
    Create Message Body
    Title and Description
      CONCATENATE  'Please find attached the approval details of asset : '
                   gs_anla-anln1
              INTO lv_mail_descp
             SEPARATED BY space .
      lt_objtxt = lv_mail_descp.
      APPEND lt_objtxt.
      CLEAR  lv_mail_descp .
    appending space lines into text of mail.
    DO 3 times.
      CLEAR lt_objtxt.
      APPEND lt_objtxt .
    ENDDo.
    CONCATENATE 'This is an automatically generated message.'
                 'Please do not reply to this mail.'
           INTO lv_mail_descp
         SEPARATED BY space .
    lt_objtxt = lv_mail_descp.
    APPEND lt_objtxt.
      DESCRIBE TABLE lt_objtxt LINES lv_lines_txt.
      READ     TABLE lt_objtxt INDEX lv_lines_txt.
      ls_doc_chng-obj_name = 'smartform'.
      ls_doc_chng-expiry_dat = sy-datum + 10.
      ls_doc_chng-obj_descr = lv_descp.
      ls_doc_chng-sensitivty = 'F'.
      ls_doc_chng-doc_size = ( lv_lines_txt - 1 ) * 255  + STRLEN( lt_objtxt ) .
    Main Text
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt ).
      CLEAR lt_objpack-transf_bin.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = lv_lines_txt.
    lt_objpack-doc_type = 'RAW'.
        lt_objpack-doc_type = 'TXT'.
      APPEND lt_objpack.
    Attachment
    (pdf-Attachment)
      lt_objpack-transf_bin = 'X'.
      lt_objpack-head_start = 1.
      lt_objpack-head_num   = 0.
      lt_objpack-body_start = 1.
      DESCRIBE TABLE lt_objbin LINES lv_lines_bin.
      READ TABLE lt_objbin INDEX lv_lines_bin.
      lt_objpack-doc_size = ( lv_lines_bin - 1 ) * 255 + STRLEN( lt_objbin ) .
      lt_objpack-body_num = lv_lines_bin.
      lt_objpack-doc_type = 'PDF'.
      lt_objpack-obj_name = 'ATTACHMENT'.
      lt_objpack-obj_descr = lv_descp.
      APPEND lt_objpack.
      LOOP AT t_mail_addr.
        CLEAR lt_reclist.
        lt_reclist-receiver = t_mail_addr-mailid.
        lt_reclist-rec_type = 'U'.
        APPEND lt_reclist.
      ENDLOOP.
      IF t_mail_addr[] IS INITIAL.
        CLEAR lt_reclist.
        lt_reclist-receiver = mail id.
        lt_reclist-rec_type = 'U'.
        APPEND lt_reclist.
      ENDIF.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = ls_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = lt_objpack
          object_header              = ls_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_reclist
         CONTENTS_HEX                = lt_objbin
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      DATA: l TYPE sy-subrc.
      l = sy-subrc.
    When i run the above code in Se38, I get an email with a attachment that i am able to open. The problem seems to be with user WF_BATCH.
    I have already checked all the existing threads on this. I did this coding as per one of the SDN threads itself.
    I am able to open the PDF attachment even when i test the method. The problem is only when it is run through a task/workflow.
    Please advice.
    Thanks and Regards,
    Soumya Gayatri.
    Edited by: Soumya Gayatri on Apr 14, 2009 8:40 PM
    Edited by: Soumya Gayatri on Apr 14, 2009 8:44 PM
    Edited by: Soumya Gayatri on Apr 14, 2009 8:45 PM
    Edited by: Soumya Gayatri on Apr 14, 2009 8:47 PM
    Edited by: Soumya Gayatri on Apr 14, 2009 8:47 PM

    Hello,
    You should see an "Edit" in the top right of your post, you can use that to edit it.
    As I said, use  before and after the coding, but without the spaces (after "{" and before "}" ).
    Try it!
    Testing:
    this is code
    regards
    Rick Bakker
    Hanabi Technology

  • HT1454 Can't see ipod videos from 60GB ipod classic.  I have Apple USB/video cable running through Onkyo receiver into Samsung TV. Video & TV out settings seem correct-I can see album cover, but no video. Is it possible to get itunes music videos to play

    Can't see ipod videos from 60GB ipod classic.  I have Apple USB/video cable running through Onkyo receiver into Samsung TV. Video & TV out settings seem correct-I can see album cover, but no video. Is it possible to get itunes music videos to play or do I need to get new ipod.   It works on my iPad and iPhone, but not through iPod Classic.

    Are these music videos located under Videos on your iPod?  Do it play other regular movies (if you have any on the device)?
    B-rock

  • Video sound to TV won't run through headphones

    Hi,
    I have my stereo and TV hooked up to a MacMini (the 2009 slim metal one with the optical drive).  I have a headphone splitter attched to the headphones jack going to the TV and the stereo.  The Mini is hooked up to the TV with a mini DP connector to a DVI-to-HDMI cable (but this same thing happens with a regular DVI cable).  With my old 2,1 Mini that was fine since everything ran through the headphones.
    Now I want to do the same thing but iTunes I can't get the video to run through the headphones.  The only way I get sound to the TV is to run it through the HDMI output (even when using the mini DP).  But then I have to manually change the sound output.
    Is it possible to either:
    1. Have iTunes run out the headphones jack and everything else run out the HDMI?  or
    2. Have everything run out the headphones output?

    Info to add:
    When any digital video is plugged into the Mini, the video sound only works when it's set to HDMI.
    To get sound to my stereo I have to switch it to headphones.  Even though I have a connector going from the headphone jack to the DVI audio input on my TV, there's no sound in headphone mode.
    I tried an external USB sound card and had the same problem.  Just instead of headphones it was the USB soundcard.
    Maybe it's my TV...

  • Cannot capture Hi8 run through digitizer

    Bought FCE2 installed with Mac g5 a few years ago only to capture and copy to DVD old video - Hi8 and DV. It virtually never worked. Dozens of hours trying every conceivable combo of settings. When I hit NOW, it either 1] gave "General Error," froze, wouldn't close or force quit without restarting, or 2] appear to be capturing for 5 minutes 13 seconds (consistently), then freeze, yielding a file of 21.27 GB (when "Limit capture" was set to 100 minutes) that was labelled Quicktime Movie, but would not play.
    But about once a year, it successfully captured an hour or so of DV tape or Hi8 tape run through a Sony TRV950 with "A/V>DV OUT" set to "ON." That is, I play the Hi8 tape in an analog camcorder running its output into the TRV950 set to digitize it. Output from 950 goes to computer. I got playable Quicktime movies from both Hi8 and DV tapes.
    With resentment, because I paid for FCE2 to work, I bought the upgrade to FCE4. It is working reliably to capture DV tape (but not export it), but it will not capture the Hi8 run through the Sony digitizing feature. When I hit NOW, I get the large black rectangle and "Waiting for timecode." But never get past that. I am using the identical setup as with FCE2 during the very rare occasions on which it functioned normally. The Hi8 tapes have a timecode, the same type that occasionally worked with FCE2.
    Any helpful insights from the experienced?
    For capture scratch, I use a second internal HD - 750 GB with 32 MB cache. I have also tried a large external HD and the Mac's primary HD. Same result.
    Thanks for your time.
    TT

    Great news TT.
    1. With the new Setup setting, I have successfully captured a long Hi8.
    An Easy Setup change only effects NEW Projects. DV Converter is the correct Easy Setup for use where a NON-Controllable device is being used.
    2. On my newly installed second internal drive, I formatted as Extended (journalled). I do not know >the formatting of the main Mac internal drive.
    Right/Option Click on your system drive icon on the Desktop and select Get Info from the menu.
    What is the significance of these two items?
    Anti-virus apps can think your incoming footage is nasty and tries to block it. iSight if active is competing for a chunk of incoming video.
    Al

  • When I'm installing iTunes, it says I'm missing a program that the installer is attempting to run, but it's not telling me which program it needs. The installer is able to run through about most of the install, but near the end, this error kills it, help?

    Well basically like it says in the question, when the installer runs through to what I assume is near 90% completion, an error message pops up saying that the installer is unable to find/run a program it needs, and as helpful as it is, the installer neglects to tell me what program I need to download/install for the iTunes installer to complete, as it is, I am at a total loss for how to resolve the issue, I couldn't find anything about this on FAQ's, but if it's there, please let me know; however, I'm welcoming all advice, thank you.

    Let's try the following user tip with that one:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

Maybe you are looking for

  • Assign Project Code to Freight charges in AP Invoice

    Project Code field is not available in Freight Charges window at all though it can be displayed and edited by selecting Project Code to be visible and Active in Journal Entry Form Settings Table Format.  As this is a limitation in SAP B1 please feedb

  • Hi everyone..

    i have a problem with my imac. i have the 10.6.8. when i insert a disk cd/dvd it cant be read. in system preferences looks like it works. please help me i cant even re install the apple install dvd

  • How to configure SQL*Net to survive minor dropouts?

    Hi, We have recently started developing over a VPN to our server. The VPN is not brilliant and we get minor dropouts for a second or so. This is causing SQL*Net to dropout and we need to re-connect and re-start all our Apps (SQL*Plus, Forms Builder,

  • Support Messages' Creator Name Which Comes From Satallite

    Hello dear gurus, The problem is, the system does not copy the user name who reports a Support Desk message (Notification creator) into the Support Desk message creator tables or change log information tables.. The problem is exactly about OSS note 8

  • Questions Regarding Zen Mi

    I've a few questions, hopefully someone is able to answer them? 0. I saw my friend's iPod whenever he connects his device to his computer, there will be a small icon on the lower right corner of the system tray indicating the device is plugged in, an