Jump to content

TABALtd

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by TABALtd

  1. You have to connect a keyboard to your MIDI In port and play some notes to see how the script crashes.
  2. This is for the "Example Scripts" section Make any changes, then put the following files in the root directory of your cd: AUTORUN.INF cdstart.exe (cdstart.au3 compiled) cdstart.ini logo.bmp (optional) icon.ico (optional) "cdstart.ini": [CDStart] Form=CD Start Width=640 Height=480 Left=100 Top=100 Icon=icon.ico Pic=logo.gif Items=6 Line1="My Company" Line2="My Street 1111" Line3="12345 Mytown" Line4="Tel. +1(234)56789-0" Line5="www.mycompany.com" [1] AppName=App1 Setup Command=App1\setup.exe Hint=Application 1 Setup [2] AppName=App2 Setup Command=App2\setup.exe Hint=Application 2 Setup [3] AppName=Documentation Command=Docs Hint=Opens Folder Docs [4] AppName=Show Content Command=. Hint=Show CD [5] AppName=Website Command=www.autoitscript.com Hint=Take a look! [6] AppName=End Command=CDEnd Hint=Close AUTORUN.INF: [autorun] open=CDStart.EXE icon=icon.ico label=CD_STARTcdstart.au3
  3. Thank you for your comments and suggestions. I will post a new version as soon as I make the proposed changes. One more thing: I tried to control an interface converter (RS232 to RS485) with the setting CommCtrl=0x3011. This sets fRTSControl to Toggle. The converter transmits when RTS is high and receives when RTS is low. The problem is, that RTS returns to low before a character (or string) has been sent completely. I know that this is not a question regarding AutoIt, but maybe somebody around here has a solution. Uwe
  4. Anyone interested in controlling the serial ports directly via kernel32 functions? You need the following file "cfx.ini" with the settings of the used comm port [Comm] CommPort=1 CommBaud=9600 CommParity=0;0=none, 1=odd, 2=even, 3=mark, 4=space CommBits=8;4-8 CommStop=1;0=0, 1=1,5, 2=2 CommCtrl=0x0011 LogDir="" Debug=1 I spent much time to find an alternative to mscomm32 or other udfs using a dll. The test script sends a reset to a modem and shows the response. Sending chr(0) is possible, but I have to find a solution to receive chr(0). With the settings above (CommCtrl) the serial port is able to receive chr(0), the "BytesReceived" value shows that a character was received. The problem is, that chr(0) marks the end of a string. Questions: Does it works with Win98 or Vista? Any comments are welcome. Uwe cfxtest0.au3 cfx.au3
×
×
  • Create New...