Desperate for help to create a script!

I know nothing about scripting, but I'm hoping Acrobat has a script that would work to calculate the percentage of two numbers in form fields. I work for a police dept. and need to calculate the percentage of crimes solved vs. crimes committed (ex: 5 robberies, 2 of these are solved, so I need the third form field to calculate the solved percentage of the crimes). Can anyone SAVE me, please?

Here's a custom calculate script you can use for the % cleared field. It assumes the actual number field is named "an.1" and the offenses cleared field is named "oc.1". It sets the value to "0.0%" if either of the input is zero or blank, which you might want to change to something else like an empty string ("").
// Custom Calculate script for "% Cleared" field
(function () {
    // Get the values of the inputs, as numbers
    var actual_number = +getField("an.1").value;
    var offenses_cleared = +getField("oc.1").value;
    // Set this field's value. Round to 1 decimal point and add % sign
    if (actual_number !== 0) {
        event.value = util.printf("%.1f", offenses_cleared / actual_number * 100) + "%";
    } else {
        event.value = "0.0%";
Since it sounds like you will want to be doing the same calculation for several rows, this really should be made into a document-level function that can be called by all of the % cleared fields. If you continue the field naming scheme and named the fields in the rows like "an.2", "oc.2", "an.3", "oc.3". etc. the function could be:
// Function in a document-level JavaScript
function percent_cleared() {
    // Get the terminal field number of the field that called this function
    var fn = event.target.name.split(".")[1];
    // Get the values of the inputs, as numbers
    var actual_number = +getField("an." + fn).value;
    var offenses_cleared = +getField("oc." + fn).value;
    if (actual_number !== 0) {
        event.value = util.printf("%.1f", offenses_cleared / actual_number * 100) + "%";
    } else {
        event.value = "0.0%";
and then called it like this in the calculate event of each "% cleared" field:
// Custom Calculate script
percent_cleared();
If you're unfamiliar with creating document-level JavaScripts, post again.
Edit:  fixed typo

Similar Messages

  • Java install won't accept Ok ?? Desperate for help??

    Java install won't accept <Ok>?? Desperate for help??
    I've decided that I'm going to develop my Rails applications in Linux and keep hitting a BRICK WALL every time I try to install NetBeans or Java. I download all of the packages and come to a text screen that says "Package Configuration" and then "Configuring sun-java5-bin" and then it asks you to read the agreement and there's an <Ok> at the bottom. I can't get through this and everytime it fails my 'package manager' goes bonkers and I have to reload the Ubuntu Gutys Gibbon operating system AGAIN!!!
    I push ENTER and type in "yes" and "Ok" and there is no response.
    I've loaded this operating system FIVE TIMES NOW and the bottleneck is very frustrating as I can't program in a graphics environment without Java.
    I joined this forum just to ask this question and would be grateful for a reply at [email protected]
    Thank you,
    Kathleen

    KathysKode wrote:
    Java install won't accept <Ok>?? Desperate for help??Such a poorly worded question.
    I've decided that I'm going to develop my Rails applications in Linux and keep hitting a BRICK WALL every time I try to install NetBeans or Java. I download all of the packages and come to a text screen that says "Package Configuration" and then "Configuring sun-java5-bin" and then it asks you to read the agreement and there's an <Ok> at the bottom. I can't get through this and everytime it fails my 'package manager' goes bonkers and I have to reload the Ubuntu Gutys Gibbon operating system AGAIN!!!
    I push ENTER and type in "yes" and "Ok" and there is no response.Sorry, I haven't downloaded the JDK to Ubuntu. Maybe I'll try it with my VMWare instance and see how it works out.
    I've loaded this operating system FIVE TIMES NOW and the bottleneck is very frustrating as I can't program in a graphics environment without Java.
    I joined this forum just to ask this question and would be grateful for a reply at [email protected]
    Thank you,
    KathleenAnyone so foolish as to post their e-mail in a public forum like this is open to having their competence questioned. Hope you like spam.
    %

  • If You Are Desperate For Help..

    Hey guys, if you are desperate for help, go to this website...
    http://docs.info.apple.com/article.html?artnum=61711
    When it finishes loading, you should be able to see a box on the right-hand side that says "Chat With A Support Agent"
    Hope this helps with your problems! Good Luck!

    Stewart
    This forum is for questions regarding the LabVIEW Datalogging and Supervisory Control Module. You will have more luck posting this question in the general LabVIEW forum.
    Good luck

  • My 4S keeps showing me sos only only invalid sim? desperate for help?

    my 4S keeps showing me sos only only invalid sim? desperate for help?

    Ok, so I just went to Australia from NZ and the same thing happened to me. I was so annoyed as I couldn't text, ring or anything. I returned to NZ this morning, rang telecom and they said it's a hardware issue and talked me through this:
    Settings, Phone, SIM applications, roaming menu, manual, select your provider, accept.
    Go through each stage and this fixed the problem!!
    Good luck!!

  • Unable to restore from Time Machine after an erase and reinstall - MacbookPro cannot access my old Time Machine backup volume. Desperate for help please?

    My MacbookPro would not move past the Apple logo and spinning wheel for a number of hours.  After trying the numerous suggestions to solve the issue I eventually opted to erase and reinstall feeling confident my Time Machine backups would come to the rescue.  After a successful erase and reinstall I tried to restore all my data from my TIme Capsule using Command-R during start up and by using the Migration Assistant.  Neither worked and I have received messages to the effect that the backup volumes on my Time Capsule cannot be access because I have entered a wrong password or because the backup volume is damaged.
    When I open my Time Capsule in Finder and click on my sparsebundle I get an eror message saying that the disk image could not be opened and that the resource is temporarily unavailable.
    Desperate for some help and comfort that many years of personal data have not been lost.
    Thank you.
    M

    When I try to Verify option it says Unable to Verify - Resource temporarily unavailable.
    Here is the past of the log screen:
    2013-06-09 15:00:00 -0500: Disk Utility started.
    2013-06-09 15:09:01 -0500: Disk Utility started.
    2013-06-09 15:19:53 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 15:19:53 -0500:
    2013-06-09 15:20:00 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 15:20:00 -0500:
    2013-06-09 15:20:05 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 15:20:05 -0500:
    2013-06-09 15:20:13 -0500: Verifying Image “Macajee’s MacBook Pro”
    2013-06-09 15:20:14 -0500: Unable to verify “Macajee’s MacBook Pro.” (Resource temporarily unavailable)
    2013-06-09 15:20:14 -0500:
    2013-06-09 15:25:21 -0500: Verifying Image “Macajee’s MacBook Pro”
    2013-06-09 15:25:23 -0500: Unable to verify “Macajee’s MacBook Pro.” (Resource temporarily unavailable)
    2013-06-09 15:25:23 -0500:
    2013-06-09 15:25:27 -0500: Attach Image “Macajee’s MacBook Pro”
    2013-06-09 15:25:27 -0500: Initializing…
    2013-06-09 15:25:31 -0500: Attaching…
    2013-06-09 15:25:31 -0500: Finishing…
    2013-06-09 15:25:32 -0500: Unable to attach “Macajee’s MacBook Pro.” (Resource temporarily unavailable)
    2013-06-09 15:25:32 -0500:
    2013-06-09 20:02:06 -0500: Disk Utility started.
    2013-06-09 20:05:22 -0500: Disk Utility started.
    2013-06-09 20:07:11 -0500: Disk Utility started.
    2013-06-09 20:18:34 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 20:18:34 -0500:
    2013-06-09 20:19:34 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 20:19:34 -0500:
    2013-06-09 20:19:36 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 20:19:36 -0500:
    2013-06-09 20:22:29 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 20:22:29 -0500:
    2013-06-09 20:22:33 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 20:22:33 -0500:
    2013-06-09 20:22:45 -0500: Verifying Image “Macajee’s MacBook Pro”
    2013-06-09 20:22:45 -0500: Unable to verify “Macajee’s MacBook Pro.” (Resource temporarily unavailable)
    2013-06-09 20:22:45 -0500:
    2013-06-09 20:34:53 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 20:34:53 -0500:
    2013-06-09 20:34:56 -0500: [DUDiskController viewablePartitions] expecting DUDisk, but got nil
    2013-06-09 20:34:56 -0500:
    2013-06-09 20:38:17 -0500: Verifying Image “Macajee’s MacBook Pro”
    2013-06-09 20:38:17 -0500: Unable to verify “Macajee’s MacBook Pro.” (Resource temporarily unavailable)
    2013-06-09 20:38:17 -0500:
    2013-06-09 20:47:35 -0500: Disk Utility started.
    2013-06-09 20:53:06 -0500: Disk Utility started.
    2013-06-09 20:55:30 -0500: Disk Utility started.
    2013-06-09 20:56:40 -0500: Disk Utility started.
    2013-06-09 21:06:32 -0500: Verifying Image “macajee’s MacBook Pro”
    2013-06-09 21:06:32 -0500: Unable to verify “macajee’s MacBook Pro.” (Resource temporarily unavailable)
    2013-06-09 21:06:32 -0500:
    2013-06-09 21:07:08 -0500: Verifying Image “macajee’s MacBook Pro”
    2013-06-09 21:07:08 -0500: Unable to verify “macajee’s MacBook Pro.” (Resource temporarily unavailable)
    2013-06-09 21:07:08 -0500:

  • Avchd   converter for help  you create unique videos easily

    Emicsoft HD Video Converter is the high definition video converter software develeped to convert HD video files with high quality. With this HD video converter you can also easily convert between HD video formats, convert standard definition videos to HD videos, or convert HD videos to SD (Standard-Definition) videos. The HD video converter supports most of HD video formats: MTS/M2TS, TS, HD MKV, HD AVI, HD MP4, HD WMV, HD MOV, HD ASF.
    How to use this HD Converter?
    1. Launch the software and click "Add File" button to import files into the software. You c help yoan watch them on the preview screen.
    2. Edit the added movie by clicking "Effect" "Trim" or "Crop" button which can help you create unique videos easily.
    3. Select output in Profile option. Here all popular formats and mobile devices are supported. Then make sure the destination folder.
    4. Click "Start" button and the program will automatically start conversion.
    Emicsoft AVCHD Converter can convert AVCHD video to all popular video formats, and convert other videos to AVCHD video. So many formats are supported such as HD video (TS, MTS, M2TS, HD MPEG-4, HD MOV, HD AVI, HD VOB, HD ASF, HD WMV, etc.), general video (AVI, MP4, WMV, MPEG-1, MPEG-2, VOB, MOV, 3GP, FLV, SWF, etc.) and audio track (MP3, WMA, WAV, AAC, AC3, OGG, etc.).
    Emicsoft MOD Converter is a powerful MOD video converter which can MOD to AVI, MOD to MPG, MOD to MPEG, MOD to WMV and to other video format, such as FLV, SWF, ASF, DivX, XviD, MP4, VCD, SVCD, DVD-Video, VOB and so on. Batch conversion supported, so you can add several .MOD files one time.
    More softwares may help you:
    Emicsoft Video Converter
    Emicsoft FLV Converter
    Emicsoft MTS Converter

    Komposer-NVU is an html editor for Mac based on the Mozilla Gecko engine (Seamonkey).
    http://www.kompozer.net/
    Seamonkey (mozilla.org) has an html editor called Composer.
    Dreamweaver by Adobe (not free of course). The standard everyone
    else is judged by:
    http://adobe.com
    Freeway
    http://www.softpress.com/store/
    Edit Rocket, never tried it, but the price is right if it works!
    http://www.editrocket.com/download_mac.html
    PageSpinner:
    http://www.optima-system.com/pagespinner/
    More:
    http://www.pure-mac.com/webed.html
    Kj

  • Help In Creating Schema Script In Shorting Order

    Dear Sir
    As i have two similar schemas(with same objects) and i need to create the scripts for both schemas for objects like (procedures,packages,functions,views,triggers) from both schema (which i do with the helpof toad (DBA>>Generate Schema Script) , now my problem is that sequence of object in scripts are different in both scripts , so is there any way i can get fixed shorting sequence (probably in alphabetical sequence) .so that my further process can be simplified
    so what i need is to create indivisual schema script files for two diffrent schemas having same objects and structure, but they should be in same sequence or shorting order to solve my purpose ,so kindly suggest me best or proper technique to solve my issue
    Thanks & Regards
    Ashish Mishra

    839880 wrote:
    Dear Paul Horth
    I rather mean that i am not product specific for any individual product and can got for any product including toad ,sql developer etc if its solving my purpose completely.
    i even tried toad also in toad menu (DBA >> Generate Schema Script) but for two different schema with same objects it gave me script with different sequence
    Thanks & Regards
    Ashish MishraI any RDBMS rows in a table are like balls in a basket.
    The ONLY to ensure results in a specific order is to use "ORDER BY" clause on SELECT!

  • Desperate for help ... Getting error "can't initialize video deck"

    Last night, I had been importing footage just fine into Final Cut Pro HD 4.5 from my camcorder. Then today, no matter how many times I try, how many times I reboot, I get the error that it cannot initialize the video deck when I try to Log and Capture the footage. I've read a number of the solutions to other people having this problem, I ran Disk Utility to Repair Permissions, try unplugging the power and FireWire cable completely, to no avail. Before this, it had been kind of "buggy" in the last few days trying to capture footage, but usually would connect just fine after I would turn off the camera and turn it back on. But today nothing ... I haven't installed or done anything to this system in months, and like I said, I've imported 24 tapes up to now with only a couple of slight times where it couldn't load initially, but usually did on the second try. Could something be conflicting on my system? I have an external hard drive connected to the system which I use for my capture scratch disk, and if I boot up the system with my camcorder turned on, my external hard drive is not recognized. But once I turn the camcorder off, my external hard drive pops right up. Same kind of issue when opening Final Cut Pro ... if I try to open FCP with my camcorder turned on, it hangs on the little rainbow circle. But the second I turn off the camcorder, Final Cut loads just fine. I am really desperate for a solution on this one, I'm way behind on a project, and only have 7 more tapes to go. By the way, I'm on a Power Mac G5.

    jason,
    Before I go into the firewire port reset procedure there are two things you should understand.
    1. Paragraphs are not optional. Your English teacher should give you a dope slap for the way you wrote your original post.
    2. When you reply to a Post, click REPLY ON THAT POST not on your original post. Otherwise, when you view this thread in 'Threaded View" (to be found under My Settings), it looks like you are talking to yourself.
    Now, to reset the firewire bus. I like to do this in a recreational manner - hence the 'Harpoon Solution" (aka the Guinness solution in the mid and far west)
    1. turn everything off.
    2. unplug firewire cables
    3. unplug power cords
    4. get up from well worn chair
    5. walk to refrigerator
    6. open refrigerator
    7. remove bottle of Harpoon (Guinness, local micro brew, etc)
    8. pop cap
    9. pour into glass ( you AREN'T going to drink it from a bottle, are you?)
    10. sip responsibly. enjoy the moment. think pure thoughts
    11. return to kitchen. If less than 15 minutes has elapsed, have another. Otherwise, retrurn to edit room.
    12. Plug everything back together
    12. fire up external monitors, VTR, external hard drives & computer in that order.
    Does it work now? If yes, congratulate your self. If not, oh well, but at least you are in a much better frame of mind to begin some serious troubleshooting.
    cheerios,
    x

  • New to inDesign - looking for help with creating booklets

    Looking for a tutorial/answer on how to set up my book so that the pages can be printed, folded in half (like a brochure/magazine) so that I can bind the pages myself in a book.   Not sure if my page size would be what I want the finished book size to be or if I need to double the page width setup size, because I will be folding them in half to put the book together.  I know there must be a magic button as well that will sort the pages and keep them in the right order, once I fold them.   Does this make sense to anyone?

    Hi 4boyz,
    You can refer to the below mentioned links:
    https://www.youtube.com/watch?v=GY16m7QcFj4
    https://multimedia.nscad.ns.ca/pdfs/indesign-2%20sided%20saddle%20stich.pdf
    https://www.youtube.com/watch?v=BCoTJZXkgSQ
    https://helpx.adobe.com/indesign/how-to/make-brochure.html
    http://www.creativebloq.com/indesign/brochure-design-4112750
    InDesign Help | Creating book files
    http://smallbusiness.chron.com/layout-book-indesign-27014.html
    Some other links to learn Indesign:
    InDesign CC tutorials | Learn how to use InDesign CC
    http://tv.adobe.com/show/learn-indesign-cc/
    InDesign Help | InDesign Help
    http://helpx.adobe.com/pdf/indesign_reference.pdf
    http://vc.uscannenberg.org/sites/vc.uscannenberg.org/files/documentation/31/Adobe%20InDesi gn%20Beginner%20Tutorial.pdf
    http://ptgmedia.pearsoncmg.com/images/9780321926975/samplepages/0321926978.pdf
    http://ptgmedia.pearsoncmg.com/imprint_downloads/peachpit/peachpit/academic/IDCCCIB_Instru ctor_Notes.pdf
    Thanks,
    Nikhil Gupta

  • Printing issues- please, I am desperate for help!

    I purchased a MacBook in April. I already owned the following Canon printers- a Canon pixma ip2600, a Canon mx330, and a Canon ip100. When I try to print photographs, from iPhoto, Preview, or Photoshop CS4, they print out as very pale versions - like ghost images. Word documents with embedded images print fine. I reinstalled the software- I downloaded the most up-to-date version of the software for the current OS on my Mac (Snow Leopard...) - twice. I searched the archives for fixes, and repeated what I already had done. I gave up. I had a book to finish and simply started burning the images to disk to print from the family Toshiba PC laptop. This is not working! I'm desperate to be able to print photos from my own computer!! I don't live near an Apple Store (ours closed a year or two ago.) Can anyone help??

    I don't have any experience with those printers, but for a while my MacBook was having a similar problem with printing to a Canon ir5070 office copier/printer/scanner. The printed pages would be very light, though not as light as you describe. My solution was to download and install the most up-to-date driver from Canon USA's website (http://www.usa.canon.com/cusa/home). If you haven't done that, it's worth a try. Good luck!

  • Desperate for help: My iPhoto library is "unreadable"

    HELP!
    Earlier I tried to open my iPhoto library and it prompted me with a weird message that I've never seen in all of my years using the software. I forget the exact words of the alert because this occurred like two hours ago, but it was something along the lines of needing to upgrade my software in order to view my current library. Although I have an up-to-date version of iPhoto '08, I continued.
    Now, my iPhoto library quite literally went back in time; I don't have any of the photos I've imported since 2007, and the ones that are there are unnamed and unorganized.
    I was able to locate the images on my hard drive, but when I try to import them to the library, I get an error message: "The following files are unreadable because they are an unrecognizable format," or "The following files are unreadable or are already located in the library."
    I'm desperate to get those photographs back into my library, and I have tried everything. I downloaded a software called iPhoto Library Manager, and I've tried to rebuild iPhoto directly, but I kept getting error messages. Does anybody have any advice?

    Welcome to the Apple Discussions.
    iPhoto will not import pics from the active iPhoto Library - a sensible protection against duplication.
    Your database file is damaged, and as iPhoto Library Manager cannot rebuild it, you’ll need to either
    1. Restore from your back up
    or
    2. Create a new Library and start over:
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • Desperate for help: ADDT registration form

    New to ADTT and back again with another, more urgent problem.
    I have used ADDT to create a registration page, using UPDATE instead of INSERT (this is necessary because the users are already in our system as contacts).  To accomplish this I had to do some hand coding and I fear I may have gone awry.  Initially I kept getting a blank page with the message "error: internal server" message when the page loaded...currently I get "Fatal error: Call to a member function addField() on a non-object in /home/agciorg/public_html/events/2009/259/users_Registration.php on line 33."  Now I can no longer open the registration page in Dreamweaver -- freezes DW everytime.  So I'm trying to edit in Text Edit to get it back to a functioning page.  I've already rebuilt the page from scratch twice trying to get things to work and I'm on a major time crunch and just can't afford to do it again.  Below is the current code (I've also attached the php file as a .txt)...any help in resolving my issue would be much, MUCH appreciated!
    <?php require_once('../../../Connections/AGCI.php'); ?>
    <?php
    // Load the common classes
    require_once('../../../includes/common/KT_common.php');
    // Load the tNG classes
    require_once('../../../includes/tng/tNG.inc.php');
    // Make a transaction dispatcher instance
    $tNGs = new tNG_dispatcher("../../../");
    // Make unified connection variable
    $conn_AGCI = new KT_connection($AGCI, $database_AGCI);
    // Start trigger
    $formValidation = new tNG_FormValidation();
    $formValidation->addField("UserFirstName", true, "text", "", "", "", "");
    $formValidation->addField("UserLastName", true, "text", "", "", "", "");
    $formValidation->addField("UserTitle", true, "text", "", "", "", "");
    $formValidation->addField("UserOrganization", true, "text", "", "", "", "");
    $formValidation->addField("UserEmail", true, "text", "email", "", "", "");
    $formValidation->addField("UserPassword", true, "text", "", "", "", "");
    $formValidation->addField("UserPhone", true, "text", "", "", "", "");
    $formValidation->addField("UserAddress", true, "text", "", "", "", "");
    $formValidation->addField("UserCity", true, "text", "", "", "", "");
    $formValidation->addField("UserState", true, "text", "", "", "", "");
    $formValidation->addField("UserZip", true, "text", "zip_generic", "", "", "");
    $formValidation->addField("UserCountry", true, "text", "", "", "", "");
    $formValidation->addField("UserExpertise", true, "text", "", "", "", "");
    $formValidation->addField("UserArrivalDate", true, "date", "", "", "", "");
    $formValidation->addField("UserDepartureDate", true, "date", "", "", "", "");
    $formValidation1->addField("UserPassword", true, "text", "", "", "", "");
    $tNGs->prepareValidation($formValidation);
    // End trigger
    //start Trigger_CheckPasswords trigger
    //remove this line if you want to edit the code by hand
    function Trigger_CheckPasswords(&$tNG) {
      $myThrowError = new tNG_ThrowError($tNG);
      $myThrowError->setErrorMsg("Passwords do not match.");
      $myThrowError->setField("UserPassword");
      $myThrowError->setFieldErrorMsg("The two passwords do not match.");
      return $myThrowError->Execute();
    //end Trigger_CheckPasswords trigger
    //start Trigger_WelcomeEmail trigger
    //remove this line if you want to edit the code by hand
    function Trigger_WelcomeEmail(&$tNG) {
      $emailObj = new tNG_Email($tNG);
      $emailObj->setFrom("{KT_defaultSender}");
      $emailObj->setTo("{UserEmail}");
      $emailObj->setCC("");
      $emailObj->setBCC("[email protected]");
      $emailObj->setSubject("Registration Confirmation");
      //FromFile method
      $emailObj->setContentFile("includes/mailtemplates/welcome.html");
      $emailObj->setEncoding("ISO-8859-1");
      $emailObj->setFormat("HTML/Text");
      $emailObj->setImportance("Normal");
      return $emailObj->Execute();
    //end Trigger_WelcomeEmail trigger
    //start Trigger_ImageUpload trigger
    //remove this line if you want to edit the code by hand
    function Trigger_ImageUpload(&$tNG) {
      $uploadObj = new tNG_ImageUpload($tNG);
      $uploadObj->setFormFieldName("photo");
      $uploadObj->setDbFieldName("UserPhoto");
      $uploadObj->setFolder("../../../dB/ScientistPhotos/");
      $uploadObj->setResize("true", 200, 0);
      $uploadObj->setMaxSize(1500);
      $uploadObj->setAllowedExtensions("gif, jpg, jpeg, png");
      $uploadObj->setRename("custom");
      $uploadObj->setRenameRule("{rsUsers.UserFirstName}_{rsUsers.UserLastName}");
      return $uploadObj->Execute();
    //end Trigger_ImageUpload trigger
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;  
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    mysql_select_db($database_AGCI, $AGCI);
    $query_rsUsers = "SELECT * FROM users";
    $rsUsers = mysql_query($query_rsUsers, $AGCI) or die(mysql_error());
    $row_rsUsers = mysql_fetch_assoc($rsUsers);
    $totalRows_rsUsers = mysql_num_rows($rsUsers);
    // Make an update transaction instance
    $UserRegistration = new tNG_update($conn_AGCI);
    $tNGs->addTransaction($UserRegistration);
    // Register triggers
    $UserRegistration->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Update1");
    $UserRegistration->registerTrigger("END", "Trigger_Default_Redirect", 99, "redirect.php");
    $UserRegistration->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
    $UserRegistration->registerTrigger("AFTER", "Trigger_ImageUpload", 97);
    $UserRegistration->registerConditionalTrigger("{POST.UserPassword} != {POST.re_UserPassword}", "BEFORE", "Trigger_CheckPasswords", 50);
    $UserRegistration->registerTrigger("AFTER", "Trigger_WelcomeEmail", 60);
    // Add columns
    $UserRegistration->setTable("users");
    $UserRegistration->addColumn("UserContactType", "STRING_TYPE", "POST", "UserContactType");
    $UserRegistration->addColumn("UserEventID", "NUMERIC_TYPE", "POST", "UserEventID");
    $UserRegistration->addColumn("UserFirstName", "STRING_TYPE", "POST", "UserFirstName");
    $UserRegistration->addColumn("UserLastName", "STRING_TYPE", "POST", "UserLastName");
    $UserRegistration->addColumn("UserTitle", "STRING_TYPE", "POST", "UserTitle");
    $UserRegistration->addColumn("UserDepartment", "STRING_TYPE", "POST", "UserDepartment");
    $UserRegistration->addColumn("UserOrganization", "STRING_TYPE", "POST", "UserOrganization");
    $UserRegistration->addColumn("UserPhone", "STRING_TYPE", "POST", "UserPhone");
    $UserRegistration->addColumn("UserCellPhone", "STRING_TYPE", "POST", "UserCellPhone");
    $UserRegistration->addColumn("UserAddress", "STRING_TYPE", "POST", "UserAddress");
    $UserRegistration->addColumn("UserAddress2", "STRING_TYPE", "POST", "UserAddress2");
    $UserRegistration->addColumn("UserCity", "STRING_TYPE", "POST", "UserCity");
    $UserRegistration->addColumn("UserState", "STRING_TYPE", "POST", "UserState");
    $UserRegistration->addColumn("UserZip", "STRING_TYPE", "POST", "UserZip");
    $UserRegistration->addColumn("UserCountry", "STRING_TYPE", "POST", "UserCountry");
    $UserRegistration->addColumn("UserWebsite", "STRING_TYPE", "POST", "UserWebsite");
    $UserRegistration->addColumn("UserExpertise", "STRING_TYPE", "POST", "UserExpertise");
    $UserRegistration->addColumn("UserBio", "STRING_TYPE", "POST", "UserBio");
    $UserRegistration->addColumn("UserPhoto", "FILE_TYPE", "POST", "UserPhoto");
    $UserRegistration->addColumn("UserArrivalDate", "DATE_TYPE", "POST", "UserArrivalDate");
    $UserRegistration->addColumn("UserDepartureDate", "DATE_TYPE", "POST", "UserDepartureDate");
    $UserRegistration->addColumn("UserUnsureTravelDates", "CHECKBOX_YN_TYPE", "POST", "UserUnsureTravelDates");
    $UserRegistration->addColumn("User#AdultGuests", "NUMERIC_TYPE", "POST", "User_AdultGuests");
    $UserRegistration->addColumn("UserAdultGuestNames", "STRING_TYPE", "POST", "UserAdultGuestNames");
    $UserRegistration->addColumn("User#ChildGuests", "NUMERIC_TYPE", "POST", "User_ChildGuests");
    $UserRegistration->addColumn("UserChildGuestNames", "STRING_TYPE", "POST", "UserChildGuestNames");
    $UserRegistration->addColumn("UserUnsureGuests", "CHECKBOX_YN_TYPE", "POST", "UserUnsureGuests");
    $UserRegistration->addColumn("UserBookRoom", "CHECKBOX_YN_TYPE", "POST", "UserBookRoom");
    $UserRegistration->addColumn("UserComments", "STRING_TYPE", "POST", "UserComments");
    $UserRegistration->addColumn("UserRegistrationDate", "DATE_TYPE", "POST", "UserRegistrationDate");
    $UserRegistration->addColumn("UserEmail", "STRING_TYPE", "POST", "UserEmail", "{SESSION.kt_login_user}");
    $UserRegistration->addColumn("UserPassword", "STRING_TYPE", "POST", "UserPassword");
    // Make an update transaction instance
    $UsersRegistration = new tNG_update($conn_AGCI);
    $tNGs->addTransaction($UsersRegistration);
    // Execute all the registered transactions
    $tNGs->executeTransactions();
    // Get the transaction recordset
    $rsusers = $tNGs->getRecordset("users");
    $row_rsusers = mysql_fetch_assoc($rsusers);
    $totalRows_rsusers = mysql_num_rows($rsusers);
    ?>
    <!-----------------begin registration form----------------->
    <div id="RegistrationContainer">
          <form method="post" name="RegistrationForm" id="RegistrationForm" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>"> 
            <table width="515" border="0" align="right">
    <tr>
      <td height="135" colspan="2" valign="top" scope="col">
          <?php
    echo $tNGs->getErrorMsg();
    ?>
                    <h1 align="left">Registration Form</h1>
      <br>
        <span class="style5">Please read the logistics information prior to completing the registration form.</span><br />
           There are a limited number of spots available in this workshop.  To secure a spot, please fill out this registration form to the best of your ability as soon as possible.  Please notify AGCI of any subsequent changes to the information submitted below.
                    </td>
    </tr>
          <tr>
            <td height="37" colspan="2" scope="col"><strong>Create a Password</strong></td>
           </tr>
    <tr>
            <td height="53" colspan="2" valign="top" scope="col">
    <table cellpadding="2" cellspacing="0" class="KT_tngtable">
      <tr>
    <td width="127" class="KT_th"><label for="UserPassword">Password:</label></td>
    <td width="248">
    <input type="password" name="UserPassword" id="UserPassword" value="" size="32" />
    <?php echo $tNGs->displayFieldHint("UserPassword");?>
    <?php echo $tNGs->displayFieldError("users", "UserPassword"); ?>
    </td>
    </tr>
    <tr>
    <td class="KT_th"><label for="re_UserPassword">Re-type Password:</label></td>
    <td>
    <input type="password" name="re_UserPassword" id="re_UserPassword" value="" size="32" />
    </td>
    </tr>
      <tr>
    <td class="KT_th"><label for="UserEmail">Email (username):</label></td>
    <td>
    <input type="text" name="UserEmail" id="UserEmail" value="<?php echo $_SESSION['kt_login_user']; ?>" size="32" />
    <?php echo $tNGs->displayFieldHint("UserEmail");?>
    <?php echo $tNGs->displayFieldError("users", "UserEmail"); ?>
    </td>
    </tr>
    </table>
    </td>
           </tr>
    <tr>
            <td height="37" colspan="2" scope="col"><strong>Contact/Personal Information</strong></td>
           </tr>
    <tr>
    <td width="229" height="323" align="right" valign="top" scope="col">
    <input name="UserContactType" type="hidden" value="Scientist">
    <input name="UserEventID" type="hidden" value="259"> <!---NEEDS TO BE CHANGED FOR EACH WORKSHOP--->
    <?php $date = getdate(); ?>
    <input name="UserRegistrationDate" type="hidden"  value="<?php echo $date ?>" >
              <p align="right"><span class="style5">*</span>First name:
                <input type=text name="firstname" value="<?php echo $_SESSION['kt_UserFirstName']; ?>"></p>
       <p align="right"><span class="style5">*</span>Last Name:
               <input type=text name="lastname" value="<?php echo $_SESSION['kt_UserLastName']; ?>"></p>
              <p align="right"><span class="style5">*</span> Job Title:
                <input type=text name="title"></p>
              <p align="right">Department:
               <input type=text name="department"></p>
             <p align="right"><span class="style5">*</span>Organization:
               <input type=text name="organization"></p>
             <p align="right"><span class="style5">*</span>Office Phone:
               <input type=text name="officephone"></p> 
              <p align="right">Cell Phone:
               <input type=text name="cellphone"></p>     
                </td>
                    <td width="255" height="323" valign="top" scope="col">
             <p align="right"><span class="style5">*</span>Address 1:
                <input type=text name="address1"></p>
             <p align="right">Address 2:
               <input type=text name="address2"></p>
              <p align="right"><span class="style5">*</span>City:
                <input type=text name="city"></p>
             <p align="right"><span class="style5">*</span>State / Province:
               <input type=text name="state"></p>
             <p align="right"><span class="style5">*</span>Zip / Postal Code:
               <input type=text name="zipcode"></p>
             <p align="right"><span class="style5">*</span>Country:
               <select name="req_country">
                  <option value="Argentina">Argentina
                  <option value="Australia">Australia
                  <option value="Austria">Austria
                  <option value="Belgium">Belgium
                  <option value="Brazil">Brazil
                  <option value="Canada">Canada
                  <option value="Caribbean_Islands">Caribbean Islands
                  <option value="Chile">Chile
                  <option value="China">China
                  <option value="Colombia">Colombia
                  <option value="Denmark">Denmark
                  <option value="Ecuador">Ecuador
                  <option value="Egypt">Egypt
                  <option value="Finland">Finland
                  <option value="France">France
                  <option value="Germany">Germany
                  <option value="Greece">Greece
                  <option value="Greenland">Greenland
                  <option value="Hong_Kong">Hong Kong
                  <option value="Iceland">Iceland
                  <option value="India">India
                  <option value="Indonesia">Indonesia
                  <option value="Ireland">Ireland
                  <option value="Israel">Israel
                  <option value="Italy">Italy
                  <option value="Japan">Japan
                  <option value="Korea">Republic of Korea
                  <option value="Luxembourg">Luxembourg
                  <option value="Malaysia">Malaysia
                  <option value="Mexico">Mexico
                  <option value="Netherlands">Netherlands
                  <option value="New_Zealand">New Zealand
                  <option value="Norway">Norway
                  <option value="Philippines">Philippines
                  <option value="Portugal">Portugal
                  <option value="Russian">Russian Federation
                  <option value="Saudi_Arabia">Saudi Arabia
                  <option value="Singapore">Singapore
                  <option value="South_Africa">South Africa
                  <option value="Spain">Spain
                  <option value="Sweden">Sweden
                  <option value="Switzerland">Switzerland
                  <option value="China">Province Of China Taiwan
                  <option value="Thailand">Thailand
                  <option value="Turkey">Turkey
                  <option value="United Kingdom">United Kingdom
                  <option value="US" selected="selected">United States
                  <option value="Venezuela">Venezuela
                  <option value="Viet_Nam">Viet Nam
                  <option value="N/A">Not listed
              </select></p>
                <p align="right">Website:
               <input type=text name="website"></p>
                <p align="right"><span class="style5">*</span>Expertise:
                <input type=text name="expertise"></p>
              <br>        
              </td>
    </tr>
       <tr>
              <td colspan="2" align="right" valign="top" scope="col">
                <p><strong>Attach bio:</strong>
      Please type or cut and paste a short professional bio. <br>
      <textarea name="bio" rows="20" style="width:100%"></textarea> <br>
    </p>
    <br>
    <p><strong>Upload photo:</strong>
                  <input class="noformstyle" type="file" name="photo" size="30" ><br>
    (max. 1.5Mb; allowed file types: *.jpg, *.gif, *png only)</p>
    <br>
    <div class="lineDiv"></div>
    <br>
    </td>
           </tr>
          <tr>
              <td height="66" align="right" valign="top" scope="col"><p><strong><span class="style5">*</span>Travel</strong></p>
    <p>Arrival Date:
               <input name="arrivaldate" id="arrivaldate" value="" size="11"><a href="javascript:void(0)" onClick="if(self.gfPop)gfPop.fPopCalendar(document.RegistrationForm.arrivaldate);return false;" ><img class="PopcalTrigger" align="absmiddle" src="http://www.agci.org/JavaScript/calendar/calbtn.gif" width="34" height="22" border="0" alt=""></a>
                </p>          
                </td>
                <td height="66" align="right" valign="top" scope="col">
                  <div align="right">
                    <p> </p>
                    <p>Departure Date:
                      <input name="departuredate" id="departuredate" value="" size="11"><a href="javascript:void(0)" onClick="if(self.gfPop)gfPop.fPopCalendar(document.RegistrationForm.departuredate);return false;" ><img class="PopcalTrigger" align="absmiddle" src="http://www.agci.org/JavaScript/calendar/calbtn.gif" width="34" height="22" border="0" alt=""></a>
                    </p>
                  </div>
                </td>
    </tr>
          <tr>
              <td height="34" colspan="2" align="right" valign="top" scope="col">
                <label>
                <input type="checkbox" name="travel" id="checkbox" value="unsure of travel dates at this time" class="noformstyle" />
                  I do not know my planned travel dates at this time.
                  </label>
              I will notify AGCI as soon as I have made my travel arrangements (see Logistics for information on travel and how to book your travel with AGCI's travel agent).
               </td>
            </tr>
              <td height="184" colspan="2" valign="bottom" scope="col">
                  <br>
    <div class="lineDiv"></div>
    <br>
    <p><span class="style5">*</span><strong>I will be bringing the following guests:</strong></p>
                <p># of Adults:    <select name="adultguests" size="1">
                  <option value="0">0</option>
                  <option value="1">1</option>
                  <option value="2">2</option>
                  <option value="3">3</option>
                  <option value="4">4</option>
                </select>  Names: <input type=text name="adultguestnames">
                </p>
                <p># of Children: <select name="childguests" size="1">
                  <option value="0">0</option>
                  <option value="1">1</option>
                  <option value="2">2</option>
                  <option value="3">3</option>
                  <option value="4">4</option>
                </select>  Names:
                <input type=text name="childguestnames">
                 <br />
                 <br />
                 <input type="checkbox" name="guests" id="checkbox2" value="unsure about guests at this time" class="noformstyle"/>
                     I am not sure about guests at this time. I will let AGCI know at a later date if I decide to bring a guest or child.
                  </td>
            </tr>
          <tr>
            <td height="182" colspan="2" valign="bottom" scope="col">
    <br>
    <div class="lineDiv"></div>
    <br>
                    <p><span class="style5">*</span><strong>Lodging</strong></p>
              <input type="radio" name="book a room?" value="yes" class="noformstyle">
                 <strong>Please reserve a room for me and my guest(s) at the Molly Gibson Lodge.</strong>  A lodging confirmation will be sent to you once you are
    registered. If you plan on extending your stay before or after the workshop dates, please let us know so that we can make appropriate arrangements with the hotel.<br />
    <br />
              <input type="radio" name="book a room?" value="no" class="noformstyle">
                  <strong> I do not require lodging at the Molly Gibson. </strong>I will notify AGCI of where I intend to stay,
    and I understand the reimbursement procedures as described in the logistics information.        
    </td>
           </tr>
          <tr>
              <td height="218" colspan="2" valign="bottom" scope="col">
                <p><strong>Comments:</strong><br>
                <textarea name="comments" cols="400" rows="3"></textarea></p>
                </td>
           </tr>
          <tr>
             <td height="57" colspan="2" valign="middle" scope="col">
                <span class="style5">* required field</span>
               </td>
            </tr>
          <tr>
             <td height="20" colspan="2" valign="bottom" scope="col">
            <input class="submit" type="submit" name="KT_Insert1" id="KT_Insert1" value="Register"></td>
           </tr>
          <tr>
            <td height="121" colspan="2" valign="bottom" scope="col">
              </td>
           </tr>
         </table>
    </form>
    </div>
    <!-----------------end registration form----------------->

    Actually if you do not need a public registration form, its much more practical to use the "Create Dynamic List" and "Create Dynamic Form" behaviors in your site administration back end. And it really only takes about two minutes to set up.
    This will give you the ability to add, delete and edit all your users.
    Brad Lawryk
    Community Expert: Dreamweaver
    Usergroup Manager: Northern British Columbia Adobe Usersgroup

  • Flash CS5 to ipa to App Store Desperate For Help

    For 2 weeks I've been trying to publish a free convert apps I made in CS5 to the Apple App Store. I made it for Android, published it and got it on their Marketplace in mere moments. I then changed the coding to touch instead of click and got ready for the iOS Adventure.
    I can't seem to find any solid step by step tutorials for this, all of them seem to be missing a part.
    Steps on PC so far:
    1. Paid Apple $99
    2. Downloaded OpenSSL-Win32
    3. Made certificate signing request
    4. Got developer .cer
    5. Made .pem file
    6. Made .p12 file
    7. Created AppID and Provisioning Profile
    8. Transferred profile to iPad
    9. Publish .ipa in CS5 using Developer Profile and .p12
    10. Transferred to iPad and voila
    11. Used same certificate signing request to get Distribution .cer
    12. Made .pem
    13. Made .p12 Distribtion file
    14. Create Distribution Provisioning Profile
    15. Exported in CS5 using Distribution .p12 and Provisioning
    16. Made profile on iTunes Connect and converted .ipa to ,zip
    17. Realized there's no way to upload .zip from a PC
    18. Dropped $1300 on a Mac
    Steps on Mac so far:
    1. Deleted all .cer files and provisioning profiles from Provisioning Portal
    2. Used Keychain to generate new certificate request, developer and distribution provisioning profiles and .p12 files
    3. Exported Developer version of CS5 .ipa, installed on iPad, works great
    4. Exported Distribution version of CS5 .ipa
    5. Used Application Loader and got "Unable to Unzip Application"
    6. Changed .ipa to .zip
    7. Double clicked .zip - Opened Payload Folder - Right Click - Compress
    8. Used Application Loader and got "Application Failed Codesign Verification"
    I've read books, watched videos and none of them seem to mention a concrete step by step process of going from Flash CS5 to the App Store. I have a feeling my Distribution profiles/certificates are the problem, but I can't find a solid resource to show me how to make them that actually works. Thank you so much to anyone who can help me, after 2 weeks of this I'm pretty tired of Apple.

    Hi,
    I thought this was a good resources:
    http://www.gotoandlearn.com/play.php?id=133
    There is also an AIR mobile devices forum over at:
    http://forums.adobe.com/community/air
    if you don't have any luck in the Flash forums.
    Regards
    Chris

  • Random kernel panics going on for a long time, desperate for help!

    Hi, I didn'nt quite know what to name this thread, but I will try to describe the problems I have with my MacBook Pro here.
    I have a mid-2009 MacBook Pro and the problems started more than a year ago. They are present under both Snow Leopard and Lion.
    Every now and then I will get a kernel panic when booting up my mac("Hold power button...etc.." grey screen). To solve this i usually have to reset the PRAM a couple of times before it eventually will boot and function as normal. This error happens at least twice a week.
    When finally in OS X things often works perfectly as it should, but sometimes I will get a kernel panic for no obvious reason. For instance whille doing something in Photoshop, or browsing the web in Firefox. I have also quite often experienced kernel panics when shutting down my computer!!
    Over the last month or two the errors has sort of escalated. I changed my harddrive a while back, and performed a clean install of Snow Leopard on that, which didn't help. I then bougth 8GB of new RAM, and did a clean Lion install, which didn't help.
    The most annying error I experience know is that I will get the spinning beach ball of death for several minutes at a time when doing real basic OS stuff. For instance I can move the cursor, click a button, get the beach ball for two minutes, with no system response other than the cursor still being able to move. After a while it catches up and I get the regular cursor back, but as soon as i click on anything it will freeze or another few minutes. Fortunatley this problems has not occured that often, but every now and again this error occurs and leave my mac unusable!
    I have tried everything I can think off, and googled a lot lately. I have tried turning off SMS (as I read that my new drive could conflict with that), I have performed clean installs of the OS many times. I have bought new RAM, and tested it. I have reset the SMC. The PRAM I reset on an almost daily basis.
    If anyone have any suggestions on how to solve this, if it is solvable, I will appreciate it!
    Here is one error-report I got after my mac turned it self off with no warning 30 minutes ago:
    Interval Since Last Panic Report:  77388 sec
    Panics Since Last Report:          3
    Anonymous UUID:                    15481610-C2CF-459F-85CB-A9EB4C8F63A9
    Tue Sep 20 14:20:32 2011
    panic(cpu 1 caller 0xffffff7f809212bf): NVRM[0/2:0:0]: Read Error 0x00000000: CFG 0x064710de 0x00100000 0x00000000, BAR0 0xe4000000 0xffffff80e9a08000 0x096380c1, D0, P2/4
    Backtrace (CPU 1), Frame : Return Address
    0xffffff80e853bd10 : 0xffffff8000220702
    0xffffff80e853bd90 : 0xffffff7f809212bf
    0xffffff80e853be20 : 0xffffff7f80a113fc
    0xffffff80e853be70 : 0xffffff7f8092d02a
    0xffffff80e853be90 : 0xffffff7f8090e18e
    0xffffff80e853bf40 : 0xffffff7f808c823d
    0xffffff80e853bf70 : 0xffffff800023dafc
    0xffffff80e853bfb0 : 0xffffff8000820057
          Kernel Extensions in backtrace:
             com.apple.NVDAResman(7.0.2)[7E65ECA2-D3A1-35F8-B845-C975FB531E7E]@0xffffff7f808 c1000->0xffffff7f80b97fff
                dependency: com.apple.iokit.IOPCIFamily(2.6.5)[95ABB490-3AB5-3D5E-9C21-67089A9AE6A1]@0xffff ff7f8083e000
                dependency: com.apple.iokit.IONDRVSupport(2.3)[E99C8907-946D-3F1A-A261-4C0F2D5D0451]@0xffff ff7f808af000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3)[897EB322-FD55-36D7-A68E-9E9C34A74A84]@0xf fffff7f80877000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11A511
    Kernel version:
    Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64
    Kernel UUID: 24CC17EB-30B0-3F6C-907F-1A9B2057AF78
    System model name: MacBookPro5,3 (Mac-F22587C8)
    System uptime in nanoseconds: 927704357221
    last loaded kext at 56773708487: com.apple.driver.AppleHWSensor    1.9.4d0 (addr 0xffffff7f81d78000, size 28672)
    last unloaded kext at 347020191263: com.apple.driver.AppleUSBTCKeyEventDriver    220.8 (addr 0xffffff7f81baa000, size 8192)
    loaded kexts:
    com.apple.driver.AppleHWSensor    1.9.4d0
    com.apple.filesystems.autofs    3.0
    com.apple.filesystems.ntfs    3.8
    com.apple.driver.AGPM    100.12.40
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleMikeyDriver    2.1.1f11
    com.apple.driver.AppleHDA    2.1.1f11
    com.apple.driver.AppleUpstreamUserClient    3.5.9
    com.apple.driver.AppleMCCSControl    1.0.24
    com.apple.driver.SMCMotionSensor    3.0.1d2
    com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.0b2
    com.apple.driver.AudioAUUC    1.59
    com.apple.GeForce    7.0.2
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AudioIPCDriver    1.2.0
    com.apple.driver.AppleSMCLMU    2.0.1d2
    com.apple.driver.AppleMuxControl    3.0.8
    com.apple.driver.AppleLPC    1.5.1
    com.apple.driver.AppleUSBTCButtons    220.8
    com.apple.driver.AppleUSBTCKeyboard    220.8
    com.apple.driver.AppleIRController    309
    com.apple.driver.AppleUSBCardReader    3.0.0
    com.apple.iokit.SCSITaskUserClient    3.0.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    32
    com.apple.iokit.IOAHCIBlockStorage    2.0.0
    com.apple.driver.AppleFWOHCI    4.8.6
    com.apple.driver.AirPort.Brcm4331    500.20.6
    com.apple.driver.AppleUSBHub    4.4.0
    com.apple.driver.AppleAHCIPort    2.1.8
    com.apple.nvenet    2.0.17
    com.apple.driver.AppleUSBEHCI    4.4.0
    com.apple.driver.AppleUSBOHCI    4.4.0
    com.apple.driver.AppleEFINVRAM    1.5.0
    com.apple.driver.AppleRTC    1.4
    com.apple.driver.AppleHPET    1.6
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleACPIButtons    1.4
    com.apple.driver.AppleSMBIOS    1.7
    com.apple.driver.AppleACPIEC    1.4
    com.apple.driver.AppleAPIC    1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient    166.0.0
    com.apple.nke.applicationfirewall    3.0.30
    com.apple.security.quarantine    1
    com.apple.driver.AppleIntelCPUPowerManagement    166.0.0
    com.apple.kext.triggers    1.0
    com.apple.driver.DspFuncLib    2.1.1f11
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.driver.IOPlatformPluginFamily    4.7.0b2
    com.apple.iokit.IOFireWireIP    2.2.3
    com.apple.iokit.IOSurface    80.0
    com.apple.iokit.IOBluetoothSerialManager    2.5f17
    com.apple.iokit.IOSerialFamily    10.0.5
    com.apple.iokit.IOAudioFamily    1.8.3fc11
    com.apple.kext.OSvKernDSPLib    1.3
    com.apple.driver.AppleSMC    3.1.1d2
    com.apple.driver.AppleHDAController    2.1.1f11
    com.apple.iokit.IOHDAFamily    2.1.1f11
    com.apple.driver.AppleGraphicsControl    3.0.8
    com.apple.driver.AppleBacklightExpert    1.0.3
    com.apple.nvidia.nv50hal    7.0.2
    com.apple.NVDAResman    7.0.2
    com.apple.iokit.IONDRVSupport    2.3
    com.apple.iokit.IOGraphicsFamily    2.3
    com.apple.driver.BroadcomUSBBluetoothHCIController    2.5f17
    com.apple.driver.AppleUSBBluetoothHCIController    2.5f17
    com.apple.iokit.IOBluetoothFamily    2.5f17
    com.apple.driver.AppleUSBMultitouch    220.23
    com.apple.iokit.IOUSBHIDDriver    4.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.0.0
    com.apple.iokit.IOUSBMassStorageClass    3.0.0
    com.apple.driver.AppleUSBMergeNub    4.4.0
    com.apple.driver.AppleUSBComposite    3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.0.0
    com.apple.iokit.IOBDStorageFamily    1.6
    com.apple.iokit.IODVDStorageFamily    1.6
    com.apple.iokit.IOCDStorageFamily    1.7
    com.apple.driver.XsanFilter    403
    com.apple.iokit.IOAHCISerialATAPI    2.0.0
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.0.0
    com.apple.iokit.IOFireWireFamily    4.4.3
    com.apple.iokit.IO80211Family    400.40
    com.apple.iokit.IOUSBUserClient    4.4.0
    com.apple.iokit.IOAHCIFamily    2.0.6
    com.apple.iokit.IONetworkingFamily    2.0
    com.apple.iokit.IOUSBFamily    4.4.0
    com.apple.driver.NVSMU    2.2.9
    com.apple.driver.AppleEFIRuntime    1.5.0
    com.apple.iokit.IOHIDFamily    1.7.0
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    165
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    326
    com.apple.iokit.IOStorageFamily    1.7
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.4
    com.apple.iokit.IOPCIFamily    2.6.5
    com.apple.iokit.IOACPIFamily    1.4

    Hi, I didn'nt quite know what to name this thread, but I will try to describe the problems I have with my MacBook Pro here.
    I have a mid-2009 MacBook Pro and the problems started more than a year ago. They are present under both Snow Leopard and Lion.
    Every now and then I will get a kernel panic when booting up my mac("Hold power button...etc.." grey screen). To solve this i usually have to reset the PRAM a couple of times before it eventually will boot and function as normal. This error happens at least twice a week.
    When finally in OS X things often works perfectly as it should, but sometimes I will get a kernel panic for no obvious reason. For instance whille doing something in Photoshop, or browsing the web in Firefox. I have also quite often experienced kernel panics when shutting down my computer!!
    Over the last month or two the errors has sort of escalated. I changed my harddrive a while back, and performed a clean install of Snow Leopard on that, which didn't help. I then bougth 8GB of new RAM, and did a clean Lion install, which didn't help.
    The most annying error I experience know is that I will get the spinning beach ball of death for several minutes at a time when doing real basic OS stuff. For instance I can move the cursor, click a button, get the beach ball for two minutes, with no system response other than the cursor still being able to move. After a while it catches up and I get the regular cursor back, but as soon as i click on anything it will freeze or another few minutes. Fortunatley this problems has not occured that often, but every now and again this error occurs and leave my mac unusable!
    I have tried everything I can think off, and googled a lot lately. I have tried turning off SMS (as I read that my new drive could conflict with that), I have performed clean installs of the OS many times. I have bought new RAM, and tested it. I have reset the SMC. The PRAM I reset on an almost daily basis.
    If anyone have any suggestions on how to solve this, if it is solvable, I will appreciate it!
    Here is one error-report I got after my mac turned it self off with no warning 30 minutes ago:
    Interval Since Last Panic Report:  77388 sec
    Panics Since Last Report:          3
    Anonymous UUID:                    15481610-C2CF-459F-85CB-A9EB4C8F63A9
    Tue Sep 20 14:20:32 2011
    panic(cpu 1 caller 0xffffff7f809212bf): NVRM[0/2:0:0]: Read Error 0x00000000: CFG 0x064710de 0x00100000 0x00000000, BAR0 0xe4000000 0xffffff80e9a08000 0x096380c1, D0, P2/4
    Backtrace (CPU 1), Frame : Return Address
    0xffffff80e853bd10 : 0xffffff8000220702
    0xffffff80e853bd90 : 0xffffff7f809212bf
    0xffffff80e853be20 : 0xffffff7f80a113fc
    0xffffff80e853be70 : 0xffffff7f8092d02a
    0xffffff80e853be90 : 0xffffff7f8090e18e
    0xffffff80e853bf40 : 0xffffff7f808c823d
    0xffffff80e853bf70 : 0xffffff800023dafc
    0xffffff80e853bfb0 : 0xffffff8000820057
          Kernel Extensions in backtrace:
             com.apple.NVDAResman(7.0.2)[7E65ECA2-D3A1-35F8-B845-C975FB531E7E]@0xffffff7f808 c1000->0xffffff7f80b97fff
                dependency: com.apple.iokit.IOPCIFamily(2.6.5)[95ABB490-3AB5-3D5E-9C21-67089A9AE6A1]@0xffff ff7f8083e000
                dependency: com.apple.iokit.IONDRVSupport(2.3)[E99C8907-946D-3F1A-A261-4C0F2D5D0451]@0xffff ff7f808af000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3)[897EB322-FD55-36D7-A68E-9E9C34A74A84]@0xf fffff7f80877000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11A511
    Kernel version:
    Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64
    Kernel UUID: 24CC17EB-30B0-3F6C-907F-1A9B2057AF78
    System model name: MacBookPro5,3 (Mac-F22587C8)
    System uptime in nanoseconds: 927704357221
    last loaded kext at 56773708487: com.apple.driver.AppleHWSensor    1.9.4d0 (addr 0xffffff7f81d78000, size 28672)
    last unloaded kext at 347020191263: com.apple.driver.AppleUSBTCKeyEventDriver    220.8 (addr 0xffffff7f81baa000, size 8192)
    loaded kexts:
    com.apple.driver.AppleHWSensor    1.9.4d0
    com.apple.filesystems.autofs    3.0
    com.apple.filesystems.ntfs    3.8
    com.apple.driver.AGPM    100.12.40
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleMikeyDriver    2.1.1f11
    com.apple.driver.AppleHDA    2.1.1f11
    com.apple.driver.AppleUpstreamUserClient    3.5.9
    com.apple.driver.AppleMCCSControl    1.0.24
    com.apple.driver.SMCMotionSensor    3.0.1d2
    com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.0b2
    com.apple.driver.AudioAUUC    1.59
    com.apple.GeForce    7.0.2
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AudioIPCDriver    1.2.0
    com.apple.driver.AppleSMCLMU    2.0.1d2
    com.apple.driver.AppleMuxControl    3.0.8
    com.apple.driver.AppleLPC    1.5.1
    com.apple.driver.AppleUSBTCButtons    220.8
    com.apple.driver.AppleUSBTCKeyboard    220.8
    com.apple.driver.AppleIRController    309
    com.apple.driver.AppleUSBCardReader    3.0.0
    com.apple.iokit.SCSITaskUserClient    3.0.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    32
    com.apple.iokit.IOAHCIBlockStorage    2.0.0
    com.apple.driver.AppleFWOHCI    4.8.6
    com.apple.driver.AirPort.Brcm4331    500.20.6
    com.apple.driver.AppleUSBHub    4.4.0
    com.apple.driver.AppleAHCIPort    2.1.8
    com.apple.nvenet    2.0.17
    com.apple.driver.AppleUSBEHCI    4.4.0
    com.apple.driver.AppleUSBOHCI    4.4.0
    com.apple.driver.AppleEFINVRAM    1.5.0
    com.apple.driver.AppleRTC    1.4
    com.apple.driver.AppleHPET    1.6
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleACPIButtons    1.4
    com.apple.driver.AppleSMBIOS    1.7
    com.apple.driver.AppleACPIEC    1.4
    com.apple.driver.AppleAPIC    1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient    166.0.0
    com.apple.nke.applicationfirewall    3.0.30
    com.apple.security.quarantine    1
    com.apple.driver.AppleIntelCPUPowerManagement    166.0.0
    com.apple.kext.triggers    1.0
    com.apple.driver.DspFuncLib    2.1.1f11
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.driver.IOPlatformPluginFamily    4.7.0b2
    com.apple.iokit.IOFireWireIP    2.2.3
    com.apple.iokit.IOSurface    80.0
    com.apple.iokit.IOBluetoothSerialManager    2.5f17
    com.apple.iokit.IOSerialFamily    10.0.5
    com.apple.iokit.IOAudioFamily    1.8.3fc11
    com.apple.kext.OSvKernDSPLib    1.3
    com.apple.driver.AppleSMC    3.1.1d2
    com.apple.driver.AppleHDAController    2.1.1f11
    com.apple.iokit.IOHDAFamily    2.1.1f11
    com.apple.driver.AppleGraphicsControl    3.0.8
    com.apple.driver.AppleBacklightExpert    1.0.3
    com.apple.nvidia.nv50hal    7.0.2
    com.apple.NVDAResman    7.0.2
    com.apple.iokit.IONDRVSupport    2.3
    com.apple.iokit.IOGraphicsFamily    2.3
    com.apple.driver.BroadcomUSBBluetoothHCIController    2.5f17
    com.apple.driver.AppleUSBBluetoothHCIController    2.5f17
    com.apple.iokit.IOBluetoothFamily    2.5f17
    com.apple.driver.AppleUSBMultitouch    220.23
    com.apple.iokit.IOUSBHIDDriver    4.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.0.0
    com.apple.iokit.IOUSBMassStorageClass    3.0.0
    com.apple.driver.AppleUSBMergeNub    4.4.0
    com.apple.driver.AppleUSBComposite    3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.0.0
    com.apple.iokit.IOBDStorageFamily    1.6
    com.apple.iokit.IODVDStorageFamily    1.6
    com.apple.iokit.IOCDStorageFamily    1.7
    com.apple.driver.XsanFilter    403
    com.apple.iokit.IOAHCISerialATAPI    2.0.0
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.0.0
    com.apple.iokit.IOFireWireFamily    4.4.3
    com.apple.iokit.IO80211Family    400.40
    com.apple.iokit.IOUSBUserClient    4.4.0
    com.apple.iokit.IOAHCIFamily    2.0.6
    com.apple.iokit.IONetworkingFamily    2.0
    com.apple.iokit.IOUSBFamily    4.4.0
    com.apple.driver.NVSMU    2.2.9
    com.apple.driver.AppleEFIRuntime    1.5.0
    com.apple.iokit.IOHIDFamily    1.7.0
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    165
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    326
    com.apple.iokit.IOStorageFamily    1.7
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.4
    com.apple.iokit.IOPCIFamily    2.6.5
    com.apple.iokit.IOACPIFamily    1.4

  • I am desperate for help!

    I recently purchased an iMac (October 2013) and my computer knowledge is very limited. The computer has two user areas, one for my wife and one for me. Our iTunes account and photos are in my user area. My wife wants to access our photos and music from her user area. We have now had three separate one to one meetings at our local apple store (Liverpool England ) to sort out our requirements. At each meeting we have been told three completely different ways of achieving this. None have worked or are reasonable. The last recommendation was to copy our iTunes and photos to an external hard drive( which the apple employee did for my wife) and when she wishes to to look at our photos or listen to music plug the hard drive into the computer and upload her requirements.
    Unfortunately I was not at this meeting. This last suggestion seems ridiculous to me!
    Could anyone please help us and give us directions suitable for novices to follow. Many thanks in anticipation. We are rapidly losing faith in apple employees.

    This is Apple's solution for sharing photos on iPhoto using an external hard drive.
    In reality, it maybe a lot easier just purchasing an external hard drive and move both your iTunes library and iPhoto libraries to the external drive for sharing.
    http://support.apple.com/kb/HT1198
    http://support.apple.com/kb/ht1449

Maybe you are looking for

  • Can I use my iPad 3 in Chile with 4g or 3g?

    I am about to buy an iPad 3 in Australia but to use it mainly in Chile. I need to know if the 4g works there or not. Or if it works as 3g? Also what do I have to know about AT&T and Verizone? I have to choose one of those??? thanks, í

  • Dotnet + ABAP...next

    Hi, I am working on ASP.NET and C# and learnt ABAP recently. To market myself in SAP, could anyone suggest which advanced technology in SAP helps? If I learn Netweaver will it helps me to increase my market value? In Netweaver which one is feasible f

  • A question about _lockroot

    The parent movie "test.fla" is empty with follow actionscript code in timeline: stop(); var tc = new TestClass(); //the wanted result is "_level0" var myTest = _root.createEmptyMovieClip("myTestMovie", _root.getNextHighestDepth()); myTest.loadMovie("

  • DVD RAM installation

    Hi everyone, I have a BW G3 (listed below) running 10.2.x I have a couple of questions: first of all, I just got a DVD RAM drive off a guy in town here for $5. I know the guy, so it's a good drive, he said it's in fine working condition. It's the App

  • Backup and Recovery Tool does not record backup

    When I run the Backup and Recovery Tool backup on my OAS mid-tier (Portal/BI), the backup fails because it is unable to start the wireless service, which I am not using. This would not be a big deal, except the Tool does not record the backup, so I c