How move document (viewport) to X,Y

Hi all, I'm making script which will have similar behavior to original Find Text script. I stuck on part where I have X,Y coordinates from item where I need move document - I mean make this area focused and visible for user (like tou Find Text and clikc Find next then document move there). How should I make it? Anyone?

hmm maybe I will put part of code here
    var doc = app.activeDocument;
    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;
    app.findChangeTextOptions.caseSensitive = false;
    app.findChangeTextOptions.includeFootnotes = false;
    app.findChangeTextOptions.includeHiddenLayers = false;
    app.findChangeTextOptions.includeLockedLayersForFind = false;
    app.findChangeTextOptions.includeLockedStoriesForFind = false;
    app.findChangeTextOptions.includeMasterPages = false;
    app.findChangeTextOptions.wholeWord = false;
    app.findTextPreferences.findWhat = ",";
    var items = doc.findText();
.... and I have for it palette window with button to find next which looks
nextBtn.onClick = function () {
             itemIndex++;
             if(itemIndex > items.length)
                return alert('Done');
             items[itemIndex].select();
             if(!app.selection[0] instanceof Character) {
                 return alert('Done');
              var x = app.selection[0].horizontalOffset;
              var y = app.selection[0].baseline;
              items[itemIndex].parent.showText(); <- it is right? not working. If items[itemIndex] is character so his parent must be Text Frame?

Similar Messages

  • How can I move documents from my iPad to the cloud?

    I am trying to move documents into the cloud from my iPad. Every time I select the upload icon, only my photos show up. How do I find my documents?

    squirrels,
    To save a single PDF document on iPad to Acrobat.com (i.e. one document at a time)
    Open a PDF document in Adobe Reader for iOS.
    Tap anywhere in the document to display the toolbar.
    Tap this icon in the toolbar.
    Select "Save to Acrobat.com".
    If prompted, sign in with your Adobe ID.
    If you want to transfer a lot of PDF documents on your iPad to any cloud storage service, you can transfer them to your Windows/Mac desktop computer using iTunes first.
    How to transfer PDF documents from your iPad/iPhone to your computer
    and upload them to the cloud storage service of your choice via a web browser.
    Does it answer your question?
    Please let us know if you still have a problem with uploading files.

  • How to merge two movies documents into 1 in  iTunes?

    Can anyone tell me how to merge two movies documents into one in iTunes? Sorry maybe this is an easy and dumb question for you, but I have totally no idea. I download some movies in Windows and use Kigo Video Coverter to converte them into mp4 format. So I can watch it through new Apple TV in my big screen TV. Now I am thinking maybe I can upgrade my experience a bit more. Because some movies are downloaded into 2 or 3 separated document and I have to choose and click them while seeing. Is there any software can merge those separated documents into one single in mp4 format? I wish you could give me several to choose . Freeware is better. Thanks in advance.

    Thanks. I've tried simplemovies application but it seems too much complicated for me. I read some passages online and bought Quicktime Pro ($30) and finally link 2 mp4 documents together. So easy. Only issue is I have to pay $ 30 .

  • How do I move Documents folder?

    I am trying to free space on my old Macbook Pro.  My friend created a partition where I am moving most of my files to, including my pictures, downloads and Dropbox.
    I would like to move my Documents folder too as there is plenty of space remaining in the partition.
    Is there a simple way to do this?  A drag and drop simply copies the files but I want to move the default location if possible.
    Many thanks

    Tim Luck wrote:
    I have Word 2008
    Will the issue you have both raised affect my computer if I move the Documents Folder?
    I don't think so. AFAICT, Office 2008 has no problems with symbolic links under SL. Regarding the MUD folder, if you quit all Office apps and move it to <~/Library/Preferences>, it should stay there. See this hint
    <http://hints.macworld.com/article.php?story=20060228051625893>
    If this were my machine, I shouldn't try to move a subfolder of Home -- either move it all, or store my documents in a different folder from <~/Documents> (you can put a symlink to this folder in Documents; if you give the link a name beginning with a blank space, it will always be listed first in Open or Save dialogues). But if disk space constraints don't allow you to do this, and you have to move Documents, I don't see any other solution than the one suggested by Matt Clifton.

  • How to create workflow to move document from site to its subsite

    Hi All,
    I need suggestion on share point workflow development. Currently I am working on Share Point 2013. I have root site and its sub-sites.
    Following is the challenge:
    1. I have to move document from "Document Library" of root site to one of its sub-site using share point workflow.
    2. Move document from sub-site to sub-site of root site.
    I am not sure whether I should use "List workflow" or "Site workflow" as I am new in Share point. I am using share point designer 2013 to develop workflow. I search a lot on google but no luck on this.
    Please provide yours valuable suggestion. Thanks

    P
    Khadatkar,
    You need to turn on feature called "Workflows can use app permissions"
    Link - https://msdn.microsoft.com/en-us/library/office/jj822159.aspx
    Follow similar steps in SharePoint Designer 2013.
    Link1 &
    Link2   
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • On 10.4.11 Mac Mail I get this: Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unnedded documents or move documents to another volume. I can't open mail.

    On 10.4.11 iMac Mac Mail I get this message: "Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unneeded documents or move documents to another volume." I can't open mail to do this. I have reinstalled software but no effect. How do I get into Mail to delete?

    Found this on the "more like this" Worked like a charm!
    With the Mail.app quit and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Go to Home > Library > Mail > Envelope Index. Move the Envelope Index file to the Desktop.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the import process to complete.
    After confirming all mailboxes were successfully imported and available, you can delete the copy of the Mail folder and old Envelope Index file from the Desktop and this should resolve the problem.

  • Move document set [out of the box]

    is there a out of the box solution to move document set between libraries?
    I have created site collection using Document Center site template for SP2013 Enterprise. 
    I was really surprised that Doc Set has no functionality to move it from one library to another? 
    Option needs to be available to end user in like 3-4 steps from document set ...
    Any tips?  
     

    Hi
    TUlee ,
    For moving document set between libraries, you can use the Site Content and Structure in the site settings. Using the Site Content and Structure  function we can manage both the content and structure
    of your SharePoint site collection.  To access the Site Content and Structure page, you must have a minimum of Contribute permissions.
    For more information, you can refer to the article:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/07/29/how-to-use-the-site-content-and-structure-manager-in-sharepoint-2013.aspx
    http://office.microsoft.com/en-001/sharepoint-server-help/work-with-site-content-and-structure-HA010131723.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to document LabVIEW program?

    Is there any guidance for how to document a LabVIEW
    program?

    The LabView Style Guide has a chapter on documentation. Click here.
    Here are some of the things I try to do on every VI.
    Create VI Help info: on the VI's File menu, select VI Properties >> Category >> Documentation, then add you help info into the VI Description. That's what will be shown when the user shows the context help (Ctrl-H).
    Front Panel:
    Create help info for each control: right-click on the control, then select Description and Tip. The Description will be shown when the user shows the context help. The Tip will be shown (as a Tool Tip) when the user moves the mouse pointer over the control, even if context help is not shown.
    Make control Labels descriptive. Numeric, Numeric 2, Boolean, etc. are not descriptive enough to be helpful to the user.
    Use the control captions if needed.
    Use the text tool to add free labels to the front panel if needed.
    Diagram:
    Show the label for each structure (while loop, for loop, case, sequence, etc.). Not just a free label: right-click on the border of the structure and select Visible Items >> Label. This way the label is attached to the structure and will move with the structure as you're editing the diagram. Make the label descriptive. For loops, summarize what you're doing. For while loop, state when the loop will stop. For For loops, if auto-index is used, state which input will set the number of loops. For cases, describe the criteria for selecting a case.
    Within a case or sequence structure, use the text tool to add a free label inside each case or sequence frame to summarize what happens there.
    Show labels for all control terminals. Some controls may not have their labels displayed on the front panel (e.g. buttons with their boolean text shown), but always display the label on the diagram.
    Liberally use free labels to add more comments.
    VI History:
    Use it! On any VI window, from the Tools menu (the tools palette), select Options, the select Revision History from the pull-down listbox. Select Prompt for comment when VI is saved. Whenever the VI is saved, add a brief but meaningful comment about what was changed. This history is available under the VI Properties >> Category >> Revision History >> Show Current Revision History (or by pressing Ctrl-Y). It can be very helpful in debugging a program that stopped working after you made a bunch of changes.
    Icons:
    Create helpful (not just artistic) icons. I typically just use text to show an abbreviated VI name. Graphical icons can be helpful if it's clear to the user what the graphics mean. But I like text. I put my creativity into the program, not into a tiny picture trying to describe the VIs function to the user.
    I'm glad you asked the question. The more work you put into your documentation now, the easier it will be for you or anyone else to use and maintain your programs.

  • How many documents are there in this Package?

    Is there an easy way to determine how many documents are in an existing Package?
    At the moment I work around it by using Search on a character pretty much guaranteed to be in them all, but I'd expect it to be a property stored somewhere?
    Acrobat Pro v8.1.2

    Apple in a press release from 2012 claimed more than 45,000 movies, but did not provide any details as to that figure. And it changes rapidly, and it would be different for each country, so unless someone went in and counted them manually in your country's iTunes Store, there won't be an accurate figure available.
    Regards.

  • How many documents can go in a folder in iCloud (Pages)?

    Just wondering if there is a limit to how many documents can go inside a folder in iCloud (Pages). I'm using Pages on my Mac and want to move all my Google Docs into Pages but I'm worried I'm going to hit an Apple ceiling. If it's unlimited, that'd be great!

    As far as I know, you can store as many documents on a folder as storage you have on your iCloud

  • Should the admin/user folder and all of its sub folders be moved to the hdd or just parts of it? (eg. picture, movies, documents)  What is the best way to go about doing this.  Also should a 2t hdd be partitioned.

    iMac with 256ssd and 2t hdd. Should the admin/user folder and all of its sub folders be moved to the hdd or just parts of it? (eg. picture, movies, documents)  What is the best way to go about doing this.  Also should a 2t hdd be partitioned.

    Yes, you can move your user directories to the HD and keep your OSX and Applications on the SSD drive.
    Whether you partition your HD or not depends on how much data you have and how you propose to use your HD.
    Are you planning to use your iMac as a Time Machine backup volume? If so, partition it off.
    Do you have huge data files, eg video, music, photos?
    How much of your 2tb drive will be "free" once it is loaded with all your data?
    A little more information is required before the optimal configuration can be recommended for your use.

  • How movement type is determine in out bound delivery?

    Hello,
    (1) I want to know, how movement type is determine in out bound delivery (item detail --->Administration tab).
      If I want to make a setting of customer return, then where can I assign movement type 451 so that it will appear in OBD?
    (iii) Please provide me the path of setting of SD document category ex- J,7 etc (Which appears in T-code OVLP)
    Thanks,
    MMC

    Hello,
    M type (Tcode OMJJ) is determine into the Delv doc on the bases of Sch line Cat(Tcode VOV6)  maintain in your sales order's item level .
    The relevant Sch line Cat is determined into sales order on the bases (tcode VOV5 of
    I Cat + MRP type (if any) .
    And the I cat is determined into sales order based on (tcode VOV4)
    Sales Doc. Type + Item cat.group (determined from material Master) + Item usage (if any) + ItemCat-HgLvItm (if any).
    The std sch line cat for Return is 651.
    If you want to have 451 as M  type for your material then copy std sch line cat DN and maintain 'Z' Sch Line cat with your M Type.
    And determine the same to your I Cat for return in return sale order.
    Before executing your process cycle have a look/check on copying control config for Return Order to Delv in Tcode VTLA.
    Hope this can assist you.
    Thanks & Regards
    JP

  • Move document from one environment to another when document is approved

    Hi,
    I need to move document from extranet environment(abc domain) document library to intranet environment(xyz domain) document library when document approved.
    Can anybody suggest me how we can proceed?
    Thanks,
    Raju

    Are you writing a custom workflow or you are using out of the box approval workflow?
    Regardless the best option for you is to use two step approach. 
    1) When document is approved using Copy.CopyIntoItems Method to copy document to your extranet farm. You will have to rely on web services given you are communicating between two farms.
    Copies a document represented by a Byte array to one or more locations on a
    server.
    2) Once the document is copied then your List.asmx to delete from original location.
    How to: Update List Items
    If you are using out of the box approval workflow then best way to automate this is using event receivers. If this is custom workflow then write your code in the workflow using code activity.
    Amit

  • Dragging with the Middle mouse button down should move the viewport.

    Just like it says in the title: I believe that dragging with the Middle mouse button down should move the viewport, just like using the hand tool. Would be very handy for people still using a mouse. This can be hacked together using SetPoint (or similar software), but it doesn't work perfectly. Photoshop should've had it for a very long time, as the middle mouse button could be used to move around documents in other applications (web browsers, word processors, other graphics programs) for years.

    I've never had that happen with Firefox 4 on WinXP. I haven't updated my Netbook that runs Ubuntu to Firefox 4 yet.
    1. Try disabling the Java Console 6.0.24 and the Java Quick Starter 1.0 extensions and see if that solves your middle-click problem.
    2. Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.''
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • How many documents in the doc?

    Hi,
    I have just converted from PC to Mac. On the start menu on Windows, I could easily see how many documents from each program was open. If I had lunched 4 documents from Word, 4 "tabs" would appear on the start menu so it was very easy to swich between them.
    On the Mac (Snow Leopard) it just shows the Word icon and a little lamp is running below it to show me the app is running.
    But it does not give me any chance to swich in between those documents! I have to click the icon and if the documents are stacked on top of eachother,
    I have to manually move them to get to those who lies in the buttom.
    I know exposé is an obtion, but if I have a lot of apps and documents running, all the documents show up so small that it is often impossible to tell the difference in between the documents. So then I have to click, click and click to find what I want.
    Does not Mac have a better solution for this? It was so so so much easier on windows.
    Thank you in anvance,
    Dan

    Control-click the icon.
    (63721)

Maybe you are looking for

  • Burn dvd's from mac won't play on DVD player

    I'm getting an error 'can't read disk' from my samsung bd-p2550 when trying to play a moving i created on my Mac Mini. I've created the movie using iPhoto to create a slide show movie. i renamed the resulting file from M4V to MP4 and burned to a DVD-

  • Error handling in JDBC

    Hi All, i am using store procedure to fetch the data from Oracle Data base and send the data to SAP system using PI. I get some 1,00,000 records at a timeall needs to be sent to SAP. Suppose 1 record fails either in PI or inSAP, i need to rollback al

  • Artwork not displaying correctly

    I have a 160gb iPod classic, and the artwork is not displaying at all or incorrectly. I also have about 5000 songs in my library not on the iPod, is there a way to make a playlist of what is on my iPod and just dump it back into my iPod once it has b

  • Can't get 100% signal strength

    Under OS X 10.5.7 I had to downgrade AirPort Extreme firmware to 7.3.2 just to make it work. With the OS patch I gave in to the constant harassment of the base station software telling me to upgrade (and interrupting connectivity frequently). With th

  • Zen Micro Headphone Jack problems-are the new ones

    Gonna buy a Zen Micro Photo 8GB player-had one of the 5gb ones a year and a half ago and the headphone jack went on that-have the problems with the headphone jack been sorted out in the new ones?