Jump to content

Question regarding translation


Recommended Posts

Hi all. just wondering if there was a program out that translates between program langauges?

Does any one know if this esists?

This isn't much of an AutoIt question... And because of different syntax etc. between languages, my guess is no. If you do lots of searching you may come across some old program that doesn't really work, so sorry, but chances are you're better off not trying to translate between programming languages.

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Link to comment
Share on other sites

Looks very nice, but im getting alot of errors when I try to run it:

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(46,79) : WARNING: $WS_EX_CLIENTEDGE: possibly used before declaration.

$NFile = GUICtrlCreateInput(@ScriptDir, 24, 24, 305, 21, -1, $WS_EX_CLIENTEDGE)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(196,122) : WARNING: $WS_OVERLAPPEDWINDOW: possibly used before declaration.

$ChildWin = GUICreate("Deselect the variables you dont want to be changed", 500, 280, -1, -1, BitOR($WS_OVERLAPPEDWINDOW,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(196,140) : WARNING: $WS_CLIPSIBLINGS: possibly used before declaration.

$ChildWin = GUICreate("Deselect the variables you dont want to be changed", 500, 280, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(46,79) : ERROR: $WS_EX_CLIENTEDGE: undeclared global variable.

$NFile = GUICtrlCreateInput(@ScriptDir, 24, 24, 305, 21, -1, $WS_EX_CLIENTEDGE)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(200,54) : ERROR: _GUICtrlListViewSetColumnWidth(): undefined function.

_GUICtrlListViewSetColumnWidth ($ListViewVar, 1, 340)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(205,54) : ERROR: _GUICtrlListViewSetCheckState(): undefined function.

_GUICtrlListViewSetCheckState ($ListViewVar, $z - 1)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(219,66) : ERROR: _GUICtrlListViewGetCheckedState(): undefined function.

If Not _GUICtrlListViewGetCheckedState ($ListViewVar, $z - 1)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3 - 4 error(s), 3 warning(s)

!>01:20:58 AU3Check ended.rc:2

Link to comment
Share on other sites

Looks very nice, but im getting alot of errors when I try to run it:

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(46,79) : WARNING: $WS_EX_CLIENTEDGE: possibly used before declaration.

$NFile = GUICtrlCreateInput(@ScriptDir, 24, 24, 305, 21, -1, $WS_EX_CLIENTEDGE)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(196,122) : WARNING: $WS_OVERLAPPEDWINDOW: possibly used before declaration.

$ChildWin = GUICreate("Deselect the variables you dont want to be changed", 500, 280, -1, -1, BitOR($WS_OVERLAPPEDWINDOW,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(196,140) : WARNING: $WS_CLIPSIBLINGS: possibly used before declaration.

$ChildWin = GUICreate("Deselect the variables you dont want to be changed", 500, 280, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(46,79) : ERROR: $WS_EX_CLIENTEDGE: undeclared global variable.

$NFile = GUICtrlCreateInput(@ScriptDir, 24, 24, 305, 21, -1, $WS_EX_CLIENTEDGE)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(200,54) : ERROR: _GUICtrlListViewSetColumnWidth(): undefined function.

_GUICtrlListViewSetColumnWidth ($ListViewVar, 1, 340)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(205,54) : ERROR: _GUICtrlListViewSetCheckState(): undefined function.

_GUICtrlListViewSetCheckState ($ListViewVar, $z - 1)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3(219,66) : ERROR: _GUICtrlListViewGetCheckedState(): undefined function.

If Not _GUICtrlListViewGetCheckedState ($ListViewVar, $z - 1)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Owner\Desktop\Gui\translater.au3 - 4 error(s), 3 warning(s)

!>01:20:58 AU3Check ended.rc:2

If the script is old then you will need to include different include files for the type of constants you need now. The $WS* constants are in windowsconstants.au3. The names of many functions have been changed to make them more consistent, so the _GuiLIstView names will be found by looking in GuiLIstView.au3. In general you will be able to change all _GuiLIstView to GuiLIstView_.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...