How can I assign brush Angle of Rotation to a keyboard shortcut?

I have a Wacom Intous4 Tablet and what to put in place where the touch ring controls the angle rotation of a brush.

I went and combed through the forums here and a few others, better I can't hardly find subjects or the answer is more recent than a year.

When I do the traditional search through google, the closest I found is basically "do predefined for each angle that you want, save these settings predefined in the form of action and then to create an action for each brush to use through the same stage. Assign keyboard shortcuts to actions. "

I do not understand why such a complicated thing looks. I mean, you can control the size of the brush with keyboard shortcuts, wheel of the mouse even and Wacom Touch Ring regardless of what brush is selected. "Why the hell angle brush would be different?

I must be missing something. How can I control brush Angle of Rotation using the Wacom Intous4 'Touch Ring'?

You are right.  Definition of Photoshop a brush sample None seems a little strange to me.   You use a tool of type brush for model part of your image as a Brush tool to sample the color, the Brush tool of healing to sample a texture, the clone to sample set cloning stamp tool point what are not sample brushes they are elliptical brushes with features of special paint.  The other no sample brushes are adobe preset brushes that are hard or soft ellipses. All the other bushes are two new types of special brush or sampled bushes. New Special brushes have bristles of different qualities and can not be changed using Photoshop UI normal brush features diameter, hardness, Angle, roundness, spacing, Flipy and Flipx.  Photoshop UI can be used to change any special brush types features diameter, hardness, Angle, roundness, spacing, Flipy and Flipx. However, Photoshop scripts can change only Adobe created elliptical brushes. The user sets elliptical brushes are brushes sample.

So its only possible to create shortcuts for Adobe created elliptical brushes.  If you can live with that here are two script that you can install in Photoshop CC 2014 upward.  Change Photoshop keyboard shortcuts and add shortcuts for scripts.  Add setting you Wacom preferences to use.

BrushAngle-.jsx

/*
Brush Features(Diameter,Hardness,Angle,Roundness,Spacing,Flipy,Flipx)
      Diameter  range 1 to 5000
      Hardness  range 0 to 100
      Angle     range 0 to + or - 180
      Roundness range 1 to 100
      Spacing   range 1 to 1000
      Flipy     range 0 or 1 false or true
      Flipx     range 0 or 1 false or true
*/
try {
  var features = getBrushFeatures ();
  var Diameter = features[0];
  var Hardness = features[1];
  var Angle = features[2];
  var Roundness = features[3];
  var Spacing = features[4];
  var Flipy = features[5];
  var Flipx = features[6];

  Angle = Angle-5;
  if (Angle <= -180) Angle = 180;

  //setBrushFeatures (Diameter,Hardness,Angle,Roundness,Spacing,Flipy,Flipx)
  setBrushFeatures ( features[0], features[1], Angle, features[3], features[4], features[5], features[6] );
  }
catch(e) { alert(" set Brush features failed make sure you have a round tip brush active"); }

//==============================================================================================//
function getBrushFeatures (){
  //A Brush tool must be the current tool
    if (!app.toolSupportsBrushes(app.currentTool)) selectBrush();  //CC 2014
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var appDesc = executeActionGet(ref);
    var toolDesc = appDesc.getObjectValue(stringIDToTypeID('currentToolOptions'));
    var brushDesc = toolDesc.getObjectValue(stringIDToTypeID('brush'));
    var currDiameter = brushDesc.getDouble(stringIDToTypeID('diameter'));
    var currHardness = brushDesc.getDouble(stringIDToTypeID('hardness'));
    var currAngle = brushDesc.getDouble(stringIDToTypeID('angle'));
    var currRoundness = brushDesc.getDouble(stringIDToTypeID('roundness'));
    var currSpacing = brushDesc.getDouble(stringIDToTypeID('spacing'));
    var currFlipy = brushDesc.getBoolean(stringIDToTypeID('flipY'));
    var currFlipx = brushDesc.getBoolean(stringIDToTypeID('flipX'));
  var currentFeatures = new Array( currDiameter, currHardness, currAngle, currRoundness, currSpacing, currFlipy, currFlipx );
    return currentFeatures
}

function setBrushFeatures (Diameter,Hardness,Angle,Roundness,Spacing,Flipy,Flipx) {
    var desc = new ActionDescriptor();
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID( "Brsh" ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
    desc.putReference( charIDToTypeID( "null" ), ref );
    var desc1 = new ActionDescriptor();
    desc1.putDouble(stringIDToTypeID('diameter'), Diameter);
    desc1.putDouble(stringIDToTypeID('hardness'), Hardness);
    desc1.putDouble(stringIDToTypeID('angle'), Angle);
    desc1.putDouble(stringIDToTypeID('roundness'), Roundness);
    desc1.putUnitDouble( stringIDToTypeID('spacing'), charIDToTypeID('#Prc'), Spacing);
    desc1.putBoolean(stringIDToTypeID('flipY'), Flipy);
    desc1.putBoolean(stringIDToTypeID('flipX'), Flipx);
    desc.putObject( stringIDToTypeID('to'), charIDToTypeID( "Brsh" ), desc1 );
    executeAction( charIDToTypeID( "setd" ), desc, DialogModes.NO );
}

function selectBrush() {
  //select brush scriptlistener code
  var idslct = charIDToTypeID( "slct" );
  var desc12 = new ActionDescriptor();
  var idnull = charIDToTypeID( "null" );
  var ref8 = new ActionReference();
  var idPbTl = charIDToTypeID( "PbTl" );
  ref8.putClass( idPbTl );
  desc12.putReference( idnull, ref8 );
  executeAction( idslct, desc12, DialogModes.NO );
}

BrushAngle + .jsx

/*
Brush Features(Diameter,Hardness,Angle,Roundness,Spacing,Flipy,Flipx)
      Diameter  range 1 to 5000
      Hardness  range 0 to 100
      Angle     range 0 to + or - 180
      Roundness range 1 to 100
      Spacing   range 1 to 1000
      Flipy     range 0 or 1 false or true
      Flipx     range 0 or 1 false or true
*/
try {
  var features = getBrushFeatures ();
  var Diameter = features[0];
  var Hardness = features[1];
  var Angle = features[2];
  var Roundness = features[3];
  var Spacing = features[4];
  var Flipy = features[5];
  var Flipx = features[6];

  Angle = Angle+5;
  if (Angle >= 180) Angle = -180;

  //setBrushFeatures (Diameter,Hardness,Angle,Roundness,Spacing,Flipy,Flipx)
  setBrushFeatures ( features[0], features[1], Angle, features[3], features[4], features[5], features[6] );
  }
catch(e) { alert(" set Brush features failed make sure you have a round tip brush active"); }

//==============================================================================================//
function getBrushFeatures (){
  //A Brush tool must be the current tool
    if (!app.toolSupportsBrushes(app.currentTool)) selectBrush();  //CC 2014
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var appDesc = executeActionGet(ref);
    var toolDesc = appDesc.getObjectValue(stringIDToTypeID('currentToolOptions'));
    var brushDesc = toolDesc.getObjectValue(stringIDToTypeID('brush'));
    var currDiameter = brushDesc.getDouble(stringIDToTypeID('diameter'));
    var currHardness = brushDesc.getDouble(stringIDToTypeID('hardness'));
    var currAngle = brushDesc.getDouble(stringIDToTypeID('angle'));
    var currRoundness = brushDesc.getDouble(stringIDToTypeID('roundness'));
    var currSpacing = brushDesc.getDouble(stringIDToTypeID('spacing'));
    var currFlipy = brushDesc.getBoolean(stringIDToTypeID('flipY'));
    var currFlipx = brushDesc.getBoolean(stringIDToTypeID('flipX'));
  var currentFeatures = new Array( currDiameter, currHardness, currAngle, currRoundness, currSpacing, currFlipy, currFlipx );
    return currentFeatures
}

function setBrushFeatures (Diameter,Hardness,Angle,Roundness,Spacing,Flipy,Flipx) {
    var desc = new ActionDescriptor();
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID( "Brsh" ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
    desc.putReference( charIDToTypeID( "null" ), ref );
    var desc1 = new ActionDescriptor();
    desc1.putDouble(stringIDToTypeID('diameter'), Diameter);
    desc1.putDouble(stringIDToTypeID('hardness'), Hardness);
    desc1.putDouble(stringIDToTypeID('angle'), Angle);
    desc1.putDouble(stringIDToTypeID('roundness'), Roundness);
    desc1.putUnitDouble( stringIDToTypeID('spacing'), charIDToTypeID('#Prc'), Spacing);
    desc1.putBoolean(stringIDToTypeID('flipY'), Flipy);
    desc1.putBoolean(stringIDToTypeID('flipX'), Flipx);
    desc.putObject( stringIDToTypeID('to'), charIDToTypeID( "Brsh" ), desc1 );
    executeAction( charIDToTypeID( "setd" ), desc, DialogModes.NO );
}

function selectBrush() {
  //select brush scriptlistener code
  var idslct = charIDToTypeID( "slct" );
  var desc12 = new ActionDescriptor();
  var idnull = charIDToTypeID( "null" );
  var ref8 = new ActionReference();
  var idPbTl = charIDToTypeID( "PbTl" );
  ref8.putClass( idPbTl );
  desc12.putReference( idnull, ref8 );
  executeAction( idslct, desc12, DialogModes.NO );
}

Tags: Photoshop

Similar Questions

  • How can I assign a browser to a specific office in El Capitan?

    How can I assign a browser to a specific office in El Capitan?

    You can change your default browser by following these steps:

    1 from the Apple menu, choose System Preferences, then click general.

    2 click the 'Default web browser' dropdown and choose a web browser, such as Safari.

  • When I replaced a hard drive, I wanted the same drive letter, but he wants me to take another. How can I assign the drive letter, I replaced?

    When I replaced a hard drive, I wanted the same drive letter, but he wants me to take another. How can I assign the drive letter, that I replaced. The letter is now used by another device?

    Open disk management, find the drive using the drive letter you want to use, change the drive letter of this to 'Z', find the new drive, change the drive letter that you want, and then change the drive letter of the drive you have labeled it 'Z' to a drive letter of your taste.

    Jim

  • I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    Ok. Let's say the name of the radio button group is "Radio1", the value of exports in this field is '3', the name of the subtotal is "Subtotal" and tax rate is 16%. You can use this code as the custom calculation of the tax field script:

    Event.Value = (this.getField("Radio1").valueAsString == "3")? Number (this.getField("Subtotal").valueAsString) * 0.16: 0;

  • How can I assign access to 950 members?

    How can I assign access to 950 members of the dimensions to different groups of users by using a method not GUI?

    I'm working on Hyperion Planning 11.1.2.3 and tried to attribute access for 950 members in a dimension for different groups of users.

    I tried the method of GUI (size section-> assign access->...) after 190 members I abandoned it and thought there must be a better way.

    So here's my question... y at - it another way-(prompt orders, LCM, third party utility...) - I can assign access to 950 members user group?

    Use ImportSecurity.cmd

    Import access permissions

    -Doug

  • How can I assign / manage a user in company with a student on a single account user?

    I licensed student CC for my son and a license for my work.  I am able to assign to a user on the business section, but have not found a way to affect the student son version.  Currently, when I log on my user (my desktop and my laptop) and it attempts to open its student programs on his laptop at the school, we receive a notification forcing me to close the session. It was my understanding that each license would work on 2 devices, and I bought license 2-1 student and 1 companies. How can I assign license student of my son to his own user?

    Hello

    I checked the account details and you have subscribed to two plans under your Adobe ID only.

    As you mentioned that you purchased the plan student for your son, I advise you get it canceled your account and buy under your son's account.

    You can create an Adobe Id for your son and subscribe to the terms of this.

    Please see cancel your membership creative cloud for cancellation.

    Kind regards

    Sheena

  • How can I add characters often used to my home keyboard? iPhone 5 - 9.3

    How can I add characters often used to my home keyboard? iPhone 5 - 9.3

    You cannot change the built in keyboards. There may be some third-party keyboards that will allow that. You should look for the App Store.

    What kind of characters are you talking about?

  • How can I assign a printer as my default when the drop-down default button does not work

    I have two printers. I can't assign one or the other as my default printer.

    my program will not allow me to print a cd label verbage. It says no default printer assigned.

    Hi Michael,

    1. were you able to set default printers before?

    2. what operating system you have installed on the computer?

    3. What is the brand and model of printers?

    Please refer to the article to learn how to set a default printer in Windows Vista and 7:

    See the articles for the respective operating systems on how to set the default printer:

    Applies to Windows XP:

    To specify your default printer

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/print_set_default_printer.mspx?mfr=true

    Applies to Windows 7:

    Change your default printer

    http://Windows.Microsoft.com/en-us/Windows7/change-your-default-printer

    Applies to Windows 8, Windows RT

    Set or change your default printer

    http://Windows.Microsoft.com/en-us/Windows-8/set-change-your-default-printer

    Please post back with more details, so that we could provide assistance on the issue.

  • How can I repair brush for windos xp, no work and lack?

    brush for windos xp missed, how can get it back?

    Hello

    You did it all changes before this issue started?

    Do you receive an error message/code?

    Method 1: Uninstall and reinstall Paint:

    1. Click on "start."
    2. Select the control panel.
    3. Open Add/Remove programs"."
    4. Select "Add/Remove Windows components."
    5. Select "Accessories and utilities" and then press "Details".
    6. Select "Accessories" and press "Details". Select 'Paint' and press 'OK '. Wait for the program to be uninstalled.
    7. Restart your computer and repeat the steps above. You will be asked for your CD of Windows XP Reinstall painting.

    Method 2:

    1. Click Start, run, type regedit in the Open box, and then press ENTER.
    2. Locate and click the following registry key:
      HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Applets\Paint
    3. Right click on the registry key and then click on remove.

    This registry key is rebuilt the next time you start Paint.

    WARNING: If you use the correct registry editor, you may cause serious problems that may require you to reinstall your operating system. Microsoft does not guarantee that you can solve problems that result from the use of the Publisher of the registry incorrectly. Use the Publisher of the registry at your own risk.

    It will be useful.

  • How can I assign a Ctrl to the Microsoft Sidewinder X 4 macro keys?

    I have a Microsoft Sidewinder X 4 on which I want to assign an additional on S1 Ctrl while I won't have to reach all the way to the left Ctrl key during playback.

    When you use the macro editor, however, I can only assign it as a real action after pressing the Ctrl key and not as a key 'extra' so to speak. Do I want to say, when recording Ctrl as a macro on the S1 and then use it, what happens is Ctrl is pressed and released the macro is played. What I want to do is to act as an additional Ctrl and does not play a macro.

    See you soon

    Hello

    Thanks for the quick response.

    I suggest you to go through the steps mentioned in the article mentioned below and check:

    How to redirect to my keyboard access keys?

    http://www.Microsoft.com/hardware/en-us/help/support/how-to/keyboard/reassign-keys

    If this is not enough, you can contact the hardware support for help on the same.

  • How can I assign drive letters for Flash Drives (E: / c. F: /)?

    I had 2 flash drives in the computer, but both should point to the E: drive / when is used alone.  Additional flash player gets reaasigned to F:.  How can I get that back to E: /?

    Hi ProfileXX,

    If I am able to understand your problem so I think you want both of your readers the same drive letter flash, when used at the same time. But you can't do that as there are two different flash drives so they must be assigned to different drive letters. I think you have to view all the contents of the two drives in the same window. But however you asked how assign an individual to a particular drive, then you can do it the following way: -.
    1. Open the Control Panel.
    2. Click on system and security in the Panel.
    3. Under Administrative Tools, click create and format hard disk Partitions.
    4. Disk management window will open. Here, all readers as internal hard drive partitions and USB flash drives is displayed.
    5. Just right click on the name of the drive you want to change drive letter. She's.
    Concerning
    Mustafa
  • How can I prevent brush stretch modes?

    I couldn't find an answer to my specific problem in the manuals of the FAQ, so I'm asking here.

    Whenever I attach a brush style to a line, the model is not stretched along the said line.

    I can't find the setting to change this behavior. How can I get an independent equal distribution of the length of the line?

    Here is a screenshot to illustrate the problem:

    strokes.png

    Here is a page with free basic brushes that you can download. They are all art brushes, but you can convert them to model brushes quite easily. All you have to do is to separate the line in their forms and the Option-make ends drag the in the correct slots in the palette of shapes, as well as the expandable Center section. Two here I come to make fairly quickly:

    This is art where they were made:

  • How can I do Brush tool remember settings for each new feature?

    Using

    Windows 7 x 64

    Illustrator CC 2014

    Finally, I'm trying to draw directly in Illustrator and I already want to shoot myself.

    How can I make the Brush tool don't forget profile and the size of the stroke?

    I need every line to be tapered at both ends and be of a certain size of race.

    dbegbe.PNG

    But every race I do, I need to change that one way to be correct.

    What gives?

    In the flyout of the appearance Panel, deselect New Art has basic appearance. With this uncontrolled, a new object will be the same attributes as the drawn just before.

  • How can I remove brushes already applied in a specific area of my image?

    Hey,.

    I am a beginner and that I was using a brush in Photoshop CC 2014 to better connect my background image, which is no longer necessary on the left and right of the image. Unfortunately, I found an easier way to do it too late... So, I worked with the easiest way on the right (which looks much better), and in the worst way on the left. How can I remove the brushes applied only on the left? The Tools eraser, I tried everything, erase the image (but maybe I oversaw something). This would allow me to work perfectly and constantly...

    Thank you!

    If you have not changed the color space or the size of the document and it have not yet closed, you can use the history brush to selectively return this part of the image.

  • How can I assign some VLAN in Virtual switch?

    I have ESX 4.0 installed on two IBM Blade hosts that are in a HA cluster to enable vMotion.  I have a virtual switch created on each host.  Virtual machine connect to the same switch.  I added a new virtual machine to on one VLAN separated.  I have a few "How to"... questions:

    1. How can I put the new virtual machine in an assignment of VLAN different from other virtual machines?  (I think it's through groups of ports but I always read)

    2. can I put several VLANS on the whole virtual switch? (If Yes, what is the snytax? "43; 40 "or"43, 40' or "43-40")

    3. What is the best practice for this kind of Setup?

    Thank you

    Stuart

    Hello and welcome to the forums.

    1. How can I put the new virtual machine in an assignment of VLAN different from other virtual machines?  (I think it's through groups of ports but I always read)

    Port groups - you're right.  Create a port group, and then assign the virtual machine this connection.

    2. can I put several VLANS on the whole virtual switch? (If Yes, what is the snytax? "43; 40 "or"43, 40' or "43-40")

    Yes, you want to create a new port group for each VIRTUAL LAN required in the vSwitch.

    3. What is the best practice for this kind of Setup?

    There is a lot of information around this in the Guide de Configuration ESX.

    Good luck!

Maybe you are looking for

  • Windows 10 USB on MacPro Quad mid-2010

    Hi guys, we have a MacPro running El Capitan [early 2013] on which we want to install Windows 10. Windows 10 is on a USB key. Bootcamp requires a drive. How to overcome this impasse? We have an ISO downloaded ~ 4GB of Microsoft but it doesn't seem to

  • Time Capsule speed

    Download speed of Time Capsule is 14 Mbps only 5 feet away when the provider gives 34 Mbps.  Upload is the same as the vendor to 5.5 Mbps.  The time capsule is not working correctly?  My old Airpot Extreme worked better than this

  • Apple compromised account

    MY account has been compromised someone changed all of the personal information in my account and now I can't log in to my account the apple support is currently not accessible are there immediate support that I can now?

  • Stop preview opening on login

    How to stop the preview opening whenever I have to connect on my iiMac? It opens on the "downloads" window and I have to close it every time.

  • Satellite L40 - cannot read with Windows XP SDHC cards?

    Hello last year, I bought a Satellite L40 series and a Windows Vista has been installed on it. I found that everything worked properly. Since then, I found that Windows Vista is slower than XP, I upgraded to Windows XP and I installed all the drivers