ScriptUO
General => Off Topic => Topic started by: 12TimesOver on January 26, 2010, 07:12:21 AM
-
12) TextFX
11) Opensource
10) Plugins/Compare
09) "Save Copy As"
08) Macro/Start Recording
07) Launch In Firefox/IE
06) Base64 Encode/Decode
05) Replace across all files
04) Load/Save Session
03) Convert Case
02) Language/C, C#, C++, Kixtart, XML, VB, SQL, User Defined, etc, etc
01) Synchronize scrolling
00) Collapse/Uncollapse
Just thought I'd throw this out there because I'm editing some config files in Notepad++ right now and keep stumbling across things I've always wanted to be able to do but couldn't with Notepad, etc.
XII
-
Okay Im DLing now...
-
Hey is there a plugin to color code like euo does?
-
Hey is there a plugin to color code like euo does?
See Item #2 in my original post.
X
-
Notepad++ is great, I use it for all kinds of stuff at work and home.
-
This is my userDefineLang.xml. Not very sophisticated but it might save you typing all these key words.
<NotepadPlus>
<UserLang name="EasyUO" ext="">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="yes" words2="no" words3="yes" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">000000</Keywords>
<Keywords name="Folder+">{</Keywords>
<Keywords name="Folder-">}</Keywords>
<Keywords name="Operators">- & ( ) * , . / { | } + < = ></Keywords>
<Keywords name="Comment">1 2 0;</Keywords>
<Keywords name="Words1">break
call
continue
exit
for
gosub
goto
halt
if
pause
repeat
until
return
stop
while
chooseSkill
click
cmpPix
contPos
deleteJournal
findItem
getShopInfo
getUOTitle
hideItem
ignoreItem
key
move
msg
nextCPos
onHotKey
savePix
setShopItem
setUOTitle
scanJournal
sleep
target
terminate
uoXL
wait
event
Drag
ExMsg
Macro
PathFind
Property
SkillLock
Sleep
SysMessage
exevent
Drag
Dropc
Droppd
Dropg
Popup
RenamePet
SkillLock
StatLock
menu
Activate
Button
Check
Clear
Combo
Delete
Edit
Font
Align
BGColor
Color
Name
Size
Style
Transparent
Get
GetNum
Hide
HideEUO
Create
Create
Ellipse
File
FloodFill
Line
Pix
PixLine
Pos
Rectangle
List
Set
Shape
Show
Text
Window
Color
Size
Title
Transparent
nameSpace
local
global
clear
push
pop
copy
display
execute
linesPerCycle
set
send
shutDown
sound
str
tile
deleteVar
initEvents
playCD
stopCD
</Keywords>
<Keywords name="Words2">#charPosX
#charPosY
#charPosZ
#charDir
#charStatus
#charID
#charGhost
#backpackID
#charName
#sex
#str
#hits
#maxHits
#dex
#stamina
#maxStam
#int
#mana
#maxMana
#maxStats
#luck
#weight
#maxWeight
#minDmg
#maxDmg
#gold
#followers
#maxFol
#AR
#FR
#CR
#PR
#ER
#TP
#nextCPosX
#nextCPosY
#contSize
#contPosX
#contPosY
#contKind
#contID
#contType
#contName
#lObjectID
#lObjectType
#lTargetID
#lTargetX
#lTargetY
#lTargetZ
#lTargetKind
#lTargetTile
#lLiftedID
#lLiftedType
#lLiftedKind
#lSkill
#lSpell
#findID
#findType
#findX
#findY
#findZ
#findDist
#findKind
#findStack
#findBagID
#findMod
#findRep
#findCol
#findIndex
#findCnt
#shopCurPos
#shopCnt
#shopItemType
#shopItemID
#shopItemName
#shopItemPrice
#shopItemMax
#skill
#skillCap
#skillLock
#journal
#jIndex
#jColor
#sysMsg
#sysMsgCol
#targCurs
#cursKind
#cliVer
#cliCnt
#cliNr
#cliXRes
#cliYRes
#cliLeft
#cliTop
#cliLogged
#lHandID
#rHandID
#enemyHits
#enemyID
#nsName
#nsType
#shard
#date
#time
#sysTime
#sCnt
#sCnt2
#pixCol
#cursorX
#cursorY
#random
#dispRes
#lShard
#osVer
#euoVer
#menuButton
#menuRes
#sendHeader
#strRes
#property
#result
#opts
#lpc
#tileType
#tileZ
#tileCnt
#tileName
#tileFlags
#dot
#false
#smc
#spc
#true
</Keywords>
<Keywords name="Words3">%
!</Keywords>
<Keywords name="Words4"></Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<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>
-
This is my userDefineLang.xml. Not very sophisticated but it might save you typing all these key words.
Hey very nice Sparrow! I'll pull it in and give er' a whirl! I've been planning on doing this for a while now but hadn't gotten around to it :)
X
-
Hey Sparrow, I never did get back to you on this. Tried your XML, cool mun!! I'm changing the colors a bit to match what I'm used to seeing in SUO but this did indeed save me a hellalottawork!!
+1 karma to you ;)
X
-
Ive been using Notepad++ for years for all kinda coding its so much easier in their
-
How can I use that existing .xml file? I can go into the User Define dialog box, but it doesn't give me a choice to load from an xml file or anything like that...I'm obviously missing something important!
-
Edited - 03/07/2021 per Notepad++ updates
How can I use that existing .xml file? I can go into the User Define dialog box, but it doesn't give me a choice to load from an xml file or anything like that...I'm obviously missing something important!
1) Create a file named "EasyUO.xml" OR download EnCode's file from http://www.easyuo.com/forum/viewtopic.php?p=302570. If using ENCode's move to step 4.
2) Open newly created xml file in Notepad++
3) Copy Sparrows file contents and paste into the userDefineLang.xml file. Save and close.
4) Open Notepad++, click "Language", select "User-Defined Language", select "Open User Defined Language Folder"
5) Move applicable file here
6) Close and reopen Notepad++, under the language folder you should now have an "Easyuo" option
You can add as many definition files into the folder as you want.
X
-
Urgh, I was totally doing it right, I just didn't close/reopen Notepad++!
-
I also use Notepad++ though im not a coder in any sense its still much easier for someone like me to use when looking at code and hacking at it.
I love it!
-
Maybe you all can help me with this question: Notepad++ is formatting my UO journal terribly. I'm used to the fact that the UO client will save all the text with a space character in between each letter (ie: Y O U S E E : b l a h)
The problem is that apparently this is a null char, and N++ displays a little black graphic for each null char making my saved journals impossible to read. After much googling to no avail, I turn to you, my new scriptuo friends to see If you can helpe
-
How would you rate N++ in comparison to SCiTE?
-
How can I use that existing .xml file? I can go into the User Define dialog box, but it doesn't give me a choice to load from an xml file or anything like that...I'm obviously missing something important!
1) Browse to your Notepad++ install folder %APPDATA%\Notepad++\
2) Create a file named "userDefineLang.xml"
3) Open in a text editor (might as well use Notepad++ right!!)
4) Copy Sparrows file contents and paste into the userDefineLang.xml file. Sace and close
5) Close and reopen Notepad++, under the language folder you should now have an "Easyuo" option
Modified step one, this is what I had to do in order to get EUO language to work
-
Maybe you all can help me with this question: Notepad++ is formatting my UO journal terribly. I'm used to the fact that the UO client will save all the text with a space character in between each letter (ie: Y O U S E E : b l a h)
The problem is that apparently this is a null char, and N++ displays a little black graphic for each null char making my saved journals impossible to read. After much googling to no avail, I turn to you, my new scriptuo friends to see If you can helpe
I would select the NULL character, then select Search\Replace - the NULL character should be in the "Find What" field, then make sure the "With What" field is blank and select Replace All.
X
-
Modified step one, this is what I had to do in order to get EUO language to work
Ah right, my instructions were for XP not Windows 7 so that makes sense, I'll add a line to the original post!
X
-
How would you rate N++ in comparison to SCiTE?
For Easyuo, i bymyself prefer Scriptuo for Development. Scite\N++ or Ultraedit are in my oppinion the same. I bymyself using "E" as Texteditor.
Its not Opensource\Freeware but you can combine it with running Compiler to execute java etc. IT supports alot of Languange, you have an overview Directory for your Projects. For development not bad. Would N++ wozuld have the options to manage different projects without needet to load all again , N++ or Scite would work as well:)
-
Maybe you all can help me with this question: Notepad++ is formatting my UO journal terribly. I'm used to the fact that the UO client will save all the text with a space character in between each letter (ie: Y O U S E E : b l a h)
The problem is that apparently this is a null char, and N++ displays a little black graphic for each null char making my saved journals impossible to read. After much googling to no avail, I turn to you, my new scriptuo friends to see If you can helpe
I would select the NULL character, then select Search\Replace - the NULL character should be in the "Find What" field, then make sure the "With What" field is blank and select Replace All.
X
Just updating you on my solution. What you suggested was the first thing I tried, and it didn't work due to being unable to paste a null character. But after your suggestion, I thought I'd try finding the escape char for null and doing a search/replace for that worked.
The problem now is that all of my characters dump in to the same journal file, so I have an enormous file filled with Null chars intermixed with text.
I just highlighted probably 1/20th of the file and did a replace as I described above and it took almost 8 minutes to complete and replaced 1.5 million null chars lol
So, I need to know how to make it not display nulls (also, if anyone knows how to change the filename the client saves to, I would be extremely grateful, that way I can seperate my chars journals and not have all of them dump to the same JOURNAL.TXT file)
-
the only problem is that notepad++ has no auto indent, right?
-
Sorry to hijack your thread, 12TimeOver, last time I post a request here I promise! So I just finally finished replacing all null chars, there were 19 MILLION of them and it took my quad core PC about 25 minutes to replace them all.
So if anyone knows how to turn off the display null char option, that would really be optimal.
-
Gotta add a couple more reasons after working on DNS Debugging Logs all week!
RegEx Searches!
Mark All
Delete all unbookmarked
Saved me literally HOURS of time!
XII
-
Yet another - Plugins/Combine
Yeah, that really happened...
-
It's a best tool ever to write down batch scripts and other stuff mostly was using that in my work!
-
Another thread rez - updated instructions for adding EUO custom language xml to Notepad++ in the thread.
X
-
Another thread rez - updated instructions for adding EUO custom language xml to Notepad++ in the thread.
X
I never got around to adding this to my notepad++; I need to get off my butt. Too busy drowning classic computers. They don't swim well.
-
vim > *, but yea npp is nice too
-
vim > *, but yea npp is nice too
Not another 'nix guy!!! ;)
-
vim > *, but yea npp is nice too
When I do *nix, I'm old school. "vi" is ingrained in my DNA from when I was just a pupae.
-
When you are working on enough diversity of OS, it is nice to have vim/vi for the consistency to keep at least 1 thing the same in your brain! ;)
-
When you are working on enough diversity of OS, it is nice to have vim/vi for the consistency to keep at least 1 thing the same in your brain! ;)
Computer comedy is when you're entering "vi" commands into Microsoft Notepad. Kinda makes you feel silly. ;)
-
Computer comedy is when you're entering "vi" commands into Microsoft Notepad. Kinda makes you feel silly. ;)
You only do that in Microsoft Notepad?
I have done it in Unix prompts (not really as bad since it blends with history, but it wasn't the reason I was doing it...), DOS-like Command prompts on Windows, HP3k MPE/iX and it's shell, too.
My boss used to have 2 keyboards in front of him (1 for PC, while other was a dumb terminal) - he would type on the wrong one and get frustrated because he was looking at the other screen. I thought... how silly... then later found myself doing the same thing. Multiple keyboards is definitely and old time handicap... ;)
-
having two keyboard is maybe old handicap, but prevent for flipping screen. To help me I have a small keyboard for the second machine, that let me know if I'm using the right one, but still sometime get draw to wrong KB hehe.
Never really get in using Notepad++ .