Applescript, numbers, and automatisation tasks, a nightmare for me...

Hello,
Again a new question, and thank you again for your help. I found a answer for a part of the problem, but not for all, with applescript.
I would like to create this automatisation :
Every month, I have a despense wich is coming the 1st.
-I would like numbers to open my "bank" document, and enter automatically the password (there is one, and I want to enter it automatically just for this script)
-select the good table, create a row at the end of the table/list,
-and in this new row, to enter the date of the day (so the 01/09/09 or 01/10/09 etc),
-the name of the transaction (always the same) in the next cell,
- the nature of it in the next cell (idem),
- the amount,
- at the end there is a case to valid or not the transaction, I don't want to valid it.
at the end, but it's not the most important, is it possible to create this new row including formulas, or without erasing precedent formulas ? (All the precedent rows contains formulas, so the new automatic row will copy them I think, but enter text automaticly will erase formulas no ?)
I succeed for a part of this, but I don't find how to select the last row, the empty one just created. I can't refer to a number of row because there are always new others operations I insert myself. And I don't succeed to force the last case to be "not valid"
After that, I prepare an automator/ical app, and automate the script for all the 1st of each months.
I didn't find the solution to create in the 1st cell, the date with the curent day or the specific day of the transaction.
Thank you very much again, if you have the solution, or if you have a better solution than use automatoricalapplescript

I have a similar thing on one of my forms, the fields are "Date Submitted" and "Date Needed" and I need to validate that the Date Submitted date occurs before the Date Needed date.  If it does not, it prompts a response dialog box and asks for a new DateNeed to be entered.  Here is the code I used: (I'm by no means an expert at code)<br /><br />//This just sets the values of the date/time fields to variables, and then checks for a null value.  If null, it changes the rawValue to an empty string for inserting into database.  If not null, it leaves the existing rawValue unchanged. Unless you're writing info to a database, you probably wouldn't need this.<br /> <br />var DateSubmit = form1.MainForm.Info.DateSubmitted.rawValue == null ? "" : form1.MainForm.Info.DateSubmitted.rawValue;<br />var DateNeed = form1.MainForm.Info.DateNeeded.rawValue == null ? "" : form1.MainForm.Info.DateNeeded.rawValue;<br /><br />if (DateNeed<DateSubmit)<br /><br />{<br /><br />     var dateResponse = xfa.host.response("The Date Needed date must be later than the Date Submitted date.\nPlease enter new date below: (MM/DD/YYYY format)", "Date Needed Error");<br /><br />     var myDate = new Date(dateResponse);<br /><br />     var myFormattedDate = util.printd("dd mmm yyyy", myDate);<br /><br />     form1.MainForm.Info.DateNeeded.formattedValue = myFormattedDate;<br /><br />}<br /><br />BTW, I have this as code on a submit button that does all of my validations and then writes a new record to a database.  But I think you could also do this on the exit event of the second date/time field if needed. The variable declarations at the top would be slightly different.<br /><br />Lynne

Similar Messages

  • Can You have roman numerals for the first few pages of a document and then use normal numbering and start back at 1 for the rest?

    I am writing my theses and want to start with Chapter 1 on page one,
    Thanks

    Menu > Insert > Section Break
    and change the numbering in:
    Inspector > Layout > Section > Start at: > uncheck Use previous headers and footers
    Menu > Insert > Auto Page Numbers/Page Numbers
    Right click on the Inserted number to choose its format.
    Peter

  • HT5051 iCloud updates for Pages, Numbers, and Keynote?

    When will the option to save to iCloud in pages, numbers, and keynote appear? As of 8/16 I still have the option to save to iDisk, it then I'm informed that iDisk is discontinued and I have a button that sends me here.

    The option to save in Pages, Numbers and Keynotes has been around for some time now. It happens automatically on the iPad. There is no "Save to iCloud" option in the apps themselves. You turn it on in the settings.
    I have Pages on my iPad and every document that I create or edit on the iPad - is available to me in my iCloud.com account. Did you turn on use iCloud in all three apps? You have to turn on Use iCloud in the settings for those apps. Settings>Pages>Use iCloud>On.

  • I have recently purchased a macbook pro and i gave my macbook to my wife, how can she recover the apps i bought and paid for so she can use the Pages, Numbers and Keynote

    i have recently purchased a macbook pro and i gave my macbook to my wife, how can she recover the apps i bought and paid for so she can use the Pages, Numbers and Keynote

    If you bought/paid for them in the Mac App Store, you would just need to sign in to the MAS with the Apple ID you used to purchase them, go to purchases, and click install.
    As for the limited licensing that Bordy brought up, the TOS for the MAS states:
    "Apps from the Mac App Store may be used on any Macs that you own or control for your personal use."
    If you installed them from an iWork disc, just pop the disc back in and reinstall.
    Regards,
    Gnomish8

  • AppleScript open and save file with Numbers

    Hi all,
    I need to save an Excel .xls file as an .xls file in order to break the links that are included in the original Excel file. Since Numbers doesn't have any actions for Automator, I hoped someone could help me writing an AppleScript?
    It needs to open (Numbers) and all the .xls files that are added to a specific folder on my Mac, then save them to another folder as .xls (not .xlsx) and overwrite any existing files with same name. Since this all should work automatically, warnings and pop-ups that need a user to click an option are not allowed.
    Didn't think this could be too hard, but I'm just a noob when it comes to AppleScript. Help?
    Thanks in advance

    Check the attributes of the <textarea> tag. You can use wrap="no" or wrap="virtual" or wrap="hard" to define how the text area handles carriage returns.
    Brian

  • Elance for mac stuff? convert XLS - Numbers and make it look good

    I often use elance.com for small projects. I have a project to convert some XLS sheets to Numbers. One of the main purposes is to make it look better, so I need a consulant who not only knows how to use numbers but understands design.
    is there a group like elance but more mac focused...in order to get bids? or a few groups i should look at for small projects like this?
    Also, as an aside, has anyone made a plug in for Excel so it can import numbers and actually work like numbers (ie, i know i can covert numbers to excel, but i really wish numbers was also available on the PC, barring that at least some plug in or somthing close?)

    There is no Excel plugin available to decipher Numbers documents.
    Given the past behaviour of M…Soft, I would be surprised if they offer one some day.
    Apple always made a serious work to allow its customers to import/export M…Soft created files but there was no effort of this kind in the other world.
    I would be surprised too if a Window version of Numbers was delivered one day.
    Apple development resources aren't large enough to allow them to waste these resources on such a project.
    At this time, it seems that they have some difficulties to maintain the two versions (mac and iPad) of iWork applications so, it would be very bad news for users of these products if they move some engineers on such a new task.
    Yvan KOENIG (VALLAURIS, France) jeudi 19 août 2010 17:30:02

  • TS1398 The WEP password to access WiFI from Time Warner is 12 numbers and letters plus 14 zeros.  Can I expand the available space in the space for entering passwords

    The WEP Password to access wifi from Time Warner cable is 12 numbers and letters followed by 14zeros.  The available space to input password is unequal to the task?  Time Warner advised to call Apple.  Any one with a suggestion on how to either 'customize' WEP or expand available password input space?  Better ideaS?

    wjosten - I was using a WEP password of greater than 13 characters with no problem.
    Mondayblues - Are you saying that you cannot set your own password for your router/modem? You should be able to access it from an ethernet connected computer and change the password to suit yourself.  If it's not more than about 4 years old, you should be able to use WPA instead of WEP, which is much more secure.  Google "time warner modem  yourmodel" to find the user manual and the URL to access the modem.

  • Thanks for help with Numbers and web stock quotes

    Koenig Yvan,
    I want to public thank you for sharing your Applescript: InsertQuotes from 2009 that works with Numbers.
    I've successfully modified and simplified it for my purposes to be able to retrieve and set values for a portfolio of U.S. mutual funds that are our investments.  I have a spreadsheet that started out years ago as an Excel spreadsheet on Windows XP and used Microsoft's ability to retrieve information from the web from finance.yahoo.com and place it in Excel spreadsheet cells. 
    I converted that spreadsheet to Google spreadsheet using their GoogleFinance function.  It proved to be unreliable intermittently and now I've taken that spreadsheet into Numbers '09 and used your script, modified to use my portfolio's list of symbols and to put just the prices into a quotes sheet.  For each account I track in my Numbers spreadsheet I use the table Lookup function to search the quotes sheet for a specific symbol and have the function return the associate price.
    Following your instructions I put the Applescript in the ~/Library/Scripts/Applications/Numbers/ and after opening my Numbers spreadsheet, with one mouse click in the System wide Scripts menu, execute the script which accesses finance.yahoo.com and sets the latest prices into my quotes sheet.
    Thanks very much for sharing with everyone.  I appreciate having access to your work to make my work much easier.

    Which structure ?
    If you are wondering about the Library folder, it's a feature described thiuysands of time.
    In Lion, this folder is hidden.
    press Option while triggering the menu "Go to" give access to this folder.
    Yvan KOENIG (VALLAURIS, France) vendredi 14 octobre 2011 20:36:13
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • I switched on my PC and there was an update for realplayer. Since then firefox will not load. It is running according to Task Manager. I've downloaded a another copy of the programme using IE but whilst it loaded as a programme, does not open a window.

    I switched on my PC and there was an update for realplayer. Since then firefox will not open as a window. It is running according to Task Manager. I've downloaded a another copy of the programme using IE but whilst it loaded as a programme, does not open a window.

    Hi again,
    Helps if I give the correct link ! <br/>The press shift button appears to still work, but the option to start in safe mode from the programs listing of a standard install I do not think exists anymore.
    Safe mode will start from a command line, (or a shortcut) and in some circumstances you may need to enter the full path name on a command or shortcut detailed instructions are at http://kb.mozillazine.org/Safe_mode
    Remember (at least at this stage) do not make changes when you get the options list, just click on the continue button.
    If you think that RealPlayer is causing the problem you could uninstall that for now.
    Firefox recent versions are 3.6 4.0 (and 5.0 in beta). There is some debate as to whether creating new profiles or re-installing Firefox is the simplest method of troubleshooting and solving some of these problems, personally I use multiple profiles and multiple versions of Firefox, and tend to forget the required procedures are less than straightforward. For now at least try [[safe mode]] again.
    * see also Instructions for [[installing a previous version of firefox]]

  • Email Notifications for both UWL Tasks and Collaboration Tasks.

    Hello,
    I want to configure Email Notifications for both UWL Tasks and Collaboration Tasks.
    Could any one please give me the configuration steps.
    Thanks in Advance.
    Regards,
    Sridhar.

    Hi sri,
    Refer the following threads
    https://www.sdn.sap.com/irj/scn/thread?threadID=147316
    https://www.sdn.sap.com/irj/scn/thread?messageID=315715#315715
    https://www.sdn.sap.com/irj/scn/thread?messageID=1170132#1170132
    Regards,
    P.Manivannan

  • Email Notifications for UWL Tasks and Collaboration Tasks

    Hi,
    I want to configure Email Notifications for both UWL Tasks and Collaboration Tasks.
    I done with the all the Configurations suggested in the below link:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/706d054d-da24-2b10-f18a-fc82faf6468e]
    But Email Notifications are not reaching the users Lotus Mail ID. Could any one please suggest me that i am missing any Configurations.
    Thanks in Advance.
    Regards,
    Sridhar.

    Hi Sridhar,
    I created a Wiki page with usefull links to troubleshoot problems with the Email connectivity from KM:
    https://wiki.sdn.sap.com/wiki/x/g4KmAw
    Please see if it helps,
    Robert

  • My wife and I want to swap her 4s for my 4 while a take a short trip out of the country.  We use the same email address for itunes but different for email.  Can we just change our phone numbers and email addresses so we get our own messages?

    My wife and I want to swap her iphone 4s for my iphone 4 while I take a short trip out of the country.  We use the same itunes account but have different email accounts.  Can we just change our phone numbers with our carrier and change email addresses on our phones so we get correct messages, with out disturbing our other apps?

    The email is simple. Just delete her email acoount on her iPhone and configure your account into the phone and then do the same for her on your phone.
    The harder issue is that to switch the cellular phone service you will need to switch the SIM cards and the two phones do not use the same size SIM card.

  • I bought iPad air. How can I download for free the app : iPhoto, iMovie, Pages, Numbers and Keynote?

    I bought iPad air. How can I download for free the app : iPhoto, iMovie, Pages, Numbers and Keynote?

    Before you can download free apps:
    1. Make sure you are using IOS 7 (ignore)
    2. Make sure your iPad is registered in My Support Profile.
    https://supportprofile.apple.com/
    3. Try downloading again; it should be free.
    If you need serial number, it's here:
    Settings>General>About

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • I had previously purchased the programs "Pages" and "Numbers" and they are on my iPhone and iPad I was told that the programs would automatically copy a version of itself for the iMac to be running them but I don't see it installed. How can I install them

    I had previously purchased the programs "Pages" and "Numbers" and they are on my iPhone and iPad I was told that the programs would automatically copy a version of itself for the iMac to be running them but I don't see it installed. How can I install for free?  I see that I could go to the apple store and purchase them again but I belibve that since I had already purchased them; I would get a free copy for my Imac.  Do I got something confused here?  Please help.

    Whoever told you that was misinformed or lying. Those applications are sold separately for the iOS platform and the Mac platform.
    Go to the Mac App Store to purchase Pages and Numbers for your Mac. They're $20 each. If you are running an older version of Mac OS X that can't use the Mac App Store, you can purchase install media from Apple.

Maybe you are looking for

  • HP Pavilion g6t-2000 CTO Notebook PC upgrading from i3 to i7

    Hello, I have a HP Pavilion g6t-2000 CTO Notebook PC with a Intel(R) Core(TM) i3-2370M CPU that I would like to upgrade to an i7.  Is this possible?  And if so, what processors should I be looking for?  Thanks for any info in advance.  This question

  • I am getting PLS-00410 error - duplicate fields in RECORD, TABLE or argumen

    Here is what I am doing. I have a package header and a package body. The package header compiles successfully and the above error is displayed while compiling the package body only. Package Header : create or replace package pkg_pms_print is type c_r

  • How to Update material cost of user defined org specific cost type

    Hi, We need to update material cost sub elements of an item for an org specific and user defined cost type. I have inserted a sample row in the CST_ITEM_CST_DTLS_INTERFACE, and running open interface 'Mass Update Material Costs', but the program is n

  • Transaction management in time out

    Hi, I have one question regarding the transaction handling if the program time out. If I call one function module and there is several SQL statements in it, each SQL statement takes long time, after some of them executed, the program is time out, wil

  • Saving sent emails

    Hi people, I am having a problem with my sent emails from my iPad. I am using gmail and when I send an email, the sent email is not picked up by my desktop computer running Outlook 2007. This seems strange to me as emails I send on the same account f