looking for writer

I am a student in wildlife biology and I use Adobe Photoshop to quantify the color of wild animals. I'm looking for someone who can help me with a java script.

The script automatizes selection of random point in an image and gives a color average points.

I need the script to do more than two things for me:

1. save the RGB values of random points in a spreadsheet I can calculate error Ratings or provide the error as well as the RGB average.

2 randomly select points in a highlighted in the photo area (now he selects at random points across the image, but I need to select only from the animal (not the bottom).

If you know how to add these to the script, please let me know.

Thank you

Marketa Zimova

With the script below you operate a rough selection of the area you want to be sampled, and then run the script. He'll ask how many samples to be taken, the size of each sample in px area. He then dupes the selection into a new layer, turns off the original layer and taking samples. If the random sample is in a transparent area, she tries again. If it finds a color, he invites the position and color of the sample and you ask if you want to keep this sample. When the requested number of approved samples he writes a csv file in the office.

The selection can be done with all the methods of selection and does not need to be specific to. But the better the selection less background samples will be made.

// script expects an open single layer document in RGB mode with a selection of the area to sample.
// the csv file is written to the desktop and the script will overwrite an existing samples.csv

main();
function main(){
     if( app.documents == 0 ) {
          alert("No image to process");
          return;
     }
     var doc = app.activeDocument;
     if( doc.mode != DocumentMode.RGB ){
          alert("Image must be in RGB mode to sample");
          return;
     }
     if( !hasSelection( doc ) ){
          alert("Please make a selection of target animal\rbefore running script");
          return;
     }
     var numberOfSamples = Number(prompt("How many selections should be made?",10));
     if(  numberOfSamples == NaN )  numberOfSamples = 1;
     var sampleSize = Number(prompt("What size should each selection be?(NxN px)", 3));
     if( sampleSize == NaN ) sampleSize = 3;
     var originalLayer = doc.activeLayer;// make reference to current layer
     executeAction( charIDToTypeID( "CpTL" ), undefined, DialogModes.NO );// dupe selection to new layer
     var sampleLayer = doc.activeLayer;// make reference to that new layer
     originalLayer.visible = false;// turn off original layer
     var samples = [];// make array to hold samples
     var bounds = sampleLayer.bounds;
     var layerX = bounds[0].as('px');
     var layerY = bounds[0].as('px');
     var layerWidth = bounds[2].as('px') - bounds[0].as('px');
     var layerHeight = bounds[3].as('px') - bounds[1].as('px');
     // make requested number of samples
     var s = 0;
     while(  s < numberOfSamples ){
          var sX = randomRange( layerX, layerX + layerWidth );
          var sY = randomRange( layerY, layerY + layerHeight );
          var cs = doc.colorSamplers.add( [ new UnitValue( sX, 'px' ), new UnitValue( sY, 'px' ) ] );
          var sample = getSelectionColor( 0, sampleSize );
          if( undefined != sample ){
               var keep = confirm("Sample at px "+sX+','+sY+ ' is R:'+sample.rgb.red+', G:'+sample.rgb.green+', B:'+sample.rgb.blue+'.\rKeep?',true);
               if( keep ){
                    samples.push( getSelectionColor( 0, sampleSize ) );
                    s++;
               }
          }
          cs.remove();
     }
     var sampleFile = new File('~/Desktop/samples.csv');
     sampleFile.open('w');
     sampleFile.writeln('red,green,blue');
     for( var s = 0; s< samples.length;s++ ){
          sampleFile.writeln( samples[s].rgb.red+','+samples[s].rgb.green+','+samples[s].rgb.blue );
     }
     sampleFile.close();

     function randomRange( minVal, maxVal ){
          return minVal+Math.floor(Math.random()*( maxVal-minVal ));
     }
     ///////////////////////////////////////////////////////////////////////////////
     // Function: hasSelection
     // Description: Detremines if there is a selection
     // Usage: alert(hasSelection())
     // Input:
     // Return:  true or false
     // Dependencies:
     /////////////////////////////////////////////////////////////////////////////////
      function hasSelection(doc) {
          var res = false;
          var as = doc.activeHistoryState;
          doc.selection.deselect();
          if (as != doc.activeHistoryState) {
               res = true;
               doc.activeHistoryState = as;
          }
          return res;
     }
     // adapted from scirpt by jugenjury at adobefourms
     function getSelectionColor( s, A ){
          var origRulerUnits = app.preferences.rulerUnits;
          app.preferences.rulerUnits = Units.PIXELS;
          try{
               if ( undefined == s ) { s=0; }
               if ( undefined == A ) { A=1; }
               var CP = app.activeDocument.colorSamplers;
               var sampleSize = A;
               var r=((A-1)/2);
               var x=Math.round(CP[s].position[0]-r);
               var y=Math.round(CP[s].position[1]-r);
               activeDocument.selection.select([[x, y], [x+sampleSize, y], [x+sampleSize, y+sampleSize], [x, y+sampleSize]], SelectionType.REPLACE, 0, false);
               activeDocument.activeLayer.applyAverage();
               var re = RegExp( '[123456789]' );
               var sColor = new SolidColor();
               if ( activeDocument.mode == DocumentMode.GRAYSCALE ) {
                    var gv = re.exec(activeDocument.channels[0].histogram.toString() ).index/2;
                    sColor.gray.gray = 100 * (gv/255);
               }
               if ( activeDocument.mode == DocumentMode.RGB ) {
                    sColor.rgb.red = re.exec(activeDocument.channels[0].histogram.toString() ).index/2;
                    sColor.rgb.green = re.exec( activeDocument.channels[1].histogram.toString() ).index/2;
                    sColor.rgb.blue = re.exec( activeDocument.channels[2].histogram.toString() ).index/2;
               }
               if ( activeDocument.mode == DocumentMode.LAB ) {
                    var lv = re.exec(activeDocument.channels[0].histogram.toString() ).index/2;
                    sColor.lab.l = 100 * ( lv/255 );
                    sColor.lab.a = ( re.exec( activeDocument.channels[1].histogram.toString() ).index/2 ) - 128;
                    sColor.lab.b = ( re.exec( activeDocument.channels[2].histogram.toString() ).index/2 ) -128;
               }
               if ( activeDocument.mode == DocumentMode.CMYK ) {
                    var cv = re.exec(activeDocument.channels[0].histogram.toString() ).index/2;
                    sColor.cmyk.cyan = 100 * (1-(cv/255));
                    cv = re.exec(activeDocument.channels[1].histogram.toString() ).index/2;
                    sColor.cmyk.magenta = 100 * (1-(cv/255));
                    cv = re.exec(activeDocument.channels[2].histogram.toString() ).index/2;
                    sColor.cmyk.yellow = 100* (1-(cv/255));
                    cv = re.exec(activeDocument.channels[3].histogram.toString() ).index/2;
                    sColor.cmyk.black = 100 * (1-(cv/255));
               }
               executeAction( charIDToTypeID('undo'), undefined, DialogModes.NO );
               activeDocument.selection.deselect();
               return sColor;
               app.preferences.rulerUnits = origRulerUnits;
          }catch(e){
               app.preferences.rulerUnits = origRulerUnits;
          }
     }
}

Tags: Photoshop

Similar Questions

  • Looking for best software Acrobat Writer/Conversion for Excel 2003.   I have Standard but you want to update.  Anyone have any ideas?

    Looking for best software Acrobat Writer/Conversion for Excel 2003.   I have Standard but you want to update.  Anyone have any ideas?

    Hi Dennis,

    Acrobat CC is not compatible with MS Office 2003 and currently, we only sell Acrobat DC. However, if you opt for a subscription of Acrobat DC you can install and use Acrobat XI that is compatible with Office 2003, but only to a certain update.

    Please check details of compatibility here: web browsers and applications of PDFMaker

    Thank you

    Abhishek

  • Please recommend what to look for in an external drive for my Macbook Pro

    I don't have a lot of data, but I'm a writer and want a back up of novels and photos and photo projects. Can someone knowledgeable tell me what to look for in an external drive? I said to get one with a fan, but have seen highly recommended to those without a fan.

    Thanks in advance,

    NanaCA

    If portability is a requirement, such as this storage drives will do:

    http://eShop.MacSales.com/shop/FireWire/on-the-go

    If the HARD disk will live on the desktop all the time, your choice increases.  Here are a few more examples (and there are more):

    http://eShop.MacSales.com/shop/FireWire/EliteALmini/eSATA-FW800-FW400-USB

    http://eShop.MacSales.com/shop/FireWire/1394/USB/EliteAL/eSATA_FW800_FW400_USB

    The fans are not always essential if the design of the enclosure is made correctly.

    There are many publishers and other options are available, but OWC is a good seller with excellent customer support.

    Note that anything that is stored on a disk external HARD must also be safeguarded if the data has the value.

    Ciao.

  • You are looking for an internal DVD drive for a Satellite Pro A40

    Hello

    I'm looking for an internal DVD burner for a model Satellite Pro A40 2.88 Celeron with a currently installed CD-RW/DVD-Rom. My mother is the owner of this laptop and I want to upgrade the drive for her.

    Does anyone here know of any number of model of the DVD-RW/CD-RW/DVD-Rom that is compatible with this model.

    I want the drive to function as a DVD-Rom/CD-RW also because I do not want to lose these features. Swap the bezel above if necessary isn't a problem for me.

    Thank you

    Hello
    For this particular model, I could not find another A40 Pro which has a DVD - RW, only DVD ROM. I also suggest to buy an external DVD - RW writer because an internal hard drive will cost much more. Probably triple what external there. External, you can find for about 50 but internal will cost at least about 90 more taxes. I'm sure it is internal that correspond to this machine, but at the moment I don't have the time to research each compatible model search of the car, it's why I suggest an external drive. I hope this helps.

  • Looking for Toshiba Satellite A305-6829 recovery disk creator

    I bought the laptop Toshiba A305-6829 * without a recovery disk * in the United States. Due to the decrease in the speed of the laptop I want to reinstall Vista and factory setttings. But I realized that its impossibe unless I have a recovery disk ' right?

    Then I also realized that my laptop * recovery software is not installed *. I looked for it on the internet. But I found nothing.
    + * What should I do? * + is there any creator of spare recovrery for Vista and also fits my situation?

    I also want to ask there is 20 GB missing from my hard drive (it must be 320, but seems like a 300 GB). It is a recovery partition? If this is the case; Why can not I saw him on 'my computer '?

    Hello Aokank

    On this forum you can find many useful sons on new models of laptops (like your) and recovery. I can write the whole strory about and explain how it works, but there is a problem: I am originally from Europe and you have a portable US model.

    I'm afraid that the principle can be a little different as here in Europe.

    So I recommend you to visit us Toshiba forum under http://community.compuserve.com/n/pfx/forum.aspx?webtag=ws-laptop&redirCnt=1 and I hope that someone can give you a precise answer to all your questions.

    Good luck!

  • Satellite M70-159 - X 700 you are looking for a graphics card

    Hi all

    I have a big problem, my chart in this laptop is broken and I am looking for the nine. In the service I am told, it costs 1/3 of the cost of the laptop. If someone broke m70 series laptop with this graphic and functional mobility radeon x 700 for this laptop, please write to me on [email protected]

    Thank you

    Hi Tomas

    I think that the replacement of the GPU is not easy because in most cases, the GPU chip is soldered on the map, and to my knowledge, the entire motherboard must be replaced.

    Therefore, it would be desirable to examine and search the whole motherboard.

    Good bye

  • Looking for a way to programmatically set the visible front part when opens a Subvi

    I'm looking for a way to programmatically set the visible portion of the front panel, when a Subvi opens.  Did not find all the messages that are related, but I do not know how to ask the right question.  To be clear, I want to write a VI assistance programme through a list of subVIs to ensure that background images are all in the same place when to open their respective subVIs.  I hate to play manually with scroll bars before I save each of the screws...  I'm thinking I need to find the top/left of the background image location (know already do) and then to set a property of the VI FP some offset or these values, but I can't find the corresponding property. FP:run - timeposition:custom looked promising, but only affects the location of the window, and not the area of the front panel displays the window.

    I should have added that the idea of using the background image does NOT change the origin.  Therefore, always be close enough, as your controls and indicators won't move, just the image.

    I personally use the OpenG VI and the open method of front panel, when I am in your situation.

  • Computer notebook Synaptics trackad pointer moves on its own-Looking for solution

    I recently bought a new laptop Hp M6 - N010dx, and the trackpad Envy Touchsmart is already in place.
    I installed the latest drivers for my pc, upgrade to 8.1 windows and twisted the sensitivity of the mouse, but I always have problems.

    Sometimes the pointer will become difficult to move on the screen and then will move its own. Again, to move its own, as in, I'm not in contact with the laptop at all. It's very frustrating.
    I can temporarily fix the problem or reboot my laptop or by writ put to sleep and then wake up again. However, I am looking for a permanent solution.

    Any ideas?

    I decided to return the laptop to bestbuy. I found that many users have had this same problem with the same model laptop and no "solution" offered actually work (I even tried myself without result). It's really a shame because I liked this laptop apart from faulty equipment... I am considering getting the x 360, but he mixed comments as well.
    This may end up being my last HP laptop that really, really bothers me because they are beautiful and affordable pcs

  • HP Pavilion 17.3: looking for computer Windows IMAGE RECOVERY program 10

    I had a complete picture of software on my old desktop that came with the computer called "Phoenix Firstware Recovery Pro 2004". This program has been fabulous! He saved BOTH OF TIME. It's a hard disk recovery program that you can do a restore point whenever you want, as much as you want. It is similar to the Windows restore, but it affects all of the C drive. If problems occur, it brings back your computer to this day & time in time. Anything after that; is not serious.   Viruses, Trojans, Malware, Spyware, lost the wrong files, lost images, messy music files, programs, bad mistakes, window crashes, Etc is not QUESTION. It restarts the computer at this point good & all returns at the point of return. I had my computer that had started not even Windows from the BIOS come right to the top. You can access the program by pressing the key F4 to the BIOS & restore all restore points, you did. NOW, remember that anything after this point is gone for good, (eg. photos, music files, documents, programs, changes to anything.) So, we must remember what has done or changed since restore point & redo them. But it is worth gold to get this computer up without the need to restore to the day you bought your computer & reload everything back in.

    I tried retrack Phoenix Firstware & can not find someone who knows what I'm talking about. I do not know if their doing even this GOLD one program similar to Windows 10. What I was looking for is a similar program for my new laptop HP Notebook. Anyone got any useful information the same day or a similar program that works just as well, if not better.

    THANK YOU FOR EVERYTHING & THE ANSWERS.

    @RobertMcD: Sorry no one not returned to you before that...

    But, what you need is a third-party imaging/restoration program known as Macrium reflect (MR).  This provides a FREE version that can be used to image and restore partitions or drives together.

    What I recommend is the following:
    (1) download and install Macrium reflect (MR)
    (2) run M. and choose the option: "Create an image of the partition (s) required to backup and restore Windows" to write a full backup to an external drive or USB key
    (3) use the option to create a CD or a USB startup key

    NOW, you have the means to restore a full system that works for the external hard drive or USB key in a few minutes.

    I've used this for years, since Acronis True Image failed me when I needed it the most need.  I have restored the machines repeatedly with it, and now the free version includes the ability to install a start function of recovery on your hard drive that you can do a restore without having to use DVD or USB.

  • Win32k.sys caused BSOD IRQL, looking for likely causes

    While I was recording game for a game with Fraps, I got BSODed with him saying that an IRQL_NOT_LESS_OR_EQUAL error has been generated by win32k.sys.  I have debugged the minidump file and am looking for a reason why it happened.  I don't see anything obvious to said in the report that is generated if:

    Loading dump file [C:\Windows\Minidump\Mini071811-01.dmp]
    The mini kernel dump file: only registers and the trace of the stack are available

    Symbol search path is: SRV * c:\symbols* http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows Server 2008/Windows Vista Kernel Version 6002 (Service Pack2) MP (4 procs) free x 86 compatible
    Product: WinNt, suite: TerminalServer SingleUserTS
    By: 6002.18327.x86fre.vistasp2_gdr.101014 - 0432
    Computer name:
    Core = 0 x 82036000 PsLoadedModuleList = 0x8214dc70
    The debugging session: my Jul 18 22:01:47.823 2011 - 07:00 (UTC).
    System Uptime: 5 days 2:05:24.971
    Loading the kernel symbols
    ...............................................................
    ................................................................
    .........................................
    Loading user symbols
    Loading unloaded module list
    ..................
    *******************************************************************************
    *                                                                             *
    * Bugcheck analysis *.
    *                                                                             *
    *******************************************************************************

    Use! analyze - v to obtain detailed debugging information.

    Bugcheck A, {9f5fffe4, 2, 1, 820cbc5b}

    Probably caused by: win32k.sys (win32k! Win32AllocPool + 13)

    Follow-up: MachineOwner
    ---------

    0: kd >! analyze - v
    *******************************************************************************
    *                                                                             *
    * Bugcheck analysis *.
    *                                                                             *
    *******************************************************************************

    IRQL_NOT_LESS_OR_EQUAL (a)
    An attempt was made to access an address pageable (or completely invalid) to a
    application interrupt level (IRQL) that is too high.  It is usually
    caused by drivers using a wrong address.
    If a kernel debugger is available, download the stack trace.
    Arguments:
    Arg1: 9f5fffe4, memory referenced
    Arg2: 00000002, IRQL
    Arg3: 00000001, bit field:
    bit 0: value 0 = read operation, 1 = write operation
    bit 3: value 0 = not an enforcement operation, 1 = performance operation (only on chips that support this level of State)
    Arg4: 820cbc5b, address memory

    Debugging information:
    ------------------

    WRITE_ADDRESS: GetPointerFromAddress: unable to read from 8216d 868
    Cannot read MiSystemVaType memory at 8214d 420
    9f5fffe4

    CURRENT_IRQL: 2

    FAULTING_IP:
    NT! MiUnlinkFreeOrZeroedPage + 87
    820cbc5b 890c 10 mov dword ptr [eax + edx], ecx

    CUSTOMER_CRASH_COUNT: 1

    DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT

    BUGCHECK_STR: 0XA

    Nom_processus: pcsx2 - r4600.exe

    TRAP_FRAME: cac1b9fc-(.trap 0xffffffffcac1b9fc)
    ErrCode = 00000002
    EAX = ebx = 00000023 000010a 8 ecx = 00004600 edx = 00000000 esi = 00000000 edi = f68fc0a8
    EIP = 820eb23a esp = cac1ba70 ebp = cac1bab8 iopl = 0 nv in pe of na EI pl nz nc
    CS = 0008 ss = 0010 ds = 0023're = 0023 fs = 0030 gs = 0000 efl = 00010206
    NT! ExpAllocateBigPool + 0 x 231:
    820eb23a 895ffc mov dword ptr [edi-4], ebx ds:0023:f68fc0a4 is?
    Reset the default scope

    LAST_CONTROL_TRANSFER: from 820cbc5b to 82083fd9

    STACK_TEXT:
    cac1b7a0 820cbc5b badb0d00 88c8d8b8 83600000 nt! KiTrap0E + 0x2e1
    cac1b824 820cbeaf 00049351 85e44478 400001d 5 nt! MiUnlinkFreeOrZeroedPage + 0 x 87
    cac1b864 820ae467 000001d 5 86399030 c07b47e0 nt! MiRemoveAnyPage + 0x16c
    cac1b8ac 820adce4 00000001 f68fc0a4 c07b47e0 nt! MiResolveDemandZeroFault + 0x2e2
    cac1b968 820cf331 f68fc0a4 00000000 00000000 nt! MiDispatchFault + 0xadb
    cac1b9e4 82083dd4 00000001 f68fc0a4 00000000 nt! MmAccessFault + 0x10c6
    cac1b9e4 820eb23a 00000001 f68fc0a4 00000000 nt! KiTrap0E + 0xdc
    57 000000 has 8 00000021 000010 82123c cac1bab8 has 8 nt! ExpAllocateBigPool + 0 x 231
    00000021 000010a 0 35316847 nt a21664c9 cac1bb18! ExAllocatePoolWithTag + 0 x 116
    cac1bb2c a214a4aa 000010a 0 35316847 and 00000000 win32k! Win32AllocPool + 0x13
    cac1bb40 a216a2ee 000010 has 0 cac1bbe4 35316847 win32k! PALLOCMEM + 0X18
    cac1bb5c a214a88d 000010a 0 00000001 and 00000005 win32k! AllocateObject + 0 x 97
    cac1bb94 a21533c1 00000000 00000000 00000080 win32k! SURFMEM::bCreateDIB + 0x21d
    cac1bc48 a2127c98 01010052 00000000 00000000 win32k! GreCreateDIBitmapReal + 0x320
    cac1bce4 a2127f35 085a805c 00000000 00000000 win32k! _InternalGetIconInfo + 0xbe
    cac1bd44 82080c7a 00010003 085a805c 00000000 win32k! NtUserGetIconInfo + 0xf1
    cac1bd44 77d75ca4 00010003 085a805c 00000000 nt! KiFastCallEntry + 0x12a
    WARNING: Frame IP not in any known module. Sequence of images may be wrong.
    00000000 00000000 00000000 00000000 0x77d75ca4 085a803c

    STACK_COMMAND: kb

    FOLLOWUP_IP:
    Win32k! Win32AllocPool + 13
    5 d a21664c9 pop ebp

    SYMBOL_STACK_INDEX: 9

    SYMBOL_NAME: win32k! Win32AllocPool + 13

    FOLLOWUP_NAME: MachineOwner

    MODULE_NAME: win32k

    Nom_image: win32k.sys

    DEBUG_FLR_IMAGE_TIMESTAMP: 4d6f96aa

    FAILURE_BUCKET_ID: 0xA_win32k! Win32AllocPool + 13

    BUCKET_ID: 0xA_win32k! Win32AllocPool + 13

    Follow-up: MachineOwner
    ---------

    So far, this was the only time where I had it coming, but I have not tried from new record yet.  Actively running programs are FireFox, Pcsx2 and Fraps.  However, I ran these before without this issue arise.  I'm inclined to think that this is a time to screw that maybe something has been registered correctly or incorrectly read memory.

    Hello

    References to Vista also apply to Windows 7.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Installation and update of drivers to 7 (update drivers manually using the methods above is preferred
    to make sure that the latest drivers from the manufacturer of system and device manufacturers are located)
    http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.html

    ==========================================

    Tests of memory intercept all errors such as memory do not match (possible even for sticks
    seemingly identical) and when the faster memory is placed in system behind the slower memory.
    So it is best to Exchange also glue in and out to check for those, even if all the tests of memory do not respond
    a problem.

    To test the RAM here control - run 4 + hours or so.<-- best="">
    www.memtest.org

    For the Windows Memory Diagnostic tool.

    Start - type in the search-> memory box - find top - click - right Memory Diagnostics tool
    RUN AS ADMIN follow the instructions

    Windows Vista: How to scan / test your RAM or memory with Windows Vista Memory Diagnostic
    Tool
    http://www.shivaranjan.com/2007/11/01/Windows-Vista-how-to-scan-test-your-RAM-or-memory-with-Windows-Vista-memory-diagnostic-tool/

    How to run the diagnostic tool memory in Windows 7
    http://www.SevenForums.com/tutorials/715-memory-diagnostics-tool.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • I am looking for a way to only sync music files (mp3, flac, ogg, etc) on local network.

    * Original title: synchronize files

    Hey

    I am looking for a way to only sync music files (mp3, flac, ogg, etc) on local network. The Office uses iTunes, while the laptop is using Media Go. Each adds different files in the folder of the artist.  I want to synchronize only the files of songs themselves. Sync Toy, but also collective dwelling, you cannot add a wildcard character. (e.g. *.mp3). If I sync folders, each computer has useless files. I tried other software of synchronization, but once again, after the sync preview I have to deselect all other files.  I'll sit and listen to my answer. Thanks coach

    You could 'roll' so to speak, but write a batch file.  Inside the batch file would essentially be only one command, the copy command set to copy only the *.mp3 example and ignore existing files.  Basically, SyncToy, but with filters.  The command in the command prompt you would use would be XCOPY or ROBOCOPY, which you can type followed /? to see the options (or both are well documented on the Internet).

    Always it seems to me that it would be easier to just an another artist for iTunes folder and taskbar have their own libraries than others it does not.

  • Looking for a SQL query to retrieve callvariables + ECC to a RESULTS of SCRIPT EXECUTE (translation VRUS)

    Hi team,

    I'm looking for a SQL query check data (ECC + CallVariable) due to a RESULT of SCRIPT EXECUTE when you ask an external VRU with a translation route to VRU with a 'run external Script '.

    In my view, that the data are analyzed between the termination call detail + termination call Variable.

    If you have already such a SQL query I would be very grateful to have.

    Thanks and greetings

    Nick

    Omar,

    respectfully, shorten the interval of a day might not be an option for a history report ;-)

    I recommend to take a look at the following SQL query:

    DECLARE @dateFrom DATETIME, @dateTo DATETIME

    SET @dateFrom = ' 2014-01-24 00:00:00 '

    SET @dateTo = ' 2014-01-25 00:00:00 '

    SELECT

    TCV. DateTime,

    TCD. RecoveryKey,

    TCD. RouterCallKeyDay,

    TCD. RouterCallKey,

    VME. EnterpriseName AS [ECVEnterpriseName],

    TCV. ArrayIndex,

    TCV. ECCValue

    OF Termination_Call_Variable tcv

    JOIN THE

    (SELECT RouterCallKeyDay, RouterCallKey, RecoveryKey IN Termination_Call_Detail WHERE DateTime > @dateFrom AND DateTime)< @dateto)="">

    THE tcv. TCDRecoveryKey = tcd. RecoveryKey

    LEFT OUTER JOIN Expanded_Call_Variable VME ON tcv. ExpandedCallVariableID = VME. ExpandedCallVariableID

    WHERE the tcv. DateTime > @dateFrom AND tcv. DateTime<>

    With variables, you can set up your code (for example, you could write SET @dateFrom =? and let the calling application to fill in the DateTime for you).

    In addition, join two large tables with all the lines, as you did (TCD - TCV) is never a good option.

    Another aspect to consider: all the ECC is actually arrays (always), is not good to leave aside the index value (tcv. ArrayIndex).

    G.

  • You are looking for a «single» audio player

    I searched the web for days, both for widgets and readers audio html5 (playlists which is, not players of one track repeat), and I have found which are often too big or too complicated looking for models. I'm looking for a player appearing information within a single line, so something like:

    {> (play/pause button) _ 00:00 {_}} 03:36 <> <> (song title)

    That's all. I'm so disappointed that I don't know any code, and I am seriously considering to address this because I know that it cannot be too hard to write.

    Any help will be much appreciated.

    Thank you.

    Have you seen what follows this similar thread? :

    Audio player Widget - Muse

    Otherwise, if you want to put a few lines of code, stick something in the sense of:

    Your browser does not support the audio tag.

    This is the result in my browser (Chrome):

    More info here:

    HTML5 Primer: how to use the Audio tag

    or w3 schools (they have explained well in this case, but not too keen on some of their other lessons/teaching methods):

    http://www.w3schools.com/tags/tag_audio.asp

  • You try to play the file vmx, looking for a certain value

    We had a third-party deployment go wrong.  They add a few lines in vmx files and these lines are originally NIC disconnect and reconnect not.  We have almost 500 VMS and so I try to make a loop on all virtual machines looking for a value.

    I've been playing with Get-AdvancedSetting and I can get the values I'm looking for, but I can't get the name of VM affected to appear as well.

    For example:

    Get-AdvancedSetting - entity (Get - vm) - name ethernet0.filter0.name

    Name value Type Description
    ----                 -----                ----                 -----------
    ethernet0.filter0... vtap_vmkern VM
    ethernet0.filter0... vtap_vmkern VM
    ethernet0.filter0... vtap_vmkern VM
    ethernet0.filter0... vtap_vmkern VM
    ethernet0.filter0... vtap_vmkern VM

    It returns only the name and the value of the AdvancedSetting, I can't understand how to include the name of the server.

    Finally, I have to write a script to remove the affected rows, but for now, I just want to get a list of the virtual machines that have these lines.

    You could do something like that

    {foreach ($vm in Get - VM)

    Get-AdvancedSetting - $vm - name ethernet0.filter0.name entity.

    Select @{N = "VM"; E = {$vm. Name}}, name, value, type

    }

  • Looking for a mentor to Dreamweaver

    I'm an American professional photographer living in Germany. I develop a photography website using dreamweaver CS4. I'm looking for someone who is willing to work with me online and on the phone when I have questions HTML and javascript.

    I prefer someone who is an ACP country, but it is not necessary. I just need someone who understands the work at both levels the code and the creation of Dreamweaver. I have some experience with HTML, but I don't consider myself a HTML programmer.

    For the type of questions, I'll have to see Impossible to insert a background image in a changeable ID style. This has still not been resolved.

    Is there anyone living in the European zone who is interested. If so, if it please write me to [email protected]

    You can see my initial frame to www.jpalik.com. This is the site on which I will ask for help.

    Thank you

    Jim

    Check this thread. In my view, that it was answered.

Maybe you are looking for

  • CD/DVD on Satellite U500 drive failed after installing Windows 10

    My CARPET * drive dvd DVD - RAM UJ862AS failed after W10. I told myself I need Toshiba ' * 86 device ACPI Compliant added logic and general use "BEFORE I can install the driver for the DVD drive.I tried Microsoft idea to remove the pilot of regedit a

  • SM Bus controller driver

    Hello Sorry for my English in advance. I have a question about the search for drivers on the hp websites.  There is always a problem with the SM Bus controller when windows is freshly installed.  It doesn't matter what model of laptop is and it doesn

  • Pavillion6360uk: Restore the files from the dvd

    Last night my PC could not initialize so I did a system restore, but before that he asked me to back up my files on DVD... so I backed up my files to DVD 9. The PC is a complete system restore, but when I go to backup and restore there is no option f

  • NO driver installed

    No sound on (net). control.says access volume drivers not installed.worked cannot fine on 11.5.2010.

  • How to reset the router linksys e 1000

    I bought a router linksys e1000 to my friend and he has security turned on this subject, I tryd it resettin but did not work. I called customer service and since its past the 30 day warranty I have to pay for low deal of tech support I know, how to r