PS snapshot script... Need help with report
I am trying to achieve when products are deployed on virtual machines, the instant Powershell script will execute and take snapshots, provide the report as html (output) and then run another Script that will be run against VI3 to commit all snapshots.
I need assistance with the statement, I want to report to display the VM name + instant summary details, script below shows only instant summary. Also if there is a script to commit all the snapshots on defined VM.
**********************************************
Variables
$VCServerName = "VIServer.
$CustomFieldName = 'Snapshots'
$ManagedObjectType = "VMName".
$today = (get-Date-Format ' YYYY-MM - dd_HH.mm.ss - tt')
$nsn = "PowerShell-$today.
$a = ""
Script
SE connect-VIServer $VCServerName - Port 443 - HTTPS protocol
Get - VM $ManagedObjectType | New-Snapshot - name $nsn - Description "Instant product update"
Get-Snapshot $ManagedObjectType | SELECT name, ID, Description, VM creation. ConvertTo-HTML-head $a | Out-file C:\Report.htm
Invoke-Expression C:\Report.htm
Disconnect-VIServer $VCServerName - confirm: $False
You must select the last one.
Something like this for example
Get-Snapshot -VM $vm | Sort Created | Select -Last 1 | Remove-Snapshot -Confirm:$false
____________
Blog: LucD notes
Twitter: lucd22
Tags: VMware
Similar Questions
-
Need help with reporting (vm, portgroup vlanid)
Hello
I need help.
I want to create a report that shows the following:
Report Portgroup (Networkname), VLANID, VM (Parent), Connectionstate
PortGroup, VM and Connectionstate are indicated by:$pg1 = get - VM - DistributedSwitch dvSwitch1 | Get-NIC
$pg1 | Select Networkname, Parent, connectionstateThe VLANID is indicated by:
$VMs = get - VM - DistributedSwitch dvSwitch1
$pg2 = $vms | Get-VirtualPortGroup$vlanid = $pg2 | Select name, @{N = 'Vlanid'; E = {$VLANID. ExtensionData.config.DefaultPortConfig.VLAN.VlanId}}
The question is how to combine these lines and be able to add the vlanid State?
I tried something like:
Add-Member - InputObject $pg1 - name ('Vlanid' + $_)-MemberType NoteProperty-value $vlanid.extensiondata.Config.DefaultPortConfig.Vlan.VlanId
Thanks for help.
concerning
Andreas
Try it like this
foreach($vm in Get-VM -DistributedSwitch dvSw1){ $nic = Get-NetworkAdapter -VM $vm $vm | Select Name, @{N="NetworkName";E={$nic.NetworkName}}, @{N="ConnectionState";E={$nic.ConnectionState.Connected}}, @{N="VlanId";E={(Get-VirtualPortGroup -VM $vm -Distributed).Extensiondata.Config.DefaultPortConfig.Vlan.VlanId}} }
-
Diagnostic report (1.9.0027.0):
-----------------------------------------
Validation of Windows data-->Validation code: 50
Validation caching Code online: n/a, hr = 0xc004f012
Windows product key: *-* - X92GV - V7DCV-P4K27
The Windows Product Key hash: aU2z1/fnhnLHmhBm699qYZT2E6s =
Windows product ID: 00426-OEM-8992662-00400
Windows product ID type: 2
Windows license Type: OEM SLP
The Windows OS version: 6.1.7600.2.00010100.0.0.001
ID: {C21979F8-9DE4-4196-AEA9-31EEADF1ED72} (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 Ultimate
Architecture: 0 x 00000009
Build lab: 7600.win7_rtm. 090713 1255
TTS error:
Validation of diagnosis:
Resolution state: n/aGiven Vista WgaER-->
ThreatID (s): n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002Windows 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 80070002OGA 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 80070002OGA 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-3Data 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: allowedAnalysis of file data-->
[File mismatch: C:\Windows\system32\wat\watadminsvc.exe[Hr = 0 x 80070003]
[File mismatch: C:\Windows\system32\wat\npwatweb.dll[Hr = 0 x 80070003]
[File mismatch: C:\Windows\system32\wat\watux.exe[Hr = 0 x 80070003]
[File mismatch: C:\Windows\system32\wat\watweb.dll[Hr = 0 x 80070003]Other data-->
Office details:{C21979F8-9DE4-4196-AEA9-31EEADF1ED72} 1.9.0027.0 6.1.7600.2.00010100.0.0.001 x 64 *-*-*-*-P4K27 00426-OEM-8992662-00400 S-1-5-21-4294333439-1165172299-1530055978 Acer Aspire E1-470 2 Phoenix Technologies Ltd. V2.04 20130918000000.000000 + 0005EB83607018400FE 0409 0409 Myanmar Standard Time(GMT+06:30) 0 3 109 Content Spsys.log: 0 x 80070002
License data-->
The software licensing service version: 6.1.7600.16385Name: Windows 7 Ultimate edition
Description: operating system Windows - Windows (r) 7, channel OEM_SLP
Activation ID: 7cfd4696-69a9-4af7-af36-ff3d12b6b6c8
ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 00426-00178-926-600400-02-1033-7600.0000-0442014
Installation ID: 017050301373112651397904489563719854511975514796458574
Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
The 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: P4K27
License status: Notification
Reason for the notification: 0xC004F057.
Remaining Windows rearm count: 3
Trust time: 29/03/2014 08:23:40Windows Activation Technologies-->
HrOffline: 0x00000000
HrOnline: n/a
Beyond: 0 x 0000000000000000
Event time stamp: n/a
ActiveX: Not registered - 0 x 80040154
The admin service: not registered - 0 x 80040154
Output beyond bitmask:--> HWID data
Current HWID of Hash: LgAAAAEAAQABAAEAAAABAAAAAwABAAEA6GH2ek48rndWmVrmMF/mhq4d7l + WYw isActivation 1.0 data OEM-->
N/AActivation 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
APIC ACRSYS ACRPRDCT
FACP ACRSYS ACRPRDCT
HPET ACRSYS ACRPRDCT
MCFG ACRSYS ACRPRDCT
SSDT ACRSYS PtidDevc
ASF! ACRSYS ACRPRDCT
WPBT ACRSYS ACRPRDCT
FPDT ACRSYS ACRPRDCT
SSDT ACRSYS PtidDevc
SSDT ACRSYS PtidDevc
UEFI ACRSYS ACRPRDCT
UEFI ACRSYS ACRPRDCT
POAT ACRSYS ACRPRDCT
UEFI ACRSYS ACRPRDCT
DBG2 ACRSYS ACRPRDCTSeparated from this thread by Moderator:
http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_install/how-do-i-Chang-window-7-not-genuine-to-Windows7/4d89b6a1-0858-42B6-88b0-f55439dc3081#LastReplyDiagnostic report (1.9.0027.0):
-----------------------------------------
Validation of Windows data-->Validation code: 50
Validation caching Code online: n/a, hr = 0xc004f012
Windows product key: *-*-X92GV-V7DCV-P4K27This product key is a well-known pirated product key.
You need to buy and install a genuine version of Windows 7.
Concerning
-
I am trying to create a report that displays the name, Powerstate and ToolsVersion. I tried the following, but I have a blank record for PowerState:
Get - VM | Get-View | Select-Object Name, @{N = "PowerState"; E={$_. PowerState}}, @{N = "ToolsVersion"; {E = {$_.config.tools.toolsVersion}}Any help would be appreciatedTry it like this
Get - VM |
Select-Object Name, @{N = "PowerState"; E={$_. PowerState}}, @{N = "ToolsVersion"; E={$_. Extensiondata.config.tools.toolsVersion}}Or even easier, like this
Get - VM |
Select-Object Name, PowerState, @{N = "ToolsVersion"; E={$_. Extensiondata.config.tools.toolsVersion}} -
Need help with report of scale measure/tool change area
I try to use the measure area tool in Acrobat ms on a pdf plan I'm working on that. The EHR Architecture scale is 1/8 "= 1'. So I will try to change the ratio of the a.125 in = 1 ft scale in order to account for this, but it automatically rounds up a.13. Is there a way to avoid this and keep the number I had intend without it rounded up?
Hi, Elia,.
I don't see a way to add more than 2 decimal places to the measure tool scale ratio.
You can send a request to feature here:
Adobe - feature request/Bug Report Form
Kind regards
Rahul Tyagi -
Need help with setting up in checkbox in interactive reports
I need help with setting up in checkbox in interactive reports, I use this statement a query
SELECT apex_item.checkbox
(
1, ROLEID,
'onchange = "spCheckChange (this);". ',
: F_ROLEID_LIST,.
':'
), del.
ROLEID, ROLEDESCRIPTION
OF EBA_ROLES
When I run it I get the following
< input type = "checkbox" name = "f01" value = "1" onchange = "spCheckChange (this); ' / > instead of the checkbox
Do I need to configure anything else
Aditya Gupta wrote:
I need help with setting up in checkbox in interactive reports, I use this statement a query
SELECT apex_item.checkbox
(
1, ROLEID,
'onchange = "spCheckChange (this);". ',
: F_ROLEID_LIST,.
':'
), del.
ROLEID, ROLEDESCRIPTION
OF EBA_ROLES
When I run it I get the following
instead of the checkbox
Do I need to configure anything else
This is one of the most frequently asked questions in this forum. Set the column attribute the text to display as Standard report column and not display text (special escape characters).
Always include the information referred to in these guidelines when you ask a question and if you use APEX 5.0, State, if you develop using the pages or the view of the component designer.
-
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/aGiven Vista WgaER-->
ThreatID (s): n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002Windows 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 80070002OGA 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 80070002OGA 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-3Data 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: allowedAnalysis of file data-->
Other data-->
Office details:{60986DD4-5ADA-464C-A590-469385BD5D3A} 1.9.0027.0 6.1.7601.2.00010100.1.0.048 x 64 *-*-*-*-X7D3P 5 S-1-5-21-4040712825-3780279311-4191590923 the system manufacturer ,System Product Name American Megatrends Inc. 00371-702-8613485-06367 0802 20110601000000.000000 + 000F3A53C07018400FE 0409 0409 Central Standard Time(GMT-06:00) 0 3 109 Content Spsys.log: 0 x 80070002
License data-->
The software licensing service version: 6.1.7601.17514Name: 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:57Windows 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/AActivation 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 CpuPmHello
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
-
How can I get ahold of a LIVE person? I need HELP with my email account (* address email is removed from the privacy *) you can contact me to the * address email is removed from the privacy * or * remove * please someone HELP! Mike Golab
E-mail address is removed from the privacy *.
No, and that has nothing to do with this old thread. This is a scam that last for years. Microsoft never does unsolicited phone calls.Is calling, Microsoft, a scam?
http://answers.Microsoft.com/en-us/protect/wiki/protect_other-protect_scanning/is-that-call-from-Microsoft-a-scam/6718e389-8a00-4E4B-ACA1-d07298ea4c19
Scams by e-mail or web: how to protect yourself
http://www.Microsoft.com/security/online-privacy/phishing-scams.aspx
It's a real call from Microsoft?
http://www.ComputerActive.co.UK/CA/PC-help/2134917/genuine-Microsoft
Avoid scams to phone for tech support
http://www.Microsoft.com/en-GB/security/online-privacy/avoid-phone-scams.aspx
Do not fall for phony phone technical support
http://blogs.msdn.com/b/securitytipstalk/archive/2010/03/09/Don-t-fall-for-phony-phone-tech-support.aspx
Aggressive, persistent Windows tech support fraudsters continue to track consumers
http://www.Computerworld.com/s/article/9248122/Aggressive_persistent_Windows_tech_support_scammers_continue_to_stalk_consumers
What is a certified Microsoft [or] partner?
http://securitygarden.blogspot.com/2011/09/Microsoft-removes-Gold-Certified.html -
Need help with a Hp Papvilion Dv7-1270US, from vista to xp 64
Well, I noticed that a lot of guys are useful here with installing XP on Vista and yes I'm another unhappy Vista user, I am a graphic designer and let me tell you programs and performance is not very good on my laptop HP that I am ready to go back to XP.
I have an extra HD a seagate sata 80 GB of my PS3 that I drag never used, so I'll use it to install XP on my laptop
Its what I need help with drivers, man what a pain. I can install drivers left and right that I know how to do this, but Nlite, manual, unzip its so confusing...
good so I use Nlite to wake my sata drivers and my installation of Windows XP on my HP I would add something in there like {video card driver} {driver Chipset} etc, what should I put in the wake? and once the wake is done and winxp is installed in what order should I start to install stuff, please guys Im confused and need help if someone can point me in the right direction of the dv7-1270 drivers I would appreciate...
If I happen to screw up my 80 GB hard drive, not a big deal, blue screen, can not load, etc etc... can I just put my original 320 GB hard drive and back to Vista the way it was. ??? is it possible, which would ease my mind, thank you for your responses and assistance.
Drivers:
Chipset Intel, (install and reboot before other drivers) here
Intel Matrix Storage Manager here
MS-UAA fo SP2 (required with a reboot before the graphic and Audio driver) here
MS-UAA fo SP3 (required with a reboot before the graphic and Audio driver) here
NVIDIA GeForce 9600GT here
Intel Wireless 5100 here
Bluetooth here
Realtek RTL8168C Family PCI - E Fast Ethernet NIC here
Please check first that link written by Joshua Wood and concentrate on problems that may appear when you install the sound card in it.
IDT High-Definition Audio CODEC Pilot,
1 sp41693, pilot, work reported in XP here view
2 SP39671, driver, jobs reported in XP here or here view
3 sp41698, vista, work reported in here XP driver
High-Definition Audio (HDA) Modem Installer and driver here
.NET framework (required before HP Quick Lunch Buttons) here
HP Quick Launch buttons here
Synaptic Touchpad here S
ENE CIR (infrared receiver) here (your Vista driver)
JMB38X card reader Host Controller Driver here
HP 3D DriveGuard 1.10 has here
If you had for 7 unknown devices (buttons drivers), here
Do a manual installation
Go to Device Manager, right click on the unknown device,
Choose update driver, not to communicate.
Choose the install from a list or a specific location, not search, have-disk,
Navigate to the location of machine.inf.
Do it for the rest of the unknown devices
-
Need help with sizing and save files in batches
Hi need help with a project.
I have thousands of vector files that I need size of 350px X 350px, and then place it on a work plan x 600px-600px.
Then I need to save it to the web as a PNG with a transparent background.
Could I do a script for? or is there another way to do it in batches?
I wouldn't have to open them one by one and resize the work plan then the image and save it one by one as that would take forever.
Any help some suggestions would be greatly appreciated.
ID do as a series of actions photoshop if the end result is png,
pro image processor can help you make automatically, if you must resize batch additional... >
https://sourceforge.NET/projects/PS-scripts/files/image%20Processor%20PRO/v3_2%20betas/
I think that your work can run in a few steps, but for simplicity, I would like to start / test with a new photoshop action recording
Open a file, change the size of the image to 350 x 350
Change the canvas size,
then save under...
-
Need help with a declaration of 'IfThenIfNot '.
Every year couple I need help with a script statement and these forums have been incredibly useful. Once more, I was hoping that someone out there had knowledge of something I am writing for a form, I need to automate:
In the jargon of Excel that I try to write to would state so @if (("Subtotal"+"InvestigativeFee"+"PlanReviewFee") > 1000, + 100, + (("Sous-total" + "Investigativ Manar" + "PlanReviewFee") *. 1))
What I have here is three form named subtotal, InvestigativeFee & PlanReviewFee fields. The formula in question says it's a 'technology assessment fee"of 10% on the total part of what above mentioned 3 fields but there is a maximum charge of $100 for this tax. The statement that I wrote above would have worked in Excel (not tested, but generally is the idea). I was hoping someone mastering JavaScript could help me with a statement that I needed to do this work.
Hope to hear from someone,
Warmly yours.
Steven L in Eugene OR
Try the following in the custom calculation of the fresh field of evaluation script:
Custom calculation script
(function () {}
Maximum package
var max_taf = 100;
Get the values of the field as numbers
var v1 = + getField("Subtotal").value;
var v2 = + getField("InvestigativeFee").value;
var v3 = + getField("PlanReviewFee").value;Calculation of tax
TAF var = (v1 + v2 + v3) / 10;
Set this field to royalty calculated value if less than maximum, otherwise the maximum value
Event.Value = (taf< 100)="" taf="" :="">
})();
-
Need help with Sprite´s. (Rectangles and circle)
Hello!
I kinda need help with a project. I m supposed to do a script that responds to a click and moves the circle of one rectangle to another.
(Here's a picture)
So, what I want is: when I click on the blue rectangle to the right, the circle must move instantly in the rectangle on the right. And same thing on the opposite path.
Thanks in advance!
-Best regards,.
Aleksandar "Dyxir" B.
import flash.events.MouseEvent;
leftRec.addEventListener (MouseEvent.CLICK, fCircle);
rightRec.addEventListener (MouseEvent.CLICK, fCircle);function fCircle(evt:MouseEvent)
{
Circle.x = evt.currentTarget.x;
Circle.y = evt.currentTarget.y;
}Note: Point for all alignment: Center
-
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
Maybe you are looking for
-
I can't erase the free space in the disk utility, where is he?
After the installation of El Capitan, I can't erase free space in disk utility, where is he? How can we erase files deleted safely with El Capitan?
-
Satellite L450D: Diskpart has encountered an error
Hello world I'm not the best with computers, but I tried to use a recovery of Windows 7 product DVD to repair the laptop of my little brother (it's his record, not mine, just to avoid confusion).Installation was fine, but then it is what came: "Diskp
-
2nd T510 external monitor no longer works
Hey guys,. I hope someone can help me Coming into work with my T510 and inserted on my Lenovo to home station type 4338. For over 2 years now, I had to work with 2 external monitors and also the built in display of the laptop. Now I can only get the
-
EPG does not download properly don't get "no data available" on different channels?
Original title: EPG DOWNLOADED DO not CORRECTLY GET "NO DATA AVAILABLE" on DIFFERENT CHANNELS? I am in the United Kingdom and using MEDIA CENTER on windows vista x 64 and I find that I have big problems getting data from TV stations. There are downlo
-
Windows search wordt niet gestart en er wordt een foutbericht belangrijkste
Windows search wordt niet gestart en er wordt een foutbericht belangrijkste