AutoHotkey Community

It is currently May 26th, 2012, 6:31 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 58 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Notepad ++ code support
PostPosted: April 4th, 2009, 8:30 pm 
Offline

Joined: April 4th, 2009, 9:59 am
Posts: 130
4Apr2009
Greetings.
Even though I've been using NP++ & ahk for a few years now,
I only just today joined this ahk forum and have already discovered much.
I never knew about the ahk userDefineLang.xml for NP++.
I was using the NP++ AutoIT language format for my ahk scripts.
I just quickly hacked/tweaked the following.
[code]
I pasted in the NP++ AutoIT format & some stuff from this thread
and then tweaked the userDefineLang.xml file. I don't even know yet
what every line of the userDefineLang.xml means, & there
might be some <WordsStyle lines from the AutoIT format
that have no effect in the ahk userDefineLang.xml file -
but I like the way my ahk scripts now look in NP++.
I use a yellowish global background (H40S240L158) &
a white global current line and Tahoma font
(although I might change fonts after reading more of the forum).

I'd certainly welcome any helpful feedback regarding the code.
Maybe some others will like the way it looks too.
I now have some questions to post in the help wanted forum.
Thank you.
Regards,
AEN
Æ

[Split from Bug Reports. ~jaco0646]


Last edited by AEN007 on May 10th, 2009, 2:35 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 5th, 2009, 11:10 pm 
Offline

Joined: November 10th, 2007, 3:30 am
Posts: 93
Location: Second star to the right.... watching you.
This syntax file doesn't work if you do something like...

setworkingdir % a_scriptdir

Because theres no closing %, it'll color the rest of the code as a variable.
However, the above is completely acceptible syntax. The fix? Not sure... have
never messed with these syntax files, but I'm working on figuring it out right now.


Last edited by paxophobe on April 6th, 2009, 4:20 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 6th, 2009, 12:12 pm 
6Apr2009
Greetings.
Thanks for the reply.
I actually spent some time this morning cleaning up my initial hack.
I cleaned up the <WordsStyle section to match the default ahk/np++ xml file,
changed <Global caseIgnored="no" /> to yes,
moved { } to operators from folder±,
moved Exit/App to Words2 and
tweaked a few <WordsStyle settings.
Code:
<NotepadPlus>
    <UserLang name="AHK Autohotkey" ext="ahk">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="yes" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="no" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comment"> 1/* 2*/ 0;</Keywords>
            <Keywords name="Delimiters">%00%00</Keywords>
            <Keywords name="Folder+">;***&#x0D;&#x0A;</Keywords>
            <Keywords name="Folder-">;*&#x0D;&#x0A;</Keywords>
            <Keywords name="Operators">- ! &amp; ( ) { } , | + &lt; : = &gt;</Keywords>
            <Keywords name="Words1">#AllowSameLineComments&#x0D;&#x0A;#ClipboardTimeout&#x0D;&#x0A;#CommentFlag&#x0D;&#x0A;#ErrorStdOut&#x0D;&#x0A;#EscapeChar&#x0D;&#x0A;#HotkeyInterval&#x0D;&#x0A;#HotkeyModIfierTimeout&#x0D;&#x0A;#Hotstring&#x0D;&#x0A;#Include&#x0D;&#x0A;#IncludeAgain&#x0D;&#x0A;#IfWinActive&#x0D;&#x0A;#IfWinExist&#x0D;&#x0A;#IfWinNotActive&#x0D;&#x0A;#IfWinNotExist&#x0D;&#x0A;#InstallKeybdHook&#x0D;&#x0A;#InstallMouseHook&#x0D;&#x0A;#KeyHistory&#x0D;&#x0A;#MaxHotkeysPerInterval&#x0D;&#x0A;#MaxMem&#x0D;&#x0A;#MaxThreads&#x0D;&#x0A;#MaxThreadsBuffer&#x0D;&#x0A;#MaxThreadsPerHotkey&#x0D;&#x0A;#NoEnv&#x0D;&#x0A;#NoTrayIcon&#x0D;&#x0A;#Persistent&#x0D;&#x0A;#SingleInstance&#x0D;&#x0A;#UseHook&#x0D;&#x0A;#WinActivateForce&#x0D;&#x0A;AutoTrim&#x0D;&#x0A;BlockInput&#x0D;&#x0A;Break&#x0D;&#x0A;Click&#x0D;&#x0A;ClipWait&#x0D;&#x0A;Continue&#x0D;&#x0A;Control&#x0D;&#x0A;ControlClick&#x0D;&#x0A;ControlFocus&#x0D;&#x0A;ControlGet&#x0D;&#x0A;ControlGetFocus&#x0D;&#x0A;ControlGetPos&#x0D;&#x0A;ControlGetText&#x0D;&#x0A;ControlMove&#x0D;&#x0A;ControlSend&#x0D;&#x0A;ControlSendRaw&#x0D;&#x0A;ControlSetText&#x0D;&#x0A;CoordMode&#x0D;&#x0A;Critical&#x0D;&#x0A;DetectHiddenText&#x0D;&#x0A;DetectHiddenWindows&#x0D;&#x0A;DllCall&#x0D;&#x0A;Drive&#x0D;&#x0A;DriveGet&#x0D;&#x0A;DriveSpaceFree&#x0D;&#x0A;Edit&#x0D;&#x0A;Else&#x0D;&#x0A;EndRepeat&#x0D;&#x0A;EnvAdd&#x0D;&#x0A;EnvDiv&#x0D;&#x0A;EnvGet&#x0D;&#x0A;EnvMult&#x0D;&#x0A;EnvSet&#x0D;&#x0A;EnvSub&#x0D;&#x0A;EnvUpdate&#x0D;&#x0A;FileAppend&#x0D;&#x0A;FileCopy&#x0D;&#x0A;FileCopyDir&#x0D;&#x0A;FileCreateDir&#x0D;&#x0A;FileCreateShortcut&#x0D;&#x0A;FileDelete&#x0D;&#x0A;FileGetAttrib&#x0D;&#x0A;FileGetShortcut&#x0D;&#x0A;FileGetSize&#x0D;&#x0A;FileGetTime&#x0D;&#x0A;FileGetVersion&#x0D;&#x0A;FileInstall&#x0D;&#x0A;FileMove&#x0D;&#x0A;FileMoveDir&#x0D;&#x0A;FileRead&#x0D;&#x0A;FileReadLine&#x0D;&#x0A;FileRecycle&#x0D;&#x0A;FileRecycleEmpty&#x0D;&#x0A;FileRemoveDir&#x0D;&#x0A;FileSelectFile&#x0D;&#x0A;FileSelectFolder&#x0D;&#x0A;FileSetAttrib&#x0D;&#x0A;FileSetTime&#x0D;&#x0A;FormatTime&#x0D;&#x0A;GetKeyState&#x0D;&#x0A;Gosub&#x0D;&#x0A;Goto&#x0D;&#x0A;GroupActivate&#x0D;&#x0A;GroupAdd&#x0D;&#x0A;GroupClose&#x0D;&#x0A;GroupDeactivate&#x0D;&#x0A;Gui&#x0D;&#x0A;GuiControl&#x0D;&#x0A;GuiControlGet&#x0D;&#x0A;HideAutoItWin&#x0D;&#x0A;Hotkey&#x0D;&#x0A;If&#x0D;&#x0A;IfEqual&#x0D;&#x0A;IfExist&#x0D;&#x0A;IfGreater&#x0D;&#x0A;IfGreaterOrEqual&#x0D;&#x0A;IfInString&#x0D;&#x0A;IfLess&#x0D;&#x0A;IfLessOrEqual&#x0D;&#x0A;IfMsgBox&#x0D;&#x0A;IfNotEqual&#x0D;&#x0A;IfNotExist&#x0D;&#x0A;IfNotInString&#x0D;&#x0A;IfWinActive&#x0D;&#x0A;IfWinExist&#x0D;&#x0A;IfWinNotActive&#x0D;&#x0A;IfWinNotExist&#x0D;&#x0A;ImageSearch&#x0D;&#x0A;IniDelete&#x0D;&#x0A;IniRead&#x0D;&#x0A;IniWrite&#x0D;&#x0A;Input&#x0D;&#x0A;InputBox&#x0D;&#x0A;IsLabel&#x0D;&#x0A;KeyHistory&#x0D;&#x0A;KeyWait&#x0D;&#x0A;ListHotkeys&#x0D;&#x0A;ListLines&#x0D;&#x0A;ListVars&#x0D;&#x0A;Loop&#x0D;&#x0A;Menu&#x0D;&#x0A;MouseClick&#x0D;&#x0A;MouseClickDrag&#x0D;&#x0A;MouseGetPos&#x0D;&#x0A;MouseMove&#x0D;&#x0A;MsgBox&#x0D;&#x0A;NumGet&#x0D;&#x0A;NumPut&#x0D;&#x0A;OnExit&#x0D;&#x0A;OnMessage&#x0D;&#x0A;OutputDebug&#x0D;&#x0A;Pause&#x0D;&#x0A;PixelGetColor&#x0D;&#x0A;PixelSearch&#x0D;&#x0A;PostMessage&#x0D;&#x0A;Process&#x0D;&#x0A;Progress&#x0D;&#x0A;Random&#x0D;&#x0A;RegDelete&#x0D;&#x0A;RegExMatch&#x0D;&#x0A;RegExReplace&#x0D;&#x0A;RegisterCallback&#x0D;&#x0A;RegRead&#x0D;&#x0A;RegWrite&#x0D;&#x0A;Reload&#x0D;&#x0A;Repeat&#x0D;&#x0A;Return&#x0D;&#x0A;Run&#x0D;&#x0A;RunAs&#x0D;&#x0A;RunWait&#x0D;&#x0A;Send&#x0D;&#x0A;SendMessage&#x0D;&#x0A;SendEvent&#x0D;&#x0A;SendInput&#x0D;&#x0A;SendMode&#x0D;&#x0A;SendPlay&#x0D;&#x0A;SendRaw&#x0D;&#x0A;SetBatchLines&#x0D;&#x0A;SetCapsLockState&#x0D;&#x0A;SetControlDelay&#x0D;&#x0A;SetDefaultMouseSpeed&#x0D;&#x0A;SetEnv&#x0D;&#x0A;SetFormat&#x0D;&#x0A;SetKeyDelay&#x0D;&#x0A;SetMouseDelay&#x0D;&#x0A;SetNumLockState&#x0D;&#x0A;SetScrollLockState&#x0D;&#x0A;SetStoreCapslockMode&#x0D;&#x0A;SetTimer&#x0D;&#x0A;SetTitleMatchMode&#x0D;&#x0A;SetWinDelay&#x0D;&#x0A;SetWorkingDir&#x0D;&#x0A;Shutdown&#x0D;&#x0A;Sleep&#x0D;&#x0A;Sort&#x0D;&#x0A;SoundBeep&#x0D;&#x0A;SoundGet&#x0D;&#x0A;SoundGetWaveVolume&#x0D;&#x0A;SoundPlay&#x0D;&#x0A;SoundSet&#x0D;&#x0A;SoundSetWaveVolume&#x0D;&#x0A;SplashImage&#x0D;&#x0A;SplashTextOff&#x0D;&#x0A;SplashTextOn&#x0D;&#x0A;SplitPath&#x0D;&#x0A;StatusBarGetText&#x0D;&#x0A;StatusBarWait&#x0D;&#x0A;StringCaseSense&#x0D;&#x0A;StringGetPos&#x0D;&#x0A;StringLeft&#x0D;&#x0A;StringLen&#x0D;&#x0A;StringLower&#x0D;&#x0A;StringMid&#x0D;&#x0A;StringReplace&#x0D;&#x0A;StringRight&#x0D;&#x0A;StringSplit&#x0D;&#x0A;StringTrimLeft&#x0D;&#x0A;StringTrimRight&#x0D;&#x0A;StringUpper&#x0D;&#x0A;Suspend&#x0D;&#x0A;SysGet&#x0D;&#x0A;Thread&#x0D;&#x0A;ToolTip&#x0D;&#x0A;Transform&#x0D;&#x0A;TrayTip&#x0D;&#x0A;URLDownloadToFile&#x0D;&#x0A;VarSetCapcity&#x0D;&#x0A;WinActivate&#x0D;&#x0A;WinActivateBottom&#x0D;&#x0A;WinClose&#x0D;&#x0A;WinGet&#x0D;&#x0A;WinGetActiveStats&#x0D;&#x0A;WinGetActiveTitle&#x0D;&#x0A;WinGetClass&#x0D;&#x0A;WinGetPos&#x0D;&#x0A;WinGetText&#x0D;&#x0A;WinGetTitle&#x0D;&#x0A;WinHide&#x0D;&#x0A;WinKill&#x0D;&#x0A;WinMaximize&#x0D;&#x0A;WinMenuSelectItem&#x0D;&#x0A;WinMinimize&#x0D;&#x0A;WinMinimizeAll&#x0D;&#x0A;WinMinimizeAllUndo&#x0D;&#x0A;WinMove&#x0D;&#x0A;WinRestore&#x0D;&#x0A;WinSet&#x0D;&#x0A;WinSetTitle&#x0D;&#x0A;WinShow&#x0D;&#x0A;WinWait&#x0D;&#x0A;WinWaitActive&#x0D;&#x0A;WinWaitClose&#x0D;&#x0A;WinWaitNotActive</Keywords>
            <Keywords name="Words2">Exit&#x0D;&#x0A;ExitApp</Keywords>
            <Keywords name="Words3">%A_&#x0D;&#x0A;A_AhkPath&#x0D;&#x0A;A_AhkVersion&#x0D;&#x0A;A_AppData&#x0D;&#x0A;A_AppDataCommon&#x0D;&#x0A;A_AutoTrim&#x0D;&#x0A;A_BatchLines&#x0D;&#x0A;A_CaretX&#x0D;&#x0A;A_CaretY&#x0D;&#x0A;A_ComputerName&#x0D;&#x0A;A_ControlDelay&#x0D;&#x0A;A_Cursor&#x0D;&#x0A;A_DD&#x0D;&#x0A;A_DDD&#x0D;&#x0A;A_DDDD&#x0D;&#x0A;A_DefaultMouseSpeed&#x0D;&#x0A;A_Desktop&#x0D;&#x0A;A_DesktopCommon&#x0D;&#x0A;A_DetectHiddenText&#x0D;&#x0A;A_DetectHiddenWindows&#x0D;&#x0A;A_EndChar&#x0D;&#x0A;A_ExitReason&#x0D;&#x0A;A_FormatFloat&#x0D;&#x0A;A_FormatInteger&#x0D;&#x0A;A_Gui&#x0D;&#x0A;A_GuiControl&#x0D;&#x0A;A_EventInfo&#x0D;&#x0A;A_GuiX&#x0D;&#x0A;A_GuiY&#x0D;&#x0A;A_GuiEvent&#x0D;&#x0A;A_GuiControlEvent&#x0D;&#x0A;A_GuiHeight&#x0D;&#x0A;A_GuiWidth&#x0D;&#x0A;A_Hour&#x0D;&#x0A;A_IconFile&#x0D;&#x0A;A_IconHidden&#x0D;&#x0A;A_IconNumber&#x0D;&#x0A;A_IconTip&#x0D;&#x0A;A_Index&#x0D;&#x0A;A_IPAddress1&#x0D;&#x0A;A_IPAddress2&#x0D;&#x0A;A_IPAddress3&#x0D;&#x0A;A_IPAddress4&#x0D;&#x0A;A_ISAdmin&#x0D;&#x0A;A_IsCompiled&#x0D;&#x0A;A_IsSuspended&#x0D;&#x0A;A_KeyDelay&#x0D;&#x0A;A_Language&#x0D;&#x0A;A_LastError&#x0D;&#x0A;A_LineNumber&#x0D;&#x0A;A_LineFile&#x0D;&#x0A;A_LoopField&#x0D;&#x0A;A_LoopFileAttrib&#x0D;&#x0A;A_LoopFileDir&#x0D;&#x0A;A_LoopFileExt&#x0D;&#x0A;A_LoopFileFullPath&#x0D;&#x0A;A_LoopFileLongPath&#x0D;&#x0A;A_LoopFileName&#x0D;&#x0A;A_LoopFileShortName&#x0D;&#x0A;A_LoopFileShortPath&#x0D;&#x0A;A_LoopFileSize&#x0D;&#x0A;A_LoopFileSizeKB&#x0D;&#x0A;A_LoopFileSizeMB&#x0D;&#x0A;A_LoopFileTimeAccessed&#x0D;&#x0A;A_LoopFileTimeCreated&#x0D;&#x0A;A_LoopFileTimeModified&#x0D;&#x0A;A_LoopReadLine&#x0D;&#x0A;A_LoopRegKey&#x0D;&#x0A;A_LoopRegName&#x0D;&#x0A;A_LoopRegSubkey&#x0D;&#x0A;A_LoopRegTimeModified&#x0D;&#x0A;A_LoopRegType&#x0D;&#x0A;A_MDAY&#x0D;&#x0A;A_Min&#x0D;&#x0A;A_MM&#x0D;&#x0A;A_MMM&#x0D;&#x0A;A_MMMM&#x0D;&#x0A;A_MON&#x0D;&#x0A;A_MouseDelay&#x0D;&#x0A;A_MyDocuments&#x0D;&#x0A;A_Now&#x0D;&#x0A;A_NowUTC&#x0D;&#x0A;A_NumBatchLines&#x0D;&#x0A;A_OSType&#x0D;&#x0A;A_OSVersion&#x0D;&#x0A;A_PriorHotkey&#x0D;&#x0A;ProgramFiles&#x0D;&#x0A;A_ProgramFiles&#x0D;&#x0A;A_Programs&#x0D;&#x0A;A_ProgramsCommon&#x0D;&#x0A;A_ScreenHeight&#x0D;&#x0A;A_ScreenWidth&#x0D;&#x0A;A_ScriptDir&#x0D;&#x0A;A_ScriptFullPath&#x0D;&#x0A;A_ScriptName&#x0D;&#x0A;A_Sec&#x0D;&#x0A;A_Space&#x0D;&#x0A;A_StartMenu&#x0D;&#x0A;A_StartMenuCommon&#x0D;&#x0A;A_Startup&#x0D;&#x0A;A_StartupCommon&#x0D;&#x0A;A_StringCaseSense&#x0D;&#x0A;A_Tab&#x0D;&#x0A;A_Temp&#x0D;&#x0A;A_ThisHotkey&#x0D;&#x0A;&#x0D;&#x0A;A_ThisFunc&#x0D;&#x0A;&#x0D;&#x0A;A_ThisLabel&#x0D;&#x0A;A_ThisMenu&#x0D;&#x0A;A_ThisMenuItem&#x0D;&#x0A;A_ThisMenuItemPos&#x0D;&#x0A;A_TickCount&#x0D;&#x0A;A_TimeIdle&#x0D;&#x0A;A_TimeIdlePhysical&#x0D;&#x0A;A_TimeSincePriorHotkey&#x0D;&#x0A;A_TimeSinceThisHotkey&#x0D;&#x0A;A_TitleMatchMode&#x0D;&#x0A;A_TitleMatchModeSpeed&#x0D;&#x0A;A_UserName&#x0D;&#x0A;A_WDay&#x0D;&#x0A;A_WinDelay&#x0D;&#x0A;A_WinDir&#x0D;&#x0A;A_WorkingDir&#x0D;&#x0A;A_YDay&#x0D;&#x0A;A_YEAR&#x0D;&#x0A;A_YWeek&#x0D;&#x0A;A_YYYY&#x0D;&#x0A;Clipboard&#x0D;&#x0A;ComSpec&#x0D;&#x0A;True&#x0D;&#x0A;False&#x0D;&#x0A;</Keywords>
            <Keywords name="Words4"></Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="COMMENT" styleID="1" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="DEFAULT" styleID="11" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="8080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="16" />
        </Styles>
    </UserLang>
</NotepadPlus>

The look is basically the same but coded (more) properly.

Someone posted previously about the "unterminating %" ...
Kahz wrote:
Does anyone know how to correct an unterminating % in the NotePad++ syntax xml file?

I don't know (yet) what to do about that either.
I hope you find an answer.

Do/es you/anyone know how to set, for example,
<Keywords name="Words4"></Keywords>
with only one entry? I couldn't set Words2 with only one entry.
What is the difference/purpose between/of comment & comment line?
I have other questions too, but I guess that's enough for now.
Any helpful replies/insights appreciated.
Thank you.
Regards,
AEN
Æ


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 6th, 2009, 4:16 pm 
Offline

Joined: November 10th, 2007, 3:30 am
Posts: 93
Location: Second star to the right.... watching you.
I just wound up deleting the delimeters. I don't need the highlighting for them, anways.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 5th, 2009, 7:55 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
Linky to another thread which provides a solution to "unterminating %"...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 10th, 2009, 2:43 pm 
Offline

Joined: April 4th, 2009, 9:59 am
Posts: 130
10May2009
Greetings.
Fantastic news. Thanks for the link.
Here's my latest iteration of the ahk/NP++ userDefineLang
Code:
<NotepadPlus>
    <UserLang name="AHK Autohotkey" ext="ahk">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="yes" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comment"> 1/* 2*/ 0;</Keywords>
            <Keywords name="Delimiters">000000</Keywords>
            <Keywords name="Folder+">;***&#x0D;&#x0A;</Keywords>
            <Keywords name="Folder-">;*&#x0D;&#x0A;</Keywords>
            <Keywords name="Operators">- ! &amp; ( ) { } | , \ + &lt; : = &gt;</Keywords>
            <Keywords name="Words1">#AllowSameLineComments&#x0D;&#x0A;#ClipboardTimeout&#x0D;&#x0A;#CommentFlag&#x0D;&#x0A;#ErrorStdOut&#x0D;&#x0A;#EscapeChar&#x0D;&#x0A;#HotkeyInterval&#x0D;&#x0A;#HotkeyModIfierTimeout&#x0D;&#x0A;#Hotstring&#x0D;&#x0A;#Include&#x0D;&#x0A;#IncludeAgain&#x0D;&#x0A;#IfWinActive&#x0D;&#x0A;#IfWinExist&#x0D;&#x0A;#IfWinNotActive&#x0D;&#x0A;#IfWinNotExist&#x0D;&#x0A;#InstallKeybdHook&#x0D;&#x0A;#InstallMouseHook&#x0D;&#x0A;#KeyHistory&#x0D;&#x0A;#MaxHotkeysPerInterval&#x0D;&#x0A;#MaxMem&#x0D;&#x0A;#MaxThreads&#x0D;&#x0A;#MaxThreadsBuffer&#x0D;&#x0A;#MaxThreadsPerHotkey&#x0D;&#x0A;#NoEnv&#x0D;&#x0A;#NoTrayIcon&#x0D;&#x0A;#Persistent&#x0D;&#x0A;#SingleInstance&#x0D;&#x0A;#UseHook&#x0D;&#x0A;#WinActivateForce&#x0D;&#x0A;AutoTrim&#x0D;&#x0A;BlockInput&#x0D;&#x0A;Break&#x0D;&#x0A;Click&#x0D;&#x0A;ClipWait&#x0D;&#x0A;Continue&#x0D;&#x0A;Control&#x0D;&#x0A;ControlClick&#x0D;&#x0A;ControlFocus&#x0D;&#x0A;ControlGet&#x0D;&#x0A;ControlGetFocus&#x0D;&#x0A;ControlGetPos&#x0D;&#x0A;ControlGetText&#x0D;&#x0A;ControlMove&#x0D;&#x0A;ControlSend&#x0D;&#x0A;ControlSendRaw&#x0D;&#x0A;ControlSetText&#x0D;&#x0A;CoordMode&#x0D;&#x0A;Critical&#x0D;&#x0A;DetectHiddenText&#x0D;&#x0A;DetectHiddenWindows&#x0D;&#x0A;DllCall&#x0D;&#x0A;Drive&#x0D;&#x0A;DriveGet&#x0D;&#x0A;DriveSpaceFree&#x0D;&#x0A;Edit&#x0D;&#x0A;Else&#x0D;&#x0A;EndRepeat&#x0D;&#x0A;EnvAdd&#x0D;&#x0A;EnvDiv&#x0D;&#x0A;EnvGet&#x0D;&#x0A;EnvMult&#x0D;&#x0A;EnvSet&#x0D;&#x0A;EnvSub&#x0D;&#x0A;EnvUpdate&#x0D;&#x0A;FileAppend&#x0D;&#x0A;FileCopy&#x0D;&#x0A;FileCopyDir&#x0D;&#x0A;FileCreateDir&#x0D;&#x0A;FileCreateShortcut&#x0D;&#x0A;FileDelete&#x0D;&#x0A;FileGetAttrib&#x0D;&#x0A;FileGetShortcut&#x0D;&#x0A;FileGetSize&#x0D;&#x0A;FileGetTime&#x0D;&#x0A;FileGetVersion&#x0D;&#x0A;FileInstall&#x0D;&#x0A;FileMove&#x0D;&#x0A;FileMoveDir&#x0D;&#x0A;FileRead&#x0D;&#x0A;FileReadLine&#x0D;&#x0A;FileRecycle&#x0D;&#x0A;FileRecycleEmpty&#x0D;&#x0A;FileRemoveDir&#x0D;&#x0A;FileSelectFile&#x0D;&#x0A;FileSelectFolder&#x0D;&#x0A;FileSetAttrib&#x0D;&#x0A;FileSetTime&#x0D;&#x0A;FormatTime&#x0D;&#x0A;GetKeyState&#x0D;&#x0A;Gosub&#x0D;&#x0A;Goto&#x0D;&#x0A;GroupActivate&#x0D;&#x0A;GroupAdd&#x0D;&#x0A;GroupClose&#x0D;&#x0A;GroupDeactivate&#x0D;&#x0A;Gui&#x0D;&#x0A;GuiControl&#x0D;&#x0A;GuiControlGet&#x0D;&#x0A;HideAutoItWin&#x0D;&#x0A;HideButton&#x0D;&#x0A;HideTrayIcon&#x0D;&#x0A;Hotkey&#x0D;&#x0A;If&#x0D;&#x0A;IfEqual&#x0D;&#x0A;IfExist&#x0D;&#x0A;IfGreater&#x0D;&#x0A;IfGreaterOrEqual&#x0D;&#x0A;IfInString&#x0D;&#x0A;IfLess&#x0D;&#x0A;IfLessOrEqual&#x0D;&#x0A;IfMsgBox&#x0D;&#x0A;IfNotEqual&#x0D;&#x0A;IfNotExist&#x0D;&#x0A;IfNotInString&#x0D;&#x0A;IfWinActive&#x0D;&#x0A;IfWinExist&#x0D;&#x0A;IfWinNotActive&#x0D;&#x0A;IfWinNotExist&#x0D;&#x0A;ImageSearch&#x0D;&#x0A;IniDelete&#x0D;&#x0A;IniRead&#x0D;&#x0A;IniWrite&#x0D;&#x0A;Input&#x0D;&#x0A;InputBox&#x0D;&#x0A;IsLabel&#x0D;&#x0A;KeyHistory&#x0D;&#x0A;KeyWait&#x0D;&#x0A;ListHotkeys&#x0D;&#x0A;ListLines&#x0D;&#x0A;ListVars&#x0D;&#x0A;Loop&#x0D;&#x0A;Menu&#x0D;&#x0A;MouseClick&#x0D;&#x0A;MouseClickDrag&#x0D;&#x0A;MouseGetPos&#x0D;&#x0A;MouseMove&#x0D;&#x0A;MoveTrayIcon&#x0D;&#x0A;MsgBox&#x0D;&#x0A;NumGet&#x0D;&#x0A;NumPut&#x0D;&#x0A;OnExit&#x0D;&#x0A;OnMessage&#x0D;&#x0A;OutputDebug&#x0D;&#x0A;Pause&#x0D;&#x0A;PixelGetColor&#x0D;&#x0A;PixelSearch&#x0D;&#x0A;PostMessage&#x0D;&#x0A;Process&#x0D;&#x0A;Progress&#x0D;&#x0A;Random&#x0D;&#x0A;RegDelete&#x0D;&#x0A;RegExMatch&#x0D;&#x0A;RegExReplace&#x0D;&#x0A;RegisterCallback&#x0D;&#x0A;RegRead&#x0D;&#x0A;RegWrite&#x0D;&#x0A;Reload&#x0D;&#x0A;Repeat&#x0D;&#x0A;Return&#x0D;&#x0A;Run&#x0D;&#x0A;RunAs&#x0D;&#x0A;RunWait&#x0D;&#x0A;Send&#x0D;&#x0A;SendMessage&#x0D;&#x0A;SendEvent&#x0D;&#x0A;SendInput&#x0D;&#x0A;SendMode&#x0D;&#x0A;SendPlay&#x0D;&#x0A;SendRaw&#x0D;&#x0A;SetBatchLines&#x0D;&#x0A;SetCapsLockState&#x0D;&#x0A;SetControlDelay&#x0D;&#x0A;SetDefaultMouseSpeed&#x0D;&#x0A;SetEnv&#x0D;&#x0A;SetFormat&#x0D;&#x0A;SetKeyDelay&#x0D;&#x0A;SetMouseDelay&#x0D;&#x0A;SetNumLockState&#x0D;&#x0A;SetScrollLockState&#x0D;&#x0A;SetStoreCapslockMode&#x0D;&#x0A;SetTimer&#x0D;&#x0A;SetTitleMatchMode&#x0D;&#x0A;SetWinDelay&#x0D;&#x0A;SetWorkingDir&#x0D;&#x0A;Shutdown&#x0D;&#x0A;Sleep&#x0D;&#x0A;Sort&#x0D;&#x0A;SoundBeep&#x0D;&#x0A;SoundGet&#x0D;&#x0A;SoundGetWaveVolume&#x0D;&#x0A;SoundPlay&#x0D;&#x0A;SoundSet&#x0D;&#x0A;SoundSetWaveVolume&#x0D;&#x0A;SplashImage&#x0D;&#x0A;SplashTextOff&#x0D;&#x0A;SplashTextOn&#x0D;&#x0A;SplitPath&#x0D;&#x0A;StatusBarGetText&#x0D;&#x0A;StatusBarWait&#x0D;&#x0A;StringCaseSense&#x0D;&#x0A;StringGetPos&#x0D;&#x0A;StringLeft&#x0D;&#x0A;StringLen&#x0D;&#x0A;StringLower&#x0D;&#x0A;StringMid&#x0D;&#x0A;StringReplace&#x0D;&#x0A;StringRight&#x0D;&#x0A;StringSplit&#x0D;&#x0A;StringTrimLeft&#x0D;&#x0A;StringTrimRight&#x0D;&#x0A;StringUpper&#x0D;&#x0A;Suspend&#x0D;&#x0A;SysGet&#x0D;&#x0A;Thread&#x0D;&#x0A;ToolTip&#x0D;&#x0A;Transform&#x0D;&#x0A;TrayIcons&#x0D;&#x0A;TrayTip&#x0D;&#x0A;URLDownloadToFile&#x0D;&#x0A;VarSetCapcity&#x0D;&#x0A;WinActivate&#x0D;&#x0A;WinActivateBottom&#x0D;&#x0A;WinClose&#x0D;&#x0A;WinGet&#x0D;&#x0A;WinGetActiveStats&#x0D;&#x0A;WinGetActiveTitle&#x0D;&#x0A;WinGetClass&#x0D;&#x0A;WinGetPos&#x0D;&#x0A;WinGetText&#x0D;&#x0A;WinGetTitle&#x0D;&#x0A;WinHide&#x0D;&#x0A;WinKill&#x0D;&#x0A;WinMaximize&#x0D;&#x0A;WinMenuSelectItem&#x0D;&#x0A;WinMinimize&#x0D;&#x0A;WinMinimizeAll&#x0D;&#x0A;WinMinimizeAllUndo&#x0D;&#x0A;WinMove&#x0D;&#x0A;WinRestore&#x0D;&#x0A;WinSet&#x0D;&#x0A;WinSetTitle&#x0D;&#x0A;WinShow&#x0D;&#x0A;WinWait&#x0D;&#x0A;WinWaitActive&#x0D;&#x0A;WinWaitClose&#x0D;&#x0A;WinWaitNotActive</Keywords>
            <Keywords name="Words2">%A_&#x0D;&#x0A;A_AhkPath&#x0D;&#x0A;A_AhkVersion&#x0D;&#x0A;A_AppData&#x0D;&#x0A;A_AppDataCommon&#x0D;&#x0A;A_AutoTrim&#x0D;&#x0A;A_BatchLines&#x0D;&#x0A;A_CaretX&#x0D;&#x0A;A_CaretY&#x0D;&#x0A;A_ComputerName&#x0D;&#x0A;A_ControlDelay&#x0D;&#x0A;A_Cursor&#x0D;&#x0A;A_DD&#x0D;&#x0A;A_DDD&#x0D;&#x0A;A_DDDD&#x0D;&#x0A;A_DefaultMouseSpeed&#x0D;&#x0A;A_Desktop&#x0D;&#x0A;A_DesktopCommon&#x0D;&#x0A;A_DetectHiddenText&#x0D;&#x0A;A_DetectHiddenWindows&#x0D;&#x0A;A_EndChar&#x0D;&#x0A;A_ExitReason&#x0D;&#x0A;A_FormatFloat&#x0D;&#x0A;A_FormatInteger&#x0D;&#x0A;A_Gui&#x0D;&#x0A;A_GuiControl&#x0D;&#x0A;A_EventInfo&#x0D;&#x0A;A_GuiX&#x0D;&#x0A;A_GuiY&#x0D;&#x0A;A_GuiEvent&#x0D;&#x0A;A_GuiControlEvent&#x0D;&#x0A;A_GuiHeight&#x0D;&#x0A;A_GuiWidth&#x0D;&#x0A;A_Hour&#x0D;&#x0A;A_IconFile&#x0D;&#x0A;A_IconHidden&#x0D;&#x0A;A_IconNumber&#x0D;&#x0A;A_IconTip&#x0D;&#x0A;A_Index&#x0D;&#x0A;A_IPAddress1&#x0D;&#x0A;A_IPAddress2&#x0D;&#x0A;A_IPAddress3&#x0D;&#x0A;A_IPAddress4&#x0D;&#x0A;A_ISAdmin&#x0D;&#x0A;A_IsCompiled&#x0D;&#x0A;A_IsSuspended&#x0D;&#x0A;A_KeyDelay&#x0D;&#x0A;A_Language&#x0D;&#x0A;A_LastError&#x0D;&#x0A;A_LineNumber&#x0D;&#x0A;A_LineFile&#x0D;&#x0A;A_LoopField&#x0D;&#x0A;A_LoopFileAttrib&#x0D;&#x0A;A_LoopFileDir&#x0D;&#x0A;A_LoopFileExt&#x0D;&#x0A;A_LoopFileFullPath&#x0D;&#x0A;A_LoopFileLongPath&#x0D;&#x0A;A_LoopFileName&#x0D;&#x0A;A_LoopFileShortName&#x0D;&#x0A;A_LoopFileShortPath&#x0D;&#x0A;A_LoopFileSize&#x0D;&#x0A;A_LoopFileSizeKB&#x0D;&#x0A;A_LoopFileSizeMB&#x0D;&#x0A;A_LoopFileTimeAccessed&#x0D;&#x0A;A_LoopFileTimeCreated&#x0D;&#x0A;A_LoopFileTimeModified&#x0D;&#x0A;A_LoopReadLine&#x0D;&#x0A;A_LoopRegKey&#x0D;&#x0A;A_LoopRegName&#x0D;&#x0A;A_LoopRegSubkey&#x0D;&#x0A;A_LoopRegTimeModified&#x0D;&#x0A;A_LoopRegType&#x0D;&#x0A;A_MDAY&#x0D;&#x0A;A_Min&#x0D;&#x0A;A_MM&#x0D;&#x0A;A_MMM&#x0D;&#x0A;A_MMMM&#x0D;&#x0A;A_MON&#x0D;&#x0A;A_MouseDelay&#x0D;&#x0A;A_MyDocuments&#x0D;&#x0A;A_Now&#x0D;&#x0A;A_NowUTC&#x0D;&#x0A;A_NumBatchLines&#x0D;&#x0A;A_OSType&#x0D;&#x0A;A_OSVersion&#x0D;&#x0A;A_PriorHotkey&#x0D;&#x0A;ProgramFiles&#x0D;&#x0A;A_ProgramFiles&#x0D;&#x0A;A_Programs&#x0D;&#x0A;A_ProgramsCommon&#x0D;&#x0A;A_ScreenHeight&#x0D;&#x0A;A_ScreenWidth&#x0D;&#x0A;A_ScriptDir&#x0D;&#x0A;A_ScriptFullPath&#x0D;&#x0A;A_ScriptName&#x0D;&#x0A;A_Sec&#x0D;&#x0A;A_Space&#x0D;&#x0A;A_StartMenu&#x0D;&#x0A;A_StartMenuCommon&#x0D;&#x0A;A_Startup&#x0D;&#x0A;A_StartupCommon&#x0D;&#x0A;A_StringCaseSense&#x0D;&#x0A;A_Tab&#x0D;&#x0A;A_Temp&#x0D;&#x0A;A_ThisHotkey&#x0D;&#x0A;&#x0D;&#x0A;A_ThisFunc&#x0D;&#x0A;&#x0D;&#x0A;A_ThisLabel&#x0D;&#x0A;A_ThisMenu&#x0D;&#x0A;A_ThisMenuItem&#x0D;&#x0A;A_ThisMenuItemPos&#x0D;&#x0A;A_TickCount&#x0D;&#x0A;A_TimeIdle&#x0D;&#x0A;A_TimeIdlePhysical&#x0D;&#x0A;A_TimeSincePriorHotkey&#x0D;&#x0A;A_TimeSinceThisHotkey&#x0D;&#x0A;A_TitleMatchMode&#x0D;&#x0A;A_TitleMatchModeSpeed&#x0D;&#x0A;A_UserName&#x0D;&#x0A;A_WDay&#x0D;&#x0A;A_WinDelay&#x0D;&#x0A;A_WinDir&#x0D;&#x0A;A_WorkingDir&#x0D;&#x0A;A_YDay&#x0D;&#x0A;A_YEAR&#x0D;&#x0A;A_YWeek&#x0D;&#x0A;A_YYYY&#x0D;&#x0A;Clipboard&#x0D;&#x0A;ComSpec&#x0D;&#x0A;True&#x0D;&#x0A;False&#x0D;&#x0A;Alt&#x0D;&#x0A;AlwaysOnTop&#x0D;&#x0A;and&#x0D;&#x0A;Bottom&#x0D;&#x0A;BS&#x0D;&#x0A;Close&#x0D;&#x0A;ControlList&#x0D;&#x0A;ControlListHwnd&#x0D;&#x0A;Count&#x0D;&#x0A;Ctrl&#x0D;&#x0A;Disable&#x0D;&#x0A;Down&#x0D;&#x0A;Enable&#x0D;&#x0A;End&#x0D;&#x0A;Enter&#x0D;&#x0A;ErrorLevel&#x0D;&#x0A;Exist&#x0D;&#x0A;ExStyle&#x0D;&#x0A;Home&#x0D;&#x0A;Height&#x0D;&#x0A;ID&#x0D;&#x0A;IDLast&#x0D;&#x0A;Left&#x0D;&#x0A;List&#x0D;&#x0A;MinMax&#x0D;&#x0A;or&#x0D;&#x0A;PID&#x0D;&#x0A;Priority&#x0D;&#x0A;ProcessName&#x0D;&#x0A;Redraw&#x0D;&#x0A;Right&#x0D;&#x0A;Shift&#x0D;&#x0A;Space&#x0D;&#x0A;Style&#x0D;&#x0A;Tab&#x0D;&#x0A;Top&#x0D;&#x0A;TransColor&#x0D;&#x0A;Transparent&#x0D;&#x0A;Up&#x0D;&#x0A;Wait&#x0D;&#x0A;WaitClose&#x0D;&#x0A;Width&#x0D;&#x0A;</Keywords>
            <Keywords name="Words3">%</Keywords>
            <Keywords name="Words4">%&#x0D;&#x0A;ExitApp&#x0D;&#x0A;Exit&#x0D;&#x0A;</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="COMMENT" styleID="1" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="DEFAULT" styleID="11" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="12" />
        </Styles>
    </UserLang>
</NotepadPlus>

Thank you.
Regards,
AEN
Æ


Last edited by AEN007 on June 1st, 2009, 7:27 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 1st, 2009, 5:42 am 
Offline
User avatar

Joined: May 24th, 2009, 5:35 am
Posts: 2099
Location: Iowa, USA
Thank you for the userDefineLang. Would it be possible to have highlighting for code inside quotation marks? I noticed this aspect in some of the other languages for NP++.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 1st, 2009, 7:31 pm 
Offline

Joined: April 4th, 2009, 9:59 am
Posts: 130
1Jun2009
Greetings.
Ja, it seems to be possible.
Which color?
There are four possible colors with the Words1 thru Words4 items.
jayp wrote:
Basically, my breakthrough was to remove the delimiters (% and %) and then use a keyword list in prefix mode with the % character. This causes a single % to turn on syntax highlighting, and as soon as it sees a white space character or an operator character, it turns off the highlighting.


I don't know how often anyone might use a single, unterminating quotation mark.
One could add/edit the following line to use the Delimiters item
Code:
            <Keywords name="Delimiters">"00"00</Keywords>

which makes five possible colors after one chooses the DELIMINER1 settings.
I noticed/corrected an error in my code posting.
DELIMINER1 should be styleID="14" not 9.

Right now I am trying/using the quotation mark as a Delimiter
with a color scheme matching my NUMBER color scheme.

Regards,
AEN
Æ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 6th, 2009, 3:57 pm 
Offline

Joined: April 4th, 2009, 9:59 am
Posts: 130
6Jun2009
Greetings.
I decided to do some more work on the code
because I never (so far) use a single, unterminating delimiter
and don't like dedicating one of the four Word groups to a single delimiter.
I also wanted to find out how to format multiple delimiters.
I ended up opening the NP++ Help file & then the userlang dialogue.
(When in doubt - read the documentation ...)
The dialogue then let me format the userlang file
with two sets of delimiters (% & ") - each with a different format.
It seems the code could handle even more than 2 sets of delimiters.
Here's my latest iteration of the code»
Code:
<NotepadPlus>
    <UserLang name="AHK Autohotkey" ext="ahk">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="no" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">&quot;%0&quot;%0%00%00</Keywords>
            <Keywords name="Folder+">;***&#x000D;&#x000A;</Keywords>
            <Keywords name="Folder-">;*&#x000D;&#x000A;</Keywords>
            <Keywords name="Operators">- ! &amp; ( ) { } | , \ + &lt; : = &gt;</Keywords>
            <Keywords name="Comment">1/* 2*/ 0;</Keywords>
            <Keywords name="Words1">#AllowSameLineComments&#x000D;&#x000A;#ClipboardTimeout&#x000D;&#x000A;#CommentFlag&#x000D;&#x000A;#ErrorStdOut&#x000D;&#x000A;#EscapeChar&#x000D;&#x000A;#HotkeyInterval&#x000D;&#x000A;#HotkeyModIfierTimeout&#x000D;&#x000A;#Hotstring&#x000D;&#x000A;#Include&#x000D;&#x000A;#IncludeAgain&#x000D;&#x000A;#IfWinActive&#x000D;&#x000A;#IfWinExist&#x000D;&#x000A;#IfWinNotActive&#x000D;&#x000A;#IfWinNotExist&#x000D;&#x000A;#InstallKeybdHook&#x000D;&#x000A;#InstallMouseHook&#x000D;&#x000A;#KeyHistory&#x000D;&#x000A;#MaxHotkeysPerInterval&#x000D;&#x000A;#MaxMem&#x000D;&#x000A;#MaxThreads&#x000D;&#x000A;#MaxThreadsBuffer&#x000D;&#x000A;#MaxThreadsPerHotkey&#x000D;&#x000A;#NoEnv&#x000D;&#x000A;#NoTrayIcon&#x000D;&#x000A;#Persistent&#x000D;&#x000A;#SingleInstance&#x000D;&#x000A;#UseHook&#x000D;&#x000A;#WinActivateForce&#x000D;&#x000A;AutoTrim&#x000D;&#x000A;BlockInput&#x000D;&#x000A;Break&#x000D;&#x000A;Click&#x000D;&#x000A;ClipWait&#x000D;&#x000A;Continue&#x000D;&#x000A;Control&#x000D;&#x000A;ControlClick&#x000D;&#x000A;ControlFocus&#x000D;&#x000A;ControlGet&#x000D;&#x000A;ControlGetFocus&#x000D;&#x000A;ControlGetPos&#x000D;&#x000A;ControlGetText&#x000D;&#x000A;ControlMove&#x000D;&#x000A;ControlSend&#x000D;&#x000A;ControlSendRaw&#x000D;&#x000A;ControlSetText&#x000D;&#x000A;CoordMode&#x000D;&#x000A;Critical&#x000D;&#x000A;DeleteButton&#x000D;&#x000A;DeleteTrayIcon&#x000D;&#x000A;DetectHiddenText&#x000D;&#x000A;DetectHiddenWindows&#x000D;&#x000A;DllCall&#x000D;&#x000A;Drive&#x000D;&#x000A;DriveGet&#x000D;&#x000A;DriveSpaceFree&#x000D;&#x000A;Edit&#x000D;&#x000A;EndRepeat&#x000D;&#x000A;EnvAdd&#x000D;&#x000A;EnvDiv&#x000D;&#x000A;EnvGet&#x000D;&#x000A;EnvMult&#x000D;&#x000A;EnvSet&#x000D;&#x000A;EnvSub&#x000D;&#x000A;EnvUpdate&#x000D;&#x000A;FileAppend&#x000D;&#x000A;FileCopy&#x000D;&#x000A;FileCopyDir&#x000D;&#x000A;FileCreateDir&#x000D;&#x000A;FileCreateShortcut&#x000D;&#x000A;FileDelete&#x000D;&#x000A;FileGetAttrib&#x000D;&#x000A;FileGetShortcut&#x000D;&#x000A;FileGetSize&#x000D;&#x000A;FileGetTime&#x000D;&#x000A;FileGetVersion&#x000D;&#x000A;FileInstall&#x000D;&#x000A;FileMove&#x000D;&#x000A;FileMoveDir&#x000D;&#x000A;FileRead&#x000D;&#x000A;FileReadLine&#x000D;&#x000A;FileRecycle&#x000D;&#x000A;FileRecycleEmpty&#x000D;&#x000A;FileRemoveDir&#x000D;&#x000A;FileSelectFile&#x000D;&#x000A;FileSelectFolder&#x000D;&#x000A;FileSetAttrib&#x000D;&#x000A;FileSetTime&#x000D;&#x000A;FormatTime&#x000D;&#x000A;GetKeyState&#x000D;&#x000A;GetTrayBar&#x000D;&#x000A;Gosub&#x000D;&#x000A;Goto&#x000D;&#x000A;GroupActivate&#x000D;&#x000A;GroupAdd&#x000D;&#x000A;GroupClose&#x000D;&#x000A;GroupDeactivate&#x000D;&#x000A;Gui&#x000D;&#x000A;GuiControl&#x000D;&#x000A;GuiControlGet&#x000D;&#x000A;HideAutoItWin&#x000D;&#x000A;HideButton&#x000D;&#x000A;HideTrayIcon&#x000D;&#x000A;Hotkey&#x000D;&#x000A;IfEqual&#x000D;&#x000A;IfExist&#x000D;&#x000A;IfGreater&#x000D;&#x000A;IfGreaterOrEqual&#x000D;&#x000A;IfInString&#x000D;&#x000A;IfLess&#x000D;&#x000A;IfLessOrEqual&#x000D;&#x000A;IfMsgBox&#x000D;&#x000A;IfNotEqual&#x000D;&#x000A;IfNotExist&#x000D;&#x000A;IfNotInString&#x000D;&#x000A;IfWinActive&#x000D;&#x000A;IfWinExist&#x000D;&#x000A;IfWinNotActive&#x000D;&#x000A;IfWinNotExist&#x000D;&#x000A;ImageSearch&#x000D;&#x000A;IniDelete&#x000D;&#x000A;IniRead&#x000D;&#x000A;IniWrite&#x000D;&#x000A;Input&#x000D;&#x000A;InputBox&#x000D;&#x000A;IsLabel&#x000D;&#x000A;KeyHistory&#x000D;&#x000A;KeyWait&#x000D;&#x000A;ListHotkeys&#x000D;&#x000A;ListLines&#x000D;&#x000A;ListVars&#x000D;&#x000A;Loop&#x000D;&#x000A;Menu&#x000D;&#x000A;MouseClick&#x000D;&#x000A;MouseClickDrag&#x000D;&#x000A;MouseGetPos&#x000D;&#x000A;MouseMove&#x000D;&#x000A;MoveButton&#x000D;&#x000A;MoveTrayIcon&#x000D;&#x000A;MsgBox&#x000D;&#x000A;NumGet&#x000D;&#x000A;NumPut&#x000D;&#x000A;OnExit&#x000D;&#x000A;OnMessage&#x000D;&#x000A;OutputDebug&#x000D;&#x000A;Pause&#x000D;&#x000A;PixelGetColor&#x000D;&#x000A;PixelSearch&#x000D;&#x000A;PostMessage&#x000D;&#x000A;Process&#x000D;&#x000A;Progress&#x000D;&#x000A;Random&#x000D;&#x000A;RegDelete&#x000D;&#x000A;RegExMatch&#x000D;&#x000A;RegExReplace&#x000D;&#x000A;RegisterCallback&#x000D;&#x000A;RegRead&#x000D;&#x000A;RegWrite&#x000D;&#x000A;Reload&#x000D;&#x000A;RemoveTrayIcon&#x000D;&#x000A;Repeat&#x000D;&#x000A;Return&#x000D;&#x000A;Run&#x000D;&#x000A;RunAs&#x000D;&#x000A;RunWait&#x000D;&#x000A;Send&#x000D;&#x000A;SendMessage&#x000D;&#x000A;SendEvent&#x000D;&#x000A;SendInput&#x000D;&#x000A;SendMode&#x000D;&#x000A;SendPlay&#x000D;&#x000A;SendRaw&#x000D;&#x000A;SetBatchLines&#x000D;&#x000A;SetCapsLockState&#x000D;&#x000A;SetControlDelay&#x000D;&#x000A;SetDefaultMouseSpeed&#x000D;&#x000A;SetEnv&#x000D;&#x000A;SetFormat&#x000D;&#x000A;SetKeyDelay&#x000D;&#x000A;SetMouseDelay&#x000D;&#x000A;SetNumLockState&#x000D;&#x000A;SetScrollLockState&#x000D;&#x000A;SetStoreCapslockMode&#x000D;&#x000A;SetTimer&#x000D;&#x000A;SetTitleMatchMode&#x000D;&#x000A;SetWinDelay&#x000D;&#x000A;SetWorkingDir&#x000D;&#x000A;Shutdown&#x000D;&#x000A;Sleep&#x000D;&#x000A;Sort&#x000D;&#x000A;SoundBeep&#x000D;&#x000A;SoundGet&#x000D;&#x000A;SoundGetWaveVolume&#x000D;&#x000A;SoundPlay&#x000D;&#x000A;SoundSet&#x000D;&#x000A;SoundSetWaveVolume&#x000D;&#x000A;SplashImage&#x000D;&#x000A;SplashTextOff&#x000D;&#x000A;SplashTextOn&#x000D;&#x000A;SplitPath&#x000D;&#x000A;StatusBarGetText&#x000D;&#x000A;StatusBarWait&#x000D;&#x000A;StringCaseSense&#x000D;&#x000A;StringGetPos&#x000D;&#x000A;StringLeft&#x000D;&#x000A;StringLen&#x000D;&#x000A;StringLower&#x000D;&#x000A;StringMid&#x000D;&#x000A;StringReplace&#x000D;&#x000A;StringRight&#x000D;&#x000A;StringSplit&#x000D;&#x000A;StringTrimLeft&#x000D;&#x000A;StringTrimRight&#x000D;&#x000A;StringUpper&#x000D;&#x000A;Suspend&#x000D;&#x000A;SysGet&#x000D;&#x000A;TaskButtons&#x000D;&#x000A;Thread&#x000D;&#x000A;ToolTip&#x000D;&#x000A;Transform&#x000D;&#x000A;TrayIcons&#x000D;&#x000A;TrayTip&#x000D;&#x000A;URLDownloadToFile&#x000D;&#x000A;VarSetCapcity&#x000D;&#x000A;WinActivate&#x000D;&#x000A;WinActivateBottom&#x000D;&#x000A;WinClose&#x000D;&#x000A;WinGet&#x000D;&#x000A;WinGetActiveStats&#x000D;&#x000A;WinGetActiveTitle&#x000D;&#x000A;WinGetClass&#x000D;&#x000A;WinGetPos&#x000D;&#x000A;WinGetText&#x000D;&#x000A;WinGetTitle&#x000D;&#x000A;WinHide&#x000D;&#x000A;WinKill&#x000D;&#x000A;WinMaximize&#x000D;&#x000A;WinMenuSelectItem&#x000D;&#x000A;WinMinimize&#x000D;&#x000A;WinMinimizeAll&#x000D;&#x000A;WinMinimizeAllUndo&#x000D;&#x000A;WinMove&#x000D;&#x000A;WinRestore&#x000D;&#x000A;WinSet&#x000D;&#x000A;WinSetTitle&#x000D;&#x000A;WinShow&#x000D;&#x000A;WinWait&#x000D;&#x000A;WinWaitActive&#x000D;&#x000A;WinWaitClose&#x000D;&#x000A;WinWaitNotActive</Keywords>
            <Keywords name="Words2">%A_&#x000D;&#x000A;A_AhkPath&#x000D;&#x000A;A_AhkVersion&#x000D;&#x000A;A_AppData&#x000D;&#x000A;A_AppDataCommon&#x000D;&#x000A;A_AutoTrim&#x000D;&#x000A;A_BatchLines&#x000D;&#x000A;A_CaretX&#x000D;&#x000A;A_CaretY&#x000D;&#x000A;A_ComputerName&#x000D;&#x000A;A_ControlDelay&#x000D;&#x000A;A_Cursor&#x000D;&#x000A;A_DD&#x000D;&#x000A;A_DDD&#x000D;&#x000A;A_DDDD&#x000D;&#x000A;A_DefaultMouseSpeed&#x000D;&#x000A;A_Desktop&#x000D;&#x000A;A_DesktopCommon&#x000D;&#x000A;A_DetectHiddenText&#x000D;&#x000A;A_DetectHiddenWindows&#x000D;&#x000A;A_EndChar&#x000D;&#x000A;A_ExitReason&#x000D;&#x000A;A_FormatFloat&#x000D;&#x000A;A_FormatInteger&#x000D;&#x000A;A_Gui&#x000D;&#x000A;A_GuiControl&#x000D;&#x000A;A_EventInfo&#x000D;&#x000A;A_GuiX&#x000D;&#x000A;A_GuiY&#x000D;&#x000A;A_GuiEvent&#x000D;&#x000A;A_GuiControlEvent&#x000D;&#x000A;A_GuiHeight&#x000D;&#x000A;A_GuiWidth&#x000D;&#x000A;A_Hour&#x000D;&#x000A;A_IconFile&#x000D;&#x000A;A_IconHidden&#x000D;&#x000A;A_IconNumber&#x000D;&#x000A;A_IconTip&#x000D;&#x000A;A_Index&#x000D;&#x000A;A_IPAddress1&#x000D;&#x000A;A_IPAddress2&#x000D;&#x000A;A_IPAddress3&#x000D;&#x000A;A_IPAddress4&#x000D;&#x000A;A_ISAdmin&#x000D;&#x000A;A_IsCompiled&#x000D;&#x000A;A_IsSuspended&#x000D;&#x000A;A_KeyDelay&#x000D;&#x000A;A_Language&#x000D;&#x000A;A_LastError&#x000D;&#x000A;A_LineNumber&#x000D;&#x000A;A_LineFile&#x000D;&#x000A;A_LoopField&#x000D;&#x000A;A_LoopFileAttrib&#x000D;&#x000A;A_LoopFileDir&#x000D;&#x000A;A_LoopFileExt&#x000D;&#x000A;A_LoopFileFullPath&#x000D;&#x000A;A_LoopFileLongPath&#x000D;&#x000A;A_LoopFileName&#x000D;&#x000A;A_LoopFileShortName&#x000D;&#x000A;A_LoopFileShortPath&#x000D;&#x000A;A_LoopFileSize&#x000D;&#x000A;A_LoopFileSizeKB&#x000D;&#x000A;A_LoopFileSizeMB&#x000D;&#x000A;A_LoopFileTimeAccessed&#x000D;&#x000A;A_LoopFileTimeCreated&#x000D;&#x000A;A_LoopFileTimeModified&#x000D;&#x000A;A_LoopReadLine&#x000D;&#x000A;A_LoopRegKey&#x000D;&#x000A;A_LoopRegName&#x000D;&#x000A;A_LoopRegSubkey&#x000D;&#x000A;A_LoopRegTimeModified&#x000D;&#x000A;A_LoopRegType&#x000D;&#x000A;A_MDAY&#x000D;&#x000A;A_Min&#x000D;&#x000A;A_MM&#x000D;&#x000A;A_MMM&#x000D;&#x000A;A_MMMM&#x000D;&#x000A;A_MON&#x000D;&#x000A;A_MouseDelay&#x000D;&#x000A;A_MyDocuments&#x000D;&#x000A;A_Now&#x000D;&#x000A;A_NowUTC&#x000D;&#x000A;A_NumBatchLines&#x000D;&#x000A;A_OSType&#x000D;&#x000A;A_OSVersion&#x000D;&#x000A;A_PriorHotkey&#x000D;&#x000A;ProgramFiles&#x000D;&#x000A;A_ProgramFiles&#x000D;&#x000A;A_Programs&#x000D;&#x000A;A_ProgramsCommon&#x000D;&#x000A;A_ScreenHeight&#x000D;&#x000A;A_ScreenWidth&#x000D;&#x000A;A_ScriptDir&#x000D;&#x000A;A_ScriptFullPath&#x000D;&#x000A;A_ScriptName&#x000D;&#x000A;A_Sec&#x000D;&#x000A;A_Space&#x000D;&#x000A;A_StartMenu&#x000D;&#x000A;A_StartMenuCommon&#x000D;&#x000A;A_Startup&#x000D;&#x000A;A_StartupCommon&#x000D;&#x000A;A_StringCaseSense&#x000D;&#x000A;A_Tab&#x000D;&#x000A;A_Temp&#x000D;&#x000A;A_ThisHotkey&#x000D;&#x000A;&#x000D;&#x000A;A_ThisFunc&#x000D;&#x000A;&#x000D;&#x000A;A_ThisLabel&#x000D;&#x000A;A_ThisMenu&#x000D;&#x000A;A_ThisMenuItem&#x000D;&#x000A;A_ThisMenuItemPos&#x000D;&#x000A;A_TickCount&#x000D;&#x000A;A_TimeIdle&#x000D;&#x000A;A_TimeIdlePhysical&#x000D;&#x000A;A_TimeSincePriorHotkey&#x000D;&#x000A;A_TimeSinceThisHotkey&#x000D;&#x000A;A_TitleMatchMode&#x000D;&#x000A;A_TitleMatchModeSpeed&#x000D;&#x000A;A_UserName&#x000D;&#x000A;A_WDay&#x000D;&#x000A;A_WinDelay&#x000D;&#x000A;A_WinDir&#x000D;&#x000A;A_WorkingDir&#x000D;&#x000A;A_YDay&#x000D;&#x000A;A_YEAR&#x000D;&#x000A;A_YWeek&#x000D;&#x000A;A_YYYY&#x000D;&#x000A;Clipboard&#x000D;&#x000A;ComSpec&#x000D;&#x000A;True&#x000D;&#x000A;False&#x000D;&#x000A;</Keywords>
            <Keywords name="Words3">Alt&#x000D;&#x000A;AlwaysOnTop&#x0D;&#x0A;and&#x0D;&#x0A;Bottom&#x0D;&#x0A;BS&#x000D;&#x000A;Close&#x0D;&#x0A;ControlList&#x0D;&#x0A;ControlListHwnd&#x0D;&#x0A;Count&#x0D;&#x0A;Ctrl&#x000D;&#x000A;Disable&#x0D;&#x0A;Down&#x000D;&#x000A;Enable&#x0D;&#x0A;End&#x000D;&#x000A;Enter&#x000D;&#x000A;ErrorLevel&#x0D;&#x0A;Exist&#x0D;&#x0A;ExStyle&#x0D;&#x0A;Home&#x000D;&#x000A;Height&#x0D;&#x0A;ID&#x0D;&#x0A;IDLast&#x0D;&#x0A;Left&#x0D;&#x0A;List&#x0D;&#x0A;MinMax&#x0D;&#x0A;Off&#x0D;&#x0A;On&#x0D;&#x0A;or&#x0D;&#x0A;Parse&#x0D;&#x0A;PID&#x0D;&#x0A;Priority&#x0D;&#x0A;ProcessName&#x0D;&#x0A;Redraw&#x0D;&#x0A;Right&#x0D;&#x0A;Shift&#x000D;&#x000A;Space&#x000D;&#x000A;Style&#x0D;&#x0A;Tab&#x000D;&#x000A;Top&#x0D;&#x0A;TransColor&#x0D;&#x0A;Transparent&#x0D;&#x0A;Up&#x000D;&#x000A;Wait&#x0D;&#x0A;WaitClose&#x0D;&#x0A;Width&#x0D;&#x0A;</Keywords>
            <Keywords name="Words4">Else&#x000D;&#x000A;ExitApp&#x000D;&#x000A;Exit&#x000D;&#x000A;If&#x000D;&#x000A;</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="COMMENT" styleID="1" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="12" />
            <WordsStyle name="DEFAULT" styleID="11" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
        </Styles>
    </UserLang>
</NotepadPlus>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 9th, 2009, 1:34 pm 
Offline

Joined: February 17th, 2005, 10:06 am
Posts: 280
Location: Hungary, Budapest
Thank you AEN007

_________________
Is there another word for synonym?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 9th, 2009, 4:42 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
@AEN007
Thank you for your great work.

I used to use the 10May2009 version - but because I find the folders +/- feature very useful I moved the { (}) back to the Folder+(-).
It worked - god knows why :). I will try ASAP your latest version - in the meantime
do you think it is possible to restore the +/- functionality in your version, as I am sure you can do it more professionally than me ?

Thanks again for your work.
Much appreciated.

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2009, 4:33 pm 
Offline

Joined: April 4th, 2009, 9:59 am
Posts: 130
12Jun2009
Greetings.
Thanks for the feedback.
As they say, "Flattery will get you everywhere ...";
however, I don't use the"folders +/- feature" and
moved the braces {} to Operators because
NP++ highlights the braces in matching pairs when treated as braces.
All I would do would be either look at the braces folders +/- feature format
in the userlang file that came/comes with NP++ or
let the userlang dialogue do it & then see what it did.

It seems to me now that someone else solved
the unterminating delimiter format problem
there are only detailed word/symbol/color customizations to do.
I just changed "<Global caseIgnored="no" /> back to no,
so I can, for example, format INPUT (a Words1 word)
differently from Input (a Words3 word).

Thank you.
Regards,
AEN
Æ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2009, 5:19 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
AEN007 wrote:
As they say, "Flattery will get you everywhere ...";

It didn't, didn't, didn't :D

I had already done that (moved the braces back) and I had my+/-folders
thingy OK but I didn't know the reason of your moving the braces in the
Operators section (which now I know and applaude) although I suspected there would be a good
one and I was trying to have the best of both worlds and that's were I had failed.
I will try with the user defined language. Thanks for the Case tip and
everything. Cheers !

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2009, 7:30 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
And by the way I think the order the "WordStyle"sections are given matters for the "user defined" dialogue.
I think it should be (based on AEN007's 6Jun2009 code):
Code:
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="12" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
        </Styles>
Otherwise the colors don't show up correctly in the dialogue (for inst. Default shows green).
Any ideas ?

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 14th, 2009, 8:01 pm 
Offline

Joined: December 19th, 2006, 2:17 pm
Posts: 164
Here is my version - based on AEN007's 10May version - where the unterminating % buggy was corrected. It features folder open/close on
braces (at the expense of their not being highlighted as operators - see AEN's post on the 12Jun). Also the order the "WordStyle"sections is
as per my previous post - so the User Define dialogue functions properly. I have no clue as for the syntax of this file - I hope I didn't break anything
- but works OK at the moment. Enjoy :
Code:
<NotepadPlus>
    <UserLang name="AHK Autohotkey" ext="ahk">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="yes" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comment"> 1/* 2*/ 0;</Keywords>
            <Keywords name="Delimiters">000000</Keywords>
            <Keywords name="Folder+">;***&#x0D;&#x0A;{</Keywords>
            <Keywords name="Folder-">;*&#x0D;&#x0A;}</Keywords>
            <Keywords name="Operators">- ! &amp; ( ) | , \ + &lt; : = &gt;</Keywords>
            <Keywords name="Words1">#AllowSameLineComments&#x0D;&#x0A;#ClipboardTimeout&#x0D;&#x0A;#CommentFlag&#x0D;&#x0A;#ErrorStdOut&#x0D;&#x0A;#EscapeChar&#x0D;&#x0A;#HotkeyInterval&#x0D;&#x0A;#HotkeyModIfierTimeout&#x0D;&#x0A;#Hotstring&#x0D;&#x0A;#Include&#x0D;&#x0A;#IncludeAgain&#x0D;&#x0A;#IfWinActive&#x0D;&#x0A;#IfWinExist&#x0D;&#x0A;#IfWinNotActive&#x0D;&#x0A;#IfWinNotExist&#x0D;&#x0A;#InstallKeybdHook&#x0D;&#x0A;#InstallMouseHook&#x0D;&#x0A;#KeyHistory&#x0D;&#x0A;#MaxHotkeysPerInterval&#x0D;&#x0A;#MaxMem&#x0D;&#x0A;#MaxThreads&#x0D;&#x0A;#MaxThreadsBuffer&#x0D;&#x0A;#MaxThreadsPerHotkey&#x0D;&#x0A;#NoEnv&#x0D;&#x0A;#NoTrayIcon&#x0D;&#x0A;#Persistent&#x0D;&#x0A;#SingleInstance&#x0D;&#x0A;#UseHook&#x0D;&#x0A;#WinActivateForce&#x0D;&#x0A;AutoTrim&#x0D;&#x0A;BlockInput&#x0D;&#x0A;Break&#x0D;&#x0A;Click&#x0D;&#x0A;ClipWait&#x0D;&#x0A;Continue&#x0D;&#x0A;Control&#x0D;&#x0A;ControlClick&#x0D;&#x0A;ControlFocus&#x0D;&#x0A;ControlGet&#x0D;&#x0A;ControlGetFocus&#x0D;&#x0A;ControlGetPos&#x0D;&#x0A;ControlGetText&#x0D;&#x0A;ControlMove&#x0D;&#x0A;ControlSend&#x0D;&#x0A;ControlSendRaw&#x0D;&#x0A;ControlSetText&#x0D;&#x0A;CoordMode&#x0D;&#x0A;Critical&#x0D;&#x0A;DetectHiddenText&#x0D;&#x0A;DetectHiddenWindows&#x0D;&#x0A;DllCall&#x0D;&#x0A;Drive&#x0D;&#x0A;DriveGet&#x0D;&#x0A;DriveSpaceFree&#x0D;&#x0A;Edit&#x0D;&#x0A;Else&#x0D;&#x0A;EndRepeat&#x0D;&#x0A;EnvAdd&#x0D;&#x0A;EnvDiv&#x0D;&#x0A;EnvGet&#x0D;&#x0A;EnvMult&#x0D;&#x0A;EnvSet&#x0D;&#x0A;EnvSub&#x0D;&#x0A;EnvUpdate&#x0D;&#x0A;FileAppend&#x0D;&#x0A;FileCopy&#x0D;&#x0A;FileCopyDir&#x0D;&#x0A;FileCreateDir&#x0D;&#x0A;FileCreateShortcut&#x0D;&#x0A;FileDelete&#x0D;&#x0A;FileGetAttrib&#x0D;&#x0A;FileGetShortcut&#x0D;&#x0A;FileGetSize&#x0D;&#x0A;FileGetTime&#x0D;&#x0A;FileGetVersion&#x0D;&#x0A;FileInstall&#x0D;&#x0A;FileMove&#x0D;&#x0A;FileMoveDir&#x0D;&#x0A;FileRead&#x0D;&#x0A;FileReadLine&#x0D;&#x0A;FileRecycle&#x0D;&#x0A;FileRecycleEmpty&#x0D;&#x0A;FileRemoveDir&#x0D;&#x0A;FileSelectFile&#x0D;&#x0A;FileSelectFolder&#x0D;&#x0A;FileSetAttrib&#x0D;&#x0A;FileSetTime&#x0D;&#x0A;FormatTime&#x0D;&#x0A;GetKeyState&#x0D;&#x0A;Gosub&#x0D;&#x0A;Goto&#x0D;&#x0A;GroupActivate&#x0D;&#x0A;GroupAdd&#x0D;&#x0A;GroupClose&#x0D;&#x0A;GroupDeactivate&#x0D;&#x0A;Gui&#x0D;&#x0A;GuiControl&#x0D;&#x0A;GuiControlGet&#x0D;&#x0A;HideAutoItWin&#x0D;&#x0A;HideButton&#x0D;&#x0A;HideTrayIcon&#x0D;&#x0A;Hotkey&#x0D;&#x0A;If&#x0D;&#x0A;IfEqual&#x0D;&#x0A;IfExist&#x0D;&#x0A;IfGreater&#x0D;&#x0A;IfGreaterOrEqual&#x0D;&#x0A;IfInString&#x0D;&#x0A;IfLess&#x0D;&#x0A;IfLessOrEqual&#x0D;&#x0A;IfMsgBox&#x0D;&#x0A;IfNotEqual&#x0D;&#x0A;IfNotExist&#x0D;&#x0A;IfNotInString&#x0D;&#x0A;IfWinActive&#x0D;&#x0A;IfWinExist&#x0D;&#x0A;IfWinNotActive&#x0D;&#x0A;IfWinNotExist&#x0D;&#x0A;ImageSearch&#x0D;&#x0A;IniDelete&#x0D;&#x0A;IniRead&#x0D;&#x0A;IniWrite&#x0D;&#x0A;Input&#x0D;&#x0A;InputBox&#x0D;&#x0A;IsLabel&#x0D;&#x0A;KeyHistory&#x0D;&#x0A;KeyWait&#x0D;&#x0A;ListHotkeys&#x0D;&#x0A;ListLines&#x0D;&#x0A;ListVars&#x0D;&#x0A;Loop&#x0D;&#x0A;Menu&#x0D;&#x0A;MouseClick&#x0D;&#x0A;MouseClickDrag&#x0D;&#x0A;MouseGetPos&#x0D;&#x0A;MouseMove&#x0D;&#x0A;MoveTrayIcon&#x0D;&#x0A;MsgBox&#x0D;&#x0A;NumGet&#x0D;&#x0A;NumPut&#x0D;&#x0A;OnExit&#x0D;&#x0A;OnMessage&#x0D;&#x0A;OutputDebug&#x0D;&#x0A;Pause&#x0D;&#x0A;PixelGetColor&#x0D;&#x0A;PixelSearch&#x0D;&#x0A;PostMessage&#x0D;&#x0A;Process&#x0D;&#x0A;Progress&#x0D;&#x0A;Random&#x0D;&#x0A;RegDelete&#x0D;&#x0A;RegExMatch&#x0D;&#x0A;RegExReplace&#x0D;&#x0A;RegisterCallback&#x0D;&#x0A;RegRead&#x0D;&#x0A;RegWrite&#x0D;&#x0A;Reload&#x0D;&#x0A;Repeat&#x0D;&#x0A;Return&#x0D;&#x0A;Run&#x0D;&#x0A;RunAs&#x0D;&#x0A;RunWait&#x0D;&#x0A;Send&#x0D;&#x0A;SendMessage&#x0D;&#x0A;SendEvent&#x0D;&#x0A;SendInput&#x0D;&#x0A;SendMode&#x0D;&#x0A;SendPlay&#x0D;&#x0A;SendRaw&#x0D;&#x0A;SetBatchLines&#x0D;&#x0A;SetCapsLockState&#x0D;&#x0A;SetControlDelay&#x0D;&#x0A;SetDefaultMouseSpeed&#x0D;&#x0A;SetEnv&#x0D;&#x0A;SetFormat&#x0D;&#x0A;SetKeyDelay&#x0D;&#x0A;SetMouseDelay&#x0D;&#x0A;SetNumLockState&#x0D;&#x0A;SetScrollLockState&#x0D;&#x0A;SetStoreCapslockMode&#x0D;&#x0A;SetTimer&#x0D;&#x0A;SetTitleMatchMode&#x0D;&#x0A;SetWinDelay&#x0D;&#x0A;SetWorkingDir&#x0D;&#x0A;Shutdown&#x0D;&#x0A;Sleep&#x0D;&#x0A;Sort&#x0D;&#x0A;SoundBeep&#x0D;&#x0A;SoundGet&#x0D;&#x0A;SoundGetWaveVolume&#x0D;&#x0A;SoundPlay&#x0D;&#x0A;SoundSet&#x0D;&#x0A;SoundSetWaveVolume&#x0D;&#x0A;SplashImage&#x0D;&#x0A;SplashTextOff&#x0D;&#x0A;SplashTextOn&#x0D;&#x0A;SplitPath&#x0D;&#x0A;StatusBarGetText&#x0D;&#x0A;StatusBarWait&#x0D;&#x0A;StringCaseSense&#x0D;&#x0A;StringGetPos&#x0D;&#x0A;StringLeft&#x0D;&#x0A;StringLen&#x0D;&#x0A;StringLower&#x0D;&#x0A;StringMid&#x0D;&#x0A;StringReplace&#x0D;&#x0A;StringRight&#x0D;&#x0A;StringSplit&#x0D;&#x0A;StringTrimLeft&#x0D;&#x0A;StringTrimRight&#x0D;&#x0A;StringUpper&#x0D;&#x0A;Suspend&#x0D;&#x0A;SysGet&#x0D;&#x0A;Thread&#x0D;&#x0A;ToolTip&#x0D;&#x0A;Transform&#x0D;&#x0A;TrayIcons&#x0D;&#x0A;TrayTip&#x0D;&#x0A;URLDownloadToFile&#x0D;&#x0A;VarSetCapcity&#x0D;&#x0A;WinActivate&#x0D;&#x0A;WinActivateBottom&#x0D;&#x0A;WinClose&#x0D;&#x0A;WinGet&#x0D;&#x0A;WinGetActiveStats&#x0D;&#x0A;WinGetActiveTitle&#x0D;&#x0A;WinGetClass&#x0D;&#x0A;WinGetPos&#x0D;&#x0A;WinGetText&#x0D;&#x0A;WinGetTitle&#x0D;&#x0A;WinHide&#x0D;&#x0A;WinKill&#x0D;&#x0A;WinMaximize&#x0D;&#x0A;WinMenuSelectItem&#x0D;&#x0A;WinMinimize&#x0D;&#x0A;WinMinimizeAll&#x0D;&#x0A;WinMinimizeAllUndo&#x0D;&#x0A;WinMove&#x0D;&#x0A;WinRestore&#x0D;&#x0A;WinSet&#x0D;&#x0A;WinSetTitle&#x0D;&#x0A;WinShow&#x0D;&#x0A;WinWait&#x0D;&#x0A;WinWaitActive&#x0D;&#x0A;WinWaitClose&#x0D;&#x0A;WinWaitNotActive</Keywords>
            <Keywords name="Words2">%A_&#x0D;&#x0A;A_AhkPath&#x0D;&#x0A;A_AhkVersion&#x0D;&#x0A;A_AppData&#x0D;&#x0A;A_AppDataCommon&#x0D;&#x0A;A_AutoTrim&#x0D;&#x0A;A_BatchLines&#x0D;&#x0A;A_CaretX&#x0D;&#x0A;A_CaretY&#x0D;&#x0A;A_ComputerName&#x0D;&#x0A;A_ControlDelay&#x0D;&#x0A;A_Cursor&#x0D;&#x0A;A_DD&#x0D;&#x0A;A_DDD&#x0D;&#x0A;A_DDDD&#x0D;&#x0A;A_DefaultMouseSpeed&#x0D;&#x0A;A_Desktop&#x0D;&#x0A;A_DesktopCommon&#x0D;&#x0A;A_DetectHiddenText&#x0D;&#x0A;A_DetectHiddenWindows&#x0D;&#x0A;A_EndChar&#x0D;&#x0A;A_ExitReason&#x0D;&#x0A;A_FormatFloat&#x0D;&#x0A;A_FormatInteger&#x0D;&#x0A;A_Gui&#x0D;&#x0A;A_GuiControl&#x0D;&#x0A;A_EventInfo&#x0D;&#x0A;A_GuiX&#x0D;&#x0A;A_GuiY&#x0D;&#x0A;A_GuiEvent&#x0D;&#x0A;A_GuiControlEvent&#x0D;&#x0A;A_GuiHeight&#x0D;&#x0A;A_GuiWidth&#x0D;&#x0A;A_Hour&#x0D;&#x0A;A_IconFile&#x0D;&#x0A;A_IconHidden&#x0D;&#x0A;A_IconNumber&#x0D;&#x0A;A_IconTip&#x0D;&#x0A;A_Index&#x0D;&#x0A;A_IPAddress1&#x0D;&#x0A;A_IPAddress2&#x0D;&#x0A;A_IPAddress3&#x0D;&#x0A;A_IPAddress4&#x0D;&#x0A;A_ISAdmin&#x0D;&#x0A;A_IsCompiled&#x0D;&#x0A;A_IsSuspended&#x0D;&#x0A;A_KeyDelay&#x0D;&#x0A;A_Language&#x0D;&#x0A;A_LastError&#x0D;&#x0A;A_LineNumber&#x0D;&#x0A;A_LineFile&#x0D;&#x0A;A_LoopField&#x0D;&#x0A;A_LoopFileAttrib&#x0D;&#x0A;A_LoopFileDir&#x0D;&#x0A;A_LoopFileExt&#x0D;&#x0A;A_LoopFileFullPath&#x0D;&#x0A;A_LoopFileLongPath&#x0D;&#x0A;A_LoopFileName&#x0D;&#x0A;A_LoopFileShortName&#x0D;&#x0A;A_LoopFileShortPath&#x0D;&#x0A;A_LoopFileSize&#x0D;&#x0A;A_LoopFileSizeKB&#x0D;&#x0A;A_LoopFileSizeMB&#x0D;&#x0A;A_LoopFileTimeAccessed&#x0D;&#x0A;A_LoopFileTimeCreated&#x0D;&#x0A;A_LoopFileTimeModified&#x0D;&#x0A;A_LoopReadLine&#x0D;&#x0A;A_LoopRegKey&#x0D;&#x0A;A_LoopRegName&#x0D;&#x0A;A_LoopRegSubkey&#x0D;&#x0A;A_LoopRegTimeModified&#x0D;&#x0A;A_LoopRegType&#x0D;&#x0A;A_MDAY&#x0D;&#x0A;A_Min&#x0D;&#x0A;A_MM&#x0D;&#x0A;A_MMM&#x0D;&#x0A;A_MMMM&#x0D;&#x0A;A_MON&#x0D;&#x0A;A_MouseDelay&#x0D;&#x0A;A_MyDocuments&#x0D;&#x0A;A_Now&#x0D;&#x0A;A_NowUTC&#x0D;&#x0A;A_NumBatchLines&#x0D;&#x0A;A_OSType&#x0D;&#x0A;A_OSVersion&#x0D;&#x0A;A_PriorHotkey&#x0D;&#x0A;ProgramFiles&#x0D;&#x0A;A_ProgramFiles&#<NotepadPlus>
    <UserLang name="AHK Autohotkey" ext="ahk">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="no" commentLine="yes" />
            <Prefix words1="no" words2="no" words3="yes" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comment"> 1/* 2*/ 0;</Keywords>
            <Keywords name="Delimiters">000000</Keywords>
            <Keywords name="Folder+">;***&#x0D;&#x0A;{</Keywords>
            <Keywords name="Folder-">;*&#x0D;&#x0A;}</Keywords>
            <Keywords name="Operators">- ! &amp; ( ) | , \ + &lt; : = &gt;</Keywords>
            <Keywords name="Words1">#AllowSameLineComments&#x0D;&#x0A;#ClipboardTimeout&#x0D;&#x0A;#CommentFlag&#x0D;&#x0A;#ErrorStdOut&#x0D;&#x0A;#EscapeChar&#x0D;&#x0A;#HotkeyInterval&#x0D;&#x0A;#HotkeyModIfierTimeout&#x0D;&#x0A;#Hotstring&#x0D;&#x0A;#Include&#x0D;&#x0A;#IncludeAgain&#x0D;&#x0A;#IfWinActive&#x0D;&#x0A;#IfWinExist&#x0D;&#x0A;#IfWinNotActive&#x0D;&#x0A;#IfWinNotExist&#x0D;&#x0A;#InstallKeybdHook&#x0D;&#x0A;#InstallMouseHook&#x0D;&#x0A;#KeyHistory&#x0D;&#x0A;#MaxHotkeysPerInterval&#x0D;&#x0A;#MaxMem&#x0D;&#x0A;#MaxThreads&#x0D;&#x0A;#MaxThreadsBuffer&#x0D;&#x0A;#MaxThreadsPerHotkey&#x0D;&#x0A;#NoEnv&#x0D;&#x0A;#NoTrayIcon&#x0D;&#x0A;#Persistent&#x0D;&#x0A;#SingleInstance&#x0D;&#x0A;#UseHook&#x0D;&#x0A;#WinActivateForce&#x0D;&#x0A;AutoTrim&#x0D;&#x0A;BlockInput&#x0D;&#x0A;Break&#x0D;&#x0A;Click&#x0D;&#x0A;ClipWait&#x0D;&#x0A;Continue&#x0D;&#x0A;Control&#x0D;&#x0A;ControlClick&#x0D;&#x0A;ControlFocus&#x0D;&#x0A;ControlGet&#x0D;&#x0A;ControlGetFocus&#x0D;&#x0A;ControlGetPos&#x0D;&#x0A;ControlGetText&#x0D;&#x0A;ControlMove&#x0D;&#x0A;ControlSend&#x0D;&#x0A;ControlSendRaw&#x0D;&#x0A;ControlSetText&#x0D;&#x0A;CoordMode&#x0D;&#x0A;Critical&#x0D;&#x0A;DetectHiddenText&#x0D;&#x0A;DetectHiddenWindows&#x0D;&#x0A;DllCall&#x0D;&#x0A;Drive&#x0D;&#x0A;DriveGet&#x0D;&#x0A;DriveSpaceFree&#x0D;&#x0A;Edit&#x0D;&#x0A;Else&#x0D;&#x0A;EndRepeat&#x0D;&#x0A;EnvAdd&#x0D;&#x0A;EnvDiv&#x0D;&#x0A;EnvGet&#x0D;&#x0A;EnvMult&#x0D;&#x0A;EnvSet&#x0D;&#x0A;EnvSub&#x0D;&#x0A;EnvUpdate&#x0D;&#x0A;FileAppend&#x0D;&#x0A;FileCopy&#x0D;&#x0A;FileCopyDir&#x0D;&#x0A;FileCreateDir&#x0D;&#x0A;FileCreateShortcut&#x0D;&#x0A;FileDelete&#x0D;&#x0A;FileGetAttrib&#x0D;&#x0A;FileGetShortcut&#x0D;&#x0A;FileGetSize&#x0D;&#x0A;FileGetTime&#x0D;&#x0A;FileGetVersion&#x0D;&#x0A;FileInstall&#x0D;&#x0A;FileMove&#x0D;&#x0A;FileMoveDir&#x0D;&#x0A;FileRead&#x0D;&#x0A;FileReadLine&#x0D;&#x0A;FileRecycle&#x0D;&#x0A;FileRecycleEmpty&#x0D;&#x0A;FileRemoveDir&#x0D;&#x0A;FileSelectFile&#x0D;&#x0A;FileSelectFolder&#x0D;&#x0A;FileSetAttrib&#x0D;&#x0A;FileSetTime&#x0D;&#x0A;FormatTime&#x0D;&#x0A;GetKeyState&#x0D;&#x0A;Gosub&#x0D;&#x0A;Goto&#x0D;&#x0A;GroupActivate&#x0D;&#x0A;GroupAdd&#x0D;&#x0A;GroupClose&#x0D;&#x0A;GroupDeactivate&#x0D;&#x0A;Gui&#x0D;&#x0A;GuiControl&#x0D;&#x0A;GuiControlGet&#x0D;&#x0A;HideAutoItWin&#x0D;&#x0A;HideButton&#x0D;&#x0A;HideTrayIcon&#x0D;&#x0A;Hotkey&#x0D;&#x0A;If&#x0D;&#x0A;IfEqual&#x0D;&#x0A;IfExist&#x0D;&#x0A;IfGreater&#x0D;&#x0A;IfGreaterOrEqual&#x0D;&#x0A;IfInString&#x0D;&#x0A;IfLess&#x0D;&#x0A;IfLessOrEqual&#x0D;&#x0A;IfMsgBox&#x0D;&#x0A;IfNotEqual&#x0D;&#x0A;IfNotExist&#x0D;&#x0A;IfNotInString&#x0D;&#x0A;IfWinActive&#x0D;&#x0A;IfWinExist&#x0D;&#x0A;IfWinNotActive&#x0D;&#x0A;IfWinNotExist&#x0D;&#x0A;ImageSearch&#x0D;&#x0A;IniDelete&#x0D;&#x0A;IniRead&#x0D;&#x0A;IniWrite&#x0D;&#x0A;Input&#x0D;&#x0A;InputBox&#x0D;&#x0A;IsLabel&#x0D;&#x0A;KeyHistory&#x0D;&#x0A;KeyWait&#x0D;&#x0A;ListHotkeys&#x0D;&#x0A;ListLines&#x0D;&#x0A;ListVars&#x0D;&#x0A;Loop&#x0D;&#x0A;Menu&#x0D;&#x0A;MouseClick&#x0D;&#x0A;MouseClickDrag&#x0D;&#x0A;MouseGetPos&#x0D;&#x0A;MouseMove&#x0D;&#x0A;MoveTrayIcon&#x0D;&#x0A;MsgBox&#x0D;&#x0A;NumGet&#x0D;&#x0A;NumPut&#x0D;&#x0A;OnExit&#x0D;&#x0A;OnMessage&#x0D;&#x0A;OutputDebug&#x0D;&#x0A;Pause&#x0D;&#x0A;PixelGetColor&#x0D;&#x0A;PixelSearch&#x0D;&#x0A;PostMessage&#x0D;&#x0A;Process&#x0D;&#x0A;Progress&#x0D;&#x0A;Random&#x0D;&#x0A;RegDelete&#x0D;&#x0A;RegExMatch&#x0D;&#x0A;RegExReplace&#x0D;&#x0A;RegisterCallback&#x0D;&#x0A;RegRead&#x0D;&#x0A;RegWrite&#x0D;&#x0A;Reload&#x0D;&#x0A;Repeat&#x0D;&#x0A;Return&#x0D;&#x0A;Run&#x0D;&#x0A;RunAs&#x0D;&#x0A;RunWait&#x0D;&#x0A;Send&#x0D;&#x0A;SendMessage&#x0D;&#x0A;SendEvent&#x0D;&#x0A;SendInput&#x0D;&#x0A;SendMode&#x0D;&#x0A;SendPlay&#x0D;&#x0A;SendRaw&#x0D;&#x0A;SetBatchLines&#x0D;&#x0A;SetCapsLockState&#x0D;&#x0A;SetControlDelay&#x0D;&#x0A;SetDefaultMouseSpeed&#x0D;&#x0A;SetEnv&#x0D;&#x0A;SetFormat&#x0D;&#x0A;SetKeyDelay&#x0D;&#x0A;SetMouseDelay&#x0D;&#x0A;SetNumLockState&#x0D;&#x0A;SetScrollLockState&#x0D;&#x0A;SetStoreCapslockMode&#x0D;&#x0A;SetTimer&#x0D;&#x0A;SetTitleMatchMode&#x0D;&#x0A;SetWinDelay&#x0D;&#x0A;SetWorkingDir&#x0D;&#x0A;Shutdown&#x0D;&#x0A;Sleep&#x0D;&#x0A;Sort&#x0D;&#x0A;SoundBeep&#x0D;&#x0A;SoundGet&#x0D;&#x0A;SoundGetWaveVolume&#x0D;&#x0A;SoundPlay&#x0D;&#x0A;SoundSet&#x0D;&#x0A;SoundSetWaveVolume&#x0D;&#x0A;SplashImage&#x0D;&#x0A;SplashTextOff&#x0D;&#x0A;SplashTextOn&#x0D;&#x0A;SplitPath&#x0D;&#x0A;StatusBarGetText&#x0D;&#x0A;StatusBarWait&#x0D;&#x0A;StringCaseSense&#x0D;&#x0A;StringGetPos&#x0D;&#x0A;StringLeft&#x0D;&#x0A;StringLen&#x0D;&#x0A;StringLower&#x0D;&#x0A;StringMid&#x0D;&#x0A;StringReplace&#x0D;&#x0A;StringRight&#x0D;&#x0A;StringSplit&#x0D;&#x0A;StringTrimLeft&#x0D;&#x0A;StringTrimRight&#x0D;&#x0A;StringUpper&#x0D;&#x0A;Suspend&#x0D;&#x0A;SysGet&#x0D;&#x0A;Thread&#x0D;&#x0A;ToolTip&#x0D;&#x0A;Transform&#x0D;&#x0A;TrayIcons&#x0D;&#x0A;TrayTip&#x0D;&#x0A;URLDownloadToFile&#x0D;&#x0A;VarSetCapcity&#x0D;&#x0A;WinActivate&#x0D;&#x0A;WinActivateBottom&#x0D;&#x0A;WinClose&#x0D;&#x0A;WinGet&#x0D;&#x0A;WinGetActiveStats&#x0D;&#x0A;WinGetActiveTitle&#x0D;&#x0A;WinGetClass&#x0D;&#x0A;WinGetPos&#x0D;&#x0A;WinGetText&#x0D;&#x0A;WinGetTitle&#x0D;&#x0A;WinHide&#x0D;&#x0A;WinKill&#x0D;&#x0A;WinMaximize&#x0D;&#x0A;WinMenuSelectItem&#x0D;&#x0A;WinMinimize&#x0D;&#x0A;WinMinimizeAll&#x0D;&#x0A;WinMinimizeAllUndo&#x0D;&#x0A;WinMove&#x0D;&#x0A;WinRestore&#x0D;&#x0A;WinSet&#x0D;&#x0A;WinSetTitle&#x0D;&#x0A;WinShow&#x0D;&#x0A;WinWait&#x0D;&#x0A;WinWaitActive&#x0D;&#x0A;WinWaitClose&#x0D;&#x0A;WinWaitNotActive</Keywords>
            <Keywords name="Words2">%A_&#x0D;&#x0A;A_AhkPath&#x0D;&#x0A;A_AhkVersion&#x0D;&#x0A;A_AppData&#x0D;&#x0A;A_AppDataCommon&#x0D;&#x0A;A_AutoTrim&#x0D;&#x0A;A_BatchLines&#x0D;&#x0A;A_CaretX&#x0D;&#x0A;A_CaretY&#x0D;&#x0A;A_ComputerName&#x0D;&#x0A;A_ControlDelay&#x0D;&#x0A;A_Cursor&#x0D;&#x0A;A_DD&#x0D;&#x0A;A_DDD&#x0D;&#x0A;A_DDDD&#x0D;&#x0A;A_DefaultMouseSpeed&#x0D;&#x0A;A_Desktop&#x0D;&#x0A;A_DesktopCommon&#x0D;&#x0A;A_DetectHiddenText&#x0D;&#x0A;A_DetectHiddenWindows&#x0D;&#x0A;A_EndChar&#x0D;&#x0A;A_ExitReason&#x0D;&#x0A;A_FormatFloat&#x0D;&#x0A;A_FormatInteger&#x0D;&#x0A;A_Gui&#x0D;&#x0A;A_GuiControl&#x0D;&#x0A;A_EventInfo&#x0D;&#x0A;A_GuiX&#x0D;&#x0A;A_GuiY&#x0D;&#x0A;A_GuiEvent&#x0D;&#x0A;A_GuiControlEvent&#x0D;&#x0A;A_GuiHeight&#x0D;&#x0A;A_GuiWidth&#x0D;&#x0A;A_Hour&#x0D;&#x0A;A_IconFile&#x0D;&#x0A;A_IconHidden&#x0D;&#x0A;A_IconNumber&#x0D;&#x0A;A_IconTip&#x0D;&#x0A;A_Index&#x0D;&#x0A;A_IPAddress1&#x0D;&#x0A;A_IPAddress2&#x0D;&#x0A;A_IPAddress3&#x0D;&#x0A;A_IPAddress4&#x0D;&#x0A;A_ISAdmin&#x0D;&#x0A;A_IsCompiled&#x0D;&#x0A;A_IsSuspended&#x0D;&#x0A;A_KeyDelay&#x0D;&#x0A;A_Language&#x0D;&#x0A;A_LastError&#x0D;&#x0A;A_LineNumber&#x0D;&#x0A;A_LineFile&#x0D;&#x0A;A_LoopField&#x0D;&#x0A;A_LoopFileAttrib&#x0D;&#x0A;A_LoopFileDir&#x0D;&#x0A;A_LoopFileExt&#x0D;&#x0A;A_LoopFileFullPath&#x0D;&#x0A;A_LoopFileLongPath&#x0D;&#x0A;A_LoopFileName&#x0D;&#x0A;A_LoopFileShortName&#x0D;&#x0A;A_LoopFileShortPath&#x0D;&#x0A;A_LoopFileSize&#x0D;&#x0A;A_LoopFileSizeKB&#x0D;&#x0A;A_LoopFileSizeMB&#x0D;&#x0A;A_LoopFileTimeAccessed&#x0D;&#x0A;A_LoopFileTimeCreated&#x0D;&#x0A;A_LoopFileTimeModified&#x0D;&#x0A;A_LoopReadLine&#x0D;&#x0A;A_LoopRegKey&#x0D;&#x0A;A_LoopRegName&#x0D;&#x0A;A_LoopRegSubkey&#x0D;&#x0A;A_LoopRegTimeModified&#x0D;&#x0A;A_LoopRegType&#x0D;&#x0A;A_MDAY&#x0D;&#x0A;A_Min&#x0D;&#x0A;A_MM&#x0D;&#x0A;A_MMM&#x0D;&#x0A;A_MMMM&#x0D;&#x0A;A_MON&#x0D;&#x0A;A_MouseDelay&#x0D;&#x0A;A_MyDocuments&#x0D;&#x0A;A_Now&#x0D;&#x0A;A_NowUTC&#x0D;&#x0A;A_NumBatchLines&#x0D;&#x0A;A_OSType&#x0D;&#x0A;A_OSVersion&#x0D;&#x0A;A_PriorHotkey&#x0D;&#x0A;ProgramFiles&#x0D;&#x0A;A_ProgramFiles&#x0D;&#x0A;A_Programs&#x0D;&#x0A;A_ProgramsCommon&#x0D;&#x0A;A_ScreenHeight&#x0D;&#x0A;A_ScreenWidth&#x0D;&#x0A;A_ScriptDir&#x0D;&#x0A;A_ScriptFullPath&#x0D;&#x0A;A_ScriptName&#x0D;&#x0A;A_Sec&#x0D;&#x0A;A_Space&#x0D;&#x0A;A_StartMenu&#x0D;&#x0A;A_StartMenuCommon&#x0D;&#x0A;A_Startup&#x0D;&#x0A;A_StartupCommon&#x0D;&#x0A;A_StringCaseSense&#x0D;&#x0A;A_Tab&#x0D;&#x0A;A_Temp&#x0D;&#x0A;A_ThisHotkey&#x0D;&#x0A;&#x0D;&#x0A;A_ThisFunc&#x0D;&#x0A;&#x0D;&#x0A;A_ThisLabel&#x0D;&#x0A;A_ThisMenu&#x0D;&#x0A;A_ThisMenuItem&#x0D;&#x0A;A_ThisMenuItemPos&#x0D;&#x0A;A_TickCount&#x0D;&#x0A;A_TimeIdle&#x0D;&#x0A;A_TimeIdlePhysical&#x0D;&#x0A;A_TimeSincePriorHotkey&#x0D;&#x0A;A_TimeSinceThisHotkey&#x0D;&#x0A;A_TitleMatchMode&#x0D;&#x0A;A_TitleMatchModeSpeed&#x0D;&#x0A;A_UserName&#x0D;&#x0A;A_WDay&#x0D;&#x0A;A_WinDelay&#x0D;&#x0A;A_WinDir&#x0D;&#x0A;A_WorkingDir&#x0D;&#x0A;A_YDay&#x0D;&#x0A;A_YEAR&#x0D;&#x0A;A_YWeek&#x0D;&#x0A;A_YYYY&#x0D;&#x0A;Clipboard&#x0D;&#x0A;ComSpec&#x0D;&#x0A;True&#x0D;&#x0A;False&#x0D;&#x0A;Alt&#x0D;&#x0A;AlwaysOnTop&#x0D;&#x0A;and&#x0D;&#x0A;Bottom&#x0D;&#x0A;BS&#x0D;&#x0A;Close&#x0D;&#x0A;ControlList&#x0D;&#x0A;ControlListHwnd&#x0D;&#x0A;Count&#x0D;&#x0A;Ctrl&#x0D;&#x0A;Disable&#x0D;&#x0A;Down&#x0D;&#x0A;Enable&#x0D;&#x0A;End&#x0D;&#x0A;Enter&#x0D;&#x0A;ErrorLevel&#x0D;&#x0A;Exist&#x0D;&#x0A;ExStyle&#x0D;&#x0A;Home&#x0D;&#x0A;Height&#x0D;&#x0A;ID&#x0D;&#x0A;IDLast&#x0D;&#x0A;Left&#x0D;&#x0A;List&#x0D;&#x0A;MinMax&#x0D;&#x0A;or&#x0D;&#x0A;PID&#x0D;&#x0A;Priority&#x0D;&#x0A;ProcessName&#x0D;&#x0A;Redraw&#x0D;&#x0A;Right&#x0D;&#x0A;Shift&#x0D;&#x0A;Space&#x0D;&#x0A;Style&#x0D;&#x0A;Tab&#x0D;&#x0A;Top&#x0D;&#x0A;TransColor&#x0D;&#x0A;Transparent&#x0D;&#x0A;Up&#x0D;&#x0A;Wait&#x0D;&#x0A;WaitClose&#x0D;&#x0A;Width&#x0D;&#x0A;</Keywords>
            <Keywords name="Words3">%</Keywords>
            <Keywords name="Words4">%&#x0D;&#x0A;ExitApp&#x0D;&#x0A;Exit&#x0D;&#x0A;</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="12" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>
    </UserLang>
</NotepadPlus>x0D;&#x0A;A_Programs&#x0D;&#x0A;A_ProgramsCommon&#x0D;&#x0A;A_ScreenHeight&#x0D;&#x0A;A_ScreenWidth&#x0D;&#x0A;A_ScriptDir&#x0D;&#x0A;A_ScriptFullPath&#x0D;&#x0A;A_ScriptName&#x0D;&#x0A;A_Sec&#x0D;&#x0A;A_Space&#x0D;&#x0A;A_StartMenu&#x0D;&#x0A;A_StartMenuCommon&#x0D;&#x0A;A_Startup&#x0D;&#x0A;A_StartupCommon&#x0D;&#x0A;A_StringCaseSense&#x0D;&#x0A;A_Tab&#x0D;&#x0A;A_Temp&#x0D;&#x0A;A_ThisHotkey&#x0D;&#x0A;&#x0D;&#x0A;A_ThisFunc&#x0D;&#x0A;&#x0D;&#x0A;A_ThisLabel&#x0D;&#x0A;A_ThisMenu&#x0D;&#x0A;A_ThisMenuItem&#x0D;&#x0A;A_ThisMenuItemPos&#x0D;&#x0A;A_TickCount&#x0D;&#x0A;A_TimeIdle&#x0D;&#x0A;A_TimeIdlePhysical&#x0D;&#x0A;A_TimeSincePriorHotkey&#x0D;&#x0A;A_TimeSinceThisHotkey&#x0D;&#x0A;A_TitleMatchMode&#x0D;&#x0A;A_TitleMatchModeSpeed&#x0D;&#x0A;A_UserName&#x0D;&#x0A;A_WDay&#x0D;&#x0A;A_WinDelay&#x0D;&#x0A;A_WinDir&#x0D;&#x0A;A_WorkingDir&#x0D;&#x0A;A_YDay&#x0D;&#x0A;A_YEAR&#x0D;&#x0A;A_YWeek&#x0D;&#x0A;A_YYYY&#x0D;&#x0A;Clipboard&#x0D;&#x0A;ComSpec&#x0D;&#x0A;True&#x0D;&#x0A;False&#x0D;&#x0A;Alt&#x0D;&#x0A;AlwaysOnTop&#x0D;&#x0A;and&#x0D;&#x0A;Bottom&#x0D;&#x0A;BS&#x0D;&#x0A;Close&#x0D;&#x0A;ControlList&#x0D;&#x0A;ControlListHwnd&#x0D;&#x0A;Count&#x0D;&#x0A;Ctrl&#x0D;&#x0A;Disable&#x0D;&#x0A;Down&#x0D;&#x0A;Enable&#x0D;&#x0A;End&#x0D;&#x0A;Enter&#x0D;&#x0A;ErrorLevel&#x0D;&#x0A;Exist&#x0D;&#x0A;ExStyle&#x0D;&#x0A;Home&#x0D;&#x0A;Height&#x0D;&#x0A;ID&#x0D;&#x0A;IDLast&#x0D;&#x0A;Left&#x0D;&#x0A;List&#x0D;&#x0A;MinMax&#x0D;&#x0A;or&#x0D;&#x0A;PID&#x0D;&#x0A;Priority&#x0D;&#x0A;ProcessName&#x0D;&#x0A;Redraw&#x0D;&#x0A;Right&#x0D;&#x0A;Shift&#x0D;&#x0A;Space&#x0D;&#x0A;Style&#x0D;&#x0A;Tab&#x0D;&#x0A;Top&#x0D;&#x0A;TransColor&#x0D;&#x0A;Transparent&#x0D;&#x0A;Up&#x0D;&#x0A;Wait&#x0D;&#x0A;WaitClose&#x0D;&#x0A;Width&#x0D;&#x0A;</Keywords>
            <Keywords name="Words3">%</Keywords>
            <Keywords name="Words4">%&#x0D;&#x0A;ExitApp&#x0D;&#x0A;Exit&#x0D;&#x0A;</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="00E600" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="12" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>
    </UserLang>
</NotepadPlus>

_________________
XP SP3 Pro x32 / 7 x64 Pro - AHK 1.0.48.05


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot], rbrtryn, SKAN and 54 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group