Using results from a loop

Hi!
I have the following code for a loop to print out some ascii characters.
for(int b=32; b<=126; b++)
            for(int c=32; c<=126; c++)
                System.out.println("Testing: " + (char)b + (char)c);I would like to use the output of the loop in another piece of code but I'm not too sure how I can do this. Here is the code that I want it entered into:
char[]  sentence  = sent.toCharArray();I used the above code for an input from a buffered reader and now I would like to take the characters from the loop and enter them like with the buffered reader.
I tried things like:
String senten = (char)b + (char)c;and
char[] senten = (char)b + (char)c;But they do not seem to work and I think I'm missing something really easy out... Can someone help me please?
Much appreciated

Java_noob wrote:
All the options that I have tried so far have still given me the same problem. It keeps saying that is cannot find the symbol and the symbol is one of the variables in the loop i.e. a, b, c etc
Just to clarify. I want to use the output of each iteration of the loop given by:Does the code:
for(int b=32; b<=126; b++)
            for(int c=32; c<=126; c++)
                System.out.println("Testing: " + (char)b + (char)c);give that error message? No, then post the code that does. (i'm guessing you keep the Sys.out, but don't add some {}s.
Always post the COMPLETE error message, don't try to reduce it. The Goddess gave us Copy and Paste for a reason.

Similar Messages

  • How to use Results from Another Query for SAP BW universes

    Hi Everyone,
    I have two SAP BI universes.In my First universe I have Sales Doc no (dimension) and Orderqty (Measure) and in my second universe I have Sales Doc no(Dimension) and BillQty (Measure).
    Here in my first dataprovider I have 1200 rows of data and in second dataprovider I have 75,000 rows. The report should fetch only the BillQty details that matches to corresponding  Sales doc no in first data provider.
    I want to place all these fileds into a single report like as shown.
    (Datarpovider1)                (Datarpovider1)                    (Datarpovider2)
    *Sales Doc No*               Orderqty                           BillQty
    Here I am able to generate single report using merge dimension but it is leading to performance issues. I want to restrict the values at query level by passing the First dataprovider Sales doc no to second Data provider Sales doc number using Results from Anothery Query feature so that It can fetch only the matching records.
    I tried it but it was giving the follwing error:
    A filter contains a wrong value. You cannot run this query. (Error: WIS 00007)
    How Can I get rid of this error. Can we use Results from Anothery Query option for OLAP universe. Are there any limitation on it.
    All this I am doing in Webi Rich Client.
    Appreciate your help
    Thanks &in Advance
    Kiran Saka

    Hi Kiran,
    I think the filter has a wrong operand. For example, a filter with an empty constant, or a filter that deals with numeric values is defined with an alphanumeric value.Check out for this.
    Regards,
    Neeraj

  • Can we use Result from another query in Webi using Bex uery universe?

    Hi,
    Can we use Result from another query filter option in Webi to create a report using a Bex Query universe?
    I need to create a report using two universes, one is Bex Query Universe and the other is Orcle universe. I have two queries, one is using Oracle universe; the other using Bex Query universe. I need to pass the Oracle data from the Oracle query to the Bex Query query to get the matched data from SAP Bex query.
    I used Result from another query in the query filter panel for the query using Bex query universe. But I got an error saying that 'A filter contains a wrong value. you cannot run this query. (Error: WIS 00007). The data used in the filter on both sides are the same. they are char.
    I have tested by using two queries from the same Bex query universe to see if the Result from another query filter option works. And I got the same error.
    Has anyone run into the same issue and if this is possible and what should be the solution?
    Thanks in advance!
    Edited by: BO_Haiyan on Oct 6, 2010 3:47 PM

    In that situation:
    Create two queries : Oracle and BW query.
    @ Report:
    As you have to see result set from both the Dataproviders, correct? To achieve thise one must have common dimension objects to merge them at report and use Objects those are coming from both queries to use them in single Table/Report.
    Unless you don't use Merge Dimensions, you don't get a chane to use both queries objects in single Table/Report. (It will give tooltip saying: You can't drop here -- Incompatable Objects)
    In case, if you don't have common dimensions, change object definitions to Detail objects, for those required.
    Hope it helps you.
    Thank You!!

  • WHERE using results from another querie

    Hi,
    Example:
    <cfquery name="QUERY 1" datasource="MyDatabase">
    SELECT Table1ID, A, B, C
    FROM Table1
    WHERE A = #Form.A#
    <cfoutput query="QUERY1">#A#<br></cfoutput>
    It returns:
    3
    4
    <cfquery name="QUERY 2" datasource="MyDatabase">
    SELECT Table2ID, A, Z, Y
    FROM Table2
    WHERE A IN (3,4)
    <cfoutput query="QUERY
    2">#Table2ID#</br></cfoutput>
    It returns:
    a
    b
    c
    d
    e
    f
    But if I make QUERY2 as:
    <cfquery name="QUERY 2" datasource="MyDatabase">
    SELECT Table2ID, A, Z, Y
    FROM Table2
    WHERE A IN (#QUERY1.A#)
    it returns only:
    a
    b
    c
    The values a,b,c are the Table2ID's where A=3
    The values d,e,f are the Table2ID'a where A=4
    How can I make return all values?
    Hope you understand.
    Thanks
    Manel

    Think about what you are doing for a second. You are
    selecting multiple rows of data with your first query. Then you are
    using a cfloop to loop through each row returned from that first
    query to perform another query that uses the value returned in the
    A column. The problem is that you are executing your second query
    once for each row returned by your first query, and you really
    aren't saving that result anywhere, since each iteration of the
    loop causes your cfselect to overwrite your previous results. You
    can create a list variable and populate it with the results from
    your first query, but I have to ask, unless you need the results
    from your first query for something else, why don't you just join
    the two tables and use on equery?
    Based on what you have, something like this?
    <cfquery name="QUERY 2" datasource="MyDatabase">
    SELECT T2.ID, T2.A, T2.Z, T2.Y
    FROM Table2 T2
    INNER JOIN Table1 T1 ON T2.A = T1.A
    WHERE T1.A = #Form.A#
    </cfquery>
    Phil

  • Use results from previous action to filter

    I hope there are some automator pros out there who can shed some light on this one.
    I am trying to create an app that will look in a specified folder, find all documents that were created in the last seven days, and then return results of only the files that contain a set of file names I specified.
    So far I have this:
    Find Finder Items
    .....Search (FOLDER)
    .....Any of the following are true:
    ........list of 15 filenames
    Get File Information
    Copy to Clipboard
    Paste Clipboard Content into Word Document
    Here is the crux. I need to find only the files with the specified names that were created in the last 7 days. I work for a television station, and all episodes have the same name, with an episode number at the end. I don't want results of every file with that name, there's thousands. Just the new ones. I can't just do a search for last 7 days files, because over 30 are created, and I only need 15. So how can I filter the results of the first action to only give me the results from the last 7 days? I added a Filter Finder Items, thinking it would take its information from the previous task, but it didn't work. Any help would be appreciated.

    I don't have a smb network drive to test, but if the find shell script works (it does not use Spotlight, and I am guessing that at least one of the actions uses it), the following *Run AppleScript* action may also work (and be shorter than 27 actions).
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #DAFFB6;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters} -- find items by age
    searches the specified folder for the specified items newer than the specified number of days
    input: nothing (any existing input is passed on)
    output: a list of items found matching the search criteria
    # search criteria
    set theFolder to quoted form of text 1 thru -2 of (POSIX path of (choose folder)) -- no trailing delimiter
    set fileNames to {¬
    "Example_File_Name_1.txt", ¬
    "Example_File_Name_2.txt", ¬
    "Example_File_Name_3.txt", ¬
    "Example_File_Name_4.txt", ¬
    "Example_File_Name_5.txt", ¬
    "Example_File_Name_6.txt", ¬
    "Example_File_Name_7.txt", ¬
    "Example_File_Name_8.txt", ¬
    "Example_File_Name_9.txt", ¬
    "Example_File_Name_10.txt", ¬
    "Example_File_Name_11.txt", ¬
    "Example_File_Name_12.txt", ¬
    "Example_File_Name_13.txt", ¬
    "Example_File_Name_14.txt", ¬
    "Example_File_Name_15.txt"} -- a list of names to find
    set daysOld to 7
    set nameList to {} -- build an evaluation string from the list of names
    repeat with anItem in fileNames
    set the end of nameList to "-iname " & (quoted form of anItem) & " -or " -- case insensitive match for any of the names
    end repeat
    set nameList to text 1 thru -6 of (nameList as text) -- strip off the last boolean operator
    # find files newer than 7 days old with any of the specified names
    do shell script "/usr/bin/find " & theFolder & " -type f -newerBt '" & daysOld & " days ago' \\( " & nameList & " \\)"
    return input & (paragraphs of the result) -- add to any input items
    end run
    </pre>

  • Unicode String Issue while Using Results from Another Query

    Hi All,
    In a webi report i have 2 queries say Sales Out and Investment. I need to have only those chains which are in Investement in Sales Out.
    So in Sales Out query i am using the option Results from another Query. The Chain values are in Unicode format.
    Though in universe i have Set Parameter Unicode_String ='Yes', this does not get applied when using option Results from another Query.
    Is there any solution to resolve this problem.
    Thanks
    Madhura

    leonhardtk wrote:
    I need to take values from the column of one table that meets certain critera, and create inserts into another table that includes this data.
    For example...
    {code}
    select emp_last_name from emp where emp_first_name like 'B%';
    Duncan
    Fitzgerald
    Johnson
    Smith
    {code}
    I then want to insert these values into another table:
    {code}
    insert into My_table values (
    sequence.nextval,99,99,[last_name]);
    {code}
    In the example above, I need it to insert a new row into My_table for where the "last_name" is each of the names from the select statement above (Duncan, Fitzgerald,Johnson,Smith).
    Based on other similar forum questions it looks like I should be doing something like:
    {code}
    INSERT INTO MY_TABLE
    (SELECT sequence.nextval,
                    99,
                    99,
                   (select EMP_LAST_NAME
                    FROM EMP
                    WHERE EMP_FIRST_NAME LIKE 'B%')
    {code}
    But this (obviously) doesn't work!
    Appreciate any assistance on this!
    KSL.
    Hi,
    Created this test data
    create table plch_test (name varchar2(50));
    insert into plch_test values('AKSHAY');
    insert into plch_test values('RAHUL');
    insert into plch_test values('APARNA');
    output
    1    AKSHAY
    2    RAHUL
    3    APARNA
    created another destnation table(in your case "my table")
    create table plch_test_1 (id number,name varchar2(50));
    created another sequence to generate employee ids
    create sequence test_seq;
    Now populated the desination table
    insert into plch_test_1(select test_seq.nextval,name from plch_test);
    verify the destination table
    select * from plch_test_1
    1    AKSHAY
    2    RAHUL
    3    APARNA
    Hope this helps
    Regards,
    Achyut Kotekal

  • How to update multiple tables using results from query

    I'm a bit rusty on this stuff and am hoping for some help.
    Table 1 is:
    location_id, location_name
    Table 2 is
    location_id, employee_id and misc. other columns
    Then there are multiple tables with associated data, keys being location_id and employee_id.
    There are no established relationships.
    Trying to come up with a process to change location_id for all employees assigned to a particular location.
    It seems to me that the basics are
    select employee_id from Table2 where location_id='xxxxxx'
    Then take each employee_id returned and change their location_id in each of the other tables
    I'm not clear on how to load the returned employee id's as variables and then loop through them.
    Thanks

    Thanks for the welcome. I'll read up on the rules now.
    Below is the DDL for a couple of the tables.
    Version = 11g
    I would query the users table for all users with a certain site_id and then use them to update the site_id in the users table (and other tables)
    -- DDL for Table USERS
    CREATE TABLE "USERS"
    (     "USERID" VARCHAR2(8 BYTE),
         "PASSWORD" VARCHAR2(50 BYTE),
         "FIRST_NAME" VARCHAR2(50 BYTE),
         "LAST_NAME" VARCHAR2(50 BYTE),
         "SITE_ID" VARCHAR2(5 BYTE),
         "ROLE_ID" VARCHAR2(1 BYTE)
    ) SEGMENT CREATION IMMEDIATE
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
    TABLESPACE "SITES_DATA_TS"
    CACHE ;
    -- DDL for Table EMPLOYEE_PROFILE
    CREATE TABLE "EMPLOYEE_PROFILE"
    (     "EMPLOYEEID" VARCHAR2(9 BYTE),
         "PROGRAM" NUMBER,
         "REQUIREMENT" NUMBER,
         "JOBNUM" VARCHAR2(50 BYTE),
         "STATUS" VARCHAR2(50 BYTE),
         "PROGRAM_TYPE" VARCHAR2(50 BYTE),
         "SITE_ID" VARCHAR2(5 BYTE),
         "NUM_QUAL_TEST_ATTEMPTS" NUMBER(7,0)
    ) SEGMENT CREATION IMMEDIATE
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
    TABLESPACE "SITES_DATA_TS"
    CACHE ;

  • How to use results from first select to run from second select w/subselect?

    -- I create a table with three fields: Name, Amount, and a Trans_Date.
    CREATE TABLE TEST
    NAME VARCHAR2(19) NULL,
    AMOUNT VARCHAR2(8) NULL,
    TRANS_DATE DATE NULL
    -- I insert a few rows into my table:
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/01/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '20', TO_DATE('06/02/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/03/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '21', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '68', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/05/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '20', TO_DATE('06/06/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/07/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '77', TO_DATE('06/08/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '221', TO_DATE('06/09/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/10/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '73', TO_DATE('06/10/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    commit;
    -- These are the current select statements I am using:
    -- Last 10 days
    SELECT SUM(t.AMOUNT) AMOUNT10, NULL AMOUNT5, NULL AMOUNT3
    FROM test t
    WHERE t.NAME = 'Bill'
    AND t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    UNION ALL
    -- Last 5 days
    SELECT NULL AMOUNT10, SUM(t.AMOUNT) AMOUNT5, NULL AMOUNT3
    FROM test t
    WHERE t.NAME = 'Bill'
    AND t.TRANS_DATE >= TO_DATE('06/06/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    UNION ALL
    -- Last 3 days
    SELECT NULL AMOUNT10, NULL AMOUNT5, SUM(t.AMOUNT) AMOUNT3
    FROM test t
    WHERE t.NAME = 'Bill'
    AND t.TRANS_DATE >= TO_DATE('06/08/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am');
    -- This is the current output:
    AMOUNT10 AMOUNT5 AMOUNT3
    916 NULL NULL
    NULL 477 NULL
    NULL NULL 414
    Is there a way to combine these statements to speed up performance?
    I'm thinking there should be a way to select all the rows in the last tens days, and then just from those results, run another select to get the results for the last 2, 3, or 5 days using subselects in some way. Any help is appreciated. Thanks.
    I don't mind getting results in one row like this:
    AMOUNT10 AMOUNT5 AMOUNT3
    916 477 414

    Thank you for providing create table and insert scripts, along with the query so far. It makes providing an answer so much easier.
    Does this help?
    SQL> select sum(amount10) amount10, sum(amount5) amount5, sum(amount3) amount3
      2  from
      3      (
      4      select
      5          case when
      6              t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
      7              AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
      8          then
      9              amount
    10          end amount10,
    11          case when
    12              t.TRANS_DATE >= TO_DATE('06/06/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    13              AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    14          then
    15              amount
    16          end amount5,
    17          case when
    18              t.TRANS_DATE >= TO_DATE('06/08/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    19              AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    20          then
    21              amount
    22          end amount3
    23      from
    24          test t
    25      where
    26          t.name = 'Bill'
    27      AND t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    28      AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    29      );
      AMOUNT10    AMOUNT5    AMOUNT3
           916        477        414
    SQL>Message was edited by:
    3360
    Durn, pipped by flakey forums and the return of v garcia.

  • Using result from an update rules in another

    Hello all,
    I have the problem that I have a very large update rule for the derivation of the sales division. This sales division is needed in another update rule for the derivation of the sales employee. As well as i know, it's not clear in which direction the updates rules are done so that I can't refer to the result of the update rule for the sales division. Can anybody tell me if there's a way to avoid to do this for a second time?
    Kind regards
       Anja Schlimme

    Hi Anja:
    Best Solution:
    Try to derive Sales Division & Sales Employee in Start Routine of Transfer Rule. Remember, here, you have to write good ABAP Code where you derive Sales Division and assign it to data_package-SALESDIVISION. Use this to derive Sales Employee.
    Better Solution:
    Try to derive Sales Division & Sales Employee in Start Routine of Update Rule. Remember, here, you have to write good ABAP Code where you derive Sales Division and assign it to data_package-SALESDIVISION. Use this to derive Sales Employee.
    Good Solution:
    You can derive Sales Division in Transfer Rule.
    Then, you can use this do derive Sales Employee in Update Rule.
    Ram Chamarthy.

  • Using data from another View

    Is it possible to create a new Grid in the same analysis where calculated/Grand Totals columns/rows may be used?
    I understand there is a feature use results from another analysis but wonder if it can be used in the same. Thanks.
    Adi

    Hi,
    Say you have a report for retrieving Sales by Products for a company and showing up grand total of sales for all products too in the same report. So, how about a case where you would like to see each product's contribution to the whole sales numbers? For this, a new column could be something like
    Measures.Sales*1.0/SUM(Measures.Sales)
    Here Measures.Sales is the sales for each product and SUM(Measures.Sales) is nothing but the total sales ie grand total.
    Hope this helps.
    Thank you,
    Dhar

  • Issue with Results from Another Query (Error on Null value)

    Hi All,
    We have a WebI report using "Result from Another Query" option of BO XI R3.1. The report was running fine till recently the dimension object using result from another query had a null value. Report suddenly throwed error as the query filters are invalid.
    Is there a way to make this filter optional if no data/null value is there ? Because we need those null values in report as well.
    Thank you for your time.
    Thanks & Regards
    LN

    Hi Vivek,
    It was not directly solved but I applied alternate logic to over come the issue.
    Here's what I did to overcome:
    I used a sub query in place of the whole result from another query.
    For Ex:
    Dim1 inlist result from another query1
    I made it as
    Dim1 inlist (Dim0)
    where Conditions.
    Here Dim0 is the object which we use for Result from another query and Conditions will be the necessary filter conditions to arrive proper Dim0.  Make sure proper context is formed for the sub query.
    Even though it resolved my problem, It introduces an new issue. It causes increase in query run time when huge set of data is returned from sub query.
    Please let me know if i haven't explained clearly.
    Hi Aris_BO,
    Sorry for not responding earlier.  The logic would probably make more queries null & not null. Thats why I was not advised to use it.
    Thanks
    LN

  • Can I use applescript to export PDF search results from "preview"?

    My question is about "Preview". I have a very large PDF document that I am using preview to view. After doing a search for a specific word, preview has returned 1200 results. The results panel shows the page number the result is found on and the line of text on which the searched-for-word is found.
    My question is this: Is there a way to export this information from preview to something like an excel file? The end result would look like a table with two columns. One with the page numbers and one with the line of text in which the word appears.
    Is this something that can be done with applescript? I don't know if the system even stores that kind of information... /sigh. Any help is appreciated.

    Using Preview.app, I have done a search for the word “AppleScript” in the PDF version of the AppleScript Language Guide. Then, I have used the following script to retrieve the information displayed in the results panel.
    tell application "Preview" to activate
    tell application "System Events" to tell process "Preview"
    return value of text field 1 of rows of outline 1 of scroll area 2 of splitter group 1 of window 1
    end tell
    --> {missing value, "AppleScript Language Guide (Page 1)", "AppleScript Language Guide (Page 1)", "Contents (Page 4)", "Contents (Page 4)", "Contents (Page 9)", "Figures, Tables, and Listings (Page 11)", "Figures, Tables, and Listings (Page 11)", "Introduction (Page 14)", "Introduction (Page 14)", "Introduction (Page 15)", "Introduction (Page 16)", "AppleScript Lexical Conventions", "Identifiers", "Keywords", "Literals and Constants", "Record", "Variables", "Statements", "Raw Codes", "AppleScript Fundamentals", "Script Editor Application", "What Is in a Script Object", "Properties", "What Is in an Object Specifier", "Absolute and Relative Object Specifiers", "Object Specifiers in Reference Objects", "Coercion (Object Conversion) (Page 32)", "Coercion (Object Conversion) (Page 32)", "Scripting Additions", "Types of Commands", "Parameters That Specify Locations", "AppleScript Constant", "text item delimiters", "version", "true, false Constants", "The it and me Keywords", "Specifying Paths", "Working With Files", "eppc-Style Specifiers", "Debugging AppleScript Scripts", "Third Party Debuggers", "Defining Properties", "Local Variables", "Using the copy and set Commands", "Scope of Variables and Properties", "Scope of Properties and Variables Declared in a Script Object (Page 54)", "Scope of Properties and Variables Declared in a Script Object (Page 54)", "Scope of Properties and Variables Declared in a Script Object (Page 55)", "Scope of Variables Declared in a Handler", "Script Objects", "Defining Script Objects", "Initializing Script Objects", "Inheritance in Script Objects", "Defining Inheritance Through the parent Property", "Using the continue Statement in Script Objects (Page 63)", "Using the continue Statement in Script Objects (Page 63)", "Defining a Simple Handler", "Handlers with Labeled Parameters", "Handlers with Patterned Positional Parameters", "Recursive Handlers", "Calling Handlers in a tell Statement", "Saving and Loading Libraries of Handlers", "idle Handlers", "Calling a Script Application From a Script", "alias", "application (Page 80)", "application (Page 80)", "boolean (Page 83)", "boolean (Page 83)", "class", "constant", "date (Page 87)", "date (Page 88)", "integer", "list (Page 91)", "list (Page 91)", "real", "record (Page 95)", "record (Page 95)", "script", "text (Page 98)", "text (Page 99)", "text (Page 100)", "text (Page 101)", "text (Page 102)", "unit types", "Commands Reference (Page 107)", "Commands Reference (Page 107)", "activate", "ASCII number", "copy", "count", "display dialog (Page 127)", "display dialog (Page 127)", "do shell script", "get", "get eof", "launch", "open for access", "path to (application)", "run", "run script", "say", "set (Page 155)", "set (Page 155)", "summarize", "system info", "write", "Arbitrary", "Filter (Page 169)", "Filter (Page 169)", "ID", "Index", "Middle", "Operators Reference (Page 179)", "Operators Reference (Page 181)", "Operators Reference (Page 181)", "Operators Reference (Page 182)", "Operators Reference (Page 183)", "Operators Reference (Page 184)", "Operators Reference (Page 185)", "Operators Reference (Page 186)", "text (Page 102)", "Examples", "date (Page 87)", "considering / ignoring (text comparison) (Page 194)", "considering / ignoring (text comparison) (Page 194)", "considering / ignoring (application responses)", "error Statements", "error", "if (compound)", "exit", "repeat (forever)", "repeat until", "repeat while", "repeat with loopVariable (from startValue to stopValue)", "repeat with loopVariable (in list)", "tell Statements", "tell (compound)", "try (Page 208)", "try (Page 208)", "using terms from Statements", "with timeout", "with transaction", "continue", "return", "Handler Syntax (Labeled Parameters)", "Calling a Handler with Labeled Parameters (Page 217)", "Calling a Handler with Labeled Parameters (Page 217)", "Handler Syntax (Positional Parameters)", "Folder Actions Reference", "adding folder items to", "closing folder window for", "opening folder", "removing folder items from", "Appendix A: AppleScript Keywords (Page 227)", "Appendix A: AppleScript Keywords (Page 228)", "Appendix A: AppleScript Keywords (Page 229)", "Appendix A: AppleScript Keywords (Page 231)", "Appendix A: AppleScript Keywords (Page 231)", "Appendix A: AppleScript Keywords (Page 232)", "AppleScript Errors", "Operating System Errors", "Catching Errors in a Handler (Page 238)", "Catching Errors in a Handler (Page 238)", "Simplified Error Checking", "When a Dictionary Is Not Available", "Entering Script Information in Raw Format", "List of Unsupported Terms", "Glossary (Page 245)", "Glossary (Page 246)", "Glossary (Page 247)", "Glossary (Page 249)", "Glossary (Page 249)", "Glossary (Page 250)", "Revision History", "Symbols", "B (Page 254)", "B (Page 254)", "G", "I", "M", "R", "S"}
    Many items don't have any page number. Is that what you are asking for?

  • When i click on itunes to open, message says: the registry settings used by the itune drivers for importing and burning cds and dvds are missing. this can result from installing other cd burning software. Reinstall itunes.  I'm inexperienced. Please help

    When I click on itunes, I get a message that says, "the registry settings used by the itune drivers for importing and burning cds and dvds are missing.  this can result from installing other cd burning software.  Reinstall itunes."  I am a really inexperienced computer user. My computer is a windows 7.  Would someone please walk me through this or tell me where to find information on how to do this. Thanking in advance, Laurie

    Check out this Apple article -> iTunes for Windows: "Registry settings" warning when opening iTunes
    The article will walk you through reinstalling iTunes and then checking for or creating device filters. Did it help? Did you run into any problems?

  • Use BEx query results from a FM in a Transformation to Infocube

    I am trying to use the Function Module RRW3_GET_QUERY_VIEW_DATA to execute a query and read the results from E_CELL_DATA. The issue i am having is that i get the keyfigure values but not the characteristics values. Is their a new FM that i could use to read the data from a query. I need to call this FM in a transformation and update a field during dataload to cube.
    Thanks
    Points will be awarded

    Hi,
    this FM is the right one.
    See in debugger. There is an internal table with fieldname AXES - with a deep structure.
    Sven

  • Is there any way to use Quickview from within Spotlight search results?

    I'm sure this has been answered previously, but my searches came up empty....
    Is there any way to use Quickview from within Spotlight search results? I'd like to be able to do a Spotlight search and hit the space bar for a quick Quickview look before actually launching the program. I'm guessing this isn't possible, but thought I'd ask...

    Thanks, Kappy.
    Duh...I meant Quick Look. Sorry about that.
    In any event, pressing the space bar in Spotlight just puts a space in the Spotlight search box - it doesn't open a Quick view of the highlighted item...

Maybe you are looking for