DrumsUI has something similar to this (Functionality Wise) you can save Notes on items, which display in a Notes Window accessible by examining that item.
When you hit Save, it saves to an XML which is edited/added to the file depending if the item has notes already.
I would like to try to Copy this, and make it into a simple Notepad like feature, where the XML will be your Content, and Saving/editing the content will update the XML file.
It uses:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Button Name="ExamineLayout" OnPress="sXML=(drumsui_itemnotes.xml)
map2_custom_poi_filename sXML
map2_custom_poi_filename sXML
map2_custom_poi_filename=drumsui_itemnotes.xml
map2_custom_poi_filename=drumsui_itemnotes.xml

Parent.MinimumSize=(535,326)
Parent.MaximumSize=(535,326)
Parent.DialogFrame.Size=(535,326)
Parent.ExamineSaveSettings.visible=true
Parent.ExamineResetSettings.visible=true
Parent.ExamineText.visible=true
Parent.TitleLabel.localtext='Item Note Editor'
Parent.PoiNameTextbox.text=Parent.CurrentOption.cmdName
Parent.PoiDescLabel.text='Note:'
Parent.PoiNameTextbox.enabled=false
Parent.PoiDesc.text=(Parent.CurrentOption.cmdString)" />
<Button code1end=".PoiDescription"=Parent.PoiDesc.text" code1start=""Parent.Parent.DrumsUI_ItemNotes.POI.ItemNotes." code2end=".PoiDescription"=Parent.PoiDesc.text" code2start=""Parent.Parent.Parent.Custom.DrumsUI_ItemNotes.POI.ItemNotes." code3end=".PoiShowAlways"=true" code3start=""Parent.Parent.DrumsUI_ItemNotes.POI.ItemNotes." code4end=".PoiShowAlways"=true" code4start=""Parent.Parent.Parent.Custom.DrumsUI_ItemNotes.POI.ItemNotes." Location="105,175" Name="ExamineSaveSettings" OnPress="sCMD=('Parent.CurrentOption.cmdName')

Parent.DoCommand.onpress=(code1Start ## sCMD ## code1End)
Parent.DoCommand.visible=true
Parent.DoCommand.onpress=(code2Start ## sCMD ## code2End)
Parent.DoCommand.visible=true

Parent.DoCommand.onpress=(code3Start ## sCMD ## code3End)
Parent.DoCommand.visible=true
Parent.DoCommand.onpress=(code4Start ## sCMD ## code4End)
Parent.DoCommand.visible=true

Parent.ButtonOK.press=true" ScrollExtent="105,38" Size="105,38" Style="/CommonElements.LargePushButton.data.style" Visible="false">Save</Button>
<Button Location="221,175" Name="ExamineResetSettings" OnPress="Parent.PoiDesc.text=(Parent.CurrentOption.cmdString)" ScrollExtent="105,38" Size="105,38" Style="/CommonElements.LargePushButton.data.style" Tooltip="Undo any changes made (while this window has been open)" Visible="false">Reset</Button>
<Page BackgroundOpacity="0.400" Location="15,213" Name="ExamineText" ScrollExtent="506,95" Size="506,95" Visible="false">
<Text AbsorbsInput="false" Color="#F1F1F1" Font="/TextStyles.Normal.NormalStyle" Location="28,-4" Name="tips" PackSize="a,fixed" ScrollExtent="477,100" Size="477,100" TextAlignmentVertical="Center" TextColor="#FBF1D9">- Apostrophes and quotes are safe to use
- Recommended to stick to normal text characters
- Using more than one line is perfectly fine
- Do not attempt to edit an Item Note while already editing another</Text>
</Page>
This is the GUI Window, I have no clue what the code does, maybe someone can help to explain it.
Just trying to find the functionality that it uses to Insert the data into a file. The information it uses to get the itemname and stuff can all be stripped out, as I would like to try and have an independant Notes Window.
Important Note:
I do NOT want to have to play in window mode, or use windows Notepad.
I do not want to have to open notepad or search for files to open and edit.
I would like to play the game in Full Screen, and still be able to write down notes in game. (No Pen and Paper jokes :P)
I'd like to get this done as soon as I can. I'd really appreciate anyone who can help make this happen.