Jump to content

GWmellon

Active Members
  • Posts

    50
  • Joined

  • Last visited

GWmellon's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. I need to take data from a virtual com port and redirect it to a physical com port. I am not looking for hints, just a want to make sure I am not bitting off to much here.
  2. This may be a product of how you posted it but if not you should use tabs in your loops While 1 ; This while loop is here because Adobe can take a long time to expand from the network drive... $return = WinWaitActive( "Adobe Reader 8.1.1 - Setup", "Change &Destination Folder...") if $return = 1 Then ExitLoop Endif Would become While 1 ; This while loop is here because Adobe can take a long time to expand from the network drive... $return = WinWaitActive( "Adobe Reader 8.1.1 - Setup", "Change &Destination Folder...") if $return = 1 Then ExitLoop Endif WEND
  3. Thanks big_daddy. Actually, just knowing where to look next time is enough for me.
  4. Same here. think Pandora got wise?
  5. Great script.
  6. ;Shows an oddball error in _ArrayDisplay #include <Array.au3> Dim $avArray[3] $avArray[0] = "| Relocate|45| St Paul Hbr Ent Lt Fl 6s 38ft 7M RACON (-.) LNM 32/07, 17th Dist| 57.73871889| -152.430096" $avArray[1] = "| Revise|29| St Paul Hbr Ent Lt Fl 6s 38ft 7M RACON (-.) LNM 32/07, 17th Dist| 57.73871889| -152.430096" $avArray[2] = "| Revise|29| Subm buoy Subm buoy (cov 90 fms) WNM 08/07, NIMA| 57.72233333| -152.293666" _ArrayDisplay( $avArray, "sorted" ) When the listview for the _ArrayDisplay appears the pipes ("|") become tildes ("~") If I view the array any other way the pipes remain.
  7. My apologies to ResNullius. I had not tried it but just did. It worked. Any idea why it worked when I used the $customerlistlocation = "customers.txt" you suggested? Thanks to all who helped.
  8. Been playing with this for the last hour or so and discovered something curious. Adding this $customerlistlocation = "c:\customers.txt" Works on some machines but not on others. OSs are either xp or 2000. The same file is used on all machines. All machines will also access the file over the network. On all machines where the combo box isn't populated you see the vessel names if you put a msgbox either before or after GUICtrlSetData. The "|" test didn't work by the way. One other item. If I change "$Vesselnameused1 = StringReplace($Vesselname[$X], @TAB, " ")" to "$Vesselnameused1 = $Vesselname[$X]" it still does not work correctly but it does put the last item in the combo box
  9. Since it works correctly over the network and locally when the reg called is not included I doubt that is the cause. However, I try it on Monday. If it fixes the problem I think you and I should get a cash award. Me for finding the world's most obscure autoit bug and you for finding the strange solution.
  10. I am assuming that it works for you over a network. I am not at work so I cannot do anything until monday. Any suggestions one what I should try to solve this mystery. I will be surprised if it would work but I thought of adding a "|" at the end of $customerlistlocation. Since this needs to get done I might add a "\Local" switch and by pass the registery on the local machine. A couple of suggestions: 1) Are you certain that there is nothing flaky about my code? 2) Do you see anything flaky by the text file that you can see? (I don't. I noticed the odd square in the console output but that happens both locally and over the network.)
  11. Just to make the example as clean as possible, the customer.txt file is the the root of the computer which is currently (and briefly) shared. Using msg box for the value of $customerlistlocation, the computer that works over the network returns \\key\rootc\customer.txt. The computer where it does not work locally returns C:\customer.txt. By the way, the file is being read. All the vessels are showing up in the ConsoleWrite and Debug statements. One more btw. This code is being used in three different programs, two of which have to be accessed both on the local computer and over the network.
  12. Worked for me as it stands. Adding back the registery line $customerlistlocation = RegRead("HKEY_CURRENT_USER\Software\ECC\Program Data Locations", "customer list") the problem returned. I guess the work around is an ini file. Is this a bug, expected behavior or am I letting my clueless flag fly?
  13. Find attached odd_combo.zip. The text file only has five records in it. However, shows the same behavior. Since I have been testing with the au3 file that has all of the Debug and ConsoleWrite lines in it I have included that file. odd_combo.zip
  14. Give me a few minutes. The file is a text list of our customers. I'll generate a fake one.
  15. Still no love. I made the changes suggested, used Compile script to .exe (beta) (also toggled to beta for good measure.). Got no errors from the compiler. Same result. Note, the person using the "local" machine is getting a bit tired of seeing me. I am not able to install the beta on that machine. Can the debug: items be output to a file?
×
×
  • Create New...