Trying to create complicated script, please help!

I work at a cell phone store where business is less than excellent. We have this nifty tool where i enter a customers phone number and zip code in and it tells me if the are eligible for a discount. So my boss wants me to type in a phone number, beginning with the prefix 208640, and 208641, and beginning at the end of 0000 and ending at 9999, and calling all customers who are shown as eligible, if a phone number and zip code combination does not match, the site will rout me back to the entry page, and if a phone number/zip match it will take me to a new page showing me the results... this sounds like a job for a computer, and I am not willing to put that much time and effort into a useless, remedial task for $9.00 an hour as store manager... Please help!

Automator might be the wrong tool. For scripting queries, post to the AppleScript forum under OS X Technologies.

Similar Messages

  • My iPhoto won't open. It says "Your photo library is either in use by another application or no longer readable." Please tell me I haven't lost all my pics?! I do not have them backed up. I have tried restarting my mac. Please Help!

    My iPhoto won't open. It says "Your photo library is either in use by another application or no longer readable." Please tell me I haven't lost all my pics?! I do not have them backed up. I have tried restarting my mac. Please Help!

    What haven't you backed them up? You should always have a back up of any important material on your Mac. Make one now:
    Most Simple Back Up
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex:
    Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically. Examples of such apps: Chronosync or DejaVu . But are many others. Search on MacUpdate
    What version of iPhoto do you have?

  • I am trying to split a document please help?

    I am trying to split a document please help?

    Easy with Acrobat, but not possible with Adobe Reader.

  • DVD Audio and Subtitle script Please HELP

    Subtitle Audio Scripts Please Help
    Posted: Sep 3, 2006 8:04 PM
    I need to write a script that does the following:
    1st I have the end user choose if they want subtitles on or off and then both the buttons will default for the user to chose a language choice. So I need a script that will play just audio streams and a script that will play audio with the same language subtitle. Also if the user just pushes the language button I need the script it to default to play just that language...
    Here is what I have scripted already please tell me where my mistake is:
    Button Command
    Subtitles
    On mov GPRM 0,0
    Jump Special Features: English
    Off mov GPRM 0,1
    Jump Special Features: English
    English 1. mov GPRM 0,2
    2. Set System stream Au(Audio Stream 1) if (0=0)
    3. Set System Stream St(Subtitle Stream 1)(ON) if (0=0)
    4. Goto 11 if (GPRM 0=0)
    5. Set System stream Au(Audio Stream 1) if (0=1)
    6. Set System Stream St(Subtitle Stream 1)(Off) if (0=1)
    7. Goto 11 if (GPRM 0=1)
    8. Set System stream Au(Audio Stream 1) if (0=2)
    9. Set System Stream St(Subtitle Stream 1)(Off) if (0=2)
    10. Goto 11 if (GPRM 0=2)
    11. Jump JOFDVD:Start
    12. Exit
    All my language scripts will be similar just with different audio and sub streams.
    Help Please-
    Ryan-

    Hi There
    I think your error is in the first line of your script.
    You're using GPRM 0 to set your subtitle condition and when you press enter on your english button your first line says
    1. mov GPRM0,2
    I'm assuming you want to use this first comand to set your languange condition so you should use GPRM 1 (or more) - at this stage all you're doing is removing the subtitle condition set by your earlier script.
    Good luck
    Cheers
    B

  • I need to create Buttons dynamically Please Help

    I am currently developing a card game. I represent my cards as buttons. But as the player draws more cards from the deck I have to generate buttons dynamically at run-time. I could use arrays of buttons and store new buttons inside that arrays of buttons. But the only problem is I need ActionListener for each of my buttons. How do you create ActionListener for each different dynamically created buttons? Please Help.

    Here is my code. I just do not understand how to create those functions dynamically that functions different each time.
    Here is my code please take a look.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class run108{
    JButton setbutton;
    JButton ButtonUp;
    JButton ButtonDeal;     
    JButton slot1;
    JButton slot2;
    JButton slot3;
    JButton slot4;
    JButton slot5;
    JButton slot6;
    JButton slot7;
    cards[] card = new cards[55];
    public static void main(String[] argv)
         run108 startgui = new run108();
         startgui.createframe();     
    void createframe()
         //Standard of way of creating Frame
         JFrame frame = new JFrame("108");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.setLocation(300,200);// Tells the startup position;
         //Adding Panels to the framework
         JPanel panelA = new JPanel();
         panelA.setBackground(Color.white);
         panelA.setLayout(new BoxLayout(panelA,BoxLayout.Y_AXIS));
         JPanel panelB = new JPanel();
         JPanel panelC = new JPanel();
         //Adding buttons with card images
         JLabel label1 = new JLabel("       Set of Cards");
         panelA.add(label1);
         ImageIcon pic1 = new ImageIcon("cards/backd.png");
         setbutton = new JButton(pic1);          
        panelA.add(setbutton);
        ImageIcon picdeal = new ImageIcon("cards/deal.png");
         ButtonDeal = new JButton(picdeal);
         panelA.add(BorderLayout.CENTER, ButtonDeal);
        ButtonDeal.addActionListener(new DealListener());
         JLabel label2 = new JLabel("       Your Target");
         panelA.add(label2);
         ButtonUp = new JButton(pic1);          
        panelA.add(BorderLayout.CENTER, ButtonUp);
        frame.add(BorderLayout.WEST,panelA);
        // Adds 7 initial card slots.
         ImageIcon pic2 = new ImageIcon("cards/backc.png");
         slot1 = new JButton(pic2);
        panelB.add(slot1);          
        slot1.addActionListener(new Slot1Listener());
        slot2 = new JButton(pic2);
        panelB.add(slot2);
        slot2.addActionListener(new Slot2Listener());
         slot3 = new JButton(pic2);
        panelB.add(slot3);
        slot3.addActionListener(new Slot3Listener());
         slot4 = new JButton(pic2);
        panelB.add(slot4);
        slot4.addActionListener(new Slot4Listener());
         slot5 = new JButton(pic2);
        panelB.add(slot5);
        slot5.addActionListener(new Slot5Listener());
         slot6 = new JButton(pic2);
        panelB.add(slot6);
        slot6.addActionListener(new Slot6Listener());
         slot7 = new JButton(pic2);
        panelB.add(slot7);
        slot7.addActionListener(new Slot7Listener());
        frame.add(BorderLayout.CENTER,panelB);
        // This has to be added @ the end to show the components
        //that were added after on. If it is placed before the components
        //the components shall not appear since they sit on the frame
         frame.setSize(600,500);
         frame.setVisible(true);
    class DealListener implements ActionListener
         public void actionPerformed(ActionEvent event){}
    class Slot1Listener implements ActionListener
         public void actionPerformed(ActionEvent event){}
    class Slot2Listener implements ActionListener
         public void actionPerformed(ActionEvent event){}
    class Slot3Listener implements ActionListener
         public void actionPerformed(ActionEvent event){}
    class Slot4Listener implements ActionListener
         public void actionPerformed(ActionEvent event){}
    class Slot5Listener implements ActionListener
         public void actionPerformed(ActionEvent event){}
    class Slot6Listener implements ActionListener
         public void actionPerformed(ActionEvent event){}
    class Slot7Listener implements ActionListener
         public void actionPerformed(ActionEvent event){}
    }

  • Error while Creating sequence. Please help

    I'm using below script to create sequence but getting error
    Error report:
    SQL Error: ORA-01722: invalid number
    01722. 00000 - "invalid number"
    CREATE SEQUENCE BL_BTN_MASTER_SEQ
    MINVALUE 1
    MAXVALUE 999999999999999999
    INCREMENT BY 1
    START WITH (SELECT MAX(BULLETIN_MASTER_ID)+1
    FROM BL_BTN_MASTER)
    NOCACHE;
    FYI..Data type of bulletin_master_id column is NUMBER(22,0)
    PLease help.
    Edited by: user11228834 on May 29, 2013 10:22 AM
    Edited by: user11228834 on May 29, 2013 10:23 AM
    Edited by: user11228834 on May 29, 2013 10:25 AM

    Oracle doesn't like the "(select max(bulletin_master_id)+1 from bl_btn_master)' statement embedded in the CREATE SEQUENCE statement because if you look at the syntax it is expecting an acual number. You could use execute immediate to create the sequence this way:
    {code}
    declare
    v_seq number;
    v_statement varchar2(200);
    begin
    select max(bulletin_master_id)+1
    into v_seq
    from bl_btn_master;
    v_statement := 'CREATE SEQUENCE BL_BTN_MASTER_SEQ ' ||
    'MINVALUE 1 ' ||
    'MAXVALUE 999999999999999999 ' ||
    'INCREMENT BY 1 ' ||
    'START WITH ' || v_seq ||
    'NOCACHE';
    execute immediate(v_statement);
    end;
    {code}

  • A dynamic table based on run-time created view object -- please help!

    Hello!
    I'm trying to create a dynamic table based on an run-time created view object. All go ok, but table binding component take the first view/iterator state and don't reflect changes they have. Please, take a look:
    1. At run-time the view is being replaced by new red-only one based on query in application module:
    getQueryView().remove();
    createViewObjectFromQueryStmt("QueryView", statement);
    2. Page definition file contains an iterator (using iterator or methodIterator - doesn't matter) binding and table, which binds to the iterator, like:
    <methodIterator id="distributeQuery1Iter" Binds="distributeQuery1.result"
    DataControl="QueryServiceDataControl" RangeSize="10"/>
    <table id="distributeQuery11" IterBinding="distributeQuery1Iter"/>
    3. The page code uses <af:table>. But, if I use table binding (it's right) like this:
    <af:table var="row" value="#{bindings.distributeQuery11.collectionModel}">
    <af:forEach items="#{bindings.distributeQuery11.attributeDefs}" var="def">
    the table will never changed (i.e. still show the first view instance).
    When I tried to use iterator binding directly (it's bad and cannot provide all needed features unlike CollectionModel from table binding) I saw that table works!
    (Code is somehing like:
    <af:table var="row" value="#{bindings.myIterator.allRowsInRange}">
    <af:forEach items="#{bindings.myIterator.attributeDefs}" var="def">
    Why the table binding do not reflect changes in iterator? Or should I use different approach?
    Thanks in advance!
    Ilya.

    I got it to work! I used a hybrid approach comprised of some of your code and some of Steve Muench's AcceessAppModuleInBackingBean example.
    In the setBindings method, I execute an app module method that redefines the query, then I used your code to delete and recreate bindings and iterator:
    public void setBindingContainer(DCBindingContainer bc) {
    this.bindingContainer = bc;
    rebuildVO();
    The rebuildVO() method looks like the code you provided in your example:
    private void rebuildVO() {
    DCDataControl dc;
    DispatchAppModule dApp;
    DCBindingContainer bc;
    DCIteratorBinding it;
    OperationBinding operationBinding;
    ViewObject vo;
    DCControlBinding cb;
    try {
    bc = getBindingContainer();
    dc = bc.findDataControl(DATACONTROL);
    dApp = (DispatchAppModule)dc.getDataProvider();
    // Execute App Module Method to rebuild VO based upon new SQL Statement.
    dApp.setDispatchViewSQL();
    vo = dApp.findViewObject(DYNAMIC_VIEW_NAME);
    it = bc.findIteratorBinding(DYNAMIC_VO_ITER_NAME);
    it.bindRowSetIterator(vo, true);
    // logger.info("Remove value binding...");
    cb = bc.findCtrlBinding(DYNAMIC_VIEW_NAME);
    cb.getDCIteratorBinding().removeValueBinding(cb);
    bc.removeControlBinding(cb);
    // logger.info("Creating new value binding...");
    FacesCtrlRangeBinding dynamicRangeBinding =
    new FacesCtrlRangeBinding(null,
    bc.findIteratorBinding(DYNAMIC_VO_ITER_NAME), null);
    // logger.info("Add control binding...");
    bc.addControlBinding(DYNAMIC_VIEW_NAME, dynamicRangeBinding);
    } catch (Exception e) {
    e.printStackTrace();
    And my App Module method that redefines the view object looks like this:
    public void setDispatchViewSQL() {
    String SQL =
    "begin ? := PK_BUsiNESS.F_GETDISPATCHVIEWSQL();end;";
    CallableStatement st = null;
    String ViewSQL = null;
    try {
    st = getDBTransaction().createCallableStatement(SQL,
    DBTransaction.DEFAULT);
    * Register the first bind parameter as our return value of type LONGVARCHAR
    st.registerOutParameter(1, OracleTypes.LONGVARCHAR);
    st.execute();
    ViewSQL = ((OracleCallableStatement) st).getString(1);
    findViewObject(DYNAMIC_VO_NAME).remove();
    ViewObject vo = createViewObjectFromQueryStmt(DYNAMIC_VO_NAME, ViewSQL);
    vo.executeQuery();
    } catch (SQLException s) {
    throw new JboException(s);
    } finally {
    try {
    st.close();
    } catch (SQLException s) {
    s.printStackTrace();
    When I run it I get my desired results. One thing I don't quite understand is why when the page is first rendered it shows the last set of records rather than the first. Now I have to figure out how to put navigation URLS in each of the table cells.
    Thanks for your help; I would not have gotten this far without it,
    Jeff

  • Problem in creating DB Link - Please help

    Hi ,
    I created a DB Link with name "CTM_DBLINK".
    i want to create DB Link with different name but using same server and connection also same.
    When i am trying this its shows error :
    "ORA-00933:SQL Command not properly ended."
    My Query :
    create public database link "CTM_BANK"
    connect to ABC
    identified by <pwd>
    using 'database';
    i am getting error on line 3 : identified by <pwd>
    Please help , its urgent.
    Surender

    Try enclosing the password in quotes.
    Same problem occurs if you try to create a user using the password you have given.
    SQL> create user abc identified by abc!;
    create user abc identified by abc!
    ERROR at line 1:
    ORA-00922: missing or invalid option
    SQL> create user abc identified by "abc!" ;
    User created.
    To create the database link, try this:
    SQL> CREATE PUBLIC DATABASE LINK "CTM_BANK" CONNECT TO "ABC"
    2 IDENTIFIED BY "abc!"
    3 USING 'database' ;
    Database link created.
    Hope that helps!
    Regards.
    RK

  • How to create an array - Please help

    Hello. I have been trying to build a dynamic menu. According to different user role, they would have different access options to use the form. Now, I need to create a dynamic menu to display the menu options according to their user role. Somebody told me I can use an array, but I am not sure how to achieve this, and how to display the menu to user. Please help me. Thank you.

    Hi
    Arrays in Form are implemented through Record Groups. However you can enable and disable a menu item throught database roles.
    For more infor please refer Oracle Documentation.
    HTH
    Arvind Balaraman
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by scsyim:
    Hello. I have been trying to build a dynamic menu. According to different user role, they would have different access options to use the form. Now, I need to create a dynamic menu to display the menu options according to their user role. Somebody told me I can use an array, but I am not sure how to achieve this, and how to display the menu to user. Please help me. Thank you.<HR></BLOCKQUOTE>
    null

  • Internal software error cpp, line 214 - creating subtitles failed / please help

    Hello,
    it a pretty toutgh expierience trying to create my first dvd with Adobe,
    I have to hand it over this Friday, in some 12 hours,
    and there is another issue I have to cope with:
    1. I have the project ready, I check for errors and there are no.
    2. My project has 2 two timelines (movie and soundtrack) and subtitles in 7 languages. All already transcoded.
    3. I press build DVD.ISO and here comes the wonderful Adobe greeting: Internal software error. File Spec: cpp, line 214. I clik ok and the other window appears happilly informing me that creating subtitles failed. And creating of thesee subtitles was the only reason I started using Adobe Premiere Pro and Encore
    Could you please help me, I am going slightly crazy with it. How can I resolve this issue. I tried to look at the forum, but did not find the solution. Neither @ google.
    Best regards,
    Michal

    Thanks a lot Stan !
    I did two timelines, since I wanted to give the possibility to listen to the music track, without watching the movie. No idea if this could be done in one timeline (I am just starting my Adobe adventure .
    Coming to the point, I fixed it. Here is how:
    1. While building DVD the message was: Internal software error. File Spec: cpp, line 214. and creating subtitles failed.
    2. I tried to make really big spaces between subtitles, as well as change the fonts, the kerings, etc. - to no avail.
    3. I deleted all the subtitle text (marking it with the mouse and pressing delete), but leaving all the subtitle tracks, since I did not want to link them all again to the subtitle menu buttons.
    4. For each subtitle track I imported the subtitle text once again.
    And it worked! So simple if one already knows how to do it.
    Thanks for help anyway, you and others at this forum helped me a lot during the whole project (missing Encore library, baddriver.txt to mention the most critical issues).
    Best regards,
    Michal

  • Can't Create New File, PLEASE HELP!!!!

    Hello,
    I've been trying to read the previous forums on this topic and none of the advice has worked for me. I am running Photoshop 7.0 on Windows XP. It has been running fine for several years until this week.
    I ran the Spyder 2 Suite to calibrate my laptop and LCD monitor and now the problem has arisen. One of the software's requests was to disable Adobe Gamma so I deleter my Adobe Gamma Loader.exe file from the start up folder.
    As I went to create a new file in Photoshop, nothing would happen. The whole drop down menu for File was grayed out and I would have to Ctrl+Alt+Delete to get out of Photoshop. I then uninstalled and reinstalled Photoshop, as well as uninstalled the Spyder software and still can't create a new file.
    I checked and my Adobe Gamma Loader is back in the startup folder.
    I also tried deleting my printer and took down my firewall like other posts have listed but those also did not work.
    Please help!!!! I need to get back to some work asap!
    Thanks,
    Ryan

    try resetting your preferences per the faq:
    http://www.adobeforums.com/webx/.ef4a07f/1
    also make sure you're running ps 7.01 there were tons of bug fixes in that update over vers 7.0.

  • Vbscript indesign cs 5.5 - package script - please help

    I am trying to create a package script in VBS and I am getting mixed results :-
    If I use this code:-
    Set myInDesign = CreateObject("InDesign.Application")
    set fso = CreateObject("Scripting.FileSystemObject")
    myPackageFolder = "C:\test\"
    set myDocument = myIndesign.ActiveDocument
    myDocument.package myPackageFolder, false, true, false, true, true, true, false
    Then Indesign Crashes
    If I use this code (update graphics links is false instead of true):-
    Set myInDesign = CreateObject("InDesign.Application")
    set fso = CreateObject("Scripting.FileSystemObject")
    rem fso.CreateFolder mypath & "\package\"
    rem myPackageFolder = mypath & "\package\"
    myPackageFolder = "C:\test\"
    set myDocument = myIndesign.ActiveDocument
    myDocument.package myPackageFolder, false, true, false, false, true, true, false
    Then I get a Warning :-
    An attached script generated the following error.
    Cannot save a copy of "1234567ab.indd"
    do I want to disable the event handler (was triggered from after save event)
    So is this because the file really isnt saved yet and is somehow locked .. so you cant update graphics or copy it???

    Hi,
    On which platform are you installing ,check if its meets the system requirements.
    http://java.sun.com/j2se/1.4.2/install.html might help you.
    -Amol

  • My Firefox history has disappeared and I need help trying to restore it. Please help!

    CCleaner, out of no where, decided to delete most of my Firefox history the last time I used it. There's a tiny part of my browser history that's still there, but most of it's gone. If someone can PLEASE help me, you have no idea how grateful I would be.

    Firefox doesn't keep backup copies of the history like is done with the bookmarks, so if you didn't create such a backup yourself then you are probably out of luck.
    I don't know if Windows keeps previous (shadow) copies of the places.sqlite file.
    *http://windows.microsoft.com/en-us/windows-8/how-use-file-history

  • Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please help

    Hi,
    Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please help

    Hi Shilpa ,
    Please refer to the following link and see if that helps you out.
    https://helpx.adobe.com/acrobat/kb/runtime-error-roaming-profile-workflows.html
    Are you trying to access the PDF with Acrobat or Adobe Reader?
    Regards
    Sukrit Dhingra

  • My ipod touch will not turn on, charge, or isn't recognised by itunes or my computer. I've tried most common fixes. Please help!

    Hi. Last week, in this hot weather, my ipod (8gb, 4g) started flickering , screen went white and then it died! Left it off for 24 hrs to cool down and eventually it powered up again. Thing is, I needed to charge it and so put it on a dock but it wouldn't charge. Tried a diff dock, ac charger and apple usb cable to my laptop and nothing. Battery nearly completely drained, just get the flashing battery with lightning symbol when I press the on button. Not recognised by itunes or my computer and all the advice says to charge it and try again but mine doesn't seem to be charging despite being on a charger for several hours! Tried pressing on and home keys together for diff periods of time (up to 5 mins once) but still nothing. Not even getting to the apple logo stage Can someone out there please help me??

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       
    Also
    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar                          

Maybe you are looking for

  • How do I find and install an older version of Adobe Media Encoder (Mac)?

    I am currently trialing Adobe InDesign on my Mac (Snow Leopard).  I was unable to open the installed version of AME (7.0.0). I updated to 7.0.1 via this page http://www.adobe.com/support/downloads/product.jsp?platform=Macintosh&product=160 but AME st

  • Unable to load Disk 2 of CD install of Solaris 10

    My platform is a Sun Ultra 60 sparc system. I find it very disappointing that the SUN downloads do not install. Three or four years ago, I had the same problem with Solaris 9. The first disk installed fine, but not the second disk. I finally gave up

  • Partner Function Disappears on Save

    Hi, I have a custom relationship linked to a custom partner function. Whne I create a Partner function, this relationships is created. There are no time constraints on this relationship and a Sold-to Party can only have one of these relationships. I

  • Error message loading Historical reporting

    I am getting an error message on a few PCs.  It is unrelated to the user because this user is able to view reports on other PCs.  Attached is the error I am receiving. I have tried installing/uninstalling.  We have also made sure the user logged into

  • Integrate Application Express 4.0.1.00.03 With EBS 11.5.10.2

    Hello everyone, How to integrate APEX with EBS, so that user does not have to re-enter the username and password again? I followed the following document, it works fine. But user have to re-enter the username and password. How to Integrate Apex with