Applescript beginner help

Hi
I am a new to applescript. I thought making a mini game using applescript might be a good starter. I know some of the basic commands.
Anyway, I thought of creating a mini game that generates a random number and then asks the user a basic mathmatical question regarding that number. Here is my script:
display alert "Lets play The random number game"
say "generating random number between 10 and 20" using "zarvox"
set firstVariable to random number from 10 to 20
display alert firstVariable
set Num1 to 42 - firstVariable
set answer1 to text returned of (display dialog "First question - 42 - random number" default answer (0))
if answer1 is Num1 then
          display alert "You are correct"
else
          display alert "You are incorret"
end if
end
When the user types in the correct answer an alert box should come up saying: You are correct. Instead is says: Your are incorrect. I
don't know where I have gone wrong. I have tried different things but still no go.
As I said, I am new to applescript I just created this basic script so I can practice managing inputs from the user. If someone can help me that
would be great.

Use the following line:
if (answer1 as number) is Num1 then
(95182)

Similar Messages

  • How can I write an AppleScript to help organise my emails better?

    Hello,
    I have a situation that I think would be best solved with the use of AppleScript, however I have never programmed with it before. I've tried reading lots of sample code that does similar things, and playing around with the language, but I think it's time to ask for help!
    (If there happens to be a good way to do this without AppleScript, I would be grateful to hear of it!)
    _My problem is this:_
    I have lots of email accounts, and I take great care to keep everything on my computer very well organised. I have many many Mail rules set up to organise my incoming mail into relevant folders on my Mac so that they are not only arranged relevant to their content, but also backed-up offline.
    Since purchasing an iPhone last year, I have sought to make the mail integration between my phone and my computer as seamless as possible. I first changed all my accounts to use IMAP instead of POP so that when I read messages on one device it shows as read on the other. This was extremely handy, but when my Mac moved emails into folders on my Mac it removed them from the server so that I couldn't view them on my iPhone.
    I got around this by changing the rule actions to copy messages rather than move them, but now every time I get an email both copies remain marked as unread. This may be a rather trivial problem, but I receive a lot of emails and it is quite frustrating to have to click both copies to remove its "unread" status.
    Although I am aware that you can use a rule action to mark a message as read, this marks both copies as read. What would be nice would be a rule condition that specified all the messages in a given folder... oh well!
    The solution I have been working on for the last couple of days involves creating an end rule that runs a piece of AppleScript. This script would select all the mailbox folders on my Mac with unread mail, and mark them as read. This isn't impossible, right? I really ought to properly sit down and learn the language, but I don't have any spare time, and I'm already trying to learn obj-c and cocoa!
    Thanks for taking the time to read this.
    Stuart

    Do you mean like this? Run this and tell me if this is what you want.
    Just make sure you plug in your email address and the signature names in the sigList
    set senderList to {"<[email protected]>", "<[email protected]>"}
    set sigList to {"gmail sig", "icloud sig"}
    set fromSender to (choose from list senderList with prompt "Choose a Sender" OK button name "This Sender" cancel button name "Abort" empty selection allowed 0 without multiple selections allowed)
    if result = false then
              return
    else
              set fromSender to result as text
    end if
    set sig to (choose from list sigList with prompt "Choose a Sginature" OK button name "This Signature" cancel button name "Abort" empty selection allowed 0 without multiple selections allowed)
    if result = false then
              return
    else
              set sig to result as text
    end if
    tell application "Mail"
      activate
              set newMSG to make new outgoing message with properties {sender:fromSender, visible:true}
              set message signature of newMSG to signature sig
    end tell

  • Beginner help with splash of color in a black and white photo

    Hi there.  I just perchased the Photoshop Elements 7.  I have a picture of my niece who has beautiful blue eyes and I want to make it black and white and them leave her eyes there beautiful blue??  Can anyone give me step by step instructions on how to do this?  I have search all over and the answers I can across where way to complex for my new beginner knowledge. Also I have another photo of the same niece with  her prom dress on that I would like to leave her eye color alone and dress, but the rest in black and white.   I would appreciate any help anyone can give me.  I am so lost with this program at the moment.  Thank you so much!!

    There are several ways to do it. One way which is really flexible is to add a Hue/Saturation layer over your image. Reduce the Saturation in this dialog to -100 to remove all of the color. Grab your paint brush and set the color to black. With the Hue/Saturation layer selected, paint over the eyes to reveal the color of her eyes.
    A couple of tricks to go with this.
    You can blur the mask to soften/feather the edges after you paint if needed.
    If you need to firm up the edges, use levels on the mask...ctrl L.
    If you want to mix your own black and white effect, you can use the drop down box in the Hue/Saturation dialog box to reduce each individual color channel's Saturation to -100 (instead of the master which effects the overall); then tune your effect by adjusting the individual color's lightness values. You can also adjust Hue values if desired.

  • AppleScript Editor help. How to make a script help.

    I'm trying to make an AppleScript that will automatically perform and action then close a window.  Every hour or so a window for an application pops up and I have to click on a button then close the window.  (And yes, this window is important for me so it must continue to happen.)  I'm wondering if there is a script I can make so that when this particular window pops up, it clicks the button, then closes the window?  Also, the window pops up basically at random, I can't force it to pop up.  Any help would be greatly appreciated. 

    what is the window that pops up, and what application or process is popping it up?  there's no general solution to this problem, so details are important.

  • CALCULATOR DIALOG: Converting Result Field (beginner, help requested)

    Hi,
    I am a beginner in ABAP/4 programming.
    I have been trying to create a calculator dialog.
    However, one of the problems that i've run into is that my result field (shows the output numbers) is defined as type p decimals 5. Thus, if you enter 2, then 5, you get the following result --> 2.000005, with the the five not being shown,
    Instead, i'd like the result to be 25.00000  and so on if adding any numbers(for example, if 4 was then added, the result would be 254.00000)
    How would i change the code to make this possible?
    You can view the source code below:
    PROGRAM zdcal .
    DATA: ok_code(4) TYPE c,
          result TYPE P DECIMALS 5,        " SCREEN OUTPUT
          result_but(15) TYPE c,
          result_temp(15) TYPE c,
          result1(15) TYPE c,
          operator LIKE sy-ucomm,
          result_conc(15) TYPE c.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'CALCULATOR'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'B1'.
          result_but = 1.
        WHEN 'B2'.
          result_but = 2.
        WHEN 'B3'.
          result_but = 3.
        WHEN 'B4'.
          result_but = 4.
        WHEN 'B5'.
          result_but = 5.
        WHEN 'B6'.
          result_but = 6.
        WHEN 'B7'.
          result_but = 7.
        WHEN 'B8'.
          result_but = 8.
        WHEN 'B9'.
          result_but = 9.
        WHEN 'B0'.
          result_but = 0.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'BCL'.
          CLEAR: result,
                 result_temp,
                 result_but,
                 result1,
                 result_conc.
        WHEN 'OE'.
        WHEN OTHERS.
      ENDCASE.
      IF ok_code(1) = 'B'.
        IF result_temp <> 0.
          result_temp = result.
         if operator <> space and result1 = space.
         endif.
          SHIFT result_temp LEFT DELETING LEADING space.
          SHIFT result_but LEFT DELETING LEADING space.
          CONCATENATE result_temp result_but INTO result_temp.
          CONDENSE result_temp.
    Condense: Shifts the content of the field c to the left, so that
    sequences of blanks are reduced to exactly one blank. Leading blanks
    are removed, as are trailing blanks in string type fields.
        ELSE.
          result_temp = result_but.
        ENDIF.
    Retain value of first entry
        IF result_temp > 0.
          result = result_temp.
        ENDIF.
      ELSEIF ok_code(1) = 'O'.
        operator = ok_code.
        result1 = result.
        CLEAR:
        result_temp,
        result_but.
      ELSEIF ok_code(2) = 'EQ'.
        IF operator <> space.
          CASE operator.
            WHEN 'OA'.
              result = result1 + result.
            WHEN 'OS'.
              result = result1 - result.
            WHEN 'OD'.
              result = result1 / result.
            WHEN 'OM'.
              result = result1 * result.
          ENDCASE.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Any help will be greatly appreciated. Source code examples are welcome as well.
    Thank You,
    John
    Message was edited by:
            John Damion

    Assuming that result = 2 when you do this:
    result_temp = result.
    you get result_temp = '2.00000', not '2' as you might expect. Hence if you convert 2 and 5 from type P with 5 decimals to type C and then concatenate you get '2.000005.00000', not '25'. If you want to get '25' try converting type P into type I and then into C.
    Also not sure what you are trying to achieve exactly but if you want to accept only integer numbers (such as 2 or 5) and to provide the result with decimals, simply define input variables as type I and only the result as type P.
    Hope this helps.

  • Some Beginner Help

    Im a beginner, whose just installed SDK ...Version 1.3_02
    Some How , I cant my first Hello World Program to compile ....
    It gives me one error that says "Cannot read app.java" where app.java is my program
    after i perform c:\jdk1.3.0_2\bin\javac app.java
    The Code reads as
    public class app
         public static void main(String[] args)
              System.out.println("Hello World");
    }Please Help !!!

    thanks ...it worked ......!!!!!
    No problem
    but , however my prog doesn't run if java.exe is not
    in the same folder ....
    See a previous post about setting your system PATH (not classpath). Or see the installations instructions, #5 (I think).
    i also set the classpath variable for that purpose
    ...but didn't help!Classpath WILL NOT HELP your system find java.exe. The PATH setting is what you need.

  • Applescript beginner here: Opening files

    I'm progressing slowly. One area I am stuck on is file operations. Part of my current effort is to write a script to go like this:
    Launch Adobe Photoshop CS3
    Do File New
    Automatically Press OK button in resulting dialog box
    Paste into Photoshop the contents of the clipboard
    Seems simple, by I am flummoxed in getting Photoshop (or any application) to select menu items. I have seen no info on that, and even if there was a scriptable dictionery item for Photoshop filehandling, I can't yet decipher the syntax in dictioneries. For example:
    "move v : Move object(s) to a new location
    move specifier : the object(s) to move
    to location specifier : the new location for the object(s)
    → specifier : to the object(s) after they have been moved" ?????
    Therefore, can anyone suggest a script that would do the bit in bold type above;
    And, can anyone recommend a book for absolute beginners in Applescript (Dummies, Applescript for Applications: Visual quickstart Guide (2001 !)
    Thanks for any help.

    The reference was for GUI scripting, which requires that the System Preferences > Universal Access > Enable access for assistive devices option be turned on.  The following script includes a handler to make sure that GUI scripting is enabled, in addition to a menu click handler that is a bit more robust than the one linked to earlier.
    on run -- example
        if not enableGUIScripting() then error number -128 -- cancel
        clickMenu at {"AppleScript Editor", "Edit", "Find", "Find"} -- matches "Find…"
    end run
    on enableGUIScripting()
        try
            if (system attribute "sysv") < 4138 then display dialog "This script requires the installation of Mac OS X 10.3 or higher." buttons {"Cancel"} default button 1 with icon 2
            tell application "System Events" to if not UI elements enabled then
                tell me
                    activate
                    display dialog "This script requires the use of the User Interface Scripting architecture of Mac OS X, which is currently disabled." & return & return & "Do you wish to enable GUI Scripting now? (You may be asked to authenticate.)" buttons {"Cancel", "Enable"} default button 2 with icon 2
                end tell
                set UI elements enabled to true
                if not UI elements enabled then error "enableGUIScripting handler:  UI scripting not enabled"
            end if
            return true
        on error errorMessage number errorNumber
            log errorMessage
            -- error errorMessage number errorNumber -- uncomment to pass error up the chain
            return false
        end try
    end enableGUIScripting
    to clickMenu at menuItems
        click an active menu item in an application (the application will be activated)
        the number of menu items is not fixed, but must be at least 3 (application, menu, item)
        the last menu item doesn't need to be exact, just close enough for a match
        menu items can also be integer indexes - note that separators are counted
            parameters:            menuItems [list] -
                                      item 1 [text]: the application name
                                      item 2 [text]: the menu bar item name
                                      item(s) 3+ [text or integer]: the menu item(s)
            returns [boolean]:     true if successful
        try
            set itemCount to the count of the items in menuItems
            if itemCount is less than 3 then error "clickMenu handler:  menu item list contains too few items"
            set {appName, menuName} to items 1 thru 2 of menuItems
            set {menuItem, found} to {last item of menuItems, false}
            tell application appName to activate
            tell application "System Events" -- set up the menu path
                set appName to (name of application processes whose frontmost is true) as text -- for different process name
                set myMenu to menu menuName of menu bar item menuName of menu bar 1 of application process appName
                if itemCount is greater than 3 then -- process any sub menu items
                    repeat with myItem from 3 to (itemCount - 1)
                        set menuName to item myItem of menuItems
                        if class of menuName is integer then -- get item at index
                            set menuName to item menuName of (get name of menu items of myMenu)
                        end if
                        set myMenu to menu menuName of menu item menuName of myMenu
                    end repeat
                end if
                if class of menuItem is not integer then -- try to find a match for the last item
                    repeat with myItem in (get name of menu items of myMenu)
                        if myItem contains menuItem then -- can also use 'begins with', etc
                            set {menuItem, found} to {myItem, true}
                            exit repeat
                        end if
                    end repeat
                    if not found then error "clickMenu handler:  menu item " & quoted form of menuItem & " not found"
                end if
                if (enabled of menu item menuItem of myMenu) then -- or other desired property
                    click menu item menuItem of myMenu
                    return true
                end if
                return false -- menu item not clicked
            end tell
        on error errorMessage number errorNumber
            log errorMessage
            -- error errorMessage number errorNumber -- uncomment to pass error up the chain
            return false
        end try
    end clickMenu
    Edit:  haven't been able to figure out how to make the forum keep my formatting, so hopefully the script is readable (it looks better after pasting in the AppleScript Editor).

  • Beginner help to send an email from PHP

    I hope this isn't too easy to answer - I think I must be doing something fairly simple wrong.
    I want to send an email from a PHP page, using SOAP so the mail appears in the sender's sent items, as if it was done in the usual way.
    We're using Groupwise 8.02
    Using the example code in phpClient/phpClient.php I have got a list of folders/emails in my mailbox, so the authentication and access to Groupwise is obviously working. However, in that file there isn't a send mail example, so I copied the one from phpSOAP/client.php and it doesn't work.....the error seems to be 59920 which might be something to do with the session missing, but I find this hard to believe since the folders can be retrieved with the same object.
    Here is the code for mail sending I'm using:
    $mail = new Mail();
    $mail->subject = "php item";
    $dist = new Distribution();
    $from = new From();
    $from->displayName = "Paul Green";
    $from->email = "[email protected]";
    $dist->from = "[email protected]";;
    $dist->to = "Paul Green";
    $rlist = new RecipientList();
    $recip1 = new Recipient();
    $recip1->displayName = "Peter";
    $recip1->email = "[email protected]";
    $recip2 = new Recipient();
    $recip2->displayName = "Andy";
    $recip2->email = "[email protected]";
    $rlist->recipient = array ($recip1, $recip2);
    $dist->recipients = $rlist;
    $mail->distribution = $dist;
    $mp = new MessagePart();
    $mp->_ = "This is a test!";
    $mb = new MessageBody();
    $mb->part = $mp;
    $mail->message = $mb;
    $sir = new sendItemRequest();
    $sir->item = $mail;
    $sires = $gwservice->sendItemRequest($sir);
    Looking around, it seems to me that some of the objects haven't got the properties that the above code expects (eg the from object), so is the schema wrong somewhere?
    What I would like, but couldn't find, is some simple example code that works!
    Does anyone know the simplest way to send an email via SOAP?
    Many thanks in advance for any help anyone can give.
    Paul Green
    Barton Peveril College
    Eastleigh
    Hampshire
    UK

    The phpClient code was a proof of concept.
    I only hand fixed a few of the requests.
    If you use that code, you will need to go into each
    request you want to use and put in code to put in the
    session string. You need to do that in GroupWiseService.php.
    You may need to modify the individual files, ie Filter.php.
    The phpSOAP code works better / easier. You shouldn't have
    to modify that code. (You should be able to just use it.)
    That said, I only did a spot check. The code is as is. There
    is no support for it.
    Preston
    >>> On Friday, June 29, 2012 at 9:56 AM,
    PaulGreen77<[email protected]> wrote:
    > Thanks for the suggestions. I tried the phpClient code you suggested,
    > but it didn't work at all. I don't quite understand what you say about
    > setting the session header string; I think my code does this already.
    >
    > Early on in the code, after logging in, I have the following line
    > $gwservice‑>session = $lres['session'];
    > Doesn't this set the session as part of the Groupwise service?
    >
    > You said I need to manually set the session header string, but which
    > objects do i need to do it in? And can I do it as a parameter call, or
    > does it need to be done in GroupwiseService.php?
    >
    > I hope this doesn't make me sound too silly, but I am a bit of a novice
    > with OO programming!
    >
    > Another point: at various places in the code,
    > http://schemas.novell.com/2005/01/Gr...groupwise.wsdl is referred
    > to, but when I type this into a web browser, it says it can't be found?
    > Does this matter?
    >
    > I hope you can help me a bit further!
    >
    > Thanks.
    >
    > Paul
    >
    > Preston Stephenson;2203363 Wrote:
    >> If you can use php 3.x, use the phpSOAP example instead.
    >> ftp://sdk.provo.novell.com/ndk/gwsoa...rm/phpSOAP.ZIP
    >>
    >> It will handle setting the session string header automatically.
    >> If you use the phpClient example, you will have to go in to
    >> GroupwiseService.php
    >> and manually set the session header string in each request you want to
    >> use.
    >> See getFolderListRequest().
    >>
    >> Preston
    >>
    >> >>> On Friday, June 22, 2012 at 9:56 AM,
    >> PaulGreen77<PaulGreen77@no‑mx.forums.novell.com> wrote:
    >>
    >> > I hope this isn't too easy to answer ‑ I think I must be doing
    >> something
    >> > fairly simple wrong.
    >> > I want to send an email from a PHP page, using SOAP so the mail
    >> appears
    >> > in the sender's sent items, as if it was done in the usual way.
    >> > We're using Groupwise 8.02
    >> >
    >> > Using the example code in phpClient/phpClient.php I have got a list
    >> of
    >> > folders/emails in my mailbox, so the authentication and access to
    >> > Groupwise is obviously working. However, in that file there isn't a
    >> send
    >> > mail example, so I copied the one from phpSOAP/client.php and it
    >> doesn't
    >> > work.....the error seems to be 59920 which might be something to do
    >> with
    >> > the session missing, but I find this hard to believe since the
    >> folders
    >> > can be retrieved with the same object.
    >> >
    >> > Here is the code for mail sending I'm using:
    >> >
    >> > $mail = new Mail();
    >> > $mail‑>subject = "php item";
    >> > $dist = new Distribution();
    >> > $from = new From();
    >> > $from‑>displayName = "Paul Green";
    >> > $from‑>email = "[email protected]";
    >> > $dist‑>from = "[email protected]";;
    >> > $dist‑>to = "Paul Green";
    >> > $rlist = new RecipientList();
    >> > $recip1 = new Recipient();
    >> > $recip1‑>displayName = "Peter";
    >> > $recip1‑>email = "[email protected]";
    >> > $recip2 = new Recipient();
    >> > $recip2‑>displayName = "Andy";
    >> > $recip2‑>email = "[email protected]";
    >> > $rlist‑>recipient = array ($recip1, $recip2);
    >> > $dist‑>recipients = $rlist;
    >> > $mail‑>distribution = $dist;
    >> > $mp = new MessagePart();
    >> > $mp‑>_ = "This is a test!";
    >> > $mb = new MessageBody();
    >> > $mb‑>part = $mp;
    >> > $mail‑>message = $mb;
    >> > $sir = new sendItemRequest();
    >> > $sir‑>item = $mail;
    >> > $sires = $gwservice‑>sendItemRequest($sir);
    >> >
    >> > Looking around, it seems to me that some of the objects haven't got
    >> the
    >> > properties that the above code expects (eg the from object), so is
    >> the
    >> > schema wrong somewhere?
    >> > What I would like, but couldn't find, is some simple example code
    >> that
    >> > works!
    >> > Does anyone know the simplest way to send an email via SOAP?
    >> >
    >> > Many thanks in advance for any help anyone can give.
    >> >
    >> > Paul Green
    >> > Barton Peveril College
    >> > Eastleigh
    >> > Hampshire
    >> > UK

  • Import package does not work - beginner help

    Hi, I'm a beginner with java. I just trying to figure out how to use packages. I followed everything in the tutorial, but I can't figure out why my simple example does not work.
    I made the following directories three, for the sake of the example.
    in /home/username/Desktop I created a directory named it
    inside it I created prove
    inside prove I created test1 and test2
    Inside test1 I created the following sample class:
    package it.prove.test1;
    public class HelloWorld
         private String message;
         public HelloWorld(String message)
              this.message = message;
         public String getMessage()
              return this.message;
    }in the directory test2 I created this other one:
    package it.prove.test2;
    import it.prove.test1.HelloWorld;
    public class HelloWorldProgram
         public static void main(String[] args)
              HelloWorld hw = new HelloWorld("Guten Tag, Welt!");
              System.out.println(hw.getMessage());
    }So now I have this three:
    it
    it/prove
    it/prove/test1, it/prove/test2
    As I said in test1 there is HelloWorld.java and in test2 HelloWorldProgram.java.
    When I compile HelloWorld.java, it worked fine.
    When I try to compile HelloWorldProgram.java, the compiler says that cannot find package it.prove.test1..
    Why that? What did I make wrong?
    Sorry both for my bad english (it is not my first language) and for the really trivial question (I'm a really beginner).
    Tnx to whoever will help

    Assuming you are running on Windows here.
    Packages are directly tied to the classpath. Before java can find the it.prove.test1 package, it needs to be a part of the classpath. To make this possible, you need to add the root of the path, where the 'it' directory is in, to the classpath, like this:
    javac -cp .;/home/username/Desktop file.java
    the -cp switch tells java which classpath to use; it consists of two elements:
    . = current directory
    /home/username/Desktop = the directory containing the 'it' package root
    When run like this, it should work. The same goes for running the code, you would run it like this:
    java -cp .;/home/username/Desktop it.prove.test2.HelloWorldProgram
    Hope that gives you the hints you need.

  • [Beginner] Help! How to change the packet name for an jax-rpc example

    Hi
    I am new to the JWSDP, I tried to build and deploy the helloservice application (the example in
    tutorial), it works fine. But I want to change the packet name from helloservice to books, it
    returns error message during the building process.
    Here is what I did.
    I changed the folder name from helloservice to books.
    In helloIF.java and helloImp1.java, changed to "package books"
    In build.properties:
    example=books
    war.path=${tut.root}/examples/jaxrpc/books/${dist}/${deployable.war}
    context.path=${hello.context}
    portable.war=${context.path}-portable.war
    deployable.war=${context.path}.war
    In jaxrpc-ri.xml,
    <?xml version="1.0" encoding="UTF-8"?>
    <webServices
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
    version="1.0"
    targetNamespaceBase="urn:foo"
    typeNamespaceBase="urn:foo"
    urlPatternBase="/ws">
    <endpoint
    name="MyHello"
    displayName="HelloWorld Service"
    description="A simple web service"
    interface="books.HelloIF"
    model="/WEB-INF/model.gz"
    implementation="books.HelloImpl"/>
    <endpointMapping
    endpointName="MyHello"
    urlPattern="/hello"/>
    </webServices>
    In config-interface.xml,
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service
    name="MyHelloservice"
    targetNamespace="urn:foo"
    typeNamespace="urn:foo"
    packageName="books">
    <interface name="books.HelloIF"/>
    </service>
    </configuration>
    When I run "ant build", it returns the following error message:
    run-wscompile:
    [echo] Running wscompile:
    [echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat -define -d bui
    ld -nd build -classpath build config-interface.xml -model build/mo
    del.gz
    [exec] error parsing configuration file: XML parsing error: com.sun.xml.rpc
    .sp.ParseException:1: com.sun.xml.rpc.sp/P-067
    [exec] Result: 1
    All I want to do is just change the packet name, anyone know how to do it?
    Please help me.
    Thank you.

    For future reference, please post JAXRPC related questions to [email protected]
    There is something syntatically wrong with your config.xml. Try reverting back to the original, and try that. Then try modifying it again making sure to only change the packageName.

  • Applescript programers help!

    Every week i get a new vocabulary list to study for and i make flashcards on www.flashcardexchange.com. The process is i open image capture, select Document ADF tray, scan to desktop. Then i open it using acrobat (NOT current default PDF viewer)scan to OCR (using acrobat 8 pro). Then i open safari and go to flashcardexchange.com, log in, click make new flashcards, type in for all forms "Week * Vocab" (* meaning week it is) and click go. then i copy and paste the words (10 words) on the left side with the defenition on the other side, hit go, quit safari, then delete the file on my dekstop. If anybody could write a script to do that i will be VERY impresses and VERY greatful.

    I don't think there's any way anyone can write that script for you without some of the components.
    A lot of AppleScript development is going to be trial and error, and without all the components to test it will be a long, lengthy process to iterate through the various steps.
    That's especially true of the web form element - unless someone can log into that web site to see the forms in question that's going to be especially hard to automate.

  • WD ABAP:  Need beginner help on TREE UI ELEMENT

    Hi all,
    I'm struggling with the Tree element in Webdynpro (ABAP!).
    Can anyone provide me with a help/tutorial/examplecode on how to correctly bind a tree to context, and how to fill the context
    I have an IT with a field (int) that descibes on what level the item has to go into the Tree.
    i hope i can use this to populate the context
    example IT:
    0 my cars
    1 trucks
    2 red Dodge
    2 blue RangeRover
    1 sportscars
    2 red ferrai
    2 blue porsche

    Tina,
    This is indeed what i needed.
    Thank you!
    point awarded
    Joris Bots
    PS.
    Here a link to the document described by Tina:
    <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf</a>
    Message was edited by: Joris Bots

  • CS3 Beginner help - Overlapping?

    I'm new to Illustrator and I'm sorry if this is a silly question but I've tried all sorts of things and I just can't work it out.  I'm wondering how you partly remove the overlap of an object on another object.  I'm thinking it has something to do with Pathfinder but for the life of me I can't make it do it correctly.  I've attached a file to show what I mean.  What I would to do it work out how to make the top group look like the bottom group (as in each object overlapping another in one area but under another object in another area).  I can do it by cheating, as shown in the bottom group, but I figure there must be a way to do it properly.
    Any help would be appreciated.  Oh, and I'm using Illustrator CS3.
    Thanks

    I don't seem to have a Minus Front - only a Minus Back.  I've tried everything I can find on the Pathfinder tool bar but nothing seems to work.  It obviously must but I must be doing something wrong.  I've done a picture of the item.  Square was created first, then circle, then star, but I want to know how to get the top edge of the star to go under the square like it does in the second picture (which I faked).  Hope the pictures show ok.

  • ABAP beginner HELP

    Hi all,
             Well, I am planning to migrate to SAP. Since I have much experience in software development I thought of exploring SAP ABAP. To use it I planned to download SAP Netweaver trial version and registered at SAP.com but now I am pretty confused to download exactly what? and any useful links for me to begin with.
    Thanks
    -Rehgrds

    Hi Saad,
    the SAP NetWeaver ABAP Trial Version at [http://www.sdn.sap.com/irj/scn/downloads] is a good place to start. You do not need ECC to practise ABAP.
    The associated pages give you plenty of information on what the hardware requirements are and how to install it.
    There is also plenty of stuff in the eLearning and the Wiki to get you going as well as plenty of books available if your budget allows.
    As a beginner there is one thing I think you should be aware of. ABAP is a very old language that has been evolving for decades. It is SAPs strategy to make the ABAP language as backwards-compatible as possible. This means that language constructs that are 20 years old are still supported in the language alongside the latest language enhancements such as regular expressions, chaining of method calls, etc. For a newbie this mix of old and new can be at least distracting and at worst confusing.
    Take your time to understand the old and the new to really appreciate ABAP.
    Cheers
    Graham Robbo

  • Need some beginner help on formatting and images

    Just getting started with ID so am going through the learning process and could use a little help getting past some of the road bumps.
    Are ID character and paragraph styles similar in use and effect as those in Word? In other words, are there important differences in when to use text styles and paragraph styles? Do they cascade? Did I make a mistake by setting up two styles, one character and one paragraph, and applying them to a paragraph? Is there a good practice anywhere where you don't use a paragraph style to set character styling but instead use a character style and a paragraph style together?
    Get the idea? I'm looking for sort of an ID styling 101.
    Thanks in advance
    Tom

    No Style is not a style. It is a lack of style. It exists in the list of
    styles because there has to be something there to choose from when you
    choose to base a style on nothing, or when you want to *not* apply a
    paragraph style to a paragraph. When you don't want any style, you want
    no style (hence the name). The only time I deliberately apply No Style
    to a paragraph is when I want to "lock down" the formatting so that it
    won't change if I change a style (because No Style has no definition to
    change).
    Basic Paragraph is a special style that can't be deleted from the list
    of styles. For my books, I like to make a text style, give it a name
    like "text", and then base everything on that. As far as I can tell, the
    danger in basing everything on Basic Paragraph is simply that you may
    have it defined differently in another document and if you copy material
    from one document to another, everything will change (because everything
    is based on Basic Paragraph and Basic Paragraph is defined differently).
    Again, as far as I can tell, this is no different than having two
    documents, both basing everything on a style called "text" and defining
    "text" differently in those two documents. Either way, if you copy
    styled text from one document to another, you may see changes if the
    style exists in both documents and is defined differently.
    Your particular workflow depends mostly on the people you're working
    with. It's certainly possible to set up a Word template containing all
    the styles your writers will need and then tell them to use them. Then
    you won't have to do anything except Place the Word file. My experience,
    though, is that 99% of Word users don't even know styles exist, so this
    may require some education...
    In my workflow, I almost always get Word files after they've been
    written (and usually formatted to death). I Place Word files, keeping
    formatting, and then search and replace the formatting that I want to
    keep for styles and then select all and Clear Overrides. This way I get
    to keep the author's hard work but dump all the garbage the author
    introduced.
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

Maybe you are looking for

  • Weird separator (cursor line) in tabs and bookmarks toolbar

    Hi, after installing firefox I got some weird cursor lines in the tabs and in the bookmarks toolbar and its kind of annoying

  • Auto add js in header

    I write customtag for form vodation now i can use code suggesion As <input type="text" name="ftext" test="email"> <input type="text" name="fphone" test="phone"> but it use include javascript for cheack input'value format how to auto add javascript li

  • Installing 10g client on windows7 64 bit. ( 11g r2 already installed)

    I am a fiscal auditor auditing data on databases with hundreds of millions rows. So not a professional database expert. I have Oracle 11.2.0.1.0 installed on Windows 7 64 bit ultimate I want to import data from warehouse which has Oracle 10.2.0.4.0 i

  • Excise Duty Scenario

    Good Morning all, Can anyone please explain the process of accounting excise invoice in business one.  I don't have any knowledge relates to excise process.  I can setup the tax codes and its combinations in business one.  I need help in which docume

  • Patch for OAS 4.07 with NT SP4

    Hi all, Can anyone tell me where the patch for OAS 4.07 for NT SP4 is ? I found a file names libwrbapi40.dll under \extras\oas40 directory, and a file names ifwcm60.dll under \extras\sp4 directory of the developer6 but I don't know what to do with th