Need to alert for the margin of safety

Hi all

Could someone please provide solution for the alert of safety margin.

If the elements of any page by page width or height of the alert page will display or report to produce.

[range of margin of safety = 24 points]

myDoc var = app.activeDocument;

var myPgItems = app.activeDocument.allPageItems

doc.viewPreferences.horizontalMeasurementUnits = doc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;

doc.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;

var myPageWidth = app.activeDocument.documentPreferences.pageWidth;

var myPageHeight = app.activeDocument.documentPreferences.pageHeight;

Could someone help...

Thank you

Beginner

Hi beginner,

You can get the result by comparing with your myPageWidth and myPageHeight geometricBounds

myGMB = myPgItems [0] .geometricBounds;

If (myGMB [0]<=0 ||=""><=0 ||="" mygmb[2]="">= myPageHeight | gmb [3] > = myPageWidth) {}

Alert(myPgItems[0].) ParentPage.Name);

}

Suresh

Tags: InDesign

Similar Questions

  • Video shows that in the margin of safety

    I really hope I don't have to repeat everything I just edited. So I hope you guys have an answer for me.

    The problem is that Ive made a video that contains images and the resolution of 1920 x 1080 live video. The video begins with a 720 p picture and then continues in 1080 p video. What I don't understand is when I have exported it in the same format as I always do. The video shows what is in the margin of safety. What happens because I managed to move a picture from the video "off the screen" somehow?

    And if you manage to do it, is there a reset button, so we're back in the 'frambox' or whatever you call it.

    Out in the video Ive used the pan / zoom feature, has something todo with the video showing just what's inside the margin of safety?

    When I started the project I didn't select new. I just opened the program and began to add photos and videos.

    IM exporting the same type every time, which is Adobe flash video and 1080 p F4V - HD. That has always worked well for me and I have not had this problem before.

    Jiinxs

    Thanks for the follow-up.

    That present you your workflow, p60 of 1920 x 1080 video and image 1920 x 1980 and with those export settings, I have is only with the export settings

    frame rate defined as identical to the Source, as I mentioned earlier. But that should not contribute to your export 1472 x 832 F4V get.

    If you do not already have it, you can try once more with this project. This time, import your video and photo, but don't do any pan and zoom, then

    Let's wait and see what looks like the export as well as what are its properties.

    After exporting F4V, where you see this description 1472 x 832 for your export to F4V?

    Please consider. We will be watching for further developments.

    Thank you.

    RTA

  • Satellite M30X-165 - need a driver for the PCI Flash memory

    Hey,.

    I need a driver for the PCI Flash memory, I have already searched the web and posted in other Forums, but I can't find anything. I heard he is hidden somewhere in another file... ? !
    I have a toshiba sm30X-165

    I would be very happy if someone can help me!

    Kind regards

    Freddy

    Drivers for Satellite M30X are placed in the archive on the European driver Toshiba page.
    Product type choose Archive.
    Then the Satellite-> Satellite M-> Satellite M30X

    There, you must download and install the Cardbus and Chip Set Utility driver

  • Satellite 1000-Z2: I need a driver for the display and the LAN

    Hello

    I reformatted my laptop S1000-Z2, and I have a real problem trying to find all the information about this model!

    Basically, I need a driver for the display and the LAN?

    Best regards

    Austin.

    What operating system do you use?
    If you use XP, you will not find the network on the site recommended driver driver!
    I can't give you advice where to find such driver because I don t know what the LAN card is installed in your oldie.

    But why you n t check yourself? Try to know what the LAN card you use and googel a bit for compatible applications ;)

  • Need a driver for the gforce 6400 ultra 128 MB graphics card

    Original title: find a driver

    Hello

    I need a driver for the gforce 6400 ultra 128 MB graphics card.

    know of anyone who has this?

    TNX for help

    Hello

    Take a look in the manufacturer's website:

    http://www.nvidia.in/page/GeForce6.html

  • Need help now for the live installation

    Need help now for the live installation

    Hello

    As described in the question, I understand that you need help. I will definitely help you however, I would be grateful if you could help me with more information to better understand the problem and resolving it.

    1. What is the problem you are experiencing during installation?

    2. That you install? Any software or operating system?

    3. How you try to install the software/Os/application?

    If you need live support from Microsoft then you can click on the link given below and check if it helps.

    https://support.Microsoft.com/en-us/contactus/

    Hope that this help, please write us back for any further assistance on this point, we will be happy to help you further.

  • Hey everyone if I use photoshop mixture do I need to pay for the cloud

    Hey everyone if I use photoshop mixture do I need to pay for the cloud

    Laughing out loud

  • Alert for the elements of transparency

    Hi Forum,

    I got this forum,

    I need help to alert, for any type of 'transparency effects' appiled to the pageItems.

    Instead of reference, transparencySettings.gradientSettings,.

    transparencySettings.opacity,

    fillTransparencySettings,

    objectTransparencySettings.

    etc.,.

    Items = app.activeDocument.pageItems.everyItem () .getElements ();

    for (i = 0; i < items.length; i ++) {}

    If (items [i] .transparencySettings == true) {}

    Items [i] .itemLayer = app.activeDocument.layers.item ('items');

    Alert ("pageitems a transparency effects")

    } }

    Thanks for your help!

    Hello

    to create a use control upstream:

    (a list of indices of the rules might be useful)

    mPref = app.preflightProfiles.item(0).duplicate();
    mPref.name = "Transparency";
    mPref.preflightProfileRules.everyItem().flag = PreflightRuleFlag.RULE_IS_DISABLED;
    mPref.preflightProfileRules[34].flag = PreflightRuleFlag.RETURN_AS_ERROR;
    

    to enable the use of mPref:

    app.activeDocument.preflightOptions.preflightWorkingProfile = mPref;
    

    Jarek

    PS:

    1. some 'useful' or 'correct' flag would be appreciated

    2 activate the preflight script led to an error that I can't manage:

    ID continues audit controls upstream, while the script is running, so no err_report is available.

    Unfortunatelly preflightProcess [0] .waitForProcess () does not work...

    .. .on my side only?

  • Need administrator rights for the Intel on Satellite Pro 2100 speed step

    Hello
    I have a Satellite PRO 2100 (Pentium 4 1.9 GHz).
    I have a problem with the function of the Intel speed step, which reduces the speed of the processor at 1.2 GHz. But I have a problem: I can do this, if I use an administrator account...
    After starting, if I connect with a simple user account, the Intel speed step works... and the speed of the cpu remains at 1.9 GHz.
    So I would like to use this function with a simple user account, how do I do it please?

    Thanks for your help :)

    Hello

    As far as I know that this application is not shipped with the image of Toshiba and it s not made not part of the image.
    But I put t see any big problems. You will need to change your account administrator rights. In this case, you will need to ask someone the admin right to edit your account.

    The other possibility is to change the law for this software. There can be changes as by admin. What you can change in the Security tab in the program properties. Full control must be set to all.

    Then, it should be possible to use this application with your account.

  • Need new firmware for the drive (Mat * un UJDA750)

    I have a Satellite M30 with a carpet * a player combined UJDA750. Anyone know where I could get a new firmware for the drive?

    THX.

    Hello

    I put t know why you need a firmware for your combo drive.
    As far as I know the carpet * a combo UJDA750 driver works with the Windows driver very well.

    Good bye

  • Need software/drivers for the Cam MiniDV DCR-TRV25

    I have owned one of these great little cameras Sony miniDV since 2003 - in fact I love it so much, I bought a 'reserve' on ebay a few months ago.

    The problem is when my laptop crashed, I lost the initial load of the original factory driver for the camera software... and I can't find the original anywhere drive. None of my web searches have found links to reload the driver.

    Even more amazing, I started using Sony Vegas Movie Studio clean - but it plain refuses to import video from his OWN camera - saying that it does not recognize the device.

    What are my options and alternatives for this?

    NC to LB, CA

    Hello. For your computer to recognize the device, if it was recognized before, would mean that either your use of Windows XP or an older operating system. Unfortunately, USB streaming is not supported by Windows Vista, Windows 7 and Mac. But using a different connection: IEEE1394 (i.link or firewire) connection it should work with these operating systems. Going up that probably you just need to install the driver for the camera, you should be able to get it here:

    http://eSupport.Sony.com/us/Perl/SWU-Li... l = DCRTRV25

    Select your operating system from the menu drop down and download and install the device driver (Driver USB for Connection). Make sure that the camcorder is not connected to your computer while installing the driver. Follow the instructions below the USB driver for the login page properly install the driver. Restart the computer and connect the camcorder. Complete the installation of new hardware found. Also make sure that your camcorder USB Stream function is set on IT. Use the application pre-installed Windows Movie Maker or compatible video capture software to capture video to off the Strip. I hope this helps.

  • HP PAVILION A1007W: NEED DEVICE DRIVER FOR THE CONTROLLER ETHERNET FOR HP PAVILION A1007W DESKTOP / WINDOWS OPERATING SYSTEM 7

    Hi all!

    I have a HP PAVILLION a1007W desktop, which took the windows xp operating system.  I installed the windows 7 Home premium operating system and have found that I can't get online.

    Device Manager tells me that the driver for the multimedia audio controller is missing as well as the driver of ethernet controller.  The driver needed is:

    PCI VEN_1039 & DEV_0900 & SUBSYS_2AO4103C.

    I HAVE LOOKED EVERYWHERE AND CAN NOT FIND THE NECESSARY DRIVER.  Of course, the PC doesn't help if I can't get online.

    Any help will be greatly appreciated!

    Thank you, Pat

    Hello:

    I try the XP driver and try to install manually if auto installation does not work.

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=PV-29695-1 & CC = US & DLC = in & LC = on & os = 228 & Product = 501309 & sw_lang =

  • Qosmio F20-149: need a cord for the United Kingdom?

    Hey guys,.

    I am looking for a power cord, taken UK, compatible with my F20-. 149.
    For the moment, I have a euro plug, but I need a UK plug.

    Does anyone know if there is a power cord for the F20?
    I have not found one in online stores.

    Thank you

    Christian

    Hello

    PA2521E-2AC3 is a s Toshiba that adapters can be used all over the world with the appropriate AC outlet adapter universal sector.

    I think that the appropriate mains adapter may be purchased from your local authorized service center city or provider some electronics dealers. You can also consult offers online on the internet.

    Maybe you could use something like this:
    http://www.powerconnections.co.UK/convert_eurotouk_fcp.htm

    Good bye

  • Need driver Nvidia for the Satellite A200 - 14 d

    I can't find drivers for Nvidia Geforce Go 7300 that supports my Satellite A200 - 14 d

    Model name: Satellite A200 - 14 d
    Model no. PSAECE - 004006g 3

    Help, please

    PS: I need the bluetooth drivers too

    Hey Buddy,

    where you are looking for? I can give you some links and you can search for all the sites for the drivers you need:

    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp
    Toshiba Europe
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/Su/su_sc_home.jsp
    ToshibaUSA download
    http://209.167.114.38/support/download/ln_byModel.asp
    Toshiba of Canada limited - drivers and downloads

    And ESPECIALLY for the drivers from nvidia, you can watch here:

    http://www.OmegaDrivers.NET/
    OmegaDrivers.net - home of the Omega Drivers for desktop/laptop ATI & NVIDIA cards. Very good site!

    Hope it will bring you further.

    Welcome them

  • I need some advice for the Satellite L630/03

    Hi all

    I just bought my first Toshiba L630/037 (http://www.mytoshiba.com.au/products/notebooks/satellite/l630/psk04a-037001/specifications#details) and I'm really excited that I'm waiting to load for hours first 2 or if, after perform you a unboxing conversion it!
    He looks bloody awesome and I can't wait to start using it!

    You have a few questions:
    1. when I received it, the sticker that keeps the top down was already torn (as in a person already open).
    The clerk said that everything is fine with it, so we opened it to check that the main seal for the laptop has not been broken and that the adapter and cable was there. Now that I'm home and I have everything out, I noticed that I have no CD.
    Is that suppose to be right? I'm a bit confused because the last laptop that I bought a few of the installation CD and the drivers that came with it. In addition, is there something else I should be aware of that should have been in the box?
    All I have is the power cord, power adapter, manual, portable with battery already in it.

    2. in the purchase, there are already standard warranty 1 year that comes with the laptop. I noticed on the Toshiba site, you can buy an extended warranty. Should I buy now? Or can I get, say 1 week before the end of year 1?

    If anyone has useful tips or advice that would be greatly appreciated!

    See you soon!

    > I took everything out, I noticed that I have no CD.
    Yes, that's right. No CD is delivered pre-installed Toshiba Software is on the HARD drive and you can create a clean recovery disk! Please see the operating manual!

    > Should I buy now? Or can I get, say 1 week before the end of year 1?
    Well, as far as I know you don t need to buy the extended warranty immediately after the laptop was purchased

    I found this info:
    > Q: When can I buy the extended warranty?
    > A: the extended warranty is eligible to purchase, during the period of warranty the laptop
    http://www.MyToshiba.com.au/support/warranty/extended/FAQ

Maybe you are looking for

  • HP-15-ac653ur: upgrade

    How many slots of ram in this notebook?

  • codecs for msdvd

    I need the codex for msdvd, the most recent codex for the filmmaker 6.0 or later version. I have videos that require this codec so he could play.

  • Pavilion 500 series: printer does not complete the print job &amp; error message

    Got a HP Deskjet 2542, but recently bought a new HP, Pavilion of the 500 series desktop computer.  When you try to print a document that is located at 3 pages, it will print the first page, and then part of the second page, then an error message appe

  • No its g7 pavillion

    purchase of a new laptop. capture his headphones and external speakers, but the internal speakers of the laptop produce no noise. Windows 7 Edition home premium model # G7-1277DX product #-QE308UAR #ABA

  • 1812-IPSEC Site to Site PIX 6.3

    We have a 1812 and need to create a vpn site-to-site with a PIX 6.3 running tunnel. Yes, I know the PIX is old, but we cannot control it. It's a firewall hosted, that we don't have this kind of control. My configs are displayed for each. Please advis