Need help on this issue.

Hi Experts & Dear Matt,
Sorry for posting a request/thread (repost) like this.
but my situation is worst now, I am trying in different ways but have no solution yet.
It a minor problem where i dont know to correct, so getting problem(Pressure, Extra time used) from my higher authorities.
So please help me out by this situation.
My problem : I already posted a Thread, and I am reposting here again sorry for doing like this..
My thread :
Hi Experts,
I have a problem in SMARTforms,
First my requirement is Label Printing,(3 per page) I/p selection is MATNR & PLANT & LGORT.
OUTPUT is full Classification details wth two Logo's on each label(total 6 logos per page)
I managed to get all the data into Final table(materials) and I am passing 3 materials at a time to FORM.
through loop & endloop. in between Loop I am calling my smart form,
My ITAB Structire is
MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
My problem is If user inputs upto 3 matnrs. its working fine.
when he enters more than 3 lets say 7.
first its showing print settings screen, when i select print preview, It shows the output fine(1,2,3Materials.)
but only One page. When I click on back, again its showing print settings, if I click print preview,
It shows the next 3 materials(4,5,6Materials), and when I click back again print settings finally 1 materials(7th).
My requirement is when I click on print preview, It should show 3 pages at a time instead of the above.
-Dunlop

Hi Sai,
Here comes the major problem,
After passing the variable to smartform as mentioned, I am retriving the data again like this
now I need to show both the passing variable and the retived variables,
retrived data is always 20-30 records, (classification of materials)
so i am making a loop here, to print classification. so i am doing this three time for three logos..
Hope you understand my problem now clearly.
TABLES : KSML,AUSP, CABN.
DATA: BEGIN OF T_TEMP OCCURS 0,
        CLASS LIKE KLAH-CLASS,         "Class number
        KLART LIKE KLAH-KLART,         "Class type
        CLINT LIKE KLAH-CLINT,         "Internal class number
      END OF T_TEMP.
DATA : IT_TEXT3 TYPE TABLE OF TY_TEXT,
       WA_TEXT3 LIKE LINE OF IT_TEXT3.
DATA : CNT1(2), CNT(2) .
DATA : IT_FINAL TYPE TABLE OF TY_FINAL, WA_FINAL LIKE LINE OF IT_FINAL.
Get the classification details KSSK and KLAH.
SELECT SINGLE SCLASS SKLART L~CLINT INTO
    (T_TEMP-CLASS, T_TEMP-KLART, T_TEMP-CLINT)
FROM KSSK AS L INNER JOIN KLAH AS S ON SCLINT EQ LCLINT
WHERE L~OBJEK EQ GV_MATNR.
CLEAR :IT_TEXT[],WA_TEXT.
retrieve characteristics info of a class
SELECT * FROM KSML WHERE CLINT = T_TEMP-CLINT
                     AND KLART = T_TEMP-KLART.
retrieve characteristics value info
  SELECT * FROM AUSP WHERE OBJEK = GV_MATNR
                       AND ATINN = KSML-IMERK
                       AND KLART = KSML-KLART.
retrieve characteristics info
    SELECT SINGLE * FROM CABN WHERE ATINN = AUSP-ATINN.
    MOVE CABN-ATNAM TO WA_TEXT-ATNAM. "Characteristics desc.
    MOVE AUSP-ATWRT TO WA_TEXT-ATWRT. "Characteristics Value
    MOVE CABN-ATINN TO WA_TEXT-ATINN.
    APPEND WA_TEXT TO IT_TEXT.
    CLEAR: WA_TEXT.
  ENDSELECT.                         "ausp
ENDSELECT.
DELETE IT_TEXT WHERE ATWRT IS INITIAL.
LOOP AT IT_TEXT INTO WA_TEXT.
  SELECT SINGLE ATBEZ INTO WA_TEXT-ATBEZ FROM CABNT
  WHERE ATINN = WA_TEXT-ATINN AND SPRAS = 'EN' . "SY-LANGU.
  MODIFY IT_TEXT FROM WA_TEXT.
  CLEAR WA_TEXT.
ENDLOOP.
LOOP AT IT_TEXT INTO WA_TEXT.
  CNT1 = CNT1 + 1.
ENDLOOP.
IF IT_TEXT IS NOT INITIAL.
  LOOP AT IT_TEXT INTO WA_TEXT.
    CNT = SY-TABIX MOD 2.
    IF CNT EQ 0.
      MOVE WA_TEXT-ATWRT TO WA_TEXT3-ATWRT1.
      MOVE WA_TEXT-ATBEZ TO WA_TEXT3-ATBEZ1.
      APPEND WA_TEXT3 TO IT_TEXT3.
      CLEAR : WA_TEXT3.
    ELSE.
      MOVE WA_TEXT-ATWRT TO WA_TEXT3-ATWRT.
      MOVE WA_TEXT-ATBEZ TO WA_TEXT3-ATBEZ.
    ENDIF.
  ENDLOOP.
  CNT = CNT1 MOD 2.
  IF CNT NE 0.
    APPEND WA_TEXT3 TO IT_TEXT3.
    CLEAR : WA_TEXT3.
  ENDIF.
  CLEAR : IT_TEXT[].
  IT_TEXT[] = IT_TEXT3[].
ENDIF.
-Dunlop

Similar Messages

  • Have upgraded to iTunes 11 and now can't determine how to printout the listing of songs on my playlists.  I admit to being a 73 year old novice.  I need help on this issue. Step by step help would be appreciated.

    I just upgraded to iTunes 11, and now I can't printout the song listings on my playlists.  It was easy for me on the earlier version of iTunes.  I am a 73 year old novice and need help.  A step by step explanatuion would really help.  Bless whoever can help me.

    Select all the songs in the playlist concerned. Ctrl + A is the normal shortcut.
    Select File > Print from the top menu
    Select the option of Song List in the dialog box
    Click Print

  • My bluetooth is stuck on searching. Need help on this issue?

    I have been facing issues with the Bluetooth on my iPhone 4. I recently upgraded to 6.1.2 and the bluetooth is stuck on searching and never shows up phones around. Can you please provide a solution or fix for this. I did restart the phone and resetting all the settings.

    It will not connect to other phones.  This has never been a feature of iphone.
    It will stop searhcing when you hit the home button or back out of the bluetooth screen.

  • Need Help solving this issue

    Hey everyone. I'm new to Java and I'm experimenting with JCombo box in a timesheet program I'm trying to make. Can someone please tell me why, in the following code, if i enter text to the JComboBox and hit enter, it adds an item two times to the list, and creates two buttons, but if i select an item from the list it adds the item back to the list once and only creates one button.
    I would prefer to have just one button created as well as have a selection from the drop down list not be added back in. I'm confused as to how to implement this though because it would seem to me that an action listener on the combo box would listen for both the key event and the dropdown selection.
    The code
    package timesheet;
    import java.awt.*;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import java.awt.Toolkit;
    import java.awt.BorderLayout;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    * @author Jamie Snipes
    public class Main extends JFrame implements ActionListener{
    public static void main(String[] args) {
    new Main().setVisible(true);
    /** Creates a new instance of Main */
    public Main() {
    initComponents();
    pack();
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = getSize();
    setLocation(new Point((screenSize.width - frameSize.width),
    (screenSize.height - frameSize.width)/ 6 ));
    * @param args the command line arguments
    private void initComponents() {
    mainPanel = new javax.swing.JPanel();
    mainPanel.setLayout(new BorderLayout());
    eventTrackerPanel = new javax.swing.JPanel();
    //eventTrackerPanel.setLayout(new GridLayout(5,1, 5, 5));
    projectTitleLabel = new javax.swing.JLabel();
    buttonsPanel = new javax.swing.JPanel();
    buttonsPanel.setLayout(new BorderLayout());
    newItemPanel = new javax.swing.JPanel();
    newItemPanel.setLayout(new FlowLayout());
    startButton = new javax.swing.JButton("Start");
    notesButton = new javax.swing.JButton("Add Note");
    stopButton = new javax.swing.JButton("Stop");
    menuBar = new javax.swing.JMenuBar();
    menuItem= new javax.swing.JMenuItem("Exit");
    menu= new javax.swing.JMenu("File");
    addTimeSheetItem= new javax.swing.JButton("Add") ;
    projectArray= new String[10];
    removeProjectButton=new javax.swing.JButton("remove") ;
    setTitle("Time Sheet");
    //Menu Bar Itmes
    // menu.setMnemonic(KeyEvent.VK_A);
    // menu.getAccessibleContext().setAccessibleDescription();
    menuBar.add(menu);
    menuItem.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    if(evt.getSource()==menuItem){
    exitMenuItemActionPerformed(evt);
    menu.add(menuItem);
    setJMenuBar(menuBar);
    mainPanel.setLayout(new java.awt.BorderLayout());
    mainPanel.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(5, 5, 5, 5)));
    mainPanel.setMinimumSize(new java.awt.Dimension(800, 800));
    projectTitleLabel.setText("Project Name:");
    //Top Panel
    projectNameBox= new javax.swing.JComboBox();
    projectNameBox.setEditable(true);
    eventTrackerPanel.setLayout(new GridLayout(0,1, 5, 5));
    projectNameBox.addActionListener(this);
    eventTrackerPanel.add(projectNameBox);
    newItemPanel.add(projectNameBox);
    newItemPanel.add(addTimeSheetItem);
    // buttonsPanel (Bottom) Panel
    buttonsPanel.add(startButton, BorderLayout.WEST);
    buttonsPanel.add(notesButton, BorderLayout.CENTER);
    buttonsPanel.add(stopButton, BorderLayout.EAST);
    // Main Panel
    mainPanel.add(newItemPanel, BorderLayout.NORTH);
    mainPanel.add(eventTrackerPanel, BorderLayout.CENTER);
    mainPanel.add(buttonsPanel, BorderLayout.SOUTH);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    getContentPane().add(mainPanel);
    getContentPane().setSize(800, 800);
    public void actionPerformed(ActionEvent e){
    if(e.getSource()==projectNameBox){
    for(int i=0; i<=100; i++){
    selectedProjectToggleButton= new javax.swing.JToggleButton[100];
    projectArray= new String();
    selectedProjectToggleButton= new javax.swing.JToggleButton();
    projectArray=(String)projectNameBox.getSelectedItem();
    System.out.println(projectArray);
    projectNameBox.addItem(projectArray);
    selectedProjectToggleButton.setText(projectArray);
    eventTrackerPanel.add(selectedProjectToggleButton);
    return;
    private void exitMenuItemActionPerformed(java.awt.event.ActionEvent evt) {
    System.exit(0);
    // Variables declaration - do not modify
    private javax.swing.JPanel buttonsPanel;
    private javax.swing.JPanel newItemPanel;
    private javax.swing.JPanel eventTrackerPanel;
    private javax.swing.JMenuItem exitMenuItem;
    private javax.swing.JLabel feedbackLabel;
    public javax.swing.JMenu fileMenu;
    private javax.swing.JButton[] buttonArray;
    private javax.swing.JButton startButton;
    private javax.swing.JButton stopButton;
    private javax.swing.JButton notesButton;
    private javax.swing.JButton addTimeSheetItem;
    private javax.swing.JButton removeProjectButton;
    private javax.swing.JLabel projectTitleLabel;
    private javax.swing.JPanel mainPanel;
    private javax.swing.JMenuBar menuBar;
    private javax.swing.JMenuItem menuItem;
    private javax.swing.JMenu menu;
    private javax.swing.JComboBox projectNameBox;
    private java.awt.event.ActionListener isClicked;
    private int i;
    private javax.swing.JToggleButton[] selectedProjectToggleButton;
    private String[] projectArray;
    private java.lang.Boolean projectEntered;
    private String projectName;
    // End of variables declaration
    }

    make this the 1st line of your actionPerformed method...
    System.out.println(e.getActionCommand());
    You will see that when you type in the box and then click ADD it makes 2 things happen.
    comboBoxEdited
    comboBoxChanged
    And when you select from the drop down list all you get is 1 thing
    comboBoxChanged
    Just put an IF statement in there that only looks for "comboBoxChanged" actions and then it should work.

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Sorry to say it, but I think you can see from Bob's response that there's no way to solve this rapidly.
    Did you take an image of your Mountain Lion install before upgrading to Yosemite? Roll back to that. If you're not in the habit of taking a snapshot of your system before performing operating system upgrades - get in that habit. If you are dependent on anything at all on hour computer, having a reliable backup method in place is essential. If you don't have a Time Capsule, or some other way to run Time Machine onto a disk that's not in your computer, go set that up yesterday.
    If you can't just remove Yosemite and roll back to Mountain Lion for whatever reason, you can partition your drive so that you can install both Yosemite and Mountain Lion on the same drive, and then boot into Mountain Lion when you need to work in CS5. Or you can take your Mountain Lion disc (I assume you have one, no?) and then use it to create a virtual machine in something like VirtualBox to run Mountain Lion from inside Yosemite.

  • Hello. I recently updated numbers on my macbook pro. I like the auto completion feature (proposing te word as I type). With this new update, I cannot see this feature and it doesn't work automatically. Can I have any help on this issue ?

    Hello. I recently updated numbers on my macbook pro. I like the auto completion feature (proposing te word as I type). With this new update, I cannot see this feature and it doesn't work automatically. Can I have any help on this issue ?

    This is really unfortunate. I'm sorry that nothing works. I was going to mention holding down the power button and doing a force shutdown but you already did that. You might need to take it into the Apple store. I don't know if booting into safe mode would help. You would have to turn off the machine again, hit the start button and hold down the shift key after you hear the tone, but normally you would let go of the shift key when you see the apple logo and spining wheel. Maybe by holding down the shift key after you here the tone will cause the screen to come back on? The other option is to start up from the 'install disk' if your machine came with one. You would insert the disk, then shut down the computer, and hold down the C key right after hitting the start button.
    Here's the link for the safeboot
    http://support.apple.com/kb/HT1564?viewlocale=nl_nl

  • I just downloaded an album from itunes and 2 of the tracks will not play at all, they cut off. I need help with this??

    I just downloaded an album from itunes and 2 of the tracks will not play at all, they cut off. I need help with this??

    Does the track play correctly in Quicktime Player?  If it does then it is an iTunes issue.  If it doesn't then it is possible the file was not completely downloaded, or is corrupt.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid. 
    If it can be downloaded again, delete the track from iTunes.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.
    If it is corrupt and you cannot download it a second time, contact Apple.  Contact iTunes Store support staff through the report a problem links in your account history or,
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • Ok so I am having issues with charging my iPad as well. So I took advice from this forum and yes, if you turn the brightness down my iPad charges. Thanks Apple I just went and spent money on a new charger I didn't need. Really you need to fix this issue.

    Ok so I am having issues with charging my iPad as well. So I took advice from this forum and yes, if you turn the brightness down my iPad charges. Thanks Apple I just went and spent money on a new charger I didn't need. Really you need to fix this issue.

    Wow. Okay...
    I'll let the real veterans in this forum tackle your issues one after the other. But, I can tell you, all will be well.
    My only comment would be re: your computer specs:
    BJReis wrote:
    .  This may be due to somewhat older equipment:
    GHz Intel Core Duo MacBook Pro with a 4GB memory computer with Ddr3 running OSX 10.8.4
    To be completely honest, FCPX is a RAM hog. It just is. But, RAM is relatively cheap, and the pay-off is good.
    4GB is right on the edge, IMHO. 16G is ideal.
    I wish you luck, hang in there, and standby for more help.

  • I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch.  All other components work normally.  In Activity monitor it says Adobe switchboard failed to respond.  Can anyone help solve this issue?

    I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch.  All other components work normally.  In Activity monitor it says Adobe switchboard failed to respond.  Can anyone help solve this issue?

    Release: 4/25/2012
    http://support.amd.com/us/gpudownload/windows/Pages/radeonmob_win7-64.aspx

  • My Mac was updated to Ÿosemite OS and since then the PS5 software doesn't open. I need help on this subject please.

    My Mac was updated to Ÿosemite OS and since then the PS5 software doesn't open. I need help on this subject please.
    They error message I get is "An unexpected and unrecoverable problem has occurred. Photoshop will now exit."
    This only started after I upgraded my OS to Yosemite.

    The upgrade has been know to break Photoshop CS5 installs. An Uninstall/Reinstall may be necessary.

  • I need help with this script please ASAP

    So I need this to work properly, but when ran and the correct answer is chosen the app quits but when the wrong answer is chosen the app goes on to the next question. I need help with this ASAP, it is due tommorow. Thank you so much for the help if you can.
    The script (Sorry if it's a bit long):
    #------------Startup-------------
    display dialog "Social Studies Exchange Trviva Game by Justin Parzik" buttons {"Take the Quiz", "Cyaaaa"} default button 1
    set Lolz to (button returned of the result)
    if Lolz is "Cyaaaa" then
    killapp()
    else if Lolz is "Take the Quiz" then
              do shell script "say -v samantha Ok starting in 3…2…1…GO!"
    #------------Question 1-----------
              display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
              set A1 to (button returned of the result)
              if A1 is "Apprentices" then
                        do shell script "say -v samantha Correct Answer"
              else
                        do shell script "say -v samantha Wrong Answer"
      #----------Question 2--------
                        display dialog "Most children were taught
    to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
                        set A2 to (button returned of the result)
                        if A2 is "Bible" then
                                  do shell script "say -v samantha Correct Answer"
                        else
                                  do shell script "say -v samantha Wrong Answer"
      #------------Question 3---------
                                  display dialog "In the 1730s and 1740s, a religious movement called the_______swept through the colonies." buttons {"Glorius Revolution", "Great Awakening", "The Enlightenment"}
                                  set A3 to (button returned of the result)
                                  if A3 is "Great Awakening" then
                                            do shell script "say -v samantha Correct Answer"
                                  else
                                            do shell script "say -v samantha Wrong Answer"
      #-----------Question 4--------
                                            display dialog "_______ was
    a famous American Enlightenment figure." buttons {"Ben Franklin", "George Washington", "Jesus"}
                                            set A4 to (button returned of the result)
                                            if A4 is "Ben Franklin" then
                                                      do shell script "say -v samantha Correct Answer"
                                            else
                                                      do shell script "say -v samantha Wrong Answer"
      #----------Question 5-------
                                                      display dialog "______ ownership gave colonists political rights as well as prosperity." buttons {"Land", "Dog", "Slave"}
                                                      set A5 to (button returned of the result)
                                                      if A5 is "Land" then
                                                                do shell script "say -v samantha Correct Answer"
                                                      else
                                                                do shell script "say -v samantha Wrong Answer"
      #---------Question 6--------
                                                                display dialog "The first step toward guaranteeing these rights came in 1215. That
    year, a group of English noblemen forced King John to accept the…" buttons {"Declaration of Independence", "Magna Carta", "Constitution"}
                                                                set A6 to (button returned of the result)
                                                                if A6 is "Magna Carta" then
                                                                          do shell script "say -v samantha Correct Answer"
                                                                else
                                                                          do shell script "say -v samantha Wrong Answer"
      #----------Question 7--------
                                                                          display dialog "England's cheif lawmaking body was" buttons {"the Senate", "Parliament", "King George"}
                                                                          set A7 to (button returned of the result)
                                                                          if A7 is "Parliament" then
                                                                                    do shell script "say -v samantha Correct Answer"
                                                                          else
                                                                                    do shell script "say -v samantha Wrong Answer"
      #--------Question 8-----
                                                                                    display dialog "Pariliament decided to overthrow _______ for not respecting their rights" buttons {"King James II", "King George", "King Elizabeth"}
                                                                                    set A8 to (button returned of the result)
                                                                                    if A8 is "King James II" then
                                                                                              do shell script "say -v samantha Correct Answer"
                                                                                    else
                                                                                              do shell script "say -v samantha Wrong Answer"
      #--------Question 9------
                                                                                              display dialog "Parliament named ___ and ___ as England's new monarchs in something called ____." buttons {"William/Mary/Glorius Revolution", "Adam/Eve/Great Awakening", "Johhny/Mr.Laphalm/Burning of the hand ceremony"}
                                                                                              set A9 to (button returned of the result)
                                                                                              if A9 is "William/Mary/Glorius Revolution" then
                                                                                                        do shell script "say -v samantha Correct Answer"
                                                                                              else
                                                                                                        do shell script "say -v samantha Wrong Answer"
      #---------Question 10-----
                                                                                                        display dialog "After accepting the throne William and Mary agreed in 1689 to uphold the English Bill of _____." buttons {"Money", "Colonies", "Rights"}
                                                                                                        set A10 to (button returned of the result)
                                                                                                        if A10 is "Rights" then
                                                                                                                  do shell script "say -v samantha Correct Answer"
                                                                                                        else
                                                                                                                  do shell script "say -v samantha Wrong Answer"
      #---------Question 11------
                                                                                                                  display dialog "By the late 1600s French explorers had claimed the ___ River Valey" buttons {"Mississippi", "Ohio", "Hudson"}
                                                                                                                  set A11 to (button returned of the result)
                                                                                                                  if A11 is "Ohio" then
                                                                                                                            do shell script "say -v samantha Correct Answer"
                                                                                                                  else
                                                                                                                            do shell script "say -v samantha Wrong Answer"
      #------Question 12---------
                                                                                                                            display dialog "______ was sent to ask the French to leave 'English Land'." buttons {"Johhny Tremain", "George Washington", "Paul Revere"}
                                                                                                                            set A12 to (button returned of the result)
                                                                                                                            if A12 is "George Washington" then
                                                                                                                                      do shell script "say -v samantha Correct Answer"
                                                                                                                            else
                                                                                                                                      do shell script "say -v samantha Wrong Answer"
      #---------Question 13-------
                                                                                                                                      display dialog "_____ proposed the Albany Plan of Union" buttons {"George Washingon", "Ben Franklin", "John Hancock"}
                                                                                                                                      set A13 to (button returned of the result)
                                                                                                                                      if A13 is "Ben Franklin" then
                                                                                                                                                do shell script "say -v samantha Correct Answer"
                                                                                                                                      else
                                                                                                                                                do shell script "say -v samantha Wrong Answer"
      #--------Question 14------
                                                                                                                                                display dialog "The __________ declared that England owned all of North America east of the Mississippi" buttons {"Proclomation of England", "Treaty of Paris", "Pontiac Treaty"}
                                                                                                                                                set A14 to (button returned of the result)
                                                                                                                                                if A14 is "" then
                                                                                                                                                          do shell script "say -v samantha Correct Answer"
                                                                                                                                                else
                                                                                                                                                          do shell script "say -v samantha Wrong Answer"
      #-------Question 15-------
                                                                                                                                                          display dialog "Braddock was sent to New England so he could ______" buttons {"Command an attack against French", "Scalp the French", "Kill the colonists"}
                                                                                                                                                          set A15 to (button returned of the result)
                                                                                                                                                          if A15 is "Command an attack against French" then
                                                                                                                                                                    do shell script "say -v samantha Correct Answer"
                                                                                                                                                          else
                                                                                                                                                                    do shell script "say -v samantha Wrong Answer"
      #------TheLolQuestion-----
                                                                                                                                                                    display dialog "____ is the name of the teacher who runs this class." buttons {"Mr.White", "Mr.John", "Paul Revere"} default button 1
                                                                                                                                                                    set LOOL to (button returned of the result)
                                                                                                                                                                    if LOOL is "Mr.White" then
                                                                                                                                                                              do shell script "say -v samantha Congratulations…you…have…common…sense"
                                                                                                                                                                    else
                                                                                                                                                                              do shell script "say -v alex Do…you…have…eyes?"
                                                                                                                                                                              #------END------
                                                                                                                                                                              display dialog "I hope you enjoyed the quiz!" buttons {"I did!", "It was horrible"}
                                                                                                                                                                              set endmenu to (button returned of the result)
                                                                                                                                                                              if endmenu is "I did!" then
                                                                                                                                                                                        do shell script "say -v samantha Your awesome"
                                                                                                                                                                              else
                                                                                                                                                                                        do shell script "say -v alex Go outside and run a lap"
                                                                                                                                                                              end if
                                                                                                                                                                    end if
                                                                                                                                                          end if
                                                                                                                                                end if
                                                                                                                                      end if
                                                                                                                            end if
                                                                                                                  end if
                                                                                                        end if
                                                                                              end if
                                                                                    end if
                                                                          end if
                                                                end if
                                                      end if
                                            end if
                                  end if
                        end if
              end if
    end if

    Use code such as:
    display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
    set A1 to (button returned of the result)
    if A1 is "Apprentices" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    #----------Question 2--------
    display dialog "Most children were taught to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
    set A2 to (button returned of the result)
    if A2 is "Bible" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    (90444)

  • HT1365 Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • I have a USB cable for my iPod touch 4th gen. I have tried almost everything to make my windows computer find my iPod touch but its not finding it. Any help on this issue?

    I have a USB cable for my iPod touch 4th gen. I have tried almost everything to make my windows computer find my iPod touch but its not finding it. Any help on this issue?

    If not successful:
    Try DFU mode and then restore
      How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    Try another USB port and cable
    Try another computer to help determine if you have an iPod or computer problem

Maybe you are looking for