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

Tags: After Effects

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 flashvars in the generated HTML cs5.5

    How could use flashvars in the generated HTML cs5.5, there are tutorial in net on flashvars but its all cs4 with javascript inside while isn't cs5.5 html code. Here is the code for the non - IE cs5.5-generated

    <!-[if! IE] >->

    < object type = "application/x-shockwave-flash" data = "sample.swf" width = "800" height = "800" > "

    < param name = "movie" value = "sample.swf" / > "

    < param name = "quality" value = "high" / >

    < param name = "bgcolor" value = "#000000" / >

    < param name = 'play' value = 'true' / >

    < param name = "loop" value = "true" / >

    < param name = 'wmode' value = 'window' / >

    < param name = "scale" value = 'showall' / >

    < param name = "menu" value = "true" / >

    < param name = "devicefont" value = "false" / >

    < param name = "salign" value = "" / > "

    < param name = "allowScriptAccess" value = "sameDomain" / >

    <!--<! [endif]-->

    " < a href ="http://www.adobe.com/go/getflash"> ".

    " < img src ="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"alt ="Get Adobe Flash player"/ > "

    < /a >

    <!--[if ! IE] >->

    How can I put the flashvars in html and as3?

    FlashVars VALUE="imageFilename=images%2Fimage1%2Ejpg">
    

    http://www.Adobe.com/go/getflash' > '.

    If http://www.Adobe.com/images/shared/download_buttons/get_flash_player.g"alt ="Get Adobe Flash player"/ >

    and you can read through flash AS3:

    http://www.Permadi.com/Tutorial/flashvars/indexAs3.html

  • 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);

  • 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 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 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 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 ++;

  • I need help with my first VMs Server ESXi

    I just installed ESXi and created a virtual machine, but I can't get an OS on this virtual machine.  I can't reach the data store to load the files here and I can't get the virtual machine to read a DVD to an iso file on my hard drive of the vSphere client or the host.  I have read the getting started guide, but I see nothing there that mentions the installation of the operating system.

    I have five questions:

    1. How do I put the files .iso on the host data store so that they are available to anyone using this host?

    2. how to install an operating system once I created the machine on the host?

    3 can we clone VM on the host as they can on my computer

    4. How can I make a WS 6.5 capatible VMS on that host ESXi 4.0 U1?

    5. can I just convert my 6.5 VMs to run in that ESXi 4.0 host?

    Thank you

    Hello

    to create the directory to put the ISO just go to the configuration tab-> data store-> right click on the data store-> select Browse datastore. Then you can directly manage data store files, and for example to create the directory for the iso holding.

    In order to upload files to the directory you just created above, you can use the fastscp tool o maybe winscp.

    If you want to use winscp you must enable the remote ssh access on the esxi.

    Best wishes / Saludos.

    Pablo

    Please consider providing any useful answer. Thank you!! - Por favor considered premiar las useful responses. ¡¡MUCHAS gracias!

    Virtually noob blog

  • 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.

  • I need help to write a script that detects the first instance of a paragraph style and then change

    I need help to write a script that detects the first instance of a paragraph style and then he goes to a different paragraph style.  I don't necessarily need someone to write all this, by the biggest problem is to find how to find just the first instance of the paragraph style.  Any help would be greatly appreciated, thank you!

    Hello

    then try this with your active doc:

    ....................

    myDoc var = app.activeDocument;

    mStyle var = myDoc.paragraphStyles.item ("PS_NameToFind"); change the name to paraStyle

    var mStyle_1 = myDoc.paragraphStyles.item ("PS_NameToChange"); change the name to paraStyle

    var mFrames = myDoc.pages.everyItem ().textFrames.everyItem () .getElements ();

    app.findTextPreferences = null;

    app.findTextPreferences.appliedParagraphStyle = mStyle;

    for (var k = 0; k)< mframes.length;="">

    {

    currFound = mFrames [k] .findText ();

    If (currFound.length > 0)

    currFound [0] .paragraphs [0] .appliedParagraphStyle = mStyle_1;

    }

    app.findTextPreferences = null;

    ................

    Rgds

  • 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 Flash - really basic!

    Hi, I really need help with Flash and quick. I have to create an auto-run cd, but before I can create that, I have to make everything works! I took a class in College Flash, which up to 1 1/2 ago so im kind of knowledge missing!

    My first problem is as follows:
    I have the homepage, and it contains a button English and french.
    When you click on buttons, it brings you to the next page, either resourcesFr or resourcesEn.
    I tried to use the loadMovie script but and it works but the new page loads on the home page you can still see the English/french under buttons. How can I fix? I know its simple but I am short on time... Should I still use the loadMovie script?

    My other problem is that im trying to have another button to link to a folder. Use the script for getURL for this as well?

    Help!

    I was able to solve my problem... it was only the forward slash that were in the wrong way... so the correct code is:

    on (release) {}
    DRV = _url.substr (8.1);
    getURL (drv + ": / English/brochures");
    }

    Only took me 5 days... I think I need to buy a script book action! Laughing out loud

  • I need help with an installation failure to interpret and troubleshoot a Setup log.

    Background: A few years ago, many editors of cinema used Final Cut Pro 6 (also contained in Final Cut Studio 2) for their editing projects.  Shared Apple Final Cut X uses a different format that is not compatible with FCP6.  Sometimes, these editors are called to work on a few historical projects that have been published in FCP6 and need this version to run now.

    Starting with OS X Lion, FCP6 would install not in Lion and thereafter.

    According research by Jeremy Johnston as noted on his blog, he discovered that Apple has inserted a file in the folder CoreServices in the Library folder of the system folder that causes versions the version Final Cut Pro X (and other older Apple programs in the same situation) do not settle.  He suggested changes to this file that would seek to prevent interfering with the installation of FCP6 in Lion, many users of final cut PRO 6 were successful in their efforts to install in Lion and work with it.

    Later in a discussion update on installing FCP6 in Mavericks, HawaiianHippie determined that the simplest way to perform the installation of FCP6 was simply copy this file and remove it from the system folder, install FCP6 and then restore the copied file:

    https://discussions.Apple.com/message/26309669#26309669

    I used this method with success to install FCS2 in Yosemite:

    [click on images to enlarge]

    However, in my attempts to install FCS2 in El Capitan, it fails in the last 5% to install the first DVD:

    First of all, I need advice on how to display an extremely large Setup log in this thread (on MacRumors, it is a method to insert a 'code' in a small box that can be the object of a scrollbar if necessary to read all along).  I am unable to find such a method to post here.

    Then once approved, I need help to determine which component is causing the installation to fail and perhaps this element can be omitted from the installation:

    If this element is not required, then maybe FCP6 can be installed successfully without it.  And if that omitted element is necessary, perhaps a manual method to install it can be determined by pacifists.

    It is my goal to help those who need to install and use FCP6 on their new Macs running El Capitan.

    Here is the post on MacRumors with pre-installed Setup log:

    http://forums.MacRumors.com/threads/i-need-help-with-an-installation-failure-to-interpret-and-troubleshoot-an-Installer-log.1954786/#post-22541389

Maybe you are looking for

  • Extract values to graph 'PART 2'

    This question is based of the post found here. In th attached VI, how correctly set the threshold so that all the "tips" can be displayed in the list of "epi"? I should get 3 points in the list of the PPE. Thank you hiNi

  • Windows Update I get error message 0 x 80070424

    Original title: Windows updates My windows Security Center won't allow automatic updates turn on. Can not turn on manually and when I go to updates on the web page I get the error message 0 x 80070424

  • Computer laptop black screen

    My laptop connected to my TV via hdmi, after having disconnected I now have a black screen on my laptop and cannot reconnect to tv to the external display change settings... can someone advise Thank you Andy

  • Print calendar Windows - only 12: 00 to 06:00 PM is printed

    To print my schedule in Windows Calendar, it prints only from 12:00 to 18:00.  How to make the calendar to print at 22:00

  • Transfer of blackBerry Smartphones to contacts from 8300 to 9900 using BB desktop

    I can't connect my 8300 bb because the port of load connector desktop / on the phone has developed a fault, so he can't save up to transfer data to my new 9900. I have a back up of June as a IPD file. If I connect the 9900 can I access this IPD using