Need help with box counting Script

He had to count the number of boxes checked. I use the script below and its does not work. What I am, I am doing wrong? It drives me crazy.

/*

document level function to calculate the sum of the fields named

Function Sum (aFieldNames) {}

var sum = 0; sum of values

Browse fields

for (var i = 0; i < aFieldNames.length; i ++) {}

If (!) IsNaN (this.getField(aFieldNames[i]).value))

sum += Number (this.getField(aFieldNames[i]).value).

}

to return the sum;

} / / end of the sum function

*/

Bay of somme of domain names

var aCheckBox = new Array ("check Box5', 'Check Box8', 'Vérifier Box11', 'Check Box16', 'Check Box19', 'Check Box22', 'Check Box25', 'Check Box28', 'Check Box31', 'Check Box34', 'Check Box37', 'Check Box40', 'Check Box43', 'Check Box46', 'Check Box49', 'Check Box52', 'Check Box55', 'Check Box58', 'Check Box61', 'Check Box64', 'Check Box68'");

sum, named fields

Event.Value = Sum (aCheckBox);

Then why you check if they are several using the isNaN function and then try to add this number to the sum variable? Looks like you just copy the code, even if it does not apply to your situation.

Replace these two lines of code with this:

If (this.getField(aFieldNames[i]).value! = "Off") sum ++;

Tags: Acrobat

Similar Questions

  • Need help with understanding PowerCli scripting by LucD

    Hello

    I'll give you the standard statement that I am a noob powercli and don't really know what I'm doing here.  Here's a script that works because it runs without error and gives a report but I need help to understand this under his weight.

    Connect-VIServer '< our vcenter >' - user < user > admin-password < admin-user-pwd >

    $allvms = @)

    $vms = get - Vm | where {$_.} PowerState - eq "Receptor"}

    $start = (get-Date). AddDays(-1)

    $metrics = "mem.usage.average".

    $stats = get-Stat-entity $vms - start $start - Stat $metrics

    $stats | Group-object - property {$_.} Timestamp.Day}, {$_.} @entity.name} | %{

    $vmstat = "" | Select the day, MemAlloc, MemMin, MemMax, MemAvg, VmName

    $vmstat. VmName = $_. Values [1]

    $vmstat. Day = $_. Group [0]. Timestamp.Date

    $mem = $_. Group | where {$_.} MetricId - eq "mem.usage.average"} | Measure-object-property value - average - Maximum - Minimum

    $vmstat. MemMax = [int] $mem. Maximum ##dfsdf

    $vmstat. MemAvg = [int] $mem. Average

    $vmstat. MemMin = [int] $mem. Minimum

    $vmstat. MemAlloc = $_. Group [0]. Entity.MemoryMB

    $allvms += $vmstat

    }

    $allvms |

    Export-Csv "c:\ < folder > \ <>.csv file Destination"-noTypeInformation

    It connects to our server vcenter server and offers two days of data.  Today and yesterday, all with a timestamp of 0:00.  See below for an example of a virtual machine.

    VmNameDayMemAllocMemMaxMemAvgMemMin
    < name VM1 >07/05/2016 0:004096181818
    < name VM1 >06/05/2016 0:0040963612

    8

    The MemMax, the MemAvg and the MemMin are for this day?  Just the max of this period of sampling time 0:00?

    What I'm looking for, it is to find that the use of the maximum memory of virtual machines are for the whole day.  So I hope that I can remove memory of VMs that do not use it.  I was listed on the change $start = (Get-Date). The value of AddDays(-1) to $start = (Get-Date). AddDays(-30) and see what things alike.  I want to be sure however that the value for MemMax is the highest value for a period of 24 hours.  That is to say for the 07/05/2016 the given virtual machine never used a maximum of 18% of his memory attributed the 06/05/2016 the maximum amount of memory used was 36%, and so on that I extend on the date range.

    Kind regards

    Michael

    It then becomes a rather simple Get-Stat script.

    $vms = get - Vm | where {$_.} PowerState - eq "Receptor"}

    $start = (get-Date). AddDays(-1)

    $metrics = "mem.usage.average".

    Get-Stat - entity $vms - start $start - Stat $metrics |

    Select Timestamp,@{N='VM'; E={$_. @entity.name}}, Value |

    Tri-objet-VM property |

    Export-Csv "c:\------.csv '-noTypeInformation

  • Need help with SUM/COUNT

    Hi all
    I have the following code:
    SELECT   t1.firm_id, COUNT (t1.item_req_seq_num),
             DECODE (t2.selection_code, '1', COUNT (t2.selection_code)) selected,
             DECODE (t2.selection_code,
                     '2', COUNT (t2.selection_code)
                    ) alternate, t3.firm_name
        FROM prime_firm_item_submit t1,
             results_select_committee t2,
             firm_information t3
       WHERE t1.prime_firm_submittal_id = t2.prime_firm_submittal_id
         AND t1.firm_id = t3.firm_id
         AND t2.selection_code IN ('1', '2')
    GROUP BY t1.firm_id, t2.selection_code, t3.firm_name
    and the example of dataset is as below:
    FIRM_NAME FIRM_ID COUNTY (T1. ITEM_REQ_SEQ_NUM) SELECTED ALTERNATE
    ABC Inc. 1 26 26
    ABC Inc. 1 1 1
    Thomas LLC 3 1 1
    2257 1 1 ARON
    94 16 16 Carrie tech
    Tech 94 1 1 Carrie
    Keiths 9 10 10
    Z & Z 1 1 454

    What I want to achieve is, FOR example the ABC Company has 26 + 1 total record, I want to see them as a line 27, 1 26 selected and another... just like a line is possible possible? need help please.

    Published by: thinkingeye on May 11, 2010 13:02
  • Need help with files combining script

    Hey guys, I'm a graphic designer who is really hoping most commonly the code can someone help! I have several hundred images that need to be combined. A client gave me a folder of images and their alpha cards as separate files. I need combine each image and alpha map and export the new image format PNG 24 with transparency. Doing so by hand will take forever, do this with a script is going to be awesome. The script must:

    -Open Filename.png

    -Create a duplicate of the background layer (as background layers may not have masks it seems)

    -Remove the background layer

    -Add a layer mask to the new double layer

    -Open filenamea.png (the alpha cards follow convention assignment of names + a .png file name)

    -Copy filenamea.png into the layer mask to filename.png

    -Save the filename.png for Web and devices such as a PNG 24 with transparency in a folder called converted (to avoid overwriting the old image)

    I'm sure it's more complicated, it seems, but is - someone up to help a poor, illiterate code GD?

    Here's a JavaScript solution only, for the curious. Save it as MergeAlpha.jsx and run it from Photoshop.

    X

    function cTID(s) { return app.charIDToTypeID(s); };
    function sTID(s) { return app.stringIDToTypeID(s); };
    
    function main() {
    
      var folder = Folder.selectDialog();
      if (!folder) {
        return;
      }
    
      var ofolder = new Folder(folder + "/Converted");
      ofolder.create();
    
      var saveOpts = new ExportOptionsSaveForWeb();
      saveOpts.format = SaveDocumentType.PNG;
      saveOpts.PNG8 = false;
      saveOpts.transparency = true;
    
      var pngs = folder.getFiles('*.png');
    
      for (var i = 0; i < pngs.length; i++) {
        var file = pngs[i];
        var afile = new File(folder + '/' + file.name.replace('.png', 'a.png'));
        if (!afile.exists) {
          continue;
        }
    
        var doc = app.open(file);
        doc.activeLayer.isBackgroundLayer = false;
        var adoc = app.open(afile);
        adoc.selection.selectAll();
        adoc.selection.copy();
        adoc.close(SaveOptions.DONOTSAVECHANGES);
    
        createLayerMask();
        selectMaskChannel();
        doc.paste();
    
        var ofile = new File(ofolder + '/' + file.name);
        ofile.remove();
        doc.exportDocument(ofile, ExportType.SAVEFORWEB, saveOpts);
        doc.close(SaveOptions.DONOTSAVECHANGES);
      }
    };
    function createLayerMask() {
        var desc9 = new ActionDescriptor();
        desc9.putClass( cTID('Nw  '), cTID('Chnl') );
            var ref6 = new ActionReference();
            ref6.putEnumerated( cTID('Chnl'), cTID('Chnl'), cTID('Msk ') );
        desc9.putReference( cTID('At  '), ref6 );
        desc9.putEnumerated( cTID('Usng'), cTID('UsrM'), cTID('RvlA') );
        executeAction( cTID('Mk  '), desc9, DialogModes.NO );
    };
    function selectMaskChannel() {
        var desc26 = new ActionDescriptor();
            var ref18 = new ActionReference();
            ref18.putEnumerated( cTID('Chnl'), cTID('Chnl'), cTID('Msk ') );
            ref18.putEnumerated(cTID('Lyr '), cTID('Ordn'), cTID('Trgt'));
        desc26.putReference( cTID('null'), ref18 );
        desc26.putBoolean( cTID('MkVs'), true );
        executeAction( cTID('slct'), desc26, DialogModes.NO );
    };
    
    main();
    
  • Need help with changing PowerCLI script to get the interface driver NETWORK &amp; firmware version?

    Hi all

    mattboren created the script below for a list of BIOS hardware version and firmware version:

    ## Script function: quickly get BIOS date, Smart Array FW version, and iLO FW version for HP hosts in a given location (folder, cluster, datacenter, etc.)
    ## Author: vNugglets.com -- Sep 2011
    
    ## folder in which hosts in which we are interested reside
    #$strHostsFolderName = "myFolder"
    #Get-View -ViewType HostSystem -Property Name, Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo -SearchRoot (Get-View -ViewType Folder -Property Name -Filter @{"Name" = "^$([RegEx]::escape($strHostsFolderName))$"}).MoRef | %{
    ## cluster in which hosts in which we are interested reside
    
    $strHostsClusterName = "Production"
    Get-View -ViewType HostSystem -Property Name, Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo -SearchRoot (Get-View -ViewType ClusterComputeResource -Property Name -Filter @{"Name" = "^$([RegEx]::escape($strHostsClusterName))$"}).MoRef | %{
        $arrNumericSensorInfo = @($_.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo)
        # HostNumericSensorInfo for BIOS, iLO, array controller
        $nsiBIOS = $arrNumericSensorInfo | ? {$_.Name -like "*System BIOS*"}
        $nsiArrayCtrlr = $arrNumericSensorInfo | ? {$_.Name -like "HP Smart Array Controller*"}
        $nsiILO = $arrNumericSensorInfo | ? {$_.Name -like "Hewlett-Packard BMC Firmware*"}
        $nsiNXdev = $arrNumericSensorInfo | ? {$_.Name -like "nx_nic device*"}
        $nsiNXdrv = $arrNumericSensorInfo | ? {$_.Name -like "nx_nic driver*"}
    
      if ( $nsiNXdev.Count -gt 0 ) {
           $nsiNXdevice = $nsiNXdev[0].Name
      } else {
           $nsiNXdevice = "n/a"
      }
      if ( $nsiNXdrv.Count -gt 0 ) {
           $nsiNXdriver = $nsiNXdrv[0].Name
      } else {
           $nsiNXdriver = "n/a"
      }
    
        New-Object PSObject -Property @{
            VMHost = $_.Name
            "SystemBIOS" = $nsiBIOS.name
            "HPSmartArray" = $nsiArrayCtrlr.Name
            "iLOFirmware" = $nsiILO.Name
            "nx_nic device" = $nsiNXdevice
            "nx_nic driver" = $nsiNXdriver
        } ## end new-object
    } | Export-Csv C:\temp\Production-BLadeG7.csv  ## end Foreach-Object
    
    
    
    
    

    However, I would like to change the driver for the CARD and the version of the firmware but still appear.

    Any kind of help and suggestions would be greatly appreciated.

    Thank you.

    Try like this

    $strHostsClusterName = 'production '.

    Get-view ViewType - HostSystem-Property Name, Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo - SearchRoot (Get-View - Name ClusterComputeResource-property - ViewType filter @{'Name' = ' ^ $([RegEx]: escape ($strHostsClusterName)) $"" "}). MoRef | %{

    $arrNumericSensorInfo = @($_.) Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo)

    # HostNumericSensorInfo for controller table of BIOS, ILO,

    $nsiBIOS = $arrNumericSensorInfo |? {$_. {Name: like "* system BIOS *"}

    $nsiArrayCtrlr = $arrNumericSensorInfo |? {$_. {Name - like "HP Smart Array Controller *"}

    $nsiILO = $arrNumericSensorInfo |? {$_. {Name - like "Hewlett-Packard BMC Firmware *"}

    $esxName = $_. Name

    $esxcli = get-EsxCli - VMHost $_. Name

    $esxcli.network.nic.list () | %{

    $esxcli.network.nic.get ($_.) Name) | %{

    $props [ordered] = @ {}

    VMHost = $esxName

    "SystemBIOS" = $nsiBIOS.name

    "HPSmartArray" = $nsiArrayCtrlr.Name

    "iLOFirmware" = $nsiILO.Name

    "nx_nic device" = $_. Name

    'nx_nic pilot' = $_. DriverInfo.Driver

    "nx_nic driver version" = $_. DriverInfo.Version

    "nx_nic firmware version" = $_. DriverInfo.FirmwareVersion

    } # end new object

    New-object PSObject-property $props

    }

    }

    } | Export-Csv C:\temp\Production-BLadeG7.csv # end Foreach-Object

  • Need help with vSphere data script, packaging and sending it to the data warehouse

    Greetings PowerCLI gurus.


    Everyone can offer suggestions on a script which can query vSphere and pull on the following fields of the virtual computer:

    NameStateStatusHostSpace in useSpace used

    Format in a file in the CSV format and send the file to an FTP server?

    Much respect to all, thanks a lot in advance.

    Hello-

    Happy to help you.

    OK, well, if this database is accessible through a UNC path, you might make a copy directly using Copy-Item.  If you use different credentials, you can encrypt and store in an XML file.  HAL Rottenberg wrote to do http://halr9000.com/article/531.

    Or, if this pension data is something that supports the secure copy (scp) or secure FTP (SFTP), those who would be good options.  Again, you can store the alternative credentials in an encrypted in an XML file format and use them as needed.

    Certainly, there is a balance to be struck between security and ease of use.  It may be such that the transmitted data are not considered sensitive to all, and clear data transfers are acceptable.  Probably still a good idea to take measures to protect the credentials at least.

  • Need help with a FormCalc script...

    I have an auto form certain text fields based on a date field. It works fine, but when I open the form, the fields are already filled with a default date when I actually put "Week start" date, he turns into what I want, I don't want the fields to have something in them when the form is opened.  The FormCalc script that I use is the following

    var dateNum = date2num(form1.Checklist.weekStart.formattedValue,"MMMM DD, YYYY")

    $.rawValue = num2date(dateNum,"MM/DD")

    Here is a link to the file itself

    https://DB.TT/UScOAGZr


    We FormCalc, blocking the right controls the drop-down list of the calendar to make sure that they select a Monday.

    I like to put as much of my code that I can in one place, so it is easier to change things. That is why I proposed to do all of the drop-down list calendar.

    So, you could do something like:

    var selectedDate = Date2Num($,"YYYY-MM-DD")
    var dayOfWeek = Num2Date(selectedDate, "E")
    
    if (dayOfWeek <> 2) then
              xfa.host.messageBox("Week Starting must be a Monday")
              $ = null
              xfa.host.setFocus("$")
    endif
    
    Table1.Row1.dayMonday = num2date(selectedDate, "MM/DD")
    Table1.Row1.dayTuesday = num2date(selectedDate + 1, "MM/DD")
    Table1.Row1.dayWednesday = num2date(selectedDate + 2, "MM/DD")
    Table1.Row1.dayThursday = num2date(selectedDate + 3, "MM/DD")
    Table1.Row1.dayFriday = num2date(selectedDate + 4, "MM/DD")
    Table1.Row1.daySaturday = num2date(selectedDate + 5, "MM/DD")
    Table1.Row1.daySunday = num2date(selectedDate + 6, "MM/DD")
    

    (I dissociated from the first table that it was originally the need to use xfa.resolvenodes.)

  • Need help with custom calculation Script

    Hey everybody.  I'm using Acrobat X Pro and stumbling a bit on the syntax of the following equation.  I need to add the value of "Cell1" & "Cell2" then add the value of "Cell3.  However, the value of "Cell3" is entered by the user and specifies a percentage of the sum of "Cell1 &"Cell2".  For example: If the user enters "3" in "Cell3" I need the value returned at 3% of the sum of "Cell1" + "Cell2".  If the user enters "9" in "Cell3" I need the value returned for "Cell3" 9% of the sum of "Cell1 and Cell2" and the end result should be the sum of "Cell1 Cell2 + Cell3.  In more detail:

    If "Cell1" = "Cell2" $ 500 = $500 and "Cell3" = '3' then I need the returned value to be $1030,00.

    I hope this makes sense. Here's what I have so far, but alas, it does not work.  Any help would be GREATLY appreciated.

    Get the first value in the field, as a number

    var v1 = + getField("Cell1").value;

    Get the second field value, as a number

    var v2 = + getField("Cell2").value;

    Get the value of a field, a number transformation

    var v3 = + getField("Cell3"/100).value;

    Calculate and set the value of this field for the result

    Event.Value = v3 + (v1 + v2);

    Thank you

    Solan

    I have posted a reply, but realized that it wasn't what you wanted. There is some confusion about what you want for Cell3. A hand, you say that the user enter a vaule in the area, but them you say you want its calculated value based on what the user has entered and two other field values. It seems to me Cell3 should be the domain that the user enters the percentage, and the calculated field (Cell4) script could be:

    Get the first value in the field, as a number

    var v1 = + getField("Cell1").value;

    Get the second field value, as a number

    var v2 = + getField("Cell2").value;// get treatment field value, as a number

    Get the percentage

    var v3 = + getField("Cell3").value;

    Calculate and set the value of this field for the result

    Event.Value = (1 + v3 / 100) * (v1 + v2);

  • I need help with my first Script in AE CS5

    Hello fellow designers out there.

    I'm newbie on AE Scripting here. I run my CS 5 on Win 7. I'm trying to create a simple solid GUI and it controls opacity by cursor. I fail and do not now how it work. Here is the code that I have written in reference to many sources and tutorials:

    myComp = app.project.item (1); akses comp 1

    mySolid = myComp.layers.addSolid ([1.0,1.0,0], 'my place', 50, 50, 1); solid

    var myWin = new window ("palette", "Transform", undefined); create the palette

    myWin.orientation = "row";

    var myOpacity = myWin.add ('Committee', undefined, "Strong opacity");

    myOpacity.orientation = "column";

    myOpacity.add ("statictext", undefined, "Opacity Kontrol");

    var opacitysliderCtrl = myOpacity.add ("slider", undefined, 50, 0, 100); make cursor

    var layerOpacity = mySolid.property ("opacity");

    opacitysliderCtrl.onChanging = function()

    {

    var val = Math.round (opacitysliderCtrl.value);

    layerOpacity.value = val;

    };

    myWin.center ();

    myWin.show ();

    Please, help me to see the problem here. Thank you

    There is more harm than good in your work

    At the moment you script attached a slider to a single layer (mySolid, that you add at the beginning).

    This is not very useful, that you cannot use this slider for the other layers.

    You should also keep in mind that this solid can be deleted, so the mySolid object may become invalid (referring to a solid that no longer exists).

    I don't know what, exactly, is your plan, but a script has generally not set anything related to AE in his many body (at launch).

    Only when the user clicks/change a widget script tries to extract a model, layer, property, or anything that the user specified by "a kind of secret code" (most of the time: the model, property, layer, etc. is selected).

    If you want the slider to control the opacity value of all selected layers in the active model, it would be something like this:

    var myWin = new Window("palette", "Transform", undefined); //create pallete
    myWin.orientation = "row";
    
    var myOpacity = myWin.add("panel", undefined, "Solid Opacity");
    myOpacity.orientation = "column";
    
    myOpacity.add("statictext", undefined, "Kontrol Opacity");
    
    var opacitysliderCtrl = myOpacity.add("slider", undefined, 50, 0, 100);//make slider
    opacitysliderCtrl.onChanging = function onOpacitySliderChanging(){
    
            // retrieve the AE things that have to be handled: in this case, all selected layers in the active comp
            var myComp, myLayer, n;
            var layerOpacity, val;
    
            myComp = app.project.activeItem;
            if (myComp.numLayers>0){
                for (n=0; n
    

    Xavier

  • Need help with the COUNT in a query

    Hi all
    I have the following table. In this table, I try to get the number of records per month when its value (SIGNAGE_ONE_LANE_ROAD_AHEAD) is 'Yes' and gives me the number of fake. Anyone can you please point out where I'm wrong?
    AUDIT_DATE SIGNAGE_ONE_LANE_ROAD_AHEAD SIGNAGE_LANE_CLOSED_AHEAD

    05/01/2011 09:30 N/A N/A
    09/02/2011-11:50 Yes Yes
    21/02/2011-10:00 Yes Yes
    22/02/2011-07:00 N/A N/A
    07/03/2011-13:35 Yes n/a
    08/03/2011 09:15 N/A N/A
    09/03/2011 08:40 N/A N/A
    10/03/2011-10:00 N/A N/A
    11/03/2011 09:45 Yes Yes
    16/03/2011 08:45 Yes n/a
    17/03/2011 09:30 N/A N/A
    17/03/2011 12:05 N/A N/A
    17/03/2011-13:10 Yes n/a
    21/03/2011 10:30 N/A N/A
    22/03/2011 09:30 Yes n/a
    04/04/2011 11:20 Yes Yes
    05/04/2011 10:30 Yes Yes
    05/04/2011-10:45 Yes Yes
    08/04/2011 09:30 Yes Yes
    08/04/2011 12:45 N/A N/A
    13/04/2011 10:15 Yes Yes
    21/04/2011 08:45 N/A N/A
    SELECT   to_char(t.audit_date,'mm') as audit_month, t.signage_lane_closed_ahead,
             t.signage_one_lane_road_ahead,
             (CASE
                 WHEN t.signage_lane_closed_ahead = 'Yes'
                    THEN COUNT (t.signage_lane_closed_ahead)
                 ELSE 0
              END
             ) AS lane_closed_count
        FROM dw_safety_work_zone_audit t
        group by to_char(t.audit_date,'mm'), t.signage_lane_closed_ahead,t.SIGNAGE_ONE_LANE_ROAD_AHEAD
    ORDER BY to_char(t.audit_date,'mm')
    and the DataSet I get is
    AUDIT_MONTH SIGNAGE_LANE_CLOSED_AHEAD SIGNAGE_ONE_LANE_ROAD_AHEAD LANE_CLOSED_COUNT

    S/O S/O 1 0
    S/O S/O 2 0
    Yes Yes 2 2
    3 S/O S/O 0
    3 s/o Yes 0
    3 Yes n/a 3
    3 Yes Yes 1
    4 N/A N/A 0
    4 Yes Yes 5


    Thank you

    Hello

    thinkingeye wrote:

    SELECT   to_char(t.audit_date,'mm') as audit_month, t.signage_lane_closed_ahead,
    t.signage_one_lane_road_ahead,
    (CASE
    WHEN t.signage_lane_closed_ahead = 'Yes'
    THEN COUNT (t.signage_lane_closed_ahead)
    ELSE 0
    END
    ) AS lane_closed_count
    FROM dw_safety_work_zone_audit t
    group by to_char(t.audit_date,'mm'), t.signage_lane_closed_ahead,t.SIGNAGE_ONE_LANE_ROAD_AHEAD
    ORDER BY to_char(t.audit_date,'mm')
    

    You want to COUNT (CASE...), not CASE...

    The above code uses a CASE expression to display 0 or a NUMBER. When he shows the COUNTY, it is the full NUMBER in this column, not something conditional.

    You probably want somehting like:

    ...      COUNT ( CASE
                             WHEN t.signage_lane_closed_ahead = 'Yes'
                         THEN t.signage_lane_closed_ahead
                      END
                )     AS lane_closed_count
    

    In addition, you want to GROUP BY t.singage_lane_closed_ahead? Doing so means that you will get separate lines of output (with separate heads) for the 'Yes' and 'n/a '.

    Also, maybe you should use
    TRUNC (t.audit_date, 'mm') instead of
    To_char (t.audit_date, 'mm')

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all tables and also post the results desired from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.

  • I'm new construction sites and need help with boxes of zoom

    I'm currently building a website with a shopping cart, before getting to the basket I'd like to see an option for expansion of each element. They see the regular image and then if I could add a button they can click to view a larger image. Unfortunately I do not have the Web site on a server at this time. Any help you can give me would be appreciated. Thanks in advance.

    Try this:

    http://ALT-Web.com/demos/jQuery-disjointed-image-gallery.shtml

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Need help with a script (o - o8) *, see the Virgin if there is no

    Hi all what I need help with a script I can't find an example.

    I'm trying to subtract 2 numbers and then multiply this product. (o o8) * one but I just want to do the calculations if all fields have the numbers IE field o, o8 of field and field one.

    Thank you in advance. I was stuck on this days searching the Internet.

    Assuming you want to affect the outcome of this calculation in another text field, use this code as a custom field calculation script:

    var o = this.getField("o").valueAsString;
    var o8 = this.getField("o8").valueAsString;
    var a = this.getField("a").valueAsString;
    if (o!="" && o8!="" && a!="") event.value = (Number(o)-Number(o8))*Number(a);
    else event.value = "";
    
  • Need help with some cluster power shell scripts

    Guys,

    I need help with 2 scripts.

    Text 1.

    I need a power shell script that will get all the virtual machine in a specific cluster.  Virtual machine names as well as the number of processors, output allocated RAM and size of CSV file.

    Text 2.

    I need a script that will get all data warehouses in a specific cluster and store name data as well as the amounf of free space for a CSV output.

    Thanks in advance guys.

    Greetings, @peter79 -.

    For the first part:

    Get-Cluster myClusterName | Get-VM | Select-Object Name, MemoryMB, NumCpu | Export-Csv -NoTypeInformation c:\temp\myVMInfo.csv
    

    And for the second, how about:

    Get-Cluster myClusterName | Get-VMHost | Get-Random | Get-Datastore | Select-Object name, FreeSpaceMB, CapacityMB | Export-Csv -NoTypeInformation c:\temp\myDaterstoreInfo.csv
    

    The first would be quite a bit faster by using Get - view instead of Get - VM.  It would be like:

    ## get an array of VM View objects with just the desired/needed properties
    $arrVMViews = Get-View -ViewType VirtualMachine -SearchRoot (Get-Cluster myClusterName).MoRef -Property Config.Hardware,Name
    ## make the two filters for displaying the desired info
    $hshCPUCountFilter = @{n="NumCPUs"; e={$_.Config.Hardware.NumCPU}}
    $hshMemAmtFilter = @{n="MemoryMB"; e={$_.Config.Hardware.MemoryMB}}
    ## display the info, and export to CSV
    $arrVMViews | Select-Object name, $hshCPUCountFilter, $hshMemAmtFilter | Export-Csv -NoTypeInformation c:\temp\myVMInfo.csv
    

    Enjoy.

  • Need help with slui message with the Validation Code: 50

    OT: need help with the message 'victim' slui...

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->

    Validation code: 50
    Code of Validation caching online: 0xc004c4a2
    Windows product key: *-* - YMK9F - 7Q3XK-X7D3P
    Windows product key hash: 9WDJkbD1PdUJ + GCdK63bG2yus5g =
    Windows product ID: 00371-702-8613485-06367
    Windows product ID type: 5
    Windows license type: retail
    The Windows OS version: 6.1.7601.2.00010100.1.0.048
    ID: {60986DD4-5ADA-464C-A590-469385BD5D3A} (1)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Professional
    Architecture: 0 x 00000009
    Build lab: 7601.win7sp1_gdr.150928 - 1507
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a

    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002

    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 109 n/a
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->

    Other data-->
    Office details: {60986DD4-5ADA-464C-A590-469385BD5D3A}1.9.0027.06.1.7601.2.00010100.1.0.048x 64*-*-*-*-X7D3P5S-1-5-21-4040712825-3780279311-4191590923the system manufacturer,System Product NameAmerican Megatrends Inc. 00371-702-8613485-06367 0802 20110601000000.000000 + 000F3A53C07018400FE04090409Central Standard Time(GMT-06:00)03109

    Content Spsys.log: 0 x 80070002

    License data-->
    The software licensing service version: 6.1.7601.17514

    Name: Windows 7 Professional edition
    Description: operating system Windows - Windows (r) 7, retail channel
    Activation ID: c1e88de3-96c4-4563-ad7d-775f65b1e670
    ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00371-00212-702-861348-00-1033-7601.0000-1142014
    Installation ID: 022214046070387640229264400212325972472065330163335456
    Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
    Machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
    Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial product key: X7D3P
    License status: Notification
    Reason for the notification: 0xC004F200 (non-genuine).
    Remaining Windows rearm count: 4
    Trust time: 12/01/2016 11:28:57

    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: 0xC004C4A2
    Beyond: 0 x 0000000000000000
    Event timestamp: 1:11:2016 12:55
    ActiveX: Registered, Version: 7.1.7600.16395
    The admin service: recorded, Version: 7.1.7600.16395
    Output beyond bitmask:

    --> HWID data
    Current HWID of Hash: QAAAAAEAAwABAAEAAQADAAAABwABAAEAln3OI0bUDFRsO24dgCKo58SW2JyUY/1mMckmPrb67HxoDsAKMMl2Vg ==

    Activation 1.0 data OEM-->
    N/A

    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: Yes, but no SLIC table
    Windows marker version: N/A
    OEMID and OEMTableID consistent: n/a
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC1425 APIC 060111
    FACP 060111 FACP1425
    HPET 060111 OEMHPET
    MCFG 060111 OEMMCFG
    LASRYVITRAGE OEMB1425 060111
    ASPT 060111 PerfTune
    OEMOSFR OSFR 060111
    SSDT DpgPmm CpuPm

    Hello

    Thanks to everyone who responded to my question.

    Turns out it would not activate the system properties page.

    He did, however, turn on the tool online browser without a

    hitch. Yes, problem solved.

    Jon

  • I'm suddenly needing help with my browser Firefox (6.0.2)

    Hello
    I'm suddenly needing help with my browser Firefox (6.0.2)

    (OS: I use Windows XP).

    When I open the browser, I don't see is a totally white screen of white, with all the toolbars at the top.

    I know that my physical connections are very good: I have tested the modem, turned the pc market etc and I can also receive/send emails.

    This problem started today, September 8, 2011 and has never happened before.

    Is it a coincidence that Firefox itself to day before I disconnected yesterday evening? Could this be something to do with this particular new update?

    I also noticed that just before I "opened" Firefox, I now get a small box indicating:

    [JAVASCRIPT APPLICATION]
    Handl exc in Ev: TypeError: this oRoot.enable is not a function

    This never appeared before - I hope that it offers a clue has what is wrong.

    The browser not be stuck in Mode safe, said by the way.

    Of course, I can't find solutions to the problem on the internet, I don't physically see all Web sites!
    (A friend sends this request in my name from their pc)

    Any light you can throw on this problem of confusion would be much appreciated. I'd rather not have to uninstall and reinstall Firefox if possible.

    If the only option is to uninstall Firefox and reinstall from your site, I'm also in trouble (I can not see the internet or download).
    In this case, would you be able to send the .exe file as an attachment to my e-mail address? In the affirmative, please let me know and I'll give you more details.

    Thanks in advance.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

Maybe you are looking for

  • Authd: copy_rights: _server_authorize failed to repeat every minute in Journal

    "authd: copy_rights: _server_authorize failed" is repeated in the newspaper every minute. How do I know what it's complaining about to solve it?

  • Satellite 1800-712 does not recognize my USB external HARD drive

    Hello I would really appreciate the help. I own a satellite 1800-712. I have receently bought a usb external hard drive for some extra memory (IE Toshiba MK4026GAX USB Device) When I connect it to my usb port it records any with the computer. The gre

  • The T440p is compatible with the Ultrabay Battery?

    The title issue. I want to know if the T440p is compatible with the ultrabay battery. I don't have any use for the optical drive, and I know that the HARD ultrabay drive caddy is terrible, so I figure that I can use as well make this extra space. If

  • HP probook 450 GB usable RAM

    Hello I have a HP probook 450 GO with Windows 7 pro 64-bit installed. The laptop has 4 GB of RAM installed, however, when I check this, right-click on 'Computer' then go to 'Properties', it shows 4 GB installed, but only 3.85 GB usable. Someone has a

  • an address incompatible with the requested protocol was used

    After I have upgrade of windows 7 starter edition to windows 7 Home Edition premium, I can't do a bluetooth file transfer and the following message appears: an address incompatible with the requested protocol was used.