[JS] (CS2) (CS3) Test for container

Hello,
I would like to make sure that whatever I have selected (app.selection) is the container and NOT the content, regardless of what the selection is (Item or Text). I know if you have multiple selections, you can only have objects and that is fine. But what if my selection is a rectangle placed in a textframe within a textframe, how do I reset the selection to be the be the OBJECT which contains all?
Thank you.

Work your way up the parental chain and take the last exit before the page.
You could adapt this function:
Dave Saunders, "[JS] InDesign CS3: finding page of arbitrary object?" #1, 24 Oct 2007 3:24 pm
Dave

Similar Messages

  • CS2/CS3/CS4: Cannot get file path in Unicode of the current document on Windows

    Hi All,
    In my automation plugin I need to have full absolute path of the opened document with any possible non-English letters. Using SDK examples Listener and Getter that come with Photoshop SDK the full absolute path which I obtain is in the default ANSI code page (CP_ACP) and I can convert it to Unicode using MultiByteToWideChar() API. However this works well when I have corresponding to document name language set in the "Control Panel -> Regional and Language Options -> Advanced -> Select a language to match the language version of the non-Unicode programs you want to use." For example if name of the document has Russian letters and chosen language in "Regional and Language Options" is also Russian the described conversion works well. If I change "Regional and Language Options" to English for example, full path returned by Photoshop SDK API (AliasToFullPath in PIUFile.cpp) for the document with Russian letters will contain "????????.psd" symbols.
    So I need to have an ability to get absolute file path in Unicode. Is it possible in Photoshop CS2/CS3/CS4 for Windows? I have searched forum and SDK but could not find info on it.
    Is it possible to have native HANDLE of the opened file to get file info using Windows API?
    Please advice.
    Below given slightly modified code from Photoshop CS3 which I use to get absolute file pat of the opened document.
    Thanks and regards,
    Sergey
    std::string outFilePath;
    int32 theID = 0;
    SPErr error = kSPNoError;
    error = PIUGetInfo(classDocument, keyDocumentID, &theID, NULL);
    if (error == kSPNoError)
    Handle theFileHandle = NULL;
    error = PIUGetInfoByID(theID, classDocument, keyFileReference, &theFileHandle, NULL);
    if (error == kSPNoError)
    int32 length = sPSHandle->GetSize(theFileHandle);
    Boolean oldLock = FALSE;
    Ptr pointer = NULL;
    sPSHandle->SetLock(theFileHandle, true, &pointer, &oldLock);
    if (pointer != NULL)
    outFilePath = (char*)pointer;
    sPSHandle->SetLock(theFileHandle, oldLock, &pointer, &oldLock);

    Hi All,
    Does anybody know, whether it is possible to get Unicode file path of the current document in Photoshop via Photoshop SDK API or without them?
    Thanks,
    Serhiy

  • Manage multiple versions(ID CS,CS2,CS3,CS4) of INDD files Indesign proxy for PC

    Dear scripters,
    I have multiple version of ID installed in my system. I have ID CS,CS2,CS3 and CS4. While I am opening (double click) the ID CS file, automatically the file opening in CS4. For solving this problem I have searched in the forums I found there is a program called INDESIGN PROXY for MAC OSX. It manages the problems well.
    Now I am in the process of developing the application same like that for windows using VB. Here is my observation about Indesign proxy.
    1. While user double clicks the Indesign file the argument is not passing to the Indesign.exe, but the argument passes to the Indesign proxy. Something like this
    "C:\Program Files\Adobe\Adobe InDesign CS4\InDesign.exe" "%1"
    to this
    "C:\Program Files\IDproxy\proxy.exe" "%1"
    2. The proxy exe lists all the version of IDs in a dialog box. If user selects CS2, the proxy exe passes the command argument something like this
    "C:\Program Files\Adobe\Adobe InDesign CS2\InDesign.exe" "%1"
    3. Now the file will open in correct version.
    I am comfort with VB forums and coding but I am struck getting the file path while user double click's the file. I short need to get the file path of "%1" argument.
    I think I am detailed.
    Kindly advice me how can I proceed more?
    Thanks
    regards
    a r u l
    vpublish.net

    I don't think it's a mistake.
    "InDesign CS4 (3.0)"
    means: this is the OM for InDesign 3.0 (i.e., InDesign CS) that is contained in InDesign CS4.
    Wait -- do you mean there might be a difference between "the OM for InDesign 4.0 (i.e., InDesign CS2) that is contained in InDesign CS4" and, say, "OM for InDesign 4.0 (i.e., InDesign CS2) that is contained in InDesign CS5" ?
    Why on earth would anyone need that? I imagine it's not because even with versioning the 'older' scripts may not behave the same -- there must be dozens of mails about versioning not working ... I mean, if Adobe knows what causes older scripts to stop working (because, if I understand you correctly, they retroactively change it in the documentation for older versions), wouldn't it be yet easier to not cause those changes?

  • Testing for IS NOT NULL with left join tables

    Dear Experts,
    The query is showing the NULL rows in the query below....
    Any ideas, advice please? tx, sandra
    This is the sql inspector:
    SELECT O100321.FULL_NAME_LFMI, O100321.ID, O100404.ID, O100321.ID_SOURCE
    , O100404.NAME, O100321.PERSON_UID, O100404.PERSON_UID, O100404.VISA_TYPE
    FROM ODSMGR.PERSON O100321
    , ODSMGR.VISA O100404
    WHERE ( ( O100321.PERSON_UID = O100404.PERSON_UID(+) ) ) AND ( O100404.VISA_TYPE(+) IS NOT NULL )

    Hi Everyone,
    I am understanding alot of what Michael and Rod wrote.... I am just puzzled over the following:
    the query below is left joining the STUDENT table to
    HOLD table.
    The HOLD table - contains rows for students who have holds on their record.
    a student can have more than one hold (health, HIPAA, basic life saving course)
    BUT, for this query: I'm only interested that a hold exists, so I'm choosing MAX on hold desc.
    Selecting a MAX, helps me, bec. it reduces my join to a 1 to 1 relationship, instead of
    1 to many relationship.
    Before I posted this thread at all, the LEFT JOIN below testing for IS NOT NULL worked w/o
    me having to code IS NOT NULL twice....
    Is that because, what's happening "behind the scenes" is that a temporary table containing all max rows is being
    created, for which Discoverer has no predefined join instructions, so it's letting me do a LEFT JOIN and have
    the IS NOT NULL condition.
    I would so appreciate clarification. I have a meeting on Tues, for which I have to explain LEFT JOINS to the user
    and how they should create a query. I need to come up with rules.
    If I feel "clear", I asked my boss to buy Camtasia videocast software to create a training clip for user to follow.
    Also, if any Banner user would like me to email the DIS query to run on their machine, I would be glad to do so.
    thx sooo much, Sandra
    SELECT O100384.ACADEMIC_PERIOD, O100255.ID, O100384.ID, O100255.NAME, O100384.NAME, O100255.PERSON_UID, O100384.PERSON_UID, MAX(O100255.HOLD_DESC)
    FROM ODSMGR.HOLD O100255, ODSMGR.STUDENT O100384
    WHERE ( ( O100384.PERSON_UID = O100255.PERSON_UID(+) ) ) AND ( O100384.ACADEMIC_PERIOD = '200820' )
    GROUP BY O100384.ACADEMIC_PERIOD, O100255.ID, O100384.ID, O100255.NAME, O100384.NAME, O100255.PERSON_UID, O100384.PERSON_UID
    HAVING ( ( MAX(O100255.HOLD_DESC(+)) ) IS NOT NULL )
    ORDER BY O100384.NAME ASC

  • How can I test for the bas unit enterd in a control?

    How can I to create a polymorphic vi where the user can enter either volume or temperature.
    how can Labwiev test for the base unit entered
    pseudocode example:
    input X
    if X.base_unit == m^3 do ....... 
    thanks for any suggestion to resolve or avoid my problem
    Solved!
    Go to Solution.

    Hi schaerm,
    you have to dig deeper.
    An idea is this one:
    The red marked word is containing the unit - in a coded way. Somewhere in the LV help you can find the description of this coding (I remember a chapter on memory representations of all LV datatypes...). (There surely is an easier or better way - but the example is done quic&dirty.)
    You can also format the number into a string and analyze the unit here...
    Message Edited by GerdW on 02-07-2010 07:21 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • [CS4 JS] Test for Preflight Errors

    Hi,
    Is it possible to test for preflight errors. If so, how?
    I want to allow export of an EPS only if an embedded preflight profile shows no errors.
    Thanks
    Simon Kemp

    var myPreflight = app.preflightProcesses[0];
    var myReport = myPreflight.processResults;
    myReport = myReport.replace(/\s+$/,"");
    if (myReport == "None")
    My problem is that this script doesn't distinguish between the Preflight for the current document and that for any other document that may be open. I assume it is using the FIRST Preflight process created which will not always be for the current document.
    Is there a way to reference the Preflight for the current document only? Searching for "Preflight" in the Object Model Viewer in ExtendScript Toolkit bring up No Results.
    maybe you should check this "array":
    Property AggregatedResults As Variant
        read-only
        Member of InDesign.PreflightProcess
        The aggregated results found by the process. Type: Ordered array containing DocumentName:String, ProfileName:String, Results:Array of Ordered array containing ParentNodeID:Long Integer, ErrorName:String, PageNumber:String, ErrorInfo:String, ErrorDetail:Array of Ordered array containing Label:String, Description:String
    or maybe you should set PreflightScope - to your Document - in PreflightOptions:
    Property PreflightScope As Variant
        Member of InDesign.PreflightOption
        The pages or documents to preflight, specified either as an enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). Type: idPreflightScopeOptions enumerator or String
    robin
    www.adobescripts.co.uk

  • Need to Uninstall CS, CS2, CS3, CS4 - Uninstall Tool Missing

    We've been with Adobe for a long time.
    We're upgrading computers and Mac OS on all to Mavericks.
    Would like to clean up in the process.
    Would like to thoroughly UNINSTALL all CS, CS2, CS3, and CS4 products on all computers.
    We are currently using CS5.  And, after installing Mavericks, will install CS6 Design Standard.
    Most threads point to using the UNINSTALL TOOL ... but no one seems to have a link to where to get it?
    It is not in the folders that everyone says it should be.  I do not have it.
    I hesitate to just DRAG the folders to the trash.  I'd prefer a tool that will UNINSTALL proper plists, etc. ... not just trash the AP folder.
    Anyone?

    I have already been there.
    1.  In my Adobe Installers folder, there are only alias' folders for "Add or Remove Adobe Creative Suite 3 Design Premium", for "Adobe Creative Suite 4 Design Premium", for "Adobe Creative Suite 5 Design Premium" and for "Adobe ExtendScript Toolkit 2.1".  When I "Show Original" and go there and try to OPEN the folder to run the uninstaller ... nothing opens.  When I search for "Adobe Uninstaller", nothing is found.
    2. I have downloaded and run the Cleaner Tool for CS3 and 4 ... but it was very very fast (didn't see a progress bar while it was working as expected) and CS3 and 4 are still in my applications folder.  There was a message on one of them something about "support file missing".
    So, this doesn't seem to have worked ... again.
    In our office, we used to "trickle down" computers.  The person with the oldest computer gets the new on and his goes to someone else.  The problem with this has been that the person giving away the computer has been required to "clean it up" before passing it on and people haven't known HOW to do this.  Thus, the missing uninstallers, etc.
    So ... I want to delete (thoroughly) CS, CS2, CS3 and CS4, including Bridge, Device Central, Extension Manager, Drive, Fireworks, Flash, Media Encoder, Stock Photos, Version Cue, SupportAdvisor ap.
    Can I simply "drag to trash"?  I suspect not.  But unistallers don't seem to be present and cleaner tool doesn't seem to work.
    Are the instructions for "manual" removal of all files?
    Thank you.

  • Error in ecatt testing for me21n transaction.

    Hi All,
    I have created Test script, test data container and Test configuration for ME21N (create purchase order) transaction
    While executing test configuration, I got below error message.
    S00349 Field COBL-KOSTL. does not exist in the screen SAPLMEGUI 0014
    Please help me for further action.
    Many thanks
    Vikas

    Hi Vikas,
    Before running the test configuration, Please check ME21N transaction manually and find out the field
    COBL-KOSTL and check whether it is mandatory or not.
    If it found check your script whether that field is properly recorded or not.
    May be this field is newly added as mandatory for that transaction
    Regards,
    Santosh.
    Edited by: ABAP Santosh on Oct 19, 2009 9:17 AM

  • CS3 Save for Web bugs - No answer from Adobe in all forum posts

    I just upgraded to Illustrator 13.0.02 and the problem is the same: Slice names and output settings are not remembered/saved like all previous AI versions.
    I don't understand why this post was closed: CS3 Save for Web Problems
    http://www.adobeforums.com/webx?128@@.3bc41aeb.
    and this one: "Save for Web" names of frames vanish
    http://www.adobeforums.com/webx/.3bc4cd31/2
    It is the same as: AI CS3 - Save for Web & Devises image name problem
    http://www.adobeforums.com/webx?128@@.3c057eab
    Concerning slice name: It looks like they now have to be saved via drop down menus in order for Illustrator to remember the slice names for export again: "Object - Slice - Slice Options, and then in Save for Web, set the Output Settings for Saving Files"
    In my opinion this is incredibly poor UI design. In prior versions of Illustrator, I would save the names in the Save for Web dialog box by simply double clicking the slice frame, and it would remember the names of my slices for export again.
    Clicking through drop down menus just to name a slice is inefficient compared to just double clicking a slice frame to name the slice.

    This is a bit of an old thread, but I too have recently discovered this problem in working with AI CS3.
    I contacted Adobe support with the question. I asked them why it was not possible to select and optimize individual slices in the Save for Web and Devices dialog in CS3, and then maintain those settings after saving the slices or clicking "Done"... even though that very feature was available and working in CS2.
    Adobe's answer was, quite simply, that they have ceased any development on CS3, including bug fixes, and that anyone who wants the problem fixes would have to buy CS4 in order to "fix" the problem.
    In short, they are quite aware of the problem, but would rather have us pay for a new product in order to have it fixed, than to pay a programmer to spend a few hours or a few days in tracking down the problem and getting it sorted out. This is their short-term solution to a long-term problem.
    There is a workaround to the slice naming, as you have found - name the slices from the Object - Slice - Slice Options menu. It's a royal PITA, I know, but it does maintain the slice name settings.
    However, there is no real workaround to save the optimization and output settings (such as color tables and JPEG/GIF/PNG settings) for each slice. It's a completely broken feature, or in Adobe's own words, "a problem". A big fat bug. Let us not mince words here - it is technical and corporate incompetency. Technical incompetency can be excused - publishing a new build will fix the problem. But corporate incompetency, which tells the programmers that they don't need to fix the problem for "marketing" reasons, is totally inexcusable.
    It doesn't cost Adobe anything to just shelve a problem... at least, not now. But I refuse to buy Illustrator CS4 as a result, because I don't want to give in to their ineptitude and lack of attention to the customer in this case. Which costs them more now, to pay the programmer to fix the error and then publish a new build on their web server... or to tell the customer that the problem won't be fixed and to buy the newest version? You do the math. Read 'em and weep.
    Makes you want to migrate to Fireworks for web comp design, doesn't it. At least Illustrator has an excuse - it's an all-purpose vector graphics application, not specifically a web comp design app. If this were Fireworks, on the other hand, I think that there would be oodles of furious programmers screaming colorful obscenities at Adobe's front door.
    I really like Illustrator for what it does, but I'm not using CS3 for any more web comps after this.
    Jeff Chapman

  • Pshop CS3 Save for Web Increases Width/Height

    Hi, I've been using Photoshop for 15 years and used the Save for Web at CS2 without problem. In CS3, it is downsampling the res from 300 ppi to 72 correctly but at the same time increasing the width and height, as though I'd gone into Image Size to do the resize and had the Resample Image field unchecked. This worked fine in CS2, so what gives? I can't find any setting that needs to be changed in the Save for Web interface.

    Buko, I respectfully submit that your comment makes no sense. In CS2, using Save for Web automatically cut down the ppi to 72, and it removed web-unnecessary things like previews and paths so that the file could become smaller. It did NOT change the width or height of the image.
    The CS3 version is cuts down the res to 72ppi. This is fine. The problem we're experiencing (on more than one machine) is that it's growing the width and height as though it's not downsampling when it changes the res. IF that's what you mean by "strictly pixel based," then OK, but it's problematic.
    This is exactly the opposite result that you get if you take a digital camera photo that has a large dimension but low res, and increase the res to 300 while not allowing it to resample: you get a high-res image with smaller width/height image, as all pixels get smaller but maintain their exact colors.
    If the CS3 version of Save for Web changes the diensions of the image, which is frequently created based on the final dimensions needed in the web page, then it's freakin' useless, and I might as well create an Action using Image/Image Size to reduce the res but maintain dimensions.

  • CS, CS2 & CS3 place problem

    Hi,
    I was just wondering if someone could help me with the following problem:
    All l'm doing is placing a text file into a text frame - sounds easy - test code below:
    ======
    set boxContent to "HDPropane:textfile.txt"
    tell application "Adobe InDesign CS2"
        activate
        set MyDocument to active document
        try
            set myframe to (text frame 1 of MyDocument whose label is "testbox")
            «event K2  plac» (boxContent) with «class rtfo» without «class imot» given «class insh»:myframe
        on error emg
            display dialog emg
        end try
    end tell
    ========
    This works OK and will overwrite the contents each time... the problem is when you link the text frame to another text frame.... it still works fine if you run the script without having any contents in your text frames but as soon as you have some contents you get an error 'import failed'  I get the same problem in CS, CS2 & CS3
    I've even tried after the 'set myframe' adding set myframe contents to "" - adding this line was a little hit and miss  sometimes it worked sometimes l got the same import failed message.
    Regards, Gary.

    Change this:
            set myframe to (text frame 1 of MyDocument whose label is "testbox")
            «event K2  plac» (boxContent) with «class rtfo» without «class imot» given «class insh»:myframe
    to something like this:
            set myframe to (text frame 1 of MyDocument whose label is "testbox")
            set contents of parent story of myFrame to ""
            place file boxContent on myframe without showing options
    Shane Stanley <[email protected]>
    AppleScript Pro Sessions <http://scriptingmatters.com/aspro>

  • Problem batch processing in CS2, CS3 and CS4e

    I have all the above named programs and have tried unsuccessfully to get the batch process to work.  I currently run it in CS with no problems. We want to upgrade to CS5e and actually be able to use it to process our web gifs without constantly going back to the old version.
    I have an action set up with the following steps:
    Start Record
    Open File
    Save for Web - Set Width to 150 pixels - Apply - Save (I select a folder called 150)
    I repeat process for a 300 pixel image.
    Close the file
    Stop record.
    Go to batch process:
    Choose Action
    Select Source Folder
    Override Action "Open" Command is checked
    Choose Destination Folder (150 from above)
    I select OK.
    This runs fine in PS CS and no matter how many files I have in the source I end of with the same number in both the 150 and 300 folder I have created, named correctly and in the correct 150 or 300 pixel width I need as gif files.
    I repeat the same procedure in CS2, CS3 or CS4e and all I get is a folder with one image in it when done.  the batch runs and you can see it opening files but it just constantly overwrites the original file.
    I have tried to check other boxes such as the Override Action Save As Command and other things I have found on these forums but nothing is working.
    I even called Adobe and was on the phone for 99 minutes and let them view my desktop while I ran the procedure in both PS CS and PS CS4e and they were stumped.  I was told they would pass it on to supervisors and someone would call me back.  I called back after a week since I had not heard from anyone and was told my call was recorded as a mis-dircted call and they had no record.
    If someone could please help I would really appreciate it.  I have spent the last three evenings combing websites and watching videos to no avail.
    Thanks in advance.

    Thanks, but I have checked all those and am using the same settings from program to program without success.  It always work
    s in PS CS.

  • [svn:bz-trunk] 9663: Add test for BLZ-415.

    Revision: 9663
    Author:   [email protected]
    Date:     2009-08-26 13:59:10 -0700 (Wed, 26 Aug 2009)
    Log Message:
    Add test for BLZ-415. Test that when disallow-wildcard-subtopics is set to true and a Consumer tries to subscribe to a destination and has a subtopic that contains a wildcard that they get an error. Also test that when disallow-wildcard-subtopics is set to true and a Consumer tries to subscribe to a destination and has a subtopic that does not contain a wildcard that they are able to subscribe and that they can receive a message from a Producer that has a matching subtopic header.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-415
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/messaging-config.mods.xml
    Added Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/dynamicDestinat ions/subtopicsEnabledWildcardsNotAllowed.mxml

  • Identify the Application Version Cs/Cs2/Cs3???

    Hi All,
    I need to identify the Application Version [Cs/Cs2/Cs3].
    Is there any way to identify using javascript???
    Regards,
    Ramkumar .P

    It's not the endianness inside single bytes (thank the Silicon Gods for that!).[*] It's when you are working with values that require more than a single byte -- i.e., everything above 255 (which is the highest value that can be expressed -- normally -- with a single byte).
    Everyone can see that 4589 is less than 9341, even though it has the same number of digits, because, well, the first one's rightmost digit is '9' and the second one's is '1' but that doesn't make sense, because it's the leftmost digit that counts most.
    You're thinking, "Sure, but what about that endianness thingy?"
    It's the same thing. Suppose you get two 2-byte values:
    (a) 123 and 85
    (b) 86 and 100
    Which 2-byte value is the largest? Well, obviously it's the first one, as the most significant part (123) is clearly larger than that of the other (86). Now suppose you have to design a computer chip, and you have to decide in which order to store 2-byte values. It's quite obvious to you, me, and, for example, Motorola engineers, how you would do that: most significant byte first, then least significant.
    Unfortunately, the designers of the most prevalent microchip to date, Intel, decided to do it ... the other way around. (Insert appropriate smiley/sad face/horror here). For some reason, they reckoned it useful to store the least significant part first. Remember, back in "the day" when this was decided, using two bytes to store a number was ... well, how golly big numbers do you computer techies want to process!? Two bytes, that's up in the thousands! Imagine!
    So I imagine there must have been a highly technical reason for it.
    The term "endianness", by the way, comes from Gulliver's Travels -- which, I'm sure, most of you read. Remember the Civil Wars on which end to start eating an egg?
    Applying this to the (a) and (b) numbers, when you are asked "what is the bigger two-byte number?", then you ask "Is it Most Significant Byte first, or Least Significant first?" Is it the former, then it's (a); for the latter, it's (b).
    [*] Above-criticized engineers had no problem in deciding that in
      10010001
    the highest bit value (128) is always on the left, and the lowest (1) is always on the right.

  • Is there a way to test for integrity of the Citadel Database?

    Gday,
    Currently I am logging OPC data to a Citadel 5 database (Labview Version 8.2.1).
    I have done some integrity testing to try and "break" the citadel database and I noticed that if you delete any of the .cdpg files no alarms are flagged or notifications given in MAX or elsewhere to show that the database has been comprimised.
    The result of deleting or the corruption of any of these .cdpg files will result in valid data being 'moved' back in time as the citadel databases only log changes in value with no corressponding timestamp. For example if you delete from 9.00am to 10.00am then all data logged after 10.00am will now start at 9.00am.
    So I was wondering if there is anyway to either correct or even test for corruption in a citadel 5 database.
    Regards
    Ben

    This should not happen according to the design of Citadel. Also I tested with current Citadel, and didn't see this problem. I'm not sure if it was a bug in the old Citadel(the one with DSC 8.2), but for current Citadel, I can't reproduce it.
    There are many files in database folder. The .cdpg file is the data file, containing all the logged data. Some other files, such as .cdin, .cdih, .cdib, are the index files. When you read data from a trace, Lookout will first find the index from those files, and then locate the position of the data in .cdpg files. Actually Citadel will rebuild the index files if it finds something changed or damaged. If you delete one .cdpg file, Citadel will rebuild the index files. With the new index files, you can work with the database without any problem. The only difference is that the data in the deleted file can't be viewed then, just like the data was nevered logged. So, to delete the .cdpg file won't damage the whole database. The new data will be logged to database with the real time or the user-defined time. Citadel does log the delta value, but it also records the time for each trace. The detailed architecture is too complex to describe.
    Can you give some screenshots to show the problem?
    Ryan Shi
    National Instruments

Maybe you are looking for