Can I make the screen follow where my script is? Clarification in comments.

Hi everyone,
Here is what I want to do. I have a script that find/replace in all my document. It runs for half an hour, line by line. But InDesign stays on the same page all this time, so I can't see where it is, what it changes LIVE. I want to know if there is a trick that will make the screen follow the selected text that need to be change, so I can see it.
Thanks in advance,
Olivier

Hi Olivier!
Calling the "select()" method might result in what you want.
The following selects a text frame in my test document, and it also shows the page that the object is on, if another page is in view:
app.activeDocument.pageItems.itemByID(207050).select()
(Of course "207050" is a valid id for one of the objects in my open document)
So if you have a result of "found objects", you could possibly juist call the ".select()" method for each object that you would like to set focus to.
Sometimes "Enable redraw" needs to be checked, from the popout menu of the script palette. I'm not sure that's the case here though.
Best regards,
Andreas Jansson
Message was edited by: Andreas Jansson

Similar Messages

  • Make the screen follow character

    Hello i am making a platform game using actionscript 3.0. My character can move, fire bullets and jump around on the platforms, but how do i make the screen follow the character? I've tried using a v-cam but it does not work properly with the shooting. How do i make the screen follow my character?
    Any help is appreciated

    You need a gameframework to do this for you, if a virtual cam doesN´t do what you expect, and you are unable to fix this issue.
    You could theoretically put all your background assets in one big movieClip and move it around in relation to your Player (if the player "moves" ten pixel to the right, the background instead moves ten pixels to the left etc.)
    but if you need any kind of hit detection between pixels that are on your background (likle enemies) and your player, converting all your points from localToGlobal and vice versa, will get you into trouble.
    There is
    http://www.flixel.org/
    and
    http://citrusengine.com/
    which are spoecifically tailored to platform games

  • I am frustrated with how my cursor jumps around while typing.  How can I make the arrow follow the cursor so this doesn't happen?

    Macbook Pro with OSX Yosemite:  I am frustrated that when using Word for Mac, the cursor keeps jumping around all over the page.  How can I make the pointer follow the cursor so this stops?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • HT204380 How can I make the screen full screen when I am calling?

    How can I make the screen full screen when I am calling on Facetime on a Macbook Pro Laptop?

    Ok but if the iPhone 5s and 5 can go full screen the why can't the iPad Air as it too is new the problem shouldn't be hard to solve as I have looked the apple site and it show it just fine in full screen so I'm sure you understand when I say there is most definitely away of doing it so can Apple just sort it out I'm always telling my m8 how good Apple devices are and I've been let down on this so come on fix it PLEASE

  • How can I make the mouse follow as I point?

    I am brand new to captivate and incredibly frustrated. I'm
    trying to record a web site walkthrough and have selected
    "Demostration." No matter what setting I change, the mouse only
    moves when I click, but I want to point to things as I narrate. Can
    anyone help me understand how to make that happen?

    Welcome to our community, murphisto
    Captivate doesn't exactly work in this manner. Basically here
    is how the process works. You open an application. You open
    Captivate and configure it to record the application. There are
    different ways to record. You elected Demonstration. When recording
    in Demonstration mode, the following happens.
    Where you click or type, Captivate captures the screen. The
    screen capture becomes the background image for the slide. The
    mouse coordinates are tracked. In other words, where it started and
    where it stopped. So each slide has a single mouse movement. On the
    first slide where mouse movement was recorded, you may adjust the
    start and end spots. But each slide afterwards only offers you the
    ability to adjust the mouse ending spot. The starting spot is
    determined by where it STOPPED on the slide before.
    You may wish to investigate using Full Motion Recording
    (FMR). But if you choose to go that route, you need to be aware of
    some factors. Captivate was never designed to be a Full Motion
    product. It's better than it used to be, but far from perfect. If
    you do record in full motion, keep it very brief. Just a few
    minutes worth. If you find this method of recording and playback
    are what you feel are best, you will find yourself constantly
    frustrated with Captivate. In that case, you should investigate a
    different product that was designed with full motion in mind.
    Camtasia Studio, Fraps or one of the others.
    Hopefully this was helpful... Rick

  • When I open a document from any of my files, it only opens in a small screen and I can't make the screen bigger.

    Hello!  I'm hoping someone can help me with a recent problem on my MacBook Pro.  When I try to open a document from one of my files, it only seems to open in a small screen and I can't seem to make that screen any bigger to work on it.  Has this happened to anyone else before?  Thank you for your answer in advance!

    Oh, I wanted to add that trying to drag the little diagonal lines to the right of the page doesn't seem to work.

  • As i turn the phone to the side, how can i make the screen turn also?

    i cant find in the settings anywhere. my screen will not move as i adjust the phone. please let me know where in the settings i can change this

    What is displayed on the screen when you are trying to turn it? Can you check Control Center to see if you have the Rotation Lock activated. Some apps do not support a change to the screen orientation.

  • How can I make the screen view larger in numbers?

    I'm working a large spreadsheet and the screen shot is so small. In Excel I could always choose to view the spreadsheet at more than 100%. Can I do this somewhere in numbers? I cannot find it anywhere.

    Numbers User Guide clearly explain how to do what you want but you must read it to get the info !
    Yvan KOENIG (VALLAURIS, France) vendredi 29 avril 2011 11:13:11
    Please :
    Search for questions similar to your own before submitting them to the community

  • Can i split the screen to where it shows 2,4,6,and 8 of the video?

    I want to be able to split the screen to show multiple shots of the video at once. Like the four-shot camera on photo booth, but all of the same video. Is this possible? If so, how? Thanks.

    Hi
    No and Yes
    No - There is no standard (included) tool to do this and from iMovie'08 - 11 - Plug-ins can NOT be used at all
    Yes - by use of Picture in Picture and add one field at a time - I do
    • Start a New Project to prepare this speific sequence
    • Add first Picture
    • Export this as a full quality QuickTime .mov
    • Import this and put it into a NEW Project
    • add next field (Picture in Picture)
    • Export
    • Import
    and repeat this till Your complex sequence is done.
    alt. is to prepare this sequence in  QuickTime Pro and here You have 99 video tracks that can be run in paralell. But this demands a very carefull plan to be kept to 100% - to be a good result.
    Yours Bengt W

  • Can I make the spotlight search on my iweb website search through comments

    I just recently created a website using iweb. I was wondering if anyone knows how to make the spotlight search on my blog page search within the comments of that page or the whole site? That would be the best way, but I would also consider generating an internal search engine for the site through google, ect... if anyone has any information on either off these topics I would greatly appreciate it. Thank you.

    Spotlight won't do, .mac blog comments are stored on server side.
    Spotlight only works when things get indexed and spotlight can't index them.
    don't think google site search will do either..

  • Can you make the screen less glossy for under 50 bucks?

    somthing cheap, non damaging to screen. but its too reflective gloss.

    guess you could use something like a huge version of the phone screen protectors some of those are in non glossy material try googling

  • How Can I make the following query faster

    Hi Guru
    I want your valuable suggestion to make the following query faster.I did not write all required columns list. I gave here all those columns where I have conditon like decode,case when,or subquery
    (SELECT CASE WHEN REPORTED_BY IS NULL THEN
              (SELECT INITCAP(EMP_NAME) FROM HR_EMP WHERE EMP_NO = M.EMP_NO_RADIO)
         ELSE (SELECT INITCAP(EMP_NAME) FROM HR_EMP WHERE EMP_NO = M.REPORTED_BY) END RADIOLOGIST_NAME,
         (SELECT TEAM_NAME FROM DC_TECHTEAMMST WHERE TEAM_NO = M.GROUP_NO) GROUP_NAME,
         CASE WHEN M.RESULT_ENTRY_LOCK_BY IS NOT NULL THEN 'R'
    WHEN M.REPORT_DONE = 'D' THEN 'D'
    WHEN M.REPORT_DONE = 'P' THEN 'P'
    WHEN M.REPORT_DONE = 'F' THEN 'F'
         WHEN NVL(M.IMG_CAPTURED,'X') NOT IN ('B','Y') OR M.QA_RESULT = 'F' THEN 'S'
    WHEN NVL(M.IMG_CAPTURED,'X') IN ('B','Y') AND NVL(M.QA_RESULT,'X') NOT IN ('B','P') THEN 'Q'
         wHEN NVL(M.IMG_CAPTURED,'X') IN ('B','Y') AND NVL(M.QA_RESULT,'X') IN ('B','P') THEN 'C'
    END STATUS,
         (SELECT DECODE(NVL(V.DELIVERY_STATUS,'N'),'E',3,'U',2,1)
              FROM FN_VOUCHERCHD V WHERE V.VOUCHER_NO = M.VOUCHER_NO AND V.ITEM_NO = M.TEST_NO) DELIVERY_STATUS,
         trunc((start_time-order_end)*24,0)||' hr'||':'||
         decode(length(trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0)),2,to_char(trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0))
              ,1,to_char('0'||trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0)))||' mi' duration_order_capture,
         DECODE(R.CONFIDENTIAL_PATIENT,'Y','*',NVL(R.NAME,R.name_lang_name||' '||R.name_lang_fname)) PAT_NAME,
         FNC_PATIENTAGE(R.REG_NO,'',R.CONFIDENTIAL_PATIENT) pat_age,
         DECODE(R.CONFIDENTIAL_PATIENT,'Y','*',R.PATIENT_SEX) PAT_SEX
    FROM DC_MODALITYAPPOINTMENT M,DC_TESTMST T,OP_REGISTRATION R
    WHERE M.ACCESSION_NO IS NOT NULL AND NVL(M.CANCEL_FLAG,'N') = 'N'
    AND (NVL(T.SP_GEN,'S') = 'S' OR NVL(M.DOC_REQ_GEN,'N') = 'Y')
    AND M.TEST_NO IS NOT NULL AND M.TEST_NO = T.TEST_NO AND M.REG_NO = R.REG_NO)
    How can I make the above query faster.
    Query condition or indexing whatever is preferable please guide me.
    The approximate data of tables
    DC_MODALITYAPPOINTMENT 2,000,000
    A lot of updating is going on some columns of this table.all columns are not in the select list, Insertion is happend in batch process by back-end trigger of another table.
    Primary key based one column,
    OP_REGISTRATION 500,000
    Daily insertion on this table around 500 records,updation is not much.
    Primary key based one column 'reg_no'
    DC_TESTMST
    Total records of this table not more than 1500.This is setup table. Insertion and updation is not much on this table also
    I have to create a view based on this query .
    and I have to create another view to serve another purpose.
    In the 2nd view I need this query as well as I need another query by using union all operator based on a table(dc_oldresult)
    which have 1,600,000 records.There is no DML on this table
    SELECT      NVL((SELECT USER_DEFINE_TEST_NO FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1 ),SV_ID) USER_D_EXAM_NO,
    (SELECT TEST_TYPE FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1 ) EXAM_TYPE,
         NVL((SELECT TEST_NAME FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1),'Exam Code: '||sv_id) EXAM_NAME,
         (SELECT PAT_NAME FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_NAME,
         (SELECT PAT_AGE FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_AGE,
         (SELECT PAT_SEX FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_GENDER
    FROM DC_OLDRESULT
    WHERE HN IS NOT NULL AND SV_ID IS NOT NULL AND UPPER(ACTIVE) = 'TRUE'
    Should I make join DC_OLDRESULT, OP_REGISTRATION and DC_TESTMST? or The eixisting subquery is better?
    I use OP_REGISTRATION and DC_TESTMST in both query
    Thanks in advance
    Mokarem

    When your query takes too long ...

  • I have a new iPhone 5C, have the sounds alerts set up. But I'm not getting sound alerts for new voicemail, only the red circle on the screen.  How can I make the sound alert work?

    I have a new iPhone 5C, have the sounds alerts set up. But I'm not getting sound alerts for new voicemail, only the red circle on the screen.  How can I make the sound alert work?

    I have had this same problem for weeks now with my 4S.  I just got a new 5S after being extremely frustrated and the same thing - no sounds.  After searching posts all over, I couldn't find a solution. I just told my friend of the issue and he asked "Do you have the Do Not Distrub on?"  I didn't even know such a function existed.  Upon looking that was exactly the issue.
    To resolve, go to Settings> Do Not Disturb> Manual.  If it is green, turn it off.  You will now get phone calls and text alerts.
    This functionality is also on your quick access utility menu (slide up menu).  I assume this is how it was enabled on my phone.
    I will post on other sites since I searched for weeks for this solution and didn't see it anywhere.  Good luck!

  • With the new iOS7 how can I make the picture on my lock screen smaller or is this a glitch with the new iOS7?

    With the new iOS7 how can I make the picture on my lock screen smaller or is this a glitch with the new iOS7?
    I got the 5s and everytime I try and change the picture on my lock screen the picture is 10x way to big. I try and resize it and make it smaller but it will nto get smaller.
    How can I fix this?

    See Empty/corrupt iTunes library after upgrade/crash.
    tt2

  • I can not reach the screen to enter passcode, the main sreen is where im stuck, i cant play music, the home button works but icant get pass the whole unlock thing, i can receive calls but can answer because when i touch the screen it wont do.

    i can not reach the screen to enter passcorde, the main screen is where im stuk, i cant play music,i can recive calls

    Try to Reset your device. 
    Press and hold both the Sleep/Wake button and the Home button for at least ten seconds, until the Apple logo appears (ignore the Slide to Power Off that shows up first).

Maybe you are looking for

  • Airplay with Ethernet fails after update.

    I have 90 Apple TV's all working on my Academy network, all via Ethernet to try and cut out wifi issues (1000 ipads, 200 laptops too). I updated an Apple TV, and it no longer shows in the Airplay list. Downgrade it to 6.2, visible again. Update back,

  • 8.1 full screen problems landscape

    Since updating to 8.1   Tapping to view videos in full screen goes to portrait full screen instead of landscape full screen while in landscape position. There are also problems  trying to full screen in portrait position. i pad mini retna 16 gig Geen

  • How to find delimited ORG unit in a report?

    Hi All I need to find the org unit's which doesn't have end date as 12/31/9999 and delimited within 2 years in my report? How can we achieve this ...waiting for reply PS: I believe there is no LDB required.. Regards Sas

  • [solved] Openbox keybind problem

    I am trying to bind windows+y key to display openbox menu, but it can't get it to work: <!-- Keybindings for running applications --> <keybind key="W-y"> <action name="ShowMenu"> <menu>root-menu</menu> </action> </keybind> <keybind key="W-e"> <action

  • Oracle 8i Lite Installation

    I have downloaded Oracle 8i Lite V4 from the Oracle Website and just tried to install it on my PC running Windows NT V4 and it failed. I ran the setup program and the Oracle Lite Installer started up. After I entered in my Oracle Home, the Installer