List of Maptool Shortcuts and Key/Mouse Combo's?

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
pelwer
Cave Troll
Posts: 36
Joined: Sat Jan 24, 2009 2:31 pm
Location: Portland, OR
Contact:

List of Maptool Shortcuts and Key/Mouse Combo's?

Post by pelwer »

Folks,

Is there a comprehensive list of Keyboard Shortcuts for Maptool posted anywhere?
- e.g.
CTRL-I = expose FOW based on selected Token's Vision

Same thing for the Key/Mouse Combo's you can use with each tool
FOW Tool
- Left Click = Set initial/final point to expose
- Shift Left Click = Set initial/final point to hide


Seems like most ( maybe all ) of the Key/Mouse combos are listed in the status bar when a tool is selected, but I don't know if that is the full list of things I can do.
A little nonsense, now and then, is relished by the wisest men. - Willy Wonka

Currently playing Savage Worlds in the home-brew world of Shadora.
We are looking for players! PM me if interested.

User avatar
Tyren
Giant
Posts: 119
Joined: Tue Feb 10, 2009 12:38 pm
Location: Snohomish, WA

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Tyren »

I know that if you disable the setting to show the dialog on a new token. Then if you drag a token to the map, there is no dialog. And then if you CTRL-drag one on, it'll show the dialog.

This allow for instant decision on if you want or don't want the new token dialog.

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Azhrei »

There is not a single comprehensive list that I know of.

One of my goals in moving all of the hard-coded strings into the i18n.properties file is to allow programmatic access to such a shortcut list. It won't be perfect because the properties file itself could be out of date, but it should be very close.

Of course, the properties file should merely be defaults and they should be capable of being overridden using some kind of preferences setting, but that'll come later. :)

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Phergus »

There was a list on the old wiki with most keyboard shortcuts listed in it.

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Azhrei »

Well, I can post here a grep of the properties file? It won't be everything, though:

#action.addIconSelector.accel=ctrl shift I
#action.loadCampaign.accel=O
#action.loadMap.accel=L
#action.saveMapAs.accel=A
action.adjustGrid.accel=shift A
action.clearDrawing.accel=shift D
action.copyTokens.accel=C
action.cutTokens.accel=X
action.enableFogOfWar.accel=W
action.enforceView.accel=F
action.enforceZone.accel=E
action.exportScreenShot.accel=shift S
action.fullscreen.accel=alt ENTER
action.hideMap.accel=H
action.linkPlayerView.accel=shift F
action.loadSaveDialog.accel=F5
action.newMap.accel=N
action.newUnboundedMap.accel=shift N
action.pasteTokens.accel=V
action.redoDrawing.accel=R
action.refresh.accel=F5
action.runMacro.accel=typed /
action.saveCampaign.accel=S
action.saveCampaignAs.accel=A
action.sendChat.accel=ENTER
action.showGrid.accel=G
action.showLightRadius.accel=L
action.showLightSources.accel=K
action.showMapSelector.accel=M
action.showMovementMeasures.accel=D
action.showNames.accel=T
action.showPlayerView.accel=shift P
action.undoDrawing.accel=Z
action.zoom100.accel=typed +
action.zoomIn.accel=typed =
action.zoomOut.accel=typed -
defaultTool.stateAction.AFK.accel=typed Pause

Each of those keystrokes will have Control prefixed to it on Windows and Linux, and Command/Apple prefixed to it on OS X. I've sorted them in alphabetical order. The first few that start with # are commented out, typically meaning that those commands are not enabled.

User avatar
Mrugnak
Dragon
Posts: 745
Joined: Mon Jul 21, 2008 7:38 pm

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Mrugnak »

Azhrei wrote:action.showLightRadius.accel=L
That's interesting looking, but I can't see any obvious results from CTRL-L (windows XP here). What's it do?

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Azhrei »

Beats me. ;)

But a quick search through the source turned up this:

Code: Select all

public static final Action TOGGLE_SHOW_LIGHT_RADIUS = new DefaultClientAction() {
	{
		init("action.showLightRadius");
	}

	@Override
	public boolean isSelected() {
		return AppState.isShowLightRadius();
	}

	public void execute(ActionEvent e) {
		AppState.setShowLightRadius(!AppState.isShowLightRadius());
		if (MapTool.getFrame().getCurrentZoneRenderer() != null) {
			MapTool.getFrame().getCurrentZoneRenderer().repaint();
		}
	}
};
So now you know what it does! 8)

It looks like it sets a flag called ShowLightRadius and then causes the current map to be repainted. (Hmm, it should probably not bother to repaint unless there really are lights on the current map. Not sure the optimization is worth much, though.) It's activated from the View menu.

It looks like it's used when drawing tokens on the map. If the value is false, it skips a huge chunk of code. But it wasn't obvious at first glance what that code does. Sorry. :)

User avatar
Steel Rat
Great Wyrm
Posts: 1765
Joined: Tue Jun 13, 2006 5:55 pm
Location: Oak Harbor, WA
Contact:

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Steel Rat »

Somehow I managed to turn off the mouseover that shows the token portrait and basic info. I don't see anything obvious in that keyboard list that might do that. Any ideas?

Thanks!
Steel Rat
-----------
RPGMapShare.com - RPG Maps and Mapping objects.
Discord Server

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Azhrei »

That's set in the Edit -> Preferences and is not keystroke-related. There's a field somewhere that is the size of the portrait. Setting it to zero turns off portraits entirely. (I suppose it should say that it turns off the statsheet entirely. I've put some tooltips into my latest patch, but I don't know if they'll be in b53.)

User avatar
Steel Rat
Great Wyrm
Posts: 1765
Joined: Tue Jun 13, 2006 5:55 pm
Location: Oak Harbor, WA
Contact:

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Steel Rat »

Well, I hadn't gone into Preferences for a very long time.

But, this "problem" appears to be related to whether the HP and AC properties are populated. If I empty them, that token won't show the portrait when mouseovered (is that a word??). So what I thought was an errant keystroke combo was just me having removed other tokens that had the properties set, and adding one that didn't. The portrait should probably show regardless.
Steel Rat
-----------
RPGMapShare.com - RPG Maps and Mapping objects.
Discord Server

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Azhrei »

Hmm, that would be very strange indeed. Can you post an example of your campaign file? Maybe delete out all of the maps except the one that demonstrates the problem (to make the campaign file as small as possible)?

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Phergus »

This is the way it has always been. Portraits only show if at least one of the visible token properties has a value in it.

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Azhrei »

Phergus wrote:This is the way it has always been. Portraits only show if at least one of the visible token properties has a value in it.
So you think that HP and AC are the only two properties being shown?

Hmm, that may even be the default configuration. It's been so long since I've used the default config that I don't remember!

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Phergus »

Azhrei wrote:So you think that HP and AC are the only two properties being shown?

Hmm, that may even be the default configuration. It's been so long since I've used the default config that I don't remember!
Those are the defaults along with Elevation. :roll:

Don't ask me why. Those are Dorpond's choices.

User avatar
Steel Rat
Great Wyrm
Posts: 1765
Joined: Tue Jun 13, 2006 5:55 pm
Location: Oak Harbor, WA
Contact:

Re: List of Maptool Shortcuts and Key/Mouse Combo's?

Post by Steel Rat »

I would prefer that the token portrait show regardless, at least for the GM.
Steel Rat
-----------
RPGMapShare.com - RPG Maps and Mapping objects.
Discord Server

Post Reply

Return to “MapTool”