Sign in to follow this  
Followers 0
shai

output from dos run in ascii

6 posts in this topic




Hi, shai. There was a recent post in the Snippets section of the forum that may help you out:


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Hi, shai. There was a recent post in the Snippets section of the forum that may help you out:

no. i lock for code that convert from ascii to string.

Share this post


Link to post
Share on other sites

Func _OEM2ANSI($what)
$ret = DllCall('user32.dll', 'Int', 'OemToChar', 'str', $what, 'str', '')
Return $ret[2]
EndFunc ;==>_OEM2ANSI

Func _ANSI2OEM($what)
$ret = DllCall('user32.dll', 'Int', 'CharToOem', 'str', $what, 'str', '')
Return $ret[2]
EndFunc ;==>_OEM2ANSI


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Func _OEM2ANSI($what)
$ret = DllCall('user32.dll', 'Int', 'OemToChar', 'str', $what, 'str', '')
Return $ret[2]
EndFunc ;==>_OEM2ANSI

Func _ANSI2OEM($what)
$ret = DllCall('user32.dll', 'Int', 'CharToOem', 'str', $what, 'str', '')
Return $ret[2]
EndFunc ;==>_OEM2ANSI

thanks. its work.

Share this post


Link to post
Share on other sites

No problem!


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
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
Sign in to follow this  
Followers 0