Skip to content

Commit bedd0fa

Browse files
committed
v0.20
WS_Exec()/WS_Eval(): Better handling of errors. Moved printf() style functionality to codef(). codef(): New function to printf() style formatting of code.
1 parent 878376f commit bedd0fa

File tree

4 files changed

+182
-128
lines changed

4 files changed

+182
-128
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# ws4ahk
22

3-
ws4ahk has been updated v0.13, which adds some missing error handling, and a few comments improvements/corrections.
3+
ws4ahk v0.20
4+
5+
- `WS_Exec()`/`WS_Eval()`: Better handling of errors.
6+
Removed printf() style functionality, moved to codef() function.
7+
Removed leftover Clipboard debug.
8+
- `codef()`: New function to handle `printf()` style formatting of code.
9+
Also fixes the bug if in hex mode.
10+
11+
Note that if you are using the printf style in `WS_Exec` or `WS_Eval` (I doubt anyone is), you will need to slightly modify your code to use the new `codef()` function.

doc.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SET VER=0.13
1+
SET VER=0.20
22

33
robodoc-4-99-36.exe --rc ws.rc --documenttitle "Windows Scripting for Autohotkey v%VER% Public API" --doc "Windows Scripting for Autohotkey v%VER% Public API"
44

index.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h1>Embedded Windows Scripting<br>(VBScript &amp; JScript)<br>and COM for Autoho
1212
see the <a href="http://www.autohotkey.com/forum/topic21674.html">official thread</a>
1313
in the Autohotkey forums.</p>
1414

15-
<h3>Latest version: v0.13 (beta)</h3>
15+
<h3>Latest version: v0.20 (beta)</h3>
1616
<p><a href="ws4ahk.ahk">ws4ahk.ahk</a></p>
1717

1818
<p><a href="ws4ahk_public_api.html">Public API Documentation</a></p>
@@ -73,6 +73,12 @@ <h3>Known bugs:</h3>
7373
<hr>
7474
<h3>Change history:</h3>
7575
<pre>
76+
v0.20
77+
- WS_Exec()/WS_Eval(): Better handling of errors.
78+
Removed printf() style functionality, moved to codef() function.
79+
Removed debug Clipboard change.
80+
- codef(): New function to handle printf() style formatting of code.
81+
7682
v0.13
7783
- Added missing error handling.
7884

@@ -123,6 +129,7 @@ <h3>Change history:</h3>
123129

124130
<h3>Older versions:</h3>
125131
<p>
132+
<a href="ws4ahk0-13.ahk">v0.13</a><br>
126133
<a href="ws4ahk0-12.ahk">v0.12</a><br>
127134
<a href="ws4ahk0-11.ahk">v0.11</a><br>
128135
<a href="WS_RemoveErrChk.ahk">WS_RemoveErrChk.ahk</a><br>

0 commit comments

Comments
 (0)