Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (166 - 168 of 3856)

Ticket Resolution Summary Owner Reporter
#2173 Rejected _StringProper doesn't capitalize correctly BrewManNH
Description

The original _StringProper function doesn't correctly capitalize letters after some characters and numbers. If I use the original _StringProper on this string:

$String = "She's all that I,wAnt (10th place of 2)"

I get this as the output from it:

_StringProper($String) = She'S All That I,Want (10Th Place Of 2)

As you can see, the 2nd S in She's, the W in want and the T in 10th are all capitalized and they shouldn't be.

A simple addition to the RegEx in the function will correct this. By changing this

[[[ Select

Case $CapNext = 1

If StringRegExp($s_CurChar, '[a-zA-ZÀ-ÿšœžŸ]') Then

$s_CurChar = StringUpper($s_CurChar) $CapNext = 0

EndIf

Case Not StringRegExp($s_CurChar, '[a-zA-ZÀ-ÿšœžŸ]')

$CapNext = 1

Case Else

$s_CurChar = StringLower($s_CurChar)

EndSelect }}} To this:

Select
	Case $CapNext = 1
		If StringRegExp($s_CurChar, "[a-zA-ZÀ-ÿ'šœžŸ0-9,]") Then
			$s_CurChar = StringUpper($s_CurChar)
			$CapNext = 0
		EndIf
	Case Not StringRegExp($s_CurChar, "[a-zA-ZÀ-ÿ'šœžŸ0-9,]")
		$CapNext = 1
	Case Else
		$s_CurChar = StringLower($s_CurChar)
EndSelect

It will give you the output below:

_StringProper($String) = She's All That I,want (10th Place Of 2)

Because the layout of this code on the page isn't formatting correctly, I have also attached a script showing the changes.

#2180 Fixed Aut2Exe won't create .exe when using icon BrewManNH
Description

Whenever I try to create an exe file, even as a test, using 3.3.9.3, if I try to use the /icon parameter with Aut2Exe I will never get an exe to be created. Using this line from SciTe to try to create a compiled exe;

F:\AutoIt3\beta\aut2exe\aut2exe.exe  /in "C:\Users\User\Dropbox\AutoItScripts\test.au3" /out "C:\Users\User\Dropbox\AutoItScripts\test.exe" /nopack /icon "C:\Users\User\Dropbox\AutoItScripts\some.ico" /comp 4

I get this error message every time.

---------------------------
Aut2Exe Error
---------------------------
Error: Unable to create the compiled archive.
---------------------------

If I remove the /icon parameter and the connected ico file it will compile without any issues.

#2193 Completed Addition to the String UDF guinness BrewManNH
Description

As previously requested in ticket 2173 this is a modified version of _StringProper, it has been modified to return a Title Case string rather than a "Proper" string. Also, as requested by trancexx in ticket 2173, I am putting this in as a feature request rather than polluting the trak with confusing information. Currently, _StringProper doesn't return a properly formatted string if you're looking to make it Title Case, this replacement has been modified to have that functionality. Attached is the UDF and a short demo script to show its output.

Note: See TracQuery for help on using queries.