Trying to make new text item in Pages 5.2 using Applescript

I am trying to upgrade(?) from Pages 3 to Pages 5 and have a script that used to make a new document with text boxes. Previous line was:
  make text box with properties {object text:receiptDD, vertical position:6.9, horizontal position:2.7, height:0.5, width:1, extra space:0}
Have the line changed to:
                              make new text item with properties {object text:receiptDD, position:{6.9, 2.7}, height:0.5, width:1}
but fails with error "Pages got an error: Don't know how to create TMAScriptInfoProxy" number -2763
Not sure where to go from here,  searched various forums but cannot find a solution, any guidance gratefully received.

Does your Photoshop menu bar have a 3D item? If not make sure you machine meets CC requirements and thatou GPU is enabled in you Photoshop preferences performance section

Similar Messages

  • Im trying to make an apple id do u haw to use a credit card number or no because i dont want to can someone tell me how i ca create one with out using it

    Im trying to make an apple id but dont want to use my credit card is there a way to make obe without using a credit card can some obe tell me

    If you only want the free apps, take a look here:
    http://support.apple.com/kb/HT2534
    Read the steps carefully as the order in which you follow them is  critical. Note that you can do this only when creating a new Apple ID. You cannot use an existing ID. 
    You will of course not be able to get anything other than the free content without entering in some sort of payment method (credit card, prepaid iTunes card, gift certificate, etc.)
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • How do I make New window open maximized the way it used to?

    How do I make New window open maximized the way it used to?

    { Ctrl + B } opens and closes the Bookmarks Sidebar.

  • Trying to create a text item with a scroll bar in Indesign 5.5

    Is there a simple way to create a scrollable text article in Indesign 5.5? It will later be exported to a SWF as a mini-flash web portfolio.
    I would appreciate any help.
    I'm new to Indesign.

    quote:
    Originally posted by:
    wildfire121
    Can someone please help. I am trying to create a text box
    with a working scroll bar that will scroll the text in the text
    box. Can someone please help me with this?
    Do you mean a text box people can type in (for a Web form
    entry) or one for displaying your content?
    If the first, then you use the textarea tag and scrollbars
    appear when the user types more lines that you specify. See the
    textarea
    description at W3Schools.
    If the second, then that's usually done in Flash, but can be
    done with CSS. See these two pages:
    Dynamic
    text with scrollbar (Flash)
    Textbox
    with scrollbar (CSS)

  • How to make form text item nullable?

    I created an Apex form using wizard.
    It had a text item which was not null column in database. Now I made the column nullable in database.
    However, in Apex form, it still refuses to accept any null value in that text item.
    Where do I need to change in form to make it nullable?
    Thanx

    Hi,
    Has the wizard created a not null validation for the column that was originally not null. Check validations and remove the entry.
    Regards
    Paul

  • Trying to make a text file of ITunes library

    I'm trying to make a list of my itunes library in any type of text file (word, notebook, notepad,etc). My ex sent me an old library this way just so that I could see what I already had at his place so I wouldn't duplicate things. How do I do this??

    In iTunes, use View > Options to show the fields you want to show. Then Edit > Select All, then Edit Copy.
    Open Word and use *Paste Special > Unformatted Text.*
    Try it first on a short playlist so you can see how it works.

  • Pages 09 Saving using applescript automatically makes a package

    I can manually save a document as a flat file, but when I run my applescript, it saves as a package, even though "Save new documents as packages" in the Preferences is unchecked.
    Is this the same issue as this thread? http://discussions.apple.com/thread.jspa?threadID=2141532&start=15&tstart=0

    OK, I am using Pages 09
    Here is a sample letter I want to save:
    Marcus Welby, M.D.
    666 Hemingway
    Kansas City, KS 66111
    Re: Joe Jones
    5/3/80
    Dear Dr. Welby:
    I appreciated the opportunity to see your patient in the office today
    Thank you very much for letting me help with the patient’s care.
    Sincerely,
    Dr. Doolittle
    Here is a sample from the script I run to save, print, organize my dictation for the day:
    --sets the date as a string yymmdd
    set theyear to (year of (current date)) - 2000
    if theyear < 10 then
    set theyear to "0" & theyear
    end if
    set themonth to (month of (current date) as integer)
    if themonth < 10 then
    set themonth to "0" & themonth
    end if
    set theday to (day of (current date) as integer)
    if theday < 10 then
    set theday to "0" & theday
    end if
    set datefolder to theyear & themonth & theday
    set datefolder to datefolder as string
    --gets the patient's name from the document (all my documents have "Re: patient's name" at the top of the page
    tell application "Pages"
    set newdoc to front document
    set AppleScript's text item delimiters to "Re: "
    set ptdoctext to text of newdoc as string
    set ptname to 1st paragraph of 2nd text item of ptdoctext
    set AppleScript's text item delimiters to ""
    --save the document in datefolder under ptname
    set filen to ":Users:[home folder]:Documents:Dictation:" & datefolder & ":" & ptname & ".pages" as string
    save newdoc in filen
    end tell
    If I run this script on the document, it saves as a package
    If I save the document manually, it saves as a flat file (because the preference to save as a package is not checked)
    It's not a big deal to save as a package, just takes up more disk space.
    Please try running the script on your system with Enregistrer les nouveax documents comme pacquets not checked. I bet it still saves as a package.
    Merci

  • Creating a new work item instance in a process using PAPI

    I'm seeing that there are a lot of questions on this forum about using Oracle BPM 10g's Java API called PAPI.
    I just uploaded a step by step document on how you could do this using JDeveloper 11. Here's the link to this document: http://www.4shared.com/file/126507332/e814a3a8/CallingPapi.html. The Oracle BPM project I used for this step-by-step document is also in this zip file. If you're curious, this also describes how to download, install and start JDeveloper 11.
    This is not formal Oracle documentation, but I know from teaching our Oracle BPM Bootcamp class that getting PAPI to work is sometimes a challenge and thought this might help. I tried to write it with the "Java Newbie" in mind so do not panic if you aren't an expert in Java (I'm sure not ?:| ).
    This is a simple example that uses most of the logic found in the PAPI documentation on http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi/index.html?t=modules/papi/c_Head_PAPI.html in the "Writing Your First Java PAPI Program" section of this document.
    The document provides a step-by-step description on how how to use PAPI to:
    <li> interface to processes running on an Oracle BPM Enterprise Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> interface to processes running on an Oracle BPM Studio Engine
    <li> list processes currently running on the Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> list the work item instances running on the Engine using the same logic that is in the Oracle BPM PAPI documentation
    <li> create a new work item instance in a process and pass in input argument variables to the new instance as it is created.
    Hope you find this useful,
    Dan

    Hi
    i have gone through your example. It gives good information how to connect to BPM engine through java papi client. I have followed exactly the same steps given in the PDF document. But it throws the exception on both java client side and BPM Suite.
    Steps followed :
    1. Import sampleproject.exp into Oracle BPM studio and start the BPM engine.
    2. Imported the fuegopapi-client.jar and Write the JAVA PIPA client to connect Oracle BPM Engine.
    complete example code:_
    import fuego.papi.CommunicationException;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import java.util.Properties;
    public class ProcessAPIClient {
         public static void main(String[] args) {
    /////////////////// API Initialization ///////////////////
    Properties configuration = new Properties();
    configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
    configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "directory.xml");
    configuration.setProperty(ProcessService.PROJECT_PATH, "C:\\Oracle\\OracleBPMWorkspace\\SampleProject" );
    configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
    try {
    ProcessService processService = ProcessService.create(configuration);
    /////////////////// Establish a session ///////////////////
    ProcessServiceSession session = processService.createSession("test", "test", null);
    /////////////////// Operate with PAPI ///////////////////
    for (String processId : session.processesGetIds()) {
    System.out.println("\n Process: " + processId);
    for (InstanceInfo instance : session.processGetInstances(processId)) {
    System.out.println(" -> " + instance.getId());
    /////////////////// Close the session ///////////////////
    session.close();
    /////////////////// Release API Resources ///////////////////
    processService.close();
    } catch (CommunicationException e) {
    System.out.println("Could not connect to Directory Service");
    e.printStackTrace();
    } catch (OperationException e) {
    System.out.println("Could not perform the requested operation");
    e.printStackTrace();
    It throws the following exception and output on java client._
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Could not enhance type with bytecode info: java.lang.NoSuchMethodError: org.apache.bcel.classfile.Method.getArgumentTypes()[Lorg/apache/bcel/generic/Type;
    Creating ProcessService with id 'SampleProject'.
    Local folder /tmp\system\Schema33871921573571055\catalogs found.
    Loading catalogs from local folder: /tmp\system\Schema33871921573571055\catalogs
    0 jars found locally.
    [CatalogMgrCache] =======================
    Registering CatalogMgr [SampleProject] ...CatalogManagerCache 23240993:
    Managers:
    Counters:
    [CatalogMgrCache] =======================
    CatalogMgr [SampleProject] REGISTERED!CatalogManagerCache 23240993:
    Managers:
    {SampleProject=fuego.util.LocalCatalogManager@40b187}
    Counters:
    ProcessService 'SampleProject' created successfully.
    Process: /SampleProcess#Default-1.0
    Unreachable Engine Tolerance (seconds):
    by default: 0
    to be used: 0
    This papi client will not cache exceptions which imply that an engine could not be reached.
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/MessageEOFException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at $Proxy24.<clinit>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at fuego.papi.impl.AbstractProcessControlHandler.newProxyInstance(AbstractProcessControlHandler.java:52)
         at fuego.papi.impl.rmi.RMIProcessControlHandler.createProxy(RMIProcessControlHandler.java:47)
         at fuego.papi.impl.rmi.RMIEngineAccessImpl.createProcessControl(RMIEngineAccessImpl.java:111)
         at fuego.papi.impl.ProcessServiceImpl.createProcessControl(ProcessServiceImpl.java:1082)
         at fuego.papi.impl.ProcessServiceSessionImpl$1.run(ProcessServiceSessionImpl.java:2698)
         at fuego.papi.impl.ProcessServiceImpl.executeEngineOp(ProcessServiceImpl.java:1675)
         at fuego.papi.impl.ProcessServiceSessionImpl.getProcessControl(ProcessServiceSessionImpl.java:2703)
         at fuego.papi.impl.ProcessServiceSessionImpl.processGetInstances(ProcessServiceSessionImpl.java:2365)
         at com.eds.comet.bpm.oracle.papi.client.ProcessAPIClient.main(ProcessAPIClient.java:30)
    Caused by: java.lang.ClassNotFoundException: javax.jms.MessageEOFException
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 16 more
    It throws the following exception and output on Oracle BPM Suite._
    Client 'Id=test, Name=test, In=1, Session=564242434' was not found in lists ', PARTICIPANTS' while disconnecting it.
    Please help me to resolve this. I noticed it is able to connect BPM engine and retrieve process list. But while getting instances, it throws the exceptions on both Java Client and BPM engine side.
    Thanks and Regards
    Mahesh

  • How to insert a new line item in VA01/VA02 by using ABAP code?

    Hi Gurus
    i have a very tough requirement. the customer wants to insert a free goods after an item has been populated in VA01/VA02 automatically according to some certain rules. the input material may be a main material of a sales BOM.
    for example. let's suppose there is a material A who has two sub-material B and C which is maintained in a sales BOM via CS01/CS02. when the material A has been input in the line item in VA01/VA02, its quantity input and after the ENTER key has been clicked, another material D may be displayed in a new line as a gift if the condition met.  the condition relates to customer/material/quanity and these information are stored in a Z-table.
    on the other hand, if the material A is only a single material(not a BOM), the gift(material D) will also be filled automatically if the condition met.
    i have already enhance the FM cs_bom_explosion to filfill the requirment for BOM materials. whereas it is very hard to find the enhanment point for the single material.
    so my question is where is the correct place for me to insert the ABAP code, which decides whether the gift should be given or not and furthermore inserts the new line item into XVBAP. i tried to use MV45AFZZ, whereas the data is always inconsistant if a new line has been inserted. it is very strange that there is no temperary internal table storing line item data input in the table controal of VA01/VA02. system reads the line item data , line by line, via a system kernal function call.
    any hints are welcome. thanks

    HI Stephen,
    I have the same prolem. I modified the 5 global tables, but I don't see the new line in the screen.
    Can you help me with some details?
    Thx!
    Mihaela

  • Add New line item from Quote to Contract using CRM_ORDER_MAINTAIN

    HI Gurus,
    I need to add a new line item with entire item details such as SALES PRICING etc in contract,
    i am confused like what are the parameters i need to pass to FM CRM ORDER MAINTAIN,
    Please help me on this regard.
    Thanks & regards.

    Experts,
    any luck i have please help me on the same.
    Thanks.

  • How to make a spot swatch with specific name by using AppleScript?

    Hi there,
    I am trying to create a script in AppleScript to make a new spot color swatch that must be the COLOR TYPE : SPOT (with specific values). I've got it to make a global process color but can't seem to make a spot swatch. I'm using the script below :
    tell application "Adobe Illustrator"
        set docColorSpace to color space of document 1
        if (docColorSpace is CMYK) then
            set SpotColor to {cyan:100.0, magenta:0, yellow:0.0, black:0.0}
        else
            set SpotColor to {red:0.0, green:174.0, blue:239.0}
        end if
        make new spot in document 1 with properties {name:"ADHESIVE", color:SpotColor}
    end tell
    I did find an entry in an old forum that did this using javascript, however, I am not experienced with this at all and have no idea what or how to use it on a mac platform. This script is listed below.
    #target illustrator
    var docRef = app.activeDocument;
    var newCMYK = new CMYKColor();
    newCMYK.cyan = 100;
    newCMYK.magenta = 0;
    newCMYK.yellow = 0;
    newCMYK.black = 0;
    var thisSpot = docRef.spots.add();
    thisSpot.name = 'ADHESIVE';
    thisSpot.color = newCMYK;
    thisSpot.colorType = ColorModel.SPOT;
    Any help would be greatly appreciated.
    Thank you!

    You are close but missing the last property listed in the JavaScript… It translates to… 'color type:spot color'
    tell application "Adobe Illustrator"
    set docColorSpace to color space of document 1
    if (docColorSpace is CMYK) then
    set SpotColor to {cyan:100.0, magenta:0, yellow:0.0, black:0.0}
    else
    set SpotColor to {red:0.0, green:174.0, blue:239.0}
    end if
    make new spot in document 1 with properties {name:"ADHESIVE", color:SpotColor, color type:spot color}
    end tell
    BTW… The use of JavaScript in the CS apps is more common because of its 'platform independence' There is a toolkit supplied along with the CS install.

  • How to make a text item appear in columns

    I have a form which is split into two blocks. The Block on the left hand side is a tree which causes data to appear in a block on the right when nodes of a certain type are selected.
    The data block on the right is a Tlist which comprises a number of data values that I am trying to concatenate to look as if it's one record (a bit like NT Explorer to look at).
    The problem is that as I am using a proportional font I cannot line up the various data into neat columns. I have tried using chr(9) between the data items but this wont work (because its a list item I think). It's not good enough to use (eg) courier new as our standard is MS Sans Serif.
    Any bright ideas on how to get round these problems?
    Thanks in advance
    Ian Martin

    Hai,
    If you want to hide the text box immediately when form is loaded, then write in the WHEN-NEW-FORM-INSTANCE Trigger.
    And no Need to set the ENABLED property to PROPERTY_FALSE, because, when u are hiding an item, its ENABLED, UPDATE_ALLOWED properties will be set to FALSE automatically.
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Trying to make new scan shortcut in HP Deskjet 2544 All-in-One

    Good morning,
    Because of a major computer crash I recently had to purchase a new computer and as a result I also had to buy a new Printer because my older Photosmart was not compatible with my new system.
    I now am using a HP Pavilion 23-g017c  (x64) AMD A6-5200 APU w/Radeon HD Graphics, running Windows 8.1 and using IE 11 with Zone Alarm Firewall and Antivirus& Spyware.
    My new printer is a HP Deskjet 2544 All-in-One.
    I am trying to see if there is any way I can add a new shortcut to my scanning options which will enable me to scan a document to my computer besides the two options available now (PDF and TIF).
    I would like to be able to scan directly into my Microsoft Office 2013 Word program if possible.
    The reason being is because I find it easier to edit and then print from my Word program than a PDF program.
    Is this possible?
    Thanks and regards,
    2harts4ever
    This question was solved.
    View Solution.

    Hi @thefewtheproud
    I have done some research, and it turns out you are not likely doing anything wrong. I downloaded the software for this printer, and it seems that the version 32 software has omitted the ability to save your document files as anything other than PDF or TIFF.
    With the older software, the solution I posted above would have worked, but I feel like our software has taken a step back instead of forward. The only solution I can think of at this point is not ideal, but is doable. You could download a file converter, save your files as PDF then convert them.
    I even tried saving a scan as a PDF, then opening it with different programs and saving it using 'Save As" and changing the file type there. I chose .txt , but then when I open it in Word or a text program, the formatting is lost.
    Basically, the only think I can suggests is a conversion program. I am sorry I misinformed you in my first post, this was an oversight on my part, I forgot that the version 32 software was different from the older versions.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How to add a new text item in PO items' Item Texts

    Dear All,
    In IDES a standard PO, there are 5 items texts under Items of PO:
    Item text, info record PO text, Material PO text, Delivery Text ,info record note.
    Here we got a requiremnt, it need adds a new item as abvoce.
    How can it be done?
    Any configuration guide?
    Thank you in adv.
    Regards,
    James

    Check at this node
    SPRO: MM > Purchasing > Purchase order > Texts for Purchase orders > Define Text types for Item Texts
    this is for ECC 6.0 , In IDES it may differ

  • How to make scanned text editable in Pages?

    My scanner (Canon 9000F) will convert a document to an rtf file but when I drag it to Pages the text layout fragments into an unusable mess. Is there OCR software that works easily and well with Pages? Any other suggestions? Basically I want to scan documents, import into Pages, keep the text layout and be able to edit the text. Thanks!!

    Probably your scanner's OCR is adding spaces and returns in odd places, at the ends of lines in the original for example.
    It is not Pages that is messing with the text, it is the text that is a mess. You need to clean it up.
    There is software to do this such as TextSoap.
    Depending if there is a pattern to what the OCR has done you can also fix it by doing a series of Search and Replaces for for example multiple returns, spaces and tabs. There is also a procedure for fixing linebreak errors as well, but you have to look at what is in the text to work out how to fix it.
    To see what is going on Menu > View > Show Invisibles
    Peter

Maybe you are looking for