!echo "$\r$\n----------------------------------------------------------------------$\r$\nSearch in String Function - 2002-2004 Ximon Eighteen\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
!echo "$\r$\n----------------------------------------------------------------------$\r$\nLocalize in String Function - ⌐ 2004 Diego Pedroso\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
!echo "$\r$\n----------------------------------------------------------------------$\r$\nAdvanced Search in String Function - ⌐ 2003-2004 Diego Pedroso$\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
!echo "$\r$\n----------------------------------------------------------------------$\r$\nAdvanced Token String Function - ⌐ 2004 Diego Pedroso$\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
System::Call 'kernel32::GlobalAlloc(i 2, i r1) i.r1'
System::Call 'kernel32::GlobalLock(i r1) i.r2'
System::Call 'kernel32::lstrcpyA(i r2, t r0)'
System::Call 'kernel32::GlobalUnlock(i r1)'
System::Call 'user32::SetClipboardData(i 1, i r1)'
System::Call 'user32::CloseClipboard()'
Pop $2
Pop $1
Pop $0
FunctionEnd
!endif
!macroend
!macro FUNCTION_STRING_StrClbGet
!ifndef FUNCTION_STRING_StrClbGet
!echo "$\r$\n----------------------------------------------------------------------$\r$\nCopy From Clipboard Function - 2003-2004 Nik Medved - changed by Diego Pedroso$\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
System::Call 'user32::GetClipboardData(i 1) t .r0'
System::Call 'user32::CloseClipboard()'
Exch $0
FunctionEnd
!endif
!macroend
!macro FUNCTION_STRING_StrClb_Set String
!echo `$ {StrClbSet} "${String}"$\r$\n`
Push `${String}`
Call CopyToClipboard
!macroend
!macro FUNCTION_STRING_StrClb_Get ResultVar
!echo `$ {StrClbGet} "${ResultVar}"$\r$\n`
Call CopyFromClipboard
Pop `${ResultVar}`
!macroend
!macro FUNCTION_STRING_StrUpperCase
!ifndef FUNCTION_STRING_StrUpperCase
!echo "$\r$\n----------------------------------------------------------------------$\r$\nUppercase String Function - 2002-2004 Dave Laundon $\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
!echo "$\r$\n----------------------------------------------------------------------$\r$\nLowercase String Function - changed from Uppercase String Function 2002-2004 Dave Laundon$\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
!echo "$\r$\n----------------------------------------------------------------------$\r$\nAdvanced String Sort Function - ⌐ 2004 Diego Pedroso$\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
!echo "$\r$\n----------------------------------------------------------------------$\r$\nTrim New Lines Function - 2003-2004 Ximon Eighteen$\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
!echo "$\r$\n----------------------------------------------------------------------$\r$\nNSIS -> Install Options String Convertion Function - 2003-2004 Amir Szekely, Joost Verburg and Dave Laundon$\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"
!echo "$\r$\n----------------------------------------------------------------------$\r$\nInstall Options -> NSIS String Convertion Function - 2003-2004 Amir Szekely, Joost Verburg and Dave Laundon$\r$\n----------------------------------------------------------------------$\r$\n$\r$\n"