June 16, 201510 yr Newbies Hello everyone, I am looking for a solution to execute a script of the kind of function: Get (ActiveHotKey) or how to make a keyboard shortcut without keyboard shortcuts. I actually looking for a way to align a text selection. Fm can do, for example on mac: - To center the text = Cmd + Shift + C - To align text left = Cmd + Shift + V - To align text to the right = Cmd + Shift + ù The goal is to do it by clicking a button to ease the life of the user. So I look for the way to transpose it by script. With thanks, regards, Gerard Desvoignes
June 16, 201510 yr Hints:1) The alignment of a text depends of the first character's alignment2) even if it is a space3) then you could use the Trim( ) function
Create an account or sign in to comment