How do you script guidelines onto a document

I'm new to this, but I've gone through the reference manual and scripting guide and cannot find the method that places guidelines. The description of the guideline properties is there, but I can't find the method.
Thanks in Advance.

Here is a function you can use to place guides. It can be used like any function and does not need to be loaded as a action.
function setGuide(pxOffest, orientation){
var desc = new ActionDescriptor();
var desc1 = new ActionDescriptor();
desc1.putUnitDouble( charIDToTypeID( "Pstn" ), charIDToTypeID( "#Pxl" ), pxOffest );
desc1.putEnumerated( charIDToTypeID( "Ornt" ), charIDToTypeID( "Ornt" ), charIDToTypeID( orientation ) );// "Vrtc" or "Hrzn"
desc.putObject( charIDToTypeID( "Nw " ), charIDToTypeID( "Gd " ), desc1 );
executeAction( charIDToTypeID( "Mk " ), desc, DialogModes.NO );
setGuide(150, "Vrtc");

Similar Messages

  • How do you put word or excel documents onto an IPAD?

    How do you put word or excel documents onto an IPAD?

    There are no Microsoft Word or Excel apps for the iPad, yet.
    The Pages app, among a few others will open, write to and save Word docs. Numbers will do the same for Excel files.
    First thing is to buy and download an app to work on these docs from the ap store. Then sync with your computer to have the apps on both your iPad and in your iTunes on your computer. Once this is done you can copy files to the Pages or Numbers section on your iTunes then sync with your iPad to have them copied to the iPad. Also, any Word or Excel files that you receive via email will also open in Pages and or Excel and can be saved to the list of files for those apps.

  • How do you reverse a goods receipt document of a service entry sheet?

    Hi SAP experts,
    How do you reverse a goods receipt document of a service entry sheet? Your help/opinions will be highly appreciated. Thanks!
    Jessica Mari C. Cruz
    Jr. Software Development Analyst
    SAP- Materials Management Team

    You can sue the ML81N itself to delete the service entry sheet and once you will delete the SES, system will generate the Material document for reversal of GR.
    Go to ML81N and enter the service number and change the screen to change mode.
    If release statergy is used for this then cancel the release using the same statergy.
    Click Revoke acceptance button or Ctrl + F2.
    Edited by: Manish Kumar Agarwal on Aug 4, 2009 8:27 AM

  • How can you create a writable PDF document from a PPT presentation ?

    How can you create a writable PDF document from a PPT presentation ? Upper part with the image , lower part with a free space in order to take notes for students during presentation or course.
    Thanks.
    B

    You can make a PDF file out of you notes and handouts but using the Adobe PDF printer.
    Open your PowerPoint Document then go to “File” “Print”
    Select ‘Adobe PDF” Printer
    Under slides, select which way you want to print. Note it will not print to a printer but to a PDF file.
    After then go into printer Properties and Setup PDF properties, do the following: (see second image below)
    Default: PDF/A 1-b
    Adobe Security: none (change as needed)
    Adobe Output folder: Prompt for Adobe file name
    Adobe Page size: Letter (change as needed)
    Check the following check boxes
    View Adobe PDf Results,
    Add Document Information,
    Rely on system fonts only,
    Delete Log files for successful jobs.
    Select OK
    A pop will ask you where you want to save the document. The file extension should be PDF. After giving the file name select okay and the file should popup as a PDF. Down side is if you want to speaker notes included then you will have to do another file, like wise with just screen shots then combine into one PDF document.
    I used Acrobat IX Pro. So to do this you need Acrobat IX or X Pro.
    Hope this will help.
    Tiger26

  • Product: Officejet 6700. How do you fax a 2 sided document as one transmission?

    How do you fax a 2 sided document as one transmission instead of two separate transmissions on the HP Officejet 6700?

    Hello dsvictor8975,
    Welcome to the HP Support Forums!
    I understand you are looking to fax a two-sided document with the Officejet 6700 Premium. Unfortunately, this can not be done using the front panel of the printer.
    In order for you to do this you will need to use the Full Feature Software provided with the printer, that hopefully is installed on your computer.
    What is the Operating System installed on your computer, Windows or Mac?
    Once I know the Operating System I can look into the software steps to allow you to fax from the computer.
    Cheers,
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • How do you import songs onto an mp3 player

    How do you import songs onto an mp3 player?

    You would have to read the directions that came with your mp3 player.

  • How do you type directly on a document in Adobe 10?  I used to use the typewriter in Adobe 8

    How do you type directly on a document in Adobe X?  I used to use the typewriter function in Adobe 8, but I don't see that in Adobe X.

    It's now called "Add or edit text box".
    http://blogs.adobe.com/acrolaw/2011/01/where-is-the-typewriter-tool-in-acrobat-x/

  • How do you download itunes onto a hp with windows 8?

    How do you download itunes onto a hp with windows 8?

    iTunes does not yet offically and fully support Windows 8. If you search this forum for "windows 8", you'll find threads with discussions as to how people have done it, though in almost all cases with less than perfect results.
    Regards.

  • How do you upload pictures onto your computer?

    Slow steps please.. I'm new to this whole UPLOAD YOUR PHOTOS VIA USB thing.  Also, how do you download music onto your Nokia?  I got you put the USB into the computer but that's as far as I understand :/  Help please
    ~Faith

    So.. you are able to connect the Phone to your PC..
    Open Windows Explorer and browse for the photos in the Phone.. Copy / Paste to the required folder on your PC..
    You may also download the OVI Suite from..
    http://europe.nokia.com/support/download-software/nokia-ovi-suite
    and install on your PC.. Connect the phone to PC..Then in OVI Suite goto Photos and click on the small Phone Icon in the Bottom - Left window.. The photos in the phone will get displayed in the OVI Suite.. Right click on the photo and you should get an option for 'Copy to comuter'..
    --------------------------------------------------​--------------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

  • How do you export videos onto your computer

    How do you export videos onto y0our computer

    How to Transfer Photos from an iPad to a Computer
    http://www.wikihow.com/Transfer-Photos-from-an-iPad-to-a-Computer
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
     Cheers, Tom

  • How do you hook a MS Word document to a page in my Site?

    Hello there,
    I have several documents in MS Word that I would like visitors to be able to read them.
    How to link the documents, do they have to be in a certain place (ie data base) to be referenced?
    Thank you very much in advance.

    You can embed the Word document (also text, PDF and HTML documents) into an iWeb page with an iFrame code and an HTML snippet like in this demo page: Scrolling Text Box. The Word document is at the bottom.
    OT

  • "PC" user with new IPAD2 w/3G.  How do you add attachments (pictures, links, documents) when you are creating a new e-mail?

    Just recently purchased an IPHONE4 for myself and an IPAD2 w/3G (16 GB) for my wife.  Our provider is Verizon.  It's a struggle as we both have a lifetime of experience in the "windows" worlds.  It probably is something very obvious to users familiar with Apple's products but we need to know how, in creating a new e-mail, how do you attach an existing document, or photo or a link (for example, if I wanted to show the Google directions I looked up in Maps, how would I show this link in the new e-mail I'm creating? 
    I see when I'm in Camera Roll, I can touch the "curved arrow to the right" at the top which gives you a cafeteria of choices (Email Phote, Print, Copy Photo etc...).  Is this the only way to attach?  In other words you start from the attachment or link or photo and work towards the choices (email)?
    Further, on an existing e-mail received and you want to forward that e-mail on with comment, again, wanting to attach a photo to this forwarding e-mail...how do you do that?
    Just trying to fully understand the direction we need to go when wanting to do this.
    Appreciate your response!
    Thanks in advance!
    Regards,
    Jim (and Mary)

    Jim (and Mary)-
    Try this:  press both the Home and Sleep buttons at the same time.  That should take a screen shot of your maps.  Go to the Photos App and click on that screen shot.  Click on the right-turn arrow at the top of the page.  You will see options that include Email and to Copy.  Choose Copy.  Press the Home button and then the Mail App.  Press and hold where you want the photo to go in the message.
    When I tried this using the iPad's Maps App, the image pasted into the Email was larger than I expected.  If you are accessing Google Maps via Safari, you may be able to press and hold on the map, and choose to Save Image.  You can try it both ways to see if one is a better fit.
    Fred

  • How do you load movies onto ipod

    How do you pu movies fom your home onto your ipod?????

    You need to find an appropriate app for the format that the database needs. That app will likely use the File Sharing method of syncing to the iPod.

  • HELP how do you import videos onto itunes

    How can you import home videos onto itunes or any video that is not from the music store i can not find this info any where. It tells you that you need to convert your home video to sync with ipod but i can not even get it onto itunes.

    Try getting software like Cucusoft ipod video converter. It works really well, home movie's, films etc

  • How do you install CS5 onto a new computer without Time Machine/file transfer

    I'm not getting a new computer, but my current one is getting a little old (Macbook Pro V. 10.6.8) and I'm afraid it might crash if I download the newest Maverick system, which is why I want to make absolutely sure I'm able to save and transfer all my old files and CS5 Creative Suite programs if this indeed happens. I don't trust Time Machine to do it; my boss had this happen and Time Machine did not transfer the Adobe programs. I also don't want to rely on Time Machine and any other file transfer (which all new Macs offer) because I've had brand new computers crash because of old corrupt files from my old computer converting over, and the Apple people said it's a bad idea (which would have been nice to know BEFORE the computer crashed and everything. . .) I've been told you can only use the CD to install CS5 onto your computer twice, which I've already done (thanks to my brand new computer crashing once already). So I would like to know how it's possible to install the program onto a new computer should this one crash, without the use of file transfer or Time Machine. I have no interest in upgrading to CC.
    Thanks!

    Avoid using Time Machine for re-installing Adobe software. It rarely works and usually breaks the activation mechanism.
    I've been told you can only use the CD to install CS5 onto your computer twice,
    Not quite.
    You can install the software as many times as you like but you can only activate the software for use on a maximum of two computers at the same time.
    To re-install you will need your CS5 serial number.
    Download the installer from Download CS5 products
    Install then enter your serial number when prompted.

Maybe you are looking for

  • Problem downloading data in EXCEL from ALV

    Hi, I have lot of fields in ALV  (OO ALV). When I tried downloading the list the last few fields wrap (come beneath other fields). Is there any solution for this? Thanks and regards, Madhu

  • Document attribute ticked on InfoObject which is nav attribute

    Hi SDN Community, We have recently enhanced a query, by removing a natural characteristic Cost Centre Category ZCOBCAT that exists in an infocube, and replaced this with a characteristic which is a navigational attribute - CC Func Code ZCCFUNCCD. eg.

  • Add new field in me21n/me22n/me23n

    Hi everyone, Is it possible to add a field in the Additional Data tab in the PO header and append the field in the PO table(EKKO) also or should I add a new tab and place my new field in the new tab? Is it possible also to add the field using a user

  • PDF Generation - Server?

    Hi, Simple request (I hope). Do you need a dedicated server to generate PDF files or will a shared server environment be OK? Thoughts, comments, please. I can successfully generate Flashpaper files using a shared server environment, but the same code

  • Why is alternative text is still visible after an image is displayed (e.g., in Dropbox and Google mail)?

    When I go to my Dropbox page or my Google e-mail page, both the images for icons AND their alternative text is shown (I tried to upload two images illustrating this but the "Upload image" seems to have hung). I am using the lastest version of Firefox