Numbers 3.5 (Incorrectly?) Activates Sheet When Processing Script

My earlier post was incorrectly marked as answered, so I have re-posted the original question along with a link to the first thread.
Updated Table Name Changes Applescript Operation in Numbers 3.5
I've been using Applescript in Numbers for some time to copy/paste data (set cell values) from one sheet table to another sheet table.
My original script was heavily cribbed from something Yvan Koenig had posted 2-3 years ago.
I recently updated to Yosemite and Numbers 3.5 after testing to ensure my original script remained functional (and it did).
I subsequently updated my source data table by duplicating my old table and editing this new source.
I then updated my Applescript to to reference the new source table.
Testing yielded a good functional result, but Numbers changed its behavior by displaying its work while setting values in the target sheet table.
This obviously slows the script down and adds measurable processing time given the amount of data being moved.
Does anyone know how I can prevent this behavior from occurring?
I don't believe I changed anything material in my original script so I'm really not sure why Numbers changed its behavior.
I have included my script below.  Thanks very much for any help!
property the_goods : {}
property patient_name : {}
property patient_count : {}
property run_date : {}
on run
  set sheet_source to "1500 EXPORT"
  set table_source to "OA Data"
  set column_source to 1
  set row_source to 2
  set sheet_destination to "CLEARING HOUSE EXPORT"
  set table_destination to "Export Table"
  set column_destination to 1
  set nb_rows to 0
  set nb_columns to 244
  set patient_sheet to "SESSION DB"
  set patient_source to "User Input Table"
  set patient_tracker to "Tracking Table"
  set source_column to 3
  set source_row to 2
  set destination_column to 2
  set date_column to 3
  set patient_count_column to 3
  set patient_count_row to 3
  set run_date_row to 5
  tell application "Numbers"
  set document_source to name of front document as string
  set document_destination to name of front document as string
  end tell
  tell application "Numbers"
  tell document document_source to tell sheet patient_sheet to tell table patient_source
  set patient_count to value of cell patient_count_column of row patient_count_row
  set run_date to value of cell patient_count_column of row run_date_row
  end tell
  end tell
  set row_destination to patient_count
  tell application "Numbers"
  tell document document_source to tell sheet sheet_source to tell table table_source
  set the_goods to value of cells column_source thru (column_source + nb_columns) of rows row_source thru (row_source + nb_rows)
  end tell
  tell document document_destination to tell sheet sheet_destination to tell table table_destination
  set r to 0
  repeat with one_row in the_goods
  tell row (row_destination + r)
  set c to 0
  repeat with one_value in one_row
  set value of cell (column_destination + c - 0) to one_value
  set c to c + 1
  end repeat
  end tell
  set r to r + 1
  end repeat
  end tell
  tell document document_destination to tell sheet patient_sheet to tell table patient_source
  set patient_name to value of cell source_column of row source_row
  end tell
  tell document document_destination to tell sheet patient_sheet to tell table patient_tracker
  set value of cell destination_column of row row_destination to patient_name
  set value of cell date_column of row row_destination to run_date
  end tell
  end tell
  set the_goods to {}
  set patient_name to {}
  set patient_count to {}
  set run_date to {}
end run

Hello
I don't use Numbers 3 and so this is a general advice. If the on-screen update is the cause of slowdown, you may simply hide the application. Like this.
tell application "System Events" to set process "Numbers"'s visible to false
-- main code here
tell application "System Events" to set process "Numbers"'s visible to true
Good luck,
H

Similar Messages

  • How to know or check the type of a field when processing a dynamic table?

    Dear all,
        When processing a dynamic table i have a short dump because of a convert_of_type incorrect, so i would like to check the type of field-symbol <f> before moving the data (type char) to this field-symbol <f>.
    Could you please help me how to check or get the type of field-symbol <f> (because field-symbol <f> is assigned dynamic, so this <f> can be type char, unit, or quantity, ...)?
    The source code same as below:
       ASSIGN COMPONENT lc_field OF STRUCTURE ls_data TO <f>.
       MOVE lv_field TO <f>. (Dump is here when lv_field is char type and <f> is quantity type => could i check the type of <f> if it's char type before using this instruction "MOVE ..."?)
    Thanks a lot in advance,
    Vinh Vo

    Try to use this way
    WRITE lv_field TO <f>.
    Instead of
    MOVE lv_field TO <f>.

  • Cannot Activate the Integration Process

    Hi Friend,
    File Merging:
    ==========
    I wonder why the receiver step not taking the " Use Correlation" or "Activate Correlation" value even after creating the correlation list and check(F7) the same.
    At receivers step in Graphical Definition(BPM) I can see the red question mark against Activate correlation value, I can see the value to choose. But when I choose the value and save the value does not stay there it disappears.
    I feel that the correlation list value is not been activated and hence unable to use it for the receivers steps.
    When I activate the Integration Process, below is the error message appears.
    Activation of the change list canceled
    Check result for *Integration Process kanchuBPM_IS | http://kanchuBPM_merge.com:  *
    Step does not use any correlations 
    Step does not use any correlations
    One more information:
    Used steps in BPM....
    Fork :  Fork1
    Receive: Receive1
    Receive: Receive2
    Transformation: Transformation1
    Send: Send1
    Here the problem is at Receive1 and Receive2 steps. - Unable to choose the correlation value created.
    Regards,
    Venkat Ramana K.
    Edited by: Venkat on Dec 9, 2008 3:09 PM

    Hey Carlos,
    Did the SXMB_MONI and IP.
    Got th ebelow error message:
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Unable to figure out what could be the problem..
    Please help me and guide me in detail to clear th error .
    Regards,
    Thank you.

  • Incorrect costing sheet in service orders

    Hi All,
    We have one issue with service orders (T-code: IW32 ) setup.We have processed many service orders in system
    and recently we came to know that there is incorrect cost sheet derived into all the service order from the defaulted cost values of plant and order type.
    Now we want to do the proper setup for correct costing sheet for that plant and order type relationship .
    Can you please help us of  process setups to follow to correct the costing sheet for this requirement and what is the impact on posted service order with incorrect service orders.
    Thanks
    Rishai

    Hello Risha,
    Me also facing a similar issue
    Can you please share the solution for this thread
    Thanks,
    Satya

  • Error when processing asset under construction (AuC) for WBS element message no cj824

    Hi,
    i am getting error message when i change dates in activities.
    Error when processing asset under construction (AuC) for WBS element
    Message no. CJ 824
    i have checked related post but did not find any solution. also check SAP Note but not related to my issue.
    Please guide.
    thanks
    Sunil

    Hi Ken,
    Please check below screens:
    according to this error message AUC has some missing field or some incorrect value. but when i checked via program RAUNVA00 which will display
    Incomplete Assets - Detail List.
    but this program does not return any incompleteness.
    i found many threads and SAP Not but none of is related to my program. this problem comes when i change dates in activity and save the project.
    Please suggest what to do now.
    thanks
    Sunil

  • Error when processing

    Dear All,
    As the required configuration is done and R/3 and when i am trying to bring this application through SE80 BSP Application with HCM_Learning and execute, I am getting the following error in the Explorer Screen. Kindly request you to advice me on this. I have given the details of the error below.
    Error when processing your request
    What has happened?
    The URL http://r3devsuz.suzlon.com:8000/sap/bc/bsp/sap/HCM_LEARNING/traininghome.htm was not called due to an error.
    Note
    The following error text was processed in the system DEV : Exception condition "INITIAL_LEARNER" raised.
    The error occurred on the application server r3devsuz_DEV_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: LSOF_LEARNER_GET_ACTIVITIES of program SAPLLSO_FRONTEND
    Method: ONINITIALIZATION of program CLO267CI12QAAMONPBLHCNROVQJS5CP
    Method: %_ONINITIALIZATION of program CL_O267CI12QAAMONPBLHCNROVQJS5CP
    Method: DO_REQUEST of program CL_BSP_PAGE===================CP
    Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP

    Hi Ravi,
    Since your The termination type was: RABAX_STATE
    Goto the Tcode ST22 and check for the ABAP Dump analysis.
    Also the initial page for the BSP application "HCM_LEARNING" is "leso.htm".
    Did you activate the service? in the Tcode SICF.
    Hope this helps you.
    Regards,
    Subbu.

  • Why does the iPhone 4 need to send an SMS to activate FaceTime when the iPad 2 doesn't?

    Hi there.
    I keep wondering why iPhone 4 need to send a international SMS to activate FaceTime when the iPad 2 doesn't?
    It cost's 2,50 dkr ($0.48) every time it does that.
    I have a mobile subscription where i get 5 hours talk time, Free SMS, Free MMS, Free talk to all with same subscription and 5GB data for 129 dkr/month ($24.77).
    But the internation SMS is not free.
    And it really bugs me that my danish iPhone has to send an SMS to England to acticate FaceTime that i only can use on WiFi.
    I also have a iPad 2 (WiFi model), and it can activate FaceTime fine via WiFi. So why can't the iPhone 4 do that?
    I really really need a good explanation to why i have to pay to activate FaceTime.
    Why can't you make local numbers to send the SMS too, or do it via WiFi just like the iPad 2.
    The strangest this is that you have to be on WiFi to use FaceTime, so why use the mobile network to activate FaceTime?

    Where are you, what network are you on and where did you get your phone?
    The fact that it uses SMS isn't really the issue here and no-one on this forum can answer the "why" question. We are end users, not Apple. The accepted answer is if it's going to tie facetime to your phone number (which it does) then that's the way it's got to work.
    The puzzling part is why it would be sending one to England... unless of course, you purchased the phone in the UK and actually live in another region entirely.

  • Activate application when screen saver active or display asleep

    I cannot activate an application when the screen saver is active nor when the display is asleep.
    Neither
    tell application "Safari" to activate
    nor
    do shell script "open -a Safari"
    work or log errors when run as part of a GUI script.
    Does anyone know the reason or a workaround?

    I also tried
    tell application "System Events" to tell process "Safari" to set frontmost to true
    to no avail. I'm out of ideas, for now.
    So, GUI scripting doesn't work if you schedule a script to run without the application being frontmost when the screen saver executes or the display sleeps?

  • Telephone numbers in a excel spread sheet not recognized by Adobe Acrobat DC

    Before my upgrade to Adobe Acrobat DC on my iPhone, telephone numbers in a excel spread sheet was recognized by Acrobat Reader as such i.e. You would touch and hold the number, then a 'pop up' would appear that gave the option to 'CALL' or 'SEND A MESSAGE'. This function no longer works in Adobe Acrobat DC, why not?

    Hi,
    Acrobat DC for iOS uses the Apple iOS SDK to display the preview of non-PDF documents (e.g. Word, Excel, PowerPoint).
    It looks like an Apple bug for failing to auto-detect phone numbers only in Excel spreadsheets.
    I opened my Excel (.xlsx and .xls), Word (.docx), PowerPoint (.pptx) documents with phone numbers in Acrobat DC for iOS.   The phone numbers in the Word and PowerPoint documents were correctly recognized as such.  In the preview, the plain text turns into blue underlined text.  When you press and hold over the phone number, you will get the options that you have mentioned.
    On the other hand, the phone numbers in the Excel spreadsheet were not recognized in the preview.  In Excel, I used Format Cells > Number > Special > Phone Number with United States (English) as language.  But it did not fix the problem.
    As it turns out, the Apple Mail preview (on iOS 8) has the same problem.  You can also email your Excel spreadsheet to yourself and open it in Apple Mail on your iPhone to confirm that it is an Apple bug.
    You may want to post a question in the Apple Support
    iPhone - Mail, Contacts, Calendars - Apple Support
    or use Word documents instead for auto-detection of phone numbers.
    Sorry for the inconvenience.

  • Reg:s Metal sheet cutting process

    Dear experts,
    I need you expertise ideas on this requirement.
    In one of the manufacturing plant,we have one cutting machine, on this cutting machine a metal sheet is cut into different parts. These parts are semifinished parts.
    In one sheet I may recieve more than 10 to 15 different part numbers and these are semifinished.And here we dont have a fixed BOM, everytime the number of parts and shapes cut in the sheet varies.i have more than 150 semifinshed part numbers which I recieve from sheet.
    How to map this scenario in sap..? Based on the nesting dobe by CNC operating person I cannot create BOM.if I mainrain standard BOM, how to proceed in this kind of scenario.
    Any cutom transaction can be developed to achieve this cutting process.
    Waiting for your valuable inputs.
    Thans in advance...

    Hello
    I suggest you to consider the implementation of the Mill Products (DIMP) industry solution.
    There is a solution specific for this issue, called "multi item order", where you can have several finished products generated by the same order.
    You can find more information on the following link:
    Multi Item Order - SAP Mill Products - SAP Library
    BR
    Caetano

  • I have had my IPAD2 for quite a while but haven't activated my cellular data for about a year.  I am now trying to activate and when I go to cellular data, turn it on and try to tap view account i just get a message that says "connection to server lost".

    I have had my IPAD2 for quite a while but haven't activated my cellular data for about a year.  I am now trying to activate and when I go to cellular data, turn it on and try to tap view account i just get a message that says "connection to server lost".  I could swear the last time I used cellular data you would see the signal in the upper left corner and I only see "no service" there, I am in a location where I know I should have service.  Is there something I should do to my IPAD?  I tried resetting, I tried clearing cookies and history in Safari (after reading a post n these discussions).  I don't know what to do next. My IOS version is 6.1.3.  I did go into Network from the general tab and I see it says "SIM not provisioned".    HELP and Thank you in advance.

    Hello Theresa818,
    Thank you for using Apple Support Communities!
    It sounds like the cellular data will not activate for some reason on the iPad.
    I found this article that will help you resolve this issue here, named iPad (Wi-Fi + Cellular Models): Troubleshooting a cellular data connection, found here http://support.apple.com/kb/TS4249
    Check for a carrier settings update.
    Update your iPad.
    Toggle the Cellular Data setting off and on under Settings > Cellular Data.
    Restart your iPad.
    Tap Settings > General > About. Locate the Carrier entry and make sure that your carrier is correct.
    If your SIM card has SIM PIN enabled, try turning it off: Tap Settings > Cellular Data > SIM PIN.
    Make sure you're in an area of good coverage. If the cellular data connection works in another area, contact your carrier to report the original affected area.
    Reset network settings: Tap Settings > General > Reset > Reset Network Settings.
    Restore the iPad as new.
    If none of the above steps resolves the issue, make an appointment at an Apple Retail Store, contact your carrier, or contact AppleCare to troubleshoot further.
    I know you may have done one or two of the steps here, so you can skip those.
    Take care,
    Sterling

  • Can't view the sheets when using subquery in discoverer desktop

    Hi All,
    I have created 5 subqueries sheets and I need the data from sheet1, sheet3, sheet5. But in the main sheet when I choose the subquery sheets, its showing only 3 sheets(i.e., sheet1, sheet2, sheet4). I don't want the data from sheet2 and sheet4 but I want from sheet1,3,5. I can't view the sheet3,5.
    Please advice.
    Thanks,
    Kamal

    I use Image Converter for iPad to convert my Sony RAW file.
    Not sure if it'll work for Canon.

  • When I try to open a spreadsheet on my Mac that I worked on with my iPhone, I get "You need a newer version of Numbers to open this spreadsheet." When I go to the App store, it says I already have it. I have v. 2.3 and can't seem to download newer version

    When I try to open a spreadsheet on my Mac that I worked on with my iPhone, I get "You need a newer version of Numbers to open this spreadsheet." When I go to the App store, it says I already have it. I have v. 2.3 and can't seem to download newer version.

    If you are running Mavericks, and the Mac App store says you are up to date, then you have Numbers 3.2 as well as Numbers 2.3. You are getting the "Need a newer version message because your Mac is trying to open the document using Numbers 2.3.
    Launch Numbers 3, then open the document from within that app, or right click/control-click the document and choose Open with Numbers 3.x.
    Regards,
    Barry

  • When I click on a saved document or spreadsheet, I get this message You need a newer version of Numbers to open this document.  When I go Software update, there is no update for pages or numbers.  can't purchase or update?

    when I click on a saved document or spreadsheet, I get this message 'You need a newer version of Numbers to open this document'.  When I go Software update, there is no update for pages or numbers.  can't purchase or update?
    Trying re-purchasing.  won't let me.  says to check for updates?
    any suggestions

    It sounds to me as though you are attempting to open a Pages 09 document with the Pages 08 application. If you do have Pages 09 on your computer, it may be that for some reason an existing Pages 08 application is invoked accidentally.
    Jerry

  • An error occurred when processing the spool request.  (Possibly due to memory problems)

    Hi SAP,
    My backgroud job is failing with log as shown below
    Job started
    Step 001 started (program ZMRS0065, variant SUS
    Step 002 started (program ZDRS0090, variant SUS
    Step 003 started (program ZFRS0305, variant SUS
    Step 004 started (program ZFRS0300, variant SUS
    Access error
    Job cancelled after system exception ERROR_MESSAGE
    An error occurred when processing the spool request.  (Possibly due to memory problems)
    Kindly help out in this issue
    Regards
    Mohammed

    Hello Mohammed,
    Have you seen any error in your SM21 system log and developer trace of spool work process
    during that time?
    The maximum size when create spool is 2GB.Pls also check if you are creating a spool
    larger than it.
    Best Regards
    Jie Bai

Maybe you are looking for

  • How do i Secure & recover file from shared folder

    Hi All, I have Windows server 2008 R2 environment and one shared folder created on this with restricted permission by file sharing & security, now 1. I want to add one more restriction that owner of the folder should not able to delete that file? If

  • Phap_admin: how to add columns to the initial ALV

    Hello everyone, I have a requirement which is to add 2 new columns on the ALV that appears after going through the phap_admin selection screen. I show you a picture as an example: I need to add 2 fields form infotype 0002 in this ALV list. I've been

  • Apps not showing up / won't download

    Hi, I have a blackberry bold 9700 with OS 5.0.0.602 (platform 5.1.0.112) When I go into app world on the phone and I click on an app to download the screen goes blank,all i see for e.g is "WhatsApp Messenger" to the top but the rest of the screen is

  • Send mail use PROGRAM: BCS_EXAMPLE_1

    I have config SAPconnect and SMTP node for mail sending. But still failed. I test on SAP NetWeaver 2004s SP12. In SCOT ,i active the trace. And the red message is <b>802 = 553 authentication is required,smtp11,wKjAD7B7PQkE</b> I don't understand, why

  • What is the EL way to write this?

    Hi, I'm trying to write embed some Java code within my Struts tag, and I'm getting compilation errors. This <html:submit property="next" disabled="<%= (endCount<maxCount) ? "false" : "true" %>"><bean:message key="button.next"/></html:submit> gives me