• 0

    posted a message on Cartographer: Basic usage
    @Barracuda
    You can create a note for a specific target by the following (replace "Circle" with icon name of your choice when you create the macro... but there are only a few characters left within the macro limit and I had to condense parts of this to get it to fit)
    /script p="player"; x,y=GetPlayerMapPosition(p); t=UnitName("target"); icon="Circle";
    /script Cartographer_Notes:SetNote(GetRealZoneText(),x,y,icon,(UnitName(p)), 'manual',true, 'title',t)
    /script DEFAULT_CHAT_FRAME:AddMessage(format("Added %s",t))


    If you want that to also open the note for editing, add the following to the macro... alas, you can't do this because of the character limit of macros.
    /script Cartographer:OpenAlternateMap(); 
    /script Cartographer_Notes:ShowEditDialog(GetRealZoneText(), px, py)


    @hquest
    This explains how to use the import function. I'm not going to guarantee that this is still the correct method, but probably worth a try (backup your data first).
    http://www.wowace.com/forums/index.php?topic=2951.msg71442#msg71442

    Posted in: Map/Minimap AddOns
  • 0

    posted a message on Cartographer: Basic usage
    No, you're not stupid. It took me about an hour to figure this out and I used to develop an addon.

    A more direct link for the section of wiki you need to look at would have been
    [url]http://www.wowace.com/wiki/Cartographer/Notes[/url]

    This page shows a function
    Cartographer_Notes:OpenNewNoteFrame(x, y [, "creator"])
    but after messing around with it for a while, I figured out it only works when the map is open, which is not particularly desirable.

    So the macro you need is
    [code]/script px,py=GetPlayerMapPosition("player"); /script Cartographer:OpenAlternateMap(); /script Cartographer_Notes:OpenNewNoteFrame(px, py)[/code]
    There are still several drawbacks to this:
    1. As far as I can figure out, there is no way to bind a key directly to a macro.
    2. You have to click ok to save the note and then close the map. It would be nice to only have to type in the text and then hit Enter to save it and resume play. MetaMap did this nicely.[/list]

    [size=4][b]It would be great if Cartographer added another bindable key for creating a note (and without having to open it's map first).[/b][/size]

    You can add a bindable key yourself by changing the bindings.xml file in the \World of Warcraft\Interface\AddOns\Cartographer folder as below. I *thimk* if you make this file read-only after you save your changes, it will be left alone when you use the AceUpdater. After you reload WoW, you'll be able to set the binding in the usual way... in the key bindings screen scroll down to near the bottom in the section for Cartographer.

    [code]<Bindings> <Binding name="CARTOGRAPHER_OPENALTERNATEMAP" description="Open map with alternate settings" header="CARTOGRAPHER"> Cartographer:OpenAlternateMap() </Binding> <Binding name="CARTOGRAPHER_CREATENOTE" description="Create a new note" header="CARTOGRAPHER"> px,py=GetPlayerMapPosition("player") Cartographer:OpenAlternateMap(); Cartographer_Notes:OpenNewNoteFrame(px, py) </Binding> </Bindings>[/code]
    List tags are malformed.
    Posted in: Map/Minimap AddOns
  • To post a comment, please or register a new account.