Netstat not reporting input errors with packets that have bad checksums ?

Greetings,
Is netstat not reporting any checksum errors ? I have a number of Macs reporting checksum errors when sniffing the local net. I would think that these should be reported by netstat as input errors, or collisions right ?
But it doesn't currently. See below for sample, its occurring across protocols, tcp, and udp. Usually this error is a bad ethernet port or cabling, and sometimes a sw issue. Working on eliminating the switches, router, and dsl modem by doing more testing.
But is netstat broke ? I havent seen any errors from netstat since @ 3yrs ago.
length 64, bad cksum 0 (->f9fe)!)
One other question, can one monitor firewire 400/800 ports or usb with netstat ? Its not listed with man pages or netstat -h
Thanks in advance

Im am using two commands to view the data;
netstat -I en0 2;
(no errors in or out)
and tcpdump with the verbose -v argument
( reports the cksum ( these are CRC's right, not IP header checksum ? )
At the very bottom is the netstat -s output, otherwise a snippet of tcpdump ; replaced the IP's with xxxx's to protect the innocent
Thanks for your help.....
===========================
18:13:37.101690 IP (tos 0x0, ttl 64, id 8134, offset 0, flags [DF], proto TCP (6), length 957, *bad cksum 0 (->68d8)!)* xxxxxxxxxx > xxxxxxxxxxxxxxx: P 8689:9594(905) ack 1 win 65535 <nop,nop,timestamp 1438111158 3084046213>
18:13:37.136653 IP (tos 0x0, ttl 57, id 26778, offset 0, flags [DF], proto TCP (6), length 52) xxxxxxxxxx > xxxxxxxxxxxxxxx: ., cksum 0xd4bc (correct), ack 5793 win 17376 <nop,nop,timestamp 3084046248 1438111158>
18:13:37.172381 IP (tos 0x0, ttl 57, id 26779, offset 0, flags [DF], proto TCP (6), length 52) xxxxxxxxxx > xxxxxxxxxxxxxxx: ., cksum 0xc3a0 (correct), ack 7241 win 20272 <nop,nop,timestamp 3084046284 1438111158>
18:13:37.207358 IP (tos 0x0, ttl 57, id 26780, offset 0, flags [DF], proto TCP (6), length 52) xxxxxxxxxx > xxxxxxxxxxxxxxx: ., cksum 0xb285 (correct), ack 8689 win 23168 <nop,nop,timestamp 3084046319 1438111158>
18:13:37.230968 IP (tos 0x0, ttl 57, id 26781, offset 0, flags [DF], proto TCP (6), length 52) xxxxxxxxxx > xxxxxxxxxxxxxxx: ., cksum 0xa395 (correct), ack 9594 win 26064 <nop,nop,timestamp 3084046342 1438111158>
18:13:37.313545 IP (tos 0x0, ttl 57, id 26782, offset 0, flags [DF], proto TCP (6), length 1500) xxxxxxxxxx > xxxxxxxxxxxxxxx: . 1:1449(1448) ack 9594 win 26064 <nop,nop,timestamp 3084046415 1438111158>
18:13:37.322422 IP (tos 0x0, ttl 57, id 26783, offset 0, flags [DF], proto TCP (6), length 1500) xxxxxxxxxx > xxxxxxxxxxxxxxx: . 1449:2897(1448) ack 9594 win 26064 <nop,nop,timestamp 3084046415 1438111158>
18:13:37.322440 IP (tos 0x0, ttl 64, id 8135, offset 0, flags [DF], proto TCP (6), length 52, *bad cksum 0 (->6c60)!)* xxxxxxxxxx > xxxxxxxxxxxxxxx ., *cksum 0xaec3 (incorrect (-> 0xff42)*, ack 2897 win 65160 <nop,nop,timestamp 1438111159 3084046415>
18:13:37.331285 IP (tos 0x0, ttl 57, id 26784, offset 0, flags [DF], proto TCP (6), length 1500) xxxxxxxxxx > xxxxxxxxxxxxxxx: . 2897:4345(1448) ack 9594 win 26064 <nop,nop,timestamp 3084046415 1438111158>
18:13:37.334407 IP (tos 0x0, ttl 57, id 26785, offset 0, flags [DF], proto TCP (6), length 646) xxxxxxxxxx > xxxxxxxxxxxxxxx: P 4345:4939(594) ack 9594 win 26064 <nop,nop,timestamp 3084046415 1438111158>
18:13:37.334421 IP (tos 0x0, ttl 64, id 8136, offset 0, flags [DF], proto TCP (6), length 52, *bad cksum 0 (->6c5f)!*) xxxxxxxxxx > xxxxxxxxxxxxxxx: ., *cksum 0xaec3 (incorrect (-> 0xf5d1)*, ack 4939 win 65535 <nop,nop,timestamp 1438111159 3084046415>
===============================
netstat -s
tcp:
7470 packets sent
2868 data packets (671900 bytes)
0 data packets (0 bytes) retransmitted
0 resends initiated by MTU discovery
3534 ack-only packets (101 delayed)
0 URG only packets
0 window probe packets
657 window update packets
411 control packets
7918 packets received
3225 acks (for 672008 bytes)
185 duplicate acks
0 acks for unsent data
4489 packets (2652174 bytes) received in-sequence
7 completely duplicate packets (7347 bytes)
0 old duplicate packets
0 packets with some dup. data (0 bytes duped)
291 out-of-order packets (412273 bytes)
0 packets (0 bytes) of data after window
0 window probes
1 window update packet
1 packet received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
207 connection requests
12 connection accepts
0 bad connection attempts
0 listen queue overflows
219 connections established (including accepts)
231 connections closed (including 9 drops)
2 connections updated cached RTT on close
2 connections updated cached RTT variance on close
0 connections updated cached ssthresh on close
0 embryonic connections dropped
3222 segments updated rtt (of 3193 attempts)
2 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts
0 connections dropped by persist timeout
0 keepalive timeouts
0 keepalive probes sent
0 connections dropped by keepalive
2199 correct ACK header predictions
4128 correct data packet header predictions
0 SACK recovery episodes
0 segment rexmits in SACK recovery episodes
0 byte rexmits in SACK recovery episodes
0 SACK options (SACK blocks) received
275 SACK options (SACK blocks) sent
0 SACK scoreboard overflow
udp:
360 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
21 dropped due to no socket
65 broadcast/multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
0 not for hashed pcb
274 delivered
390 datagrams output
ip:
8278 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with ip length > max ip packet size
0 with header length < data size
0 with data length < header length
0 with bad options
0 with incorrect version number
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 packets reassembled ok
8278 packets for this host
0 packets for unknown/unsupported protocol
0 packets forwarded (0 packets fast forwarded)
0 packets not forwardable
0 packets received for unknown multicast group
0 redirects sent
7869 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
8 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header

Similar Messages

  • Itunes was not installed correctly error 1114.  I have uninstalled and reinstalled using the steps several times., itunes was not installed correctly error 1114.  I have uninstalled and reinstalled using the steps several times.

    itunes was not installed correctly error 1114.  I have uninstalled and reinstalled using the steps several times., itunes was not installed correctly error 1114.  I have uninstalled and reinstalled using the steps several times.
    I have never been so close to packing the whole lot up and sending the ipad back!
    Please help!
    Kieran

    Issues installing iTunes or QuickTime for Windows
    iTunes 11.1.4 for Windows: Unable to install or open
    Troubleshooting issues with iTunes for Windows updates

  • [svn:fx-4.0.0] 13714: updating the AIR kits with versions that have the fx4 swc recompiled using SDK 13653

    Revision: 13714
    Revision: 13714
    Author:   [email protected]
    Date:     2010-01-22 08:12:15 -0800 (Fri, 22 Jan 2010)
    Log Message:
    updating the AIR kits with versions that have the fx4 swc recompiled using SDK 13653
    Modified Paths:
        flex/sdk/branches/4.0.0/in/air/mac/AIR Integration Kit.tbz2
        flex/sdk/branches/4.0.0/in/air/win/AIR Integration Kit.zip

    Thanks dude, you saved my ***!
    This is my platformOptions.xml file now:
    <platform xmlns="http://ns.adobe.com/air/extension/3.5">
        <sdkVersion>6.0</sdkVersion>
        <linkerOptions>
            <!-- to link with the libicucore.dylib -->
            <option>-licucore</option>
            <option>-framework GameKit</option>
            <option>-framework CoreData</option>
            <option>-framework StoreKit</option>
            <option>-framework iAd</option>
            <option>-framework MessageUI</option>
         </linkerOptions>
    </platform>
    And it works!
    I looked into including the 2 .a files
        <packagedDependencies>
            <packagedDependency>libWebp.a</packagedDependency>
            <packagedDependency>libFlurryAnalytics.a</packagedDependency>
        </packagedDependencies>
    I put the 2 files into my ane build folder and into my adt command line, but when I try to build the app I get an duplicate symbol error... so i took them out.
    \o/

  • How to improve Oracle Veridata Compair pair performance with tables that have big (30-40MB)CLOB/BLOB fileds ?

    How to improve Oracle Veridata Compair pair performance with tables that have big (30-40MB)CLOB/BLOB fileds ?

    Can you use insert .. returning .. so you do not have to select the empty_clob back out.
    [I have a similar problem but I do not know the primary key to select on, I am really looking for an atomic insert and fill clob mechanism, somone said you can create a clob fill it and use that in the insert, but I have not seen an example yet.]

  • Notifications are not being generated for any emails that have rules applied to them.

    Notifications are not being generated for any emails that have rules applied to them. Any clues how to fix this?

    In System Center 2012 Operations Manager, the alert notification will be sent when the alert first meets all criteria, regardless of resolution state, unless resolution state itself is a criterion. If alert suppression is enabled for the rule or monitor
    that raises an alert, only one notification will be sent when the subscription criteria are first met. No additional notifications will be sent until the alert is closed and a new alert is raised that meets all subscription criteria.  PLease check
    1) whether your rule has trun on alert supression
    2) Close the alert, craised by rule,  and do it again
    Roger

  • Hi everyone, i got my 5S in Macedonia for 600 € and someone who lives in Germany tell me about  my iPhone that is not as good as 5S's that have been produced for Germany or in any state like Germany , does it mean that is not original someone to help me ?

    Hi everyone, i got my iPhone 5S in Macedonia for 600 € and someone who lives in Germany tells me that my iPhone is not as good as 5S's that have been produced for Germany or in any state like Germany , does it mean that is not original someone to help me ?

    All iPhones are manufactured in the same factory in China, all are the same quality for every country of sale.
    But the LTE/4G bands are different for different countries so may not work back in Germany.  In addition, the warranty is only valid in the country of sale, so you will not have warranty support in Germany...unless Macedonia is part of the EU and then the warranty is valid for all EU states.

  • "Load report failed" error with VS 2010 upgrade

    I have a report system that has been running nicely for a few years. Today, I upgraded it to use the latest Crystal from Visual Studio 2010. I installed the .net framework 4.0, installed the Crystal runtime (64 bit), and updated the web site with slightly revised code to use the new stuff. Now, reports that worked yesterday fail with the 'load report failed' error. A little research shows that the file name passed to the report engine is correct (and is the same as it has always been). I see that rpt files are being created in windows\temp each time a report is requested, so it seems that the report file is being found.
    The code change I made was to use the new ExportToHttpResponse method.
    When deployed in development and test environments (both 32 bit). this worked perfectly. In production, however, no such luck. I wonder if I have missed a setting somewhere, or if there is something extra to do on a 64 bit server?
    Does anyone have a clue for me?
    More info - I found the following error in the event log:
    The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.
    ... which I thought was interesting until I noticed the same error occurs on my dev machine, where the reports are working.
    I also used process monitor to check the dlls loaded on the production box, and they all seem to be the latest version. I tried using the 'modules' utility on my production box, but it did not pick up the Crystal stuff (or any of my web stuff - I wonder if it is a 32-bit only tool?).
    Edited by: Ray Novak on Dec 29, 2010 5:12 PM

    I just tried this again with the same result. I uninstalled the previous Crystal, deleted all the old folders and reg keys I could find, then installed the new 64 bit redist package. I asigned permissions to the SAP reg key tree. I ended up with the same result: "Invalid file name". There were new files created in the temp folder for each report request, so I can tell that my.rpt files are being found.
    I used process monitor to see what was happening, and here are the results that seem interesting:
    RegOpenKey     HKU\.DEFAULT\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0     NAME NOT FOUND          
    RegOpenKey     HKU\.DEFAULT\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0     NAME NOT FOUND          
    IRP_MJ_CREATE     C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\secSSO.dll.2.Config     NAME NOT FOUND
    FASTIO_NETWORK_QUERY_OPEN     C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\SmAgentAPI.dll     NAME NOT FOUND
    Since it seemed to be trying to create files in the \win64_x64 folder, I allowed the process full access, but it didn't help. It was also looking for SmAgentAPI.dll which does not seem to exist on my system.

  • There is not enough memory error with 8gb installed

    Description:
    I'm getting an error when trying to copy or cut a collection of basic shapes in CS6 on Mac OS X 10.8.
    It reads:
    There is not enough memory to complete the operation.
    To increase available memory, close other open documents or applications.
    But when i check activity monitor there is plenty of memory available. I can succesfully copy a smal(ler) amount of shapes.
    Steps already taken:
    Tried copying after a system restart with no other programs running.
    Tried adding more memory (i had 4gb originally, I just upgraded to 8gb).
    I reinstalled Flash
    I tried the same procedure (copying the same amount of shapes) on another machine with a similar amount of RAM and this works fine.
    Is there a way you can allocate more memory to flash, or is this some setting that i'm missing?
    Any help would be greatly appreciated!
    P.s. I read this thread http://forums.adobe.com/message/3609214#3609214, and my problem is only different in that i don't have some huge files i'm dealing with. The .fla is only ~10mb.

    Thanks for chiming in Mataxia.
    One thing you can try is selecting the layers that have the shapes you want to copy. Then right click and choose copy layers. In my case this works even though selecting just the shapes (instead of the layers) will cause the memory error.
    I'm using this as a workaround, but i can imagine that this isn't of any help in all cases.
    This confirms my suspicions that this is a bug in flash. Would be great if someone from Adobe were reading this...

  • After Effects give "not enough vram" error with GTX690

    I have a Mac Pro with 2 GTX 690's. Both have 4 Gigs of memory. To be more precise each card has 2 processors so each processor only uses 2 GB. When I open AE I get a "not enough VRAM" error so I can't run ray-tracing. 2 GB should be plenty of VRAM, so I don't get why it would say that. When I go to GPU information in the Previews preference window, I have enable unsupported GPU checked, but "GPU" is still greyed out. In the OpenGL section, it reads that I have 2 GB of vram. What gives? How come After Effects isn't seeing the VRAM for CUDA? Very very frustrating. The cards work fine in Premiere and EVERY OTHER APPLICATION that works using CUDA. After Effects is the only one that freaks out. Need a fix for this.

    Hum, that seems weird. I mean, I CUDA is sooooo very much faster than regular CPU rendering that C4D does. The ideal situation would be to have the Cineware plugin actually be able to use any of renderers in C4D, not just the standard. Then I could select my Octane renderer and have screaming fast 3D live in AE.

  • Midi input error with Cubase and SB Audigy 2

    Hi,
    I have problems when I'm recording midi in Cubase (haven't try any other system) on my SB Audigy 2 ZS card.
    Have try Cubasis VST that comes with the card, have try with my old Cubase VST 24, and have tryed with my friends Cubase SX 3, same results.
    The error I got is that the beginning of the recording gets alot of error, the first 2-3 parts is compressed into a randomized soap and sometimes I got notes without any noteoff commands. And the sync is very poor at the part after.
    It works fine with my old SB Li've 5. card but works horrible with my new card. Does anyone have any idea what is wrong? I've try to reinstall and download latest drivers but nothing hel
    ps.
    When I record all returned midi signal is okej (the one that make my keyboard to play the sound), but the recording isn't.
    /TurboGlider

    Does this happen every time you try to record? Or does it only happen after you have put your computer on Stand By or Hibernate and woken it up?
    I recognized your description of the error because the same thing happens to me with some older SB cards, but only after the computer has been woken up from Stand By or Hibernate. I posted a message about it here.
    Sorry, I have no solution either (except rebooting the computer, which works for me).

  • Report DW error with CSS position

    To the Adobe staff
    I use this forum cause I can't find where the F... to report an error!
    There is an error in Dreamweaver CS4 french (canadian) version.
    When you create a css style, the position tab, the fonction fixed has been translated and should not.
    So right now, you read "fixe" instead of "fixed"

    You can report bugs here...
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Auto adjustment of page orientation causes printing issues with documents that have a page width greater than its page height.

    Hi,
    Since an upgrade from Word 2003 to Word 2010, we are experiencing printing issues with certain
    documents that have a page width greater than its page height.
    In Word 2003, it was no problem to set the page width greater than the page height while setting the page orientation to "portrait".
    In Word 2010, this seems impossible: despite leaving the page orientation to "portrait", if one changes the page width/height as stated,
    Word 2010 automatically adjusts the orientation to "landscape". Resetting the orientation to "portrait" will flip the page's width/heigth settings.
    This behaviour causes printing problems: the page prints out 90° rotated.
    I do not believe this is a printer driver issue: I tried several different printer drivers, and all give the same (bad) result. Setting the printer driver's page orientation settings (before printing) makes no difference, as
    Word 2010 seems to force the page orientation settings.
    Inserting the documents 90° rotated is not an option, since it causes problems with the printing margins.
    This is very annoying, since we have to print official documents of a municipality (driver's licences).
    Is there a workaround for this issue?
    Regards,
    Laurent Grandgaignage
    Sysadmin Gemeentebestuur Stabroek, Belgium

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, we can follow these steps to test this issue
    Step 1: Repair Office 2010
    1.      
    Click
    Start, and then click Control Panel.
    2.      
    Click
    Programs and Features.
    3.      
    Click the
    Office 2010 program that you want to repair, and then click
    Change.
    4.      
    Click
    Repair, and then click Continue. You might need to restart your computer after the repair is complete.
    Step 2:
    Rename the global template (Normal.dotm)Follow the steps for the operating system that you are using:
    Windows Vista and Windows 7
    a)      
    Exit Word 2010
    b)      
    Click
    Start.
    c)       
    In the
    Start Search box, type the following text, and then press
    ENTER:
    1.      
    %userprofile%\appdata\roaming\microsoft\templates
    d)      
    Right-click
    Normal.dotm, and then click Rename.
    e)      
    Type
    Oldword.old, and then press ENTER.
    Microsoft Windows XP
    a)      
    Exit Word 2010
    b)      
    Click
    Start, and then click Run.
    c)       
    In the
    Open box, type the following text, and then press ENTER:
    %userprofile%\Application Data\Microsoft\Templates
    d)      
    Right-click
    Normal.dotm, and then click Rename.
    e)      
    Type
    Oldword.old, and then press ENTER.
    f)       
    Close Windows Explorer.
    How to troubleshoot print failures in Word 2010, Word 2007, and Word 2003
    http://support.microsoft.com/kb/826845
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
    I can do for you, please feel free to let me know.
    Hope that helps.
    Sincerely
    William Zhou CHNPlease remember to mark the replies as answers if they help and unmark them if they provide no help.

  • When migrating from 10g to 11g with tables that have LOB columns, should the columns be converted to Securefile LOB formats?

    We have an ongoing debate over the merits of switching to securefile LOBS. This is Oracle recommended approach but what are the main benefits?
    Thsi would allow parallel impdp to take place also has benefit for compression, but are there any other driving factors to consider?

    The fact that a hacking solution works well with a particular binary file on a particular database does not guarantee that it will not destroy another file and another database beyond repair. In case this happens, people will call Oracle Support for help. And Oracle Support may refuse (though it tries not to do this without reason) to help with such a corrupted database. This is a consequence of "unsupported" modifications to binary files. Therefore, publishing this type of advice with little or no word of warning nor disclaimer is simply irresponsible (especially, if simpler and supported solutions exist).
    I did not suggest that you should waste time checking if your particular solution had already been documented or not but I did suggest that you see if the methods you proposed were documented. And, frankly speaking, this is not what an Oracle DBA should really have to check. I also cannot believe that you are not aware that modification of files in any undocumented binary format (not only Oracle's) is generally unsupported. And, while common and somehow acceptable in low-risk home or research applications, such modifications are a bad idea in high-risk production business use.
    -- Sergiusz

  • Trouble with songs that have no albums

    Hey,
    I have a new video ipod, but I'm having a bit of trouble with the feature where, when you click on an artist with only one album, it goes directly to the list of songs in that album, instead of the list of the albums. The issue is with artists where I have one full labeled album and another song or two not in the album with the Album field left blank. When I click on the artist, it goes directly to the list of songs on the one album I have, making it impossible to access the song that isn't in the album. You can only get to it by going to the list of all the songs on the ipod. Is there anyway to fix this, or disable the feature that goes directly to the album tracks when you only have one album for an artist? Thanks!
    Sorry if that's unclear, here's a sample of the problem (artist - album - song)
    Leonard Cohen - Various Positions - Dance Me to the End of Love
    Leonard Cohen - Various Positions - Coming Back To You
    Leonard Cohen - Various Positions - The Law
    Leonard Cohen - Various Positions - Night Comes On
    Leonard Cohen - Various Positions - Hallelujah
    Leonard Cohen - Various Positions - The Captain
    Leonard Cohen - Various Positions - Hunter's Lullaby
    Leonard Cohen - Various Positions - Heart With No Companion
    Leonard Cohen - Various Positions - If It Be Your Will
    Leonard Cohen - Hallelujah
    That last Hallelujah (a different version than the album one) is the one that's impossible to find.

    Thanks! It's not a neat solution, but until the apple guys fix this problem in the software I guess it's what I'll have to go with.

  • Edit code for change drive letters in paths for links, to also work with Fonts that have been moved.

    I have the following code that looks through my links and changes all of the drive letters to the new locations where they exist.  So if something stays in the same folder structure, but moves to a new drive E: and InDesign can not longer find it, you can run the code and have it fix them all.
    Well I want to do the same but for fonts that have also moved.
    Thank you in advance for any and all help!
    if (app.documents.length == 0) {
        err("No open document. Please open a document and try again.", true);
    if (File.fs != "Windows") {
        err("This script is for Windows only.");
    var myDoc = app.activeDocument;
    var myLinks = myDoc.links;
    var myCounter = 0;
    if (myLinks.length == 0) {
        err("This document doesn't contain any links.", true);
    var mySettings = CreateDialog();
    for (i = myLinks.length-1; i >= 0 ; i--) {
        var myLink = myLinks[i];
        if ( myLink.status == LinkStatus.LINK_MISSING || (myLink.status != LinkStatus.LINK_MISSING && mySettings[2] == false) ) {
            var myOldPath = myLink.filePath;
            var myNewPath = myOldPath.replace(mySettings[0] + ":\\", mySettings[1] + ":\\");
            var myNewFile = new File(myNewPath);
            if (myNewFile.exists) {
                myLink.relink(myNewFile);
                try {
                    myLink.update();
                catch(e) {}
                myCounter++;
    if (myCounter == 1) {
        alert("One file has been relinked.", "Finished");
    else if  (myCounter > 1) {
        alert(myCounter + " files have been relinked.", "Finished");
    else {
        alert("Nothing has been relinked.", "Finished");
    function err(e, icon){
        alert(e, "Change drive letter in path", icon);
        exit();
    function CreateDialog() {
        var myDrives = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "y", "Z"];
        var myDialog = new Window("dialog", "Change drive letter in path");
        var myPanel = myDialog.add("panel", undefined, "");
        myPanel.orientation = "column";
        myPanel.alignChildren = "left";
        var myGroup = myPanel.add("group");
        myGroup.orientation = "row";
        var myStText1 = myGroup.add("statictext", undefined, "Change ");
        var myDropDownList1 = myGroup.add("dropdownlist", undefined, myDrives);
        if (app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl1") != "") {
            myDropDownList1.selection = myDropDownList1.items[app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl1")];
        else {
            myDropDownList1.selection = myDropDownList1.items[2];
        var myStText2 = myGroup.add("statictext", undefined, " to ");
        var myDropDownList2 = myGroup.add("dropdownlist", undefined, myDrives);
        if (app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl2") != "") {
            myDropDownList2.selection = myDropDownList2.items[app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl2")];
        else {
            myDropDownList2.selection = myDropDownList2.items[3];
        var myCheckBox = myPanel.add("checkbox", undefined, "relink only missing links");
        if (app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_checkbox") != "") {
            myCheckBox.value = eval(app.extractLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_checkbox"));
        else {
            myCheckBox.value = true;
        var myButtonsGrp = myDialog.add("group");
        var myOkBtn = myButtonsGrp.add("button", undefined, "Ok", {name:"ok"});
        var myCancelBtn = myButtonsGrp.add("button", undefined, "Cancel", {name:"cancel"});
        myOkBtn.onClick = function() {
            if (myDropDownList1.selection.index == myDropDownList2.selection.index) {
                alert("Both drive letters should not be the same.", "Change drive letter in path");
            else {
                myDialog.close(1);
        var myDialogResult = myDialog.show();
        if (myDialogResult == 1) {
            app.insertLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl1", myDropDownList1.selection + "");
            app.insertLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_Ddl2", myDropDownList2.selection + "");
            app.insertLabel("Kas_UpdatePathNamesAfterDriveLetterChange_3.0_checkbox", myCheckBox.value + "");
            return [ myDropDownList1.selection.text, myDropDownList2.selection.text, myCheckBox.value ];
        else {
            exit();

    ok, so I have discovered where the issue came from...
    The code you helped me with before, were I removed all links and my link character styles that I had (found here: http://forums.adobe.com/message/5881440#5881440)
    Well it set all the items I was finding/replacing to unknown fonts that my machine doesn't have (Like Helvetic Neue Bold, instead of just Helvetica Bold, etc).
    Is there an easy way of fixing this?
    The only way I know to fix it right now is:
    Go to Package >> go to Fonts >> Select the the font that says it's missing >> Select Find First >> CLOSE ALL OF THIS, then use the eye-dropper to select the text around that font which copies the formatting and then apply it to the text who's formatting got messed up.  And then start the process all over again for the next occurence of that word whose formatting got stripped.

Maybe you are looking for

  • Preflight icon like Links icon

    Hi! Since preflight work on a regular basis in the background it would have been nice to preflight status was indicated by facility. As a result, the mock-ups I could immediately see the faults such as incorrect colors, image scaling beyond the norm

  • Open item clearing with FBCJ

    Hello all, accoording to note 532888 it's not possible to do open item clearing (with vendor and customer postings) with t-code FBCJ. My client want's to do this cleaning in FBCJ. Did someone managed this problem? Thanks anyway.

  • Question about uploading file to Azure Storage

    Can we upload ISO to azure storage and deploy to Azure Virtual Machine?

  • Wrong code

    Hey, I have made the follow source: //Opgave 1.1: Read 3 times a integer and //double the result,output public class Opgave1 {  public static void main(String[] args)    {  System.out.println(       "The follow int will be read now:\n" +       "x=4,

  • Using a User Store different from LDAP to identify users

    Hello everybody, I've developed a couple of authentication classes in Access Manager and I found the constrain to use a LDAP user store very limitative. I have to develop a class that check the credential against a table in a database. I've no LDAP u