Touch toolbar button function, possible?


Hi there, I’m trying to make a toolbar and populate it with things I need so I can use the program more efficiently without a keyboard, but it doesn’t look like I can make a button that works like the “Move tool: Auto Select Layer” action modifier. I’m hoping that you might know any trick to getting this script to work that might not be obvious for the rest of us.

So to be more specific, when I work I frequently hold Ctrl with the pen to get the move tool, which also triggers the Auto-Select layer action modifier which lets me click a pixel to hop to its layer. All I’m trying to make is an on screen button that lets me press it then press a pixel to hop to the layer. But maybe it’s not possible to do something like MoveTool(AutoSelect=true) or whatever.