Suppression of warnings - Urgent

The system is BW 7.0
Had a small problem
At the query designer level, description of a few info objects is changed as per reporting needs. On running the query in the web mode, they get a warning stating
Characteristic & was changed in InfoCube &. Adjust the query
i.e for any key figure or characteristic, if its description is changed in the query designer, on running the query, these kind of warnings are raised.
We want to suppress this message/warning. Please note that we do not get this in BEX or in RSRT.
There is an option in RSRT where we can suppress messages, by clicking on Messages tab and then checking the box of the relevant message that crops up.
Unfortunately this message is not part of the list.

Hi Prakash,
When you execute a query in web the default web template is used - it should be either 0ADHOC or
0ANALYZER (check what default template you are using in your system). Open this template in WAD and at the top of the properties window (4th property) you will find a setting which says "Supress warning messages". Just check this setting and save the template. This should do the trick.
Its better if you change the default template in your system to say ZADHOC (in place of 0ADHOC) and change the setting only in ZADHOC.
use transaction RSCUSTV21 to change the default template (or go through SPRO)
Hope this helps,
Regards,
Nikhil

Similar Messages

  • How do I suppress linker warnings in xcode

    Hello,
    I'm currently trying to convert a product from Microsoft Visual Studio to Xcode. I have gotten it to start linking except that I am running into a problem where there is an error and I can't find it. The reason I can't is because I have probably over 2000 warnings then it suppresses all other errors and warnings yet errors out, but because they are suppressed I can't fix the error.
    What I want to do is just suppress those warnings so I can fix the errors, I have searched online and could only find how to suppress compiler warnings not linker ones.
    Any help is appreciated.
    Justin
    Message was edited by: c0d3m0nk3y

    It would be better to fix them rather than suppress them.
    Still, I think the easiest course of action would be to view the raw build output and just do a text search for "error". In the build window, click the tiny text page icon in the middle of the set of 3 tiny icons on the left hand side of the window.

  • Pattern to suppress unchecked warnings at the line level

    Hi,
    As we migrate our APIs to Java 5 (exploiting generics in particular), we are hitting some cases in which we chose not to address the unchecked warnings. To make the code cleaner we thought about annotating methods with @SuppressWarnings("unchecked") but this has the major drawback of turning off all warnings (instead of just the very few we are comfortable leaving behind).
    A colleague of mine had a really interesting idea to solve this problem. It can be expressed by the class below:
    public final class Cast
      @SuppressWarnings("unchecked")
      public static <T> T uncheckedCast(Object object)
        return (T)object;
    }Now we are using this to suppress the specific unchecked warnings we want to ignore. If we decide to revisit these cases, we can just query the usages of the method above.
    Although this approach seems really clean to me, I would love to hear your option on it. Can you see any major problem that we are getting ourselves into?
    Thanks in advance,
    Marcelo

    I'm not sure why, but you cannot apply annotation to arbitrary lines. The lowest level of granularity is an assignment statement.
    The good news is that the @SuppressWarnings annotation can be applied at that level.
    So, whilst this won't work:
      @SuppressWarnings("unchecked")
      someMethodCall((T)obj);this, will:
      @SuppressWarnings("unchecked")
      T tObj = (T)obj;
      someMethodCall(tObj);

  • Can I suppress security warnings?

    I have an app that monitors a large number of servers. From my desktop every thing is fine, but when I deliver the app via jnlp, I get a security warning pop up for every server connection. I understand why the warning is a good thing, but it makes the app horribly tedious to get started. Is there anyway to suppress the security warnings?

    Thanks for the info. WIth my background being in client/server, I thought jnlp would be a quick, easy way of publishing through the web. Teach me to think such stupid things.
    The standard way to handle such a situation is to have a sever process perform the connections, and leave >>the JNLP application doing the UI.This is a case where the server is completely firewalled off from the other servers being monitored, whereas anyone wanting to run the app from a pc just has to connect to the proper vpn.
    For http connections, from 6u10, WebStart will honour crossdomain.xml files placed on web servers.
    I'm not at all familiar with crossdomain.xml, but after a quick look on the web, it seems promising. I'll need to do some research, upgrading, testing, blah, blah, blah. Most hopeful suggestion I've had yet. Thanks.

  • Suppress unchecked warnings in ant

    Hi there,
    I wish to suppress warnings such as these in my ant build;
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.Going on what the javac ant task allows and what javac itself says to do I think I should have something like;
    <javac srcdir="${srcDir}" destdir="${classDir}">
         <!-- This is only allowed for the srcDir.  Do not do this anywhere else -->
         <compilerarg line="-Xlint:"-unchecked""/>
    </javac>But this doesn't appear to do what I want. Anyone know exactly how to get these warnings suppressed?

    Hers's an example (just compile on command line);
    import java.util.ArrayList;
    public class CompilerTest
    public static void main(String args[])
    ArrayList list = new ArrayList();
    list.add("John");
    System.out.println("Element in list: "+list.get(0));
    }Compiling with;
    1. Ordinary compilation
    javac CompilerTest.java
    Note: CompilerTest.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.2. -Xlint:unchecked
    javac -Xlint:unchecked CompilerTest.java
    CompilerTest.java:22: warning: [unchecked] unchecked call to add(E) as a member
    of the raw type java.util.ArrayList
    list.add("John");
    ^
    1 warningI want something which does the opposite of this (i.e. doesn't warn me at all about unchecked warnings.
    3. -Xlint:-unchecked (this is what the compiler help tells me to do, see the non-standard options section on
    http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html#options)
    javac -Xlint:-unchecked CompilerTest.java
    Note: CompilerTest.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.

  • Excel Sending Email via VBA - Suppressing the Warnings

    Hello everybody,
    I would be very appreciative if someone more knowledgeable than would help me out. I am building a VBA code in Excel that will send an Excel File as an attachment in an email to somebody using Outlook. I can get everything to work just fine except that a
    warning message pops up and it is quite irritation and negates the usefulness of the macro if I have to constantly click on [Allow].
    Any help with how to suppress the warning messages would be greatly appreciated! 
    Note: My company's IT will not let me download add-ins or programs not on their "safe" list.
    Also, I have included the important parts of my code below.
    Thanks!
    Eric
    Sub Email_Finance()
        Dim oApp As Object
        Dim oMail As Object
        Dim WB As Workbook
        Dim FileName As String
        Dim wSht As Worksheet
        Dim shtName As String
        Dim wsTab As Worksheet
        Application.ScreenUpdating = False
        Application.DisplayAlerts = False
        ' The section below goes to Outlook to create an email, fill in some details, and then emails it out.
        Set oApp = CreateObject("Outlook.Application")
        Set oMail = oApp.CreateItem(0)
        With oMail
            ' Uncomment the line below to hard code a recipient
            .To = "[email protected]"
            .Cc = "[email protected]"
            ' Uncomment the line below to hard code a subject
            .Subject = "G&A Monthly Report - Finance"
            ' Uncomment the lines below to hard code a body
            .body = "Dear Eric," & vbCrLf & vbCrLf & _
              "Please find attached the G&A report for this month. Please review and adjust accordingly. " & vbCrLf & vbCrLf & _
              "Thanks, Eric"
            .Attachments.Add WB.FullName
            .Display
            .Send
        End With

    See http://www.outlookcode.com/article.aspx?id=52 for the list of your options.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Is there an easy way to suppress errors/warnings?

    Hey all,
    I've run into an annoying problem. I am using a few swc files in my app. In those swc files, I have a public method that will run some code. So, i import the swc's into my FB app, then access those public methods from flashbuilder.  90% of the time, the method runs fine, but 10% of the time, it throws those annoying warnings, explaining that "Cannot access a property or method of a null object reference." when if fact, that method DOES exist??
    I know you will only get those errors if you are running a debug version of flashplayer, but I don't want the chance of that coming up for any of my users. There has got to be a way to stop those warning from coming up.  I have gone through my code multiple times, and everything is in order, like mentioned, it works 90% of the time. Please help, thanks in advance! BTW, it throws error 1009 if that makes a difference

    I have problems in the past like these where my ui freezes of there i get
    an error because an item is not on the stage. you should try adding a timer to your code to pause for a few second
    s then go on to run some more code. ... just a suggestion..i have done that in past and its wor
    ked  well  but you should post your code up so we can take a close look.
    Miguel

  • Can I suppress certain warnings?

    I support Mac users, using OS 10.3.9 on G4s. Our workflow requires a lot of watched folders on UNIX servers. Some of these folders are write only, so users cannot pull their files out before they are done processing. Every time a user copies a file to the folder, they get the following message:
    "You do not have permission to see the results of this operation. Do you want to continue?"
    Is there any way to suppress this message? Some users drop hundreds of files a day and it gets a bit tedious to accept the message, every time.

    Open the Script Editor in the /Applications/AppleScript/ folder and enter the following:
    on open (A)
    set the_dest to quoted form of POSIX path of (alias "path:to:dropbox:")
    set the_src to quoted form of POSIX path of A
    do shell script "cp " & the_src & " " & the_dest
    end open
    Save this script as an application; anything dragged onto it will then be copied to the dropbox without generating a prompt for confirmation. This script will not properly copy files with resource forks and will not preserve metadata while performing the copy. A separate copy of the script needs to be prepared for each dropbox.
    (10768)

  • Suppress Messages/Warnings to display In WAD Template

    Hi Friends
    I do not want to display to user this messages or warning in WAD Application or Web Template . I want to suppress this. Where to configure for the same but Data Saved message is needed. (Only Data Saved is reqd.)
    Rgds
    Sri G

    Hi Sri,
    you can either show the message box or not show it.
    Maybe you can hide some messages by a script item.
    also you can disable some messages for queries in RSRT.
    regards
    Cornelia
    PS: please close your question and all the others you have opened as soon as they are answered or reply to our / my suggestions if they did not solve the problem.

  • I can't find how to suppress MXML warnings

    I saw that this was taken care of in JIRA, but i can't seem to locate where the comment is that will remove a warning from MXML.  I keep getting the "Too many Fields" on my MXML classes and I'd like these to go away.

    Click on your project folder and then use FlexPMD > Clean FlexPMD Markers.

  • Stupid Question: Suppress Warnings vs Fixing What Ain't Broken

    Hey all,
    I'm getting about 70 warnings in my code, mostly because I'm using anonymous classes to set up Actions as shown in the code snip below. This generates the warning "The serializable class does not declare a static final serialVersionUID field of type long" every time I create an Action this way:
    final Action defaultUpAction = am.get(im.get(KeyStroke.getKeyStroke("control UP")));
              Action upAction = new AbstractAction(){  //warning generated here
                   public void actionPerformed(ActionEvent e){
                        defaultUpAction.actionPerformed(e);
                        lastAction = "UP";
              };I understand what's causing the warning, and I even know how to fix it (or ignore the warning).
    My question is, which is less of a hack? Do I just throw in a few SuppressWarnings annotations, or should I add a default serialVersionUID in each anonymous class? I'm not using the serialization functionality, but I might want to sometime in the future in which case suppressing the warnings would be a bad idea. Both solutions (adding a field I don't need or suppressing warnings instead of fixing them) seem a bit kludgey to me. Am I just being too touchy, or is there a better way?
    Thanks

    Thanks for the input, that does make quite a bit of sense. I suppose my hesitation comes from the feeling that although I was told by the higher-ups to "fix those warnings", all I'm doing is concealing them. I guess I shouldn't look at it that way, especially since I don't use serialization at all in any of my code (nobody else does, either). So in this case, simply suppressing the warnings probably makes more sense than adding fixes that won't be used anyway (and in fact may mislead future developers into thinking I'm using serialization somewhere).

  • Suppress warnings from the BW server

    Hi,
    We have about 10,000 queries in our current BW production system, which are web reports, workbooks and queries. I need to suppress the warnings that I get on these queries. I am aware of suppressing the warnings
    - for each query from RSRT and
    - suppressing them from the Web template properties.
    But it's a lengthy and time consuming process to implement this on 10,000 queries. Is there a way to eliminate/suppress either a selected warning message or all the warning messages from the server ?
    Thanks in advance.
    - Neena.
    Message was edited by:
            neena kakumanu

    Wouldn't a majority of your queries be using a standard template?  For these at least you could change the property in the template.  This would resolve your issue for all standard queries in one step.

  • How can I write a program that compiles without warnings?

    I tried the following with the 1.5 beta-compiler (build 28; I think):
    class Y {
         public static final class Pair<X,Y> {
           private X fst;
           private Y snd;
           public Pair(X fst, Y snd) {this.fst=fst; this.snd=snd;}
           public X getFirst() { return fst; }
           public Y getSecond() { return snd; }
           public String toString() { return "("+fst+","+snd+")"; }
      public static void main(String... args) {
         Pair[] pairArr = new Pair[10];              // supposed to be an array of Pair<Integer,Integer>
         for (int i=0; i<pairArr.length; i++)
             pairArr[i] = new Pair<Integer,Integer>(i,i);
         for (int i=0; i<pairArr.length; i++) {
             Pair<Integer,Integer> p = pairArr; // unchecked warning
         System.out.println(p);
         Integer first = p.getFirst();
         Integer second = p.getSecond();
    // ... more stuff ...
    It turns out that I get an unchecked warning when I extract an element from the array of pairs. Okay, that's fine. How can I avoid the warning? I had expected that an explicit cast would help.
      Pair<Integer,Integer> p = (Pair<Integer,Integer> )pairArr;
    With a cast I'm telling the compiler: "I _know_ what I'm doing; please trust me." But the compiler still issues a warning.
    How can I write a warning-free program in this case? The only thing I can think of, is not using the parameterized type Pair in its parameterized form. But it's not the idea of Java Generics that I refrain from using parameterized types. What am I missing?

    It turns out that I get an unchecked warning when I
    extract an element from the array of pairs. Okay,
    that's fine. How can I avoid the warning? I had
    expected that an explicit cast would help.
    Pair<Integer,Integer> p = (Pair<Integer,Integer>
    )pairArr;
    With a cast I'm telling the compiler: "I _know_ what
    I'm doing; please trust me."  But the compiler still
    issues a warning.  Yes, but at least you were able to change the warning from "unchecked assignment" to "unchecked cast" which is a little shorter ;-)
    Seriously , since arrays of generic types are disallowed, there is probably no way to get rid of these warnings - which makes a strong point for eliminating "unchecked" warnings altogether (see the other thread "selectively suppressing compiler warnings")
    Cheerio,
    Gernot

  • My InDesign to PDF script ignores warnings, but I need to change that.

    Hello,
    I have a script here that converts InDesign Docs to PDF files.
    It works fine and was created to make bulk pdf's regardles of missing images.
    Now I want to revise it so that it does stop for missing fonts and images.
    This script also was built for quark and I can see where I could remove the supress all warnings dialog to remove it for the quark part, but I can't figure out where that warning is in the InDesign part to remove it.
    Here is the script: If anyone can help me find out where this line of code is that I could remove, so that the script does stop if there are missing fonts and images, that would be great!!
    property Babs_Folder : "Babs PDF Folder"
    global deskPath
    global PathToFolder
    global PathToFolder2
    global tempPictures
    on open thefiles
        tell application "Finder"
            activate
            set tempPictures to (every item of (get selection)) -- MUST GET BEFORE MAKING FOLDERS
            if not (exists folder Babs_Folder) then make new folder with properties {name:Babs_Folder}
            set deskPath to desktop as text
            set PathToFolder to POSIX path of (deskPath & Babs_Folder)
            set PathToFolder2 to deskPath & Babs_Folder & ":"
        end tell
        my openfiles()
        say "Finished"
    end open
    on openfiles()
        try
            tell application "Finder"
                repeat with LoopFiles in tempPictures
                    set foundImages to {}
                    if kind of LoopFiles = "Folder" then
                        try
                            set foundImages to files of entire contents of LoopFiles as list
                        on error
                            set foundImages to files of entire contents of LoopFiles
                        end try
                    else
                        if kind of LoopFiles is not in {"Volume", "Disk Image", "Application", "Web Internet Location", "Document", "Text Clipping"} then
                            set end of foundImages to LoopFiles
                        end if
                    end if
                    --set WorkingFile to item i of fileList
                    repeat with WorkingFile in foundImages
                        if not ((kind of WorkingFile starts with "Quark") or (kind of WorkingFile starts with "InDesign")) then
                            activate
                            display dialog "This file is not an InDesign or Quark document!" buttons "Skipping" default button "Skipping" with icon 0 giving up after 1
                        else
                            --Determine whether to use InDesign subroutines or Quark subroutines
                            if (kind of WorkingFile starts with "InDesign") then -- Process as InDesign
                                my createInDesignPDF(WorkingFile, PathToFolder2)
                            else -- Process as Quark
                                my createQuarkPDF(WorkingFile)
                            end if
                        end if
                    end repeat
                end repeat
            end tell
        on error errmsg
            display dialog "OpenFiles." & return & errmsg giving up after 20
        end try
    end openfiles
    on createInDesignPDF(WorkingFile, savePath)
        set x to 0
        repeat
            if x = 0 then
                set newpart to ""
            else
                set newpart to " " & x
            end if
            tell application "Finder"
                set tempname to my add_extension(WorkingFile, newpart, "pdf")
                if not (exists file tempname in folder Babs_Folder) then exit repeat
            end tell
            set x to x + 1
        end repeat
        tell application "Adobe InDesign CS3"
            try
                try
                    set user interaction level of script preferences to never interact
                end try
                open WorkingFile as alias
                delay 2
                repeat
                    if exists document 1 then exit repeat
                    delay 0.2
                end repeat
                set theProps to properties of PDF export preset "[Press Quality]"
                set newProps to {view PDF:false, crop marks:false, bleed marks:false, color bars:false, registration marks:false} & theProps
                set oldProps to properties of PDF export preferences
                set properties of PDF export preferences to newProps
                export front document format PDF type to (savePath & tempname) without showing options
                set properties of PDF export preferences to oldProps
                delay 1
                tell documents to close saving no
                try
                    set user interaction level of script preferences to interact with all
                end try
            on error errmsg
                display dialog "CreateIndesignPDF." & return & errmsg giving up after 20
            end try
        end tell
    end createInDesignPDF
    on createQuarkPDF(WorkingFile)
        try
            set x to 0
            repeat
                if x = 0 then
                    set newpart to ""
                else
                    set newpart to " " & x
                end if
                tell application "Finder"
                    set tempname to my add_extension(WorkingFile, newpart, "pdf")
                    if not (exists file tempname in folder Babs_Folder) then exit repeat
                end tell
                set x to x + 1
            end repeat
            tell application "QuarkXPress"
                activate
                open WorkingFile as alias with Suppress All Warnings
                tell application "System Events" to tell process "QuarkXPress"
                    click menu item "Layout as PDF..." of menu 1 of menu item "Export" of menu 1 of menu bar item "File" of menu bar 1
                    delay 1
                    keystroke tempname
                    delay 1
                    keystroke "G" using {shift down, command down}
                    delay 1
                    keystroke PathToFolder
                    delay 1
                    click button "Go" of sheet 1 of window "Export as PDF"
                end tell
                repeat 2 times
                    delay 1
                    activate
                    tell application "System Events" to tell process "QuarkXPress"
                        try
                            if exists button "OK" of window 1 then
                                click button "OK" of window 1
                            end if
                        end try
                    end tell
                end repeat
                delay 1
                tell application "System Events" to tell process "QuarkXPress"
                    try
                        click button "Save" of window "Export as PDF"
                    end try
                end tell
                repeat 4 times
                    delay 1
                    activate
                    tell application "System Events" to tell process "QuarkXPress"
                        try
                            if exists button "OK" of window 1 then
                                click button "OK" of window 1
                            end if
                        end try
                        try
                            if exists button "List Profiles" of window 1 then
                                click button "Continue" of window 1
                            end if
                        end try
                    end tell
                end repeat
                delay 2
                close front document saving no
            end tell
        on error errmsg
            display dialog "CreateQuarkPDF." & return & errmsg giving up after 20
        end try
    end createQuarkPDF
    on add_extension(WorkingFile, new_part, new_extension)
        try
            set this_info to info for WorkingFile as alias
            set this_name to the name of this_info
            set this_extension to the name extension of this_info
            if this_extension is missing value then
                set the default_name to this_name
            else
                set the default_name to text 1 thru -((length of this_extension) + 2) of this_name
            end if
            return (the default_name & new_part & "." & the new_extension)
        on error errmsg
            display dialog "add extension " & return & errmsg
        end try
    end add_extension
    thanks!!!
    babs

    Hello,
    OK-I had then blew it... ;-(
    I was playing with a combination of removing (commenting out those two try areas you suggested), and that didn't do it on its own. It didn't do anything, it just said finished.
    Then I found this in the dictionary ( set alert missing images to true) and added it to the script below. See my changes in Bold.
    At one point, I was able to get the missing images dialog box. Then I don't know what happened, I think I tried to turn one of the try areas back on to test it, and then it stopped giving me that dialog box and only the one being asked in that on error errmsg - display dialog "CreateIndesignPDF." & return & errmsg giving up after 20,  was showing up.
    I commented out what I thought I had  changed, but even after compiling and re-saving, I can't seem to get the missing images dialog box to show???
    any thoughts?
    thanks!!!
    babs
    property Babs_Folder : "Babs PDF Folder"
    global deskPath
    global PathToFolder
    global PathToFolder2
    global tempPictures
    on open thefiles
        tell application "Finder"
            activate
            set tempPictures to (every item of (get selection)) -- MUST GET BEFORE MAKING FOLDERS
            if not (exists folder Babs_Folder) then make new folder with properties {name:Babs_Folder}
            set deskPath to desktop as text
            set PathToFolder to POSIX path of (deskPath & Babs_Folder)
            set PathToFolder2 to deskPath & Babs_Folder & ":"
        end tell
        my openfiles()
        say "Finished"
    end open
    on openfiles()
        try
            tell application "Finder"
                repeat with LoopFiles in tempPictures
                    set foundImages to {}
                    if kind of LoopFiles = "Folder" then
                        try
                            set foundImages to files of entire contents of LoopFiles as list
                        on error
                            set foundImages to files of entire contents of LoopFiles
                        end try
                    else
                        if kind of LoopFiles is not in {"Volume", "Disk Image", "Application", "Web Internet Location", "Document", "Text Clipping"} then
                            set end of foundImages to LoopFiles
                        end if
                    end if
                    --set WorkingFile to item i of fileList
                    repeat with WorkingFile in foundImages
                        if not ((kind of WorkingFile starts with "Quark") or (kind of WorkingFile starts with "InDesign")) then
                            activate
                            display dialog "This file is not an InDesign or Quark document!" buttons "Skipping" default button "Skipping" with icon 0 giving up after 1
                        else
                            --Determine whether to use InDesign subroutines or Quark subroutines
                            if (kind of WorkingFile starts with "InDesign") then -- Process as InDesign
                                my createInDesignPDF(WorkingFile, PathToFolder2)
                            else -- Process as Quark
                                my createQuarkPDF(WorkingFile)
                            end if
                        end if
                    end repeat
                end repeat
            end tell
        on error errmsg
            display dialog "OpenFiles." & return & errmsg giving up after 20
        end try
    end openfiles
    on createInDesignPDF(WorkingFile, savePath)
        set x to 0
        repeat
            if x = 0 then
                set newpart to ""
            else
                set newpart to " " & x
            end if
            tell application "Finder"
                set tempname to my add_extension(WorkingFile, newpart, "pdf")
                if not (exists file tempname in folder Babs_Folder) then exit repeat
            end tell
            set x to x + 1
        end repeat
        tell application "Adobe InDesign CS3"
            try
               --try
                --set user interaction level of script preferences to never interact
                --end try
                open WorkingFile as alias
                set alert missing images to true
                delay 2
                repeat
                    if exists document 1 then exit repeat
                    delay 0.2
                end repeat
                set theProps to properties of PDF export preset "[Press Quality]"
                set newProps to {view PDF:false, crop marks:false, bleed marks:false, color bars:false, registration marks:false} & theProps
                set oldProps to properties of PDF export preferences
                set properties of PDF export preferences to newProps
                export front document format PDF type to (savePath & tempname) without showing options
                set properties of PDF export preferences to oldProps
                delay 1
                tell documents to close saving no
                --try
                --set user interaction level of script preferences to interact with all
                --end try
            on error errmsg
                display dialog "CreateIndesignPDF." & return & errmsg giving up after 20
            end try
        end tell
    end createInDesignPDF
    on createQuarkPDF(WorkingFile)
        try
            set x to 0
            repeat
                if x = 0 then
                    set newpart to ""
                else
                    set newpart to " " & x
                end if
                tell application "Finder"
                    set tempname to my add_extension(WorkingFile, newpart, "pdf")
                    if not (exists file tempname in folder Babs_Folder) then exit repeat
                end tell
                set x to x + 1
            end repeat
            tell application "QuarkXPress"
                activate
                open WorkingFile as alias with Suppress All Warnings
                tell application "System Events" to tell process "QuarkXPress"
                    click menu item "Layout as PDF..." of menu 1 of menu item "Export" of menu 1 of menu bar item "File" of menu bar 1
                    delay 1
                    keystroke tempname
                    delay 1
                    keystroke "G" using {shift down, command down}
                    delay 1
                    keystroke PathToFolder
                    delay 1
                    click button "Go" of sheet 1 of window "Export as PDF"
                end tell
                repeat 2 times
                    delay 1
                    activate
                    tell application "System Events" to tell process "QuarkXPress"
                        try
                            if exists button "OK" of window 1 then
                                click button "OK" of window 1
                            end if
                        end try
                    end tell
                end repeat
                delay 1
                tell application "System Events" to tell process "QuarkXPress"
                    try
                        click button "Save" of window "Export as PDF"
                    end try
                end tell
                repeat 4 times
                    delay 1
                    activate
                    tell application "System Events" to tell process "QuarkXPress"
                        try
                            if exists button "OK" of window 1 then
                                click button "OK" of window 1
                            end if
                        end try
                        try
                            if exists button "List Profiles" of window 1 then
                                click button "Continue" of window 1
                            end if
                        end try
                    end tell
                end repeat
                delay 2
                close front document saving no
            end tell
        on error errmsg
            display dialog "CreateQuarkPDF." & return & errmsg giving up after 20
        end try
    end createQuarkPDF
    on add_extension(WorkingFile, new_part, new_extension)
        try
            set this_info to info for WorkingFile as alias
            set this_name to the name of this_info
            set this_extension to the name extension of this_info
            if this_extension is missing value then
                set the default_name to this_name
            else
                set the default_name to text 1 thru -((length of this_extension) + 2) of this_name
            end if
            return (the default_name & new_part & "." & the new_extension)
        on error errmsg
            display dialog "add extension " & return & errmsg
        end try
    end add_extension

  • Howto enable deprecated warnings?

    Hi!
    How can i enable deprecated warnings during the build process within workshop?
    The deprecated warnings should also be shown in PageFlows (*.jpf) and Controls (*.jcs). Is this possible?
    Best Regards,
    Ralf Schumacher
    Message was edited by [email protected] at Jul 26, 2004 4:34 AM

    You can right click on the project and export the ant
    build.xml. You can modify the build.xml to add a flag
    for the javac or java according to the jdk you use
    and also make sure to set the project to use the
    exported ant build.xml file.I already did this. But the exported ant file is not very useful. The exported ant file contains only 2 targets: build and clean. BEA uses its own non documented "fat" build task to build and compile all files (all means all classes, controls, pageflows and jsp). This makes build with the bea workshop so slow ... because on every build all is recompiled, regardless if changed or not ...
    Imho with javac (1.4) the default is to show deprecated warnings, a flag exists to suppress these warnings. What is BEA doing in there build task ... ???
    So, how do i get the deprecated warnings within bea workshop???
    Best Regard,
    Ralf Schumacher

Maybe you are looking for

  • Using array from one vi in another vi

    Hi, Im new with NI LabView and i have few Qs: 1. I'm writing a vi and I'm creating a numeric array in it. How can I use the array (It's content) in a different vi that's I'm writing? 2. How do I link between vi's? Im writing few vi's and pressing a b

  • How to get the current use name edited the page

    Hi All, I have a table which contains set of users, namely A B C When the user A changes a particular pages and in that page i have a page item named LAST REVIEWED BY its Display only column and i need to Auto Populated the user Name A How to do this

  • Color using only one CPU?

    When rendering with Color it seams that it using only one CPU, according to "top". Is it possible to make use of all CPUs?

  • External drive shows yellow

    I just attached a new external drive to my iMac.  I set it up to replace a drive I was using for backup.  I cleared off the old drive and want to use it to store/backup my photos.  It shows up as a yellow icon on my desktop and the other is green wit

  • Safe way to delete unused components...

    While experimenting when setting up a 2nd Online factsheet I managed to create a number of new Z components, all of which are not used. How can remove them as they appear in the transport and I do have a strange syntax error appearing which belongs t