Toggle on / off ' Snap vector tools and transforms to pixel grid "?

I use the Adobe 4 for Photoshop CC configurator and wonder if it is possible to add a button to toggle the "'Snap vector tools and transformations of the pixel grid" option (located in the preferences > menu opt. Interface) without opening the menu of preference (automatic or manual). "

If there is a way of doing things, could someone explain me how please?

Thank you very much

I got the answer of @davidderaedt and @sbaril on Twitter.

You can assign this JS code on a button in the Panel (the Boolean value is on the first line):

active = true, false = off

var enabled = false

var idsetd = charIDToTypeID ("setd");

var desc5 = new ActionDescriptor();

var idnull = charIDToTypeID ("null");

ref2 var = new ActionReference();

var idPrpr = charIDToTypeID ("Rprp");

var idGnrP = charIDToTypeID ("GnrP");

ref2.putProperty (idPrpr, idGnrP);

var idcapp = charIDToTypeID ('capp');

var idOrdn = charIDToTypeID ('Ordn');

var idTrgt = charIDToTypeID ("Trgt");

ref2.putEnumerated (idcapp, idOrdn, idTrgt);

Desc5.putReference (idnull, ref2);

idT var = charIDToTypeID ("T");

var desc6 = new ActionDescriptor();

var idtransformsSnapToPixels = stringIDToTypeID ("transformsSnapToPixels");

desc6.putBoolean (idtransformsSnapToPixels, on);

var idGnrP = charIDToTypeID ("GnrP");

Desc5.putObject (idT, idGnrP, desc6);

executeAction (idsetd, desc5, DialogModes.NO);

Tags: Adobe

Similar Questions

  • Preferences option "vector Snap tools and transforms to the pixel grid" on the options bar

    Hello! Is it possible to put the preferences option ' Snap vector tools and transforms to pixel grid "option vector toolbar.

    I draw web-graphics and icons. I often use vector layers for scalable graphics. So, sometimes I need snaps to the pixel grid is turned on, sometimes I need it's off?

    Whenever I press Ctrl + K to open the dialog box Preferences checkbox enabled. It will be great to have shortened keyboard or button in the options bar to LENGTH fast.

    Is an idea?

    P.S. sorry for my English ^)

    You can record an Action and assign a keyboard shortcut.

    (Another option would be a Script that you could use in a panel of html5, but maybe it's not worth it).

  • Something has changed on my account and now my vector elements and fonts look pixelated in CS6

    Today an illustrator file with vector objects and fonts that I worked on the days looked pixelated when enlargement to more than 400%. I could not find the fix so I have started a new canvas, selected all my pixelated, pasted into a new canvas and all transferred file properly so I could continue to work with my vector elements again.  I was curious to know if anyone knows what does my vector elements change in pixel and how to fix it.  Thank you guys

    View > preview pixelated

    Turn that if necessary there is no tick before preview pixelated

  • Can I turn off "snap on" default for straight-edge tool?

    Can I turn off "snap on" default for straight-edge tool?

    On the contrary, to draw 3.0, you can disable snapping for the shape of the straight line.

    01 press the icon in the top right of the toolbar.

    02 tap the gear icon at the top left menu kangaroo that appears.

    There you should see a setting "Serpentine" that you can enable or disable and turn off. You can also set the alignment of the angles 30, 45 or 90 degrees.

    Hope that helps,

    Frank

    Engineering drawing

  • I'm trying to select several images (Forms), but I have not found a selection tool. This selection tool to transform the mouse cursor in an arrow and it is possible to select several images or figures. I use Microsoft Excel for Mac 2011 Version 14.5.3.

    I'm trying to select several images (Forms), but I have not found a selection tool. This selection tool to transform the mouse cursor in an arrow and it is possible to select several images or figures. I use Microsoft Excel for Mac 2011 Version 14.5.3. Thank you!

    tupensi wrote:

    use Microsoft Excel for Mac 2011 Version 14.5.3. Thank you!

    Then you should post on the Microsoft Mac forums where to hang out the gurus of the Office, as is the Microsoft product, with that you are having problems:

    http://answers.Microsoft.com/en-us/Mac

  • In my old photoshop, I clicked on the rectangle tool and then left click on image free transform and tilt.  my new photoshop does not allow this.  I tried edit - free transform, but it does not have to be.  What should I do?

    In my old photoshop, I clicked on the rectangle tool and then left click on image free transform and tilt.  My new photoshop does not allow this, I tried edit - free transform as well, and this is also not allowed.  What should I do?

    Thank you Trevor.  Discovered that I tried to tilt the bottom and not a new layer.  All sorted now.

  • When I use the selection tool to move vector points and fold the edges, I see that the change in metal frame.

    When I use the selection tool to move vector points and fold the edges, I see that the change in metal frame.  Once I commit by letting go of the mouse button, the object changes.  It presents a preview just with a wire frame. I would like to see the preview to change on the solid object.  Is there a setting somewhere?

    I really hope I'm explaining this to people to understand .

    Thank you

    Ed

    Hi Ed,

    You use a previous version of Flash Pro that displays this behavior.

    Live the overview of forms while editing got added in Flash Pro CC (and above). You can try the latest version of Flash Pro (CC 2014) see how it works.

  • I recently lost the ability to 'see' the bar "File, Edition, bookmarks, history, tools, and help" from the top of my screen, as well as the 'Start' button at the bottom of the screen.

    How can I get the "file, edit, history, bookmarks, tools and help bar is displayed on my browser. I also need my arrow "Previous Page and Next Page"... and my "Start" button appears at the bottom of my screen. I can't navigate without these elements.

    Firefox may be in mode "full screen". You can press the F11 key to toggle between the normal display and the display full screen. What is fix?

  • laptop comes with Startup Repair tool and said then it cannot be resolved, then the laptop is blocked.

    Original title: Hi I am not a techi but my computer laptop girls arrives with the Startup Repair tool and said then it cannot be resolved, then the laptop is blocked. Help! What should I do? Be sure to talk to a techno-phobe.

    Just automatically go for boot errors and nothing more! Help

    Hi JacinthaDahl,

    1. you receive an error code or error message when you start your computer?

    2 have you made changes to your computer recently?

     

    I suggest you follow the methods and check if it helps.
     
     
    Method 1: Perform a startup repair, check to see if it helps.
    To run the Startup Repair tool by using the Windows Vista installation disc
     
     
    If you have the Windows Vista installation disc, follow these steps to use the Startup Repair tool:
    (a) Insert the installation disc.
     
    Note: The computer must be configured to start from a CD or a DVD. For more information on the configuration of the computer to start from a CD or a DVD, see the documentation provided with your computer.
     
    (b) restart the computer. To do this, click Start, click the arrow next to the button lock and then click on restart.
     
    Note: If you cannot restart the computer by using this method, use the power button to turn off the computer. Then, turn the computer back on.
    (c) set your preferred language and then click Next.
     
    Note: In most cases, the Startup Repair process starts automatically, and you do not have to select in the System Recovery Options menu.
     
    (d) click on repair your computer.
    (e) in the System Recovery Options dialog box, click the operating system you want to repair, and then click Next.
    (f) in the System Recovery Options menu, click Startup Repair to start the repair process.
    (g) when the repair process is complete, click Finish.
     
    Referral link: http://support.microsoft.com/kb/925810
     
     
    Method 2: Perform a restore of the system for the installation disc and check if it helps.
    Please follow these steps to do system restore
     
    (a) Insert the Windows Vista or Windows 7 DVD and then reboot the computer.
    (b) when you receive the following message appears, press a key: press any key to start from the CD or DVD.
    (c) set the following preferences and then click Next:
    i. the language to install.
    II. time and currency format.
    III. keyboard or input method.
     
    (d) click on repair your computer and select the operating system you want to repair, and then click Next.
    (e) click System Restore, and then click Next.
    (f) click on restore that you want to use and then click Next.
     
    Note: Click a restore point that will return the computer to a State where the connection is successful. After you use the system restore feature, reinstall all programs or updates that can be removed. You won't lose any personal documents. However, you may have to reinstall programs. You may also need to reset some personal settings.
    (g) confirm the disks that you want to restore, and then click Next.
    (h) click Finish, and then click Yes when you are prompted.
    (i) when the system restore process is complete, click on restart to restart the computer.

    (j) after the computer restarts, click on close to confirm that the system restore process has finished successfully.
     
     
    Method 3: You can also check out the link and check if it helps.
  • Question on the paint bucket tool and the magic wand tool

    I try to learn Marie-illustration with PS

    I have a few question, since I'm new on this

    cartoon1.jpg

    first on the paint bucket tool, theres you can see, first of all I do preview, then fill with the pot of paint, but as you can see it, theres always have white line

    so I have to manually paint to fill the white line, is theres no adjustment so the filling does not leave any white line?

    the 2nd issue is on the quick magic wand tool

    cartoon2.png

    cartoon3.jpg

    I make selection to expose and make new layer that fills with a color

    but as you can see, for example, I use red.

    theres a red leak, so I mus manually erasing who

    is there a setting too for wand of the tool, if you fill the selection with the color.

    the color didn't cross the contour line

    so I'm just curious as to what you can change with a few settings, or his normal procces, so whatever it takes, you need cleaning by yourself

    Thank you

    Photoshop is more (or less) a graphical editor hatched (with a handful of vector tools). Tools like the paint bucket tool work on the paradigm of raster. You can set the tolerance in the toolbar options also high he'll go (255) to select (or fill) all the pixels of the layer.

    If you haven't already done so, try looking at Illustrator, because it is a vector editor; You can change the contours and funds of works of art on the fly and evolve it without losing quality to boot.

  • Move the tool and the hand tool works not so I can't move my images.

    I have the latest version of photoshop, and I can't move my images with the tool move or the hand tool. Make sure the level that I want to spend the move tool does nothing and it rises, as if I'm trying to select part of the image that is similar to the use of the Selection tool (as shown in the picture attatched) but then nothing happens. The only way I'm able to move my image now is if I use the transform tool and it's really frustrating and time consuming way to do. I restarted photoshop, my computer laptop, insured without other applications/software are running and still nothing works. I have also tried resetting tools built-in, but to no avail. Any suggestions on how I could fix that would be great!

    Screen Shot 2016-04-17 at 13.59.21.jpg

    Hi Serenah: This isn't the tool move, this is the path Selection tool. 2015 CC took a major interface update! The move tool is now arrow 4 sides and just to keep things interesting, tool display changes with the workspace. To reset the tools, choose window > Workspace > Essentials reset. This blog will help you understand what is happening: https://www.rockymountaintraining.com/adobe-photoshop-cant-find-tool/ .

    ~ Barb

  • How do I add our workflow tools to Acrobat CC-we use Prinergy (Tools) and also to use the tools of Pitstop?

    How do I add our workflow tools to Acrobat CC-we use Prinergy (Tools) and also to use the tools of Pitstop?

    You'd be better off contacting Eastman Kodak and Enfocus, developers of Prinergy and Pitstop respectively for a version compatible with Acrobat DC of their products.

    In the case of MacOS, Acrobat is now a 64-bit application and existing plug-ins for Acrobat 11 (a 32-bit application) by definition are no longer compatible. For Windows, for the moment, Acrobat is still a 32-bit application; but you should always check with the suppliers for their take on the compatibility.

    -Dov

  • Transform and transform free CS6

    I do not seem to have the tools of transformation and are grayed out in the Edit tab. I have an image open in CS6

    Remember that you have the layer you want to manipulate selected in the layers panel. If you send us a screenshot of your entire workspace, we can get to the bottom of this. Thank you!

  • Various measures between the ruler tool and marquee tool?

    I use Photoshop CS 5 Extended

    Why are there two different measures?

    I positioned guides on the image for purposes of measurement.  I have the snap-to Guides on. I used the ruler tool snap a guide and I extended a straight line to the other guide (the SHIFT key down). The ruler tool read 712 pixels.

    Then I used the marquee tool to align the guides and it read x 720 pixels.

    What you believe?

    raylaur wrote:

    Then I used the marquee tool to align the guides and it read x 720 pixels.

    Where?  In the Info Panel?  If Yes, have you read the W (width) and not the X (horizontal pixel position)?

    I just did what you said and got consistent measures.

    -Christmas

  • Cannot simultaneously use vector art and dynamic forms?

    I was responsible for creating an online order form, and it seems that beign able to use vector graphics is the key to the design of the form. Dynamic form elements are also absolutely necessary - all the information has to fit on one page (and fortunately, most are mutually exclusive, allowing only the fields necessary to appear).

    Unfortunately, when I do a page of the form layout in Illustrator and import it into LiveCycle, I seem to be unable to use the drawing tools (specifically, lines and text, that both I need). I tried to save the file in a dynamic form, but only the opportunity to save it as a static form is displayed.

    Y at - it something I am doing wrong, or I'm going to have to choose between the use of vector graphics and dynamic form options?

    Fix. You can import the static PDF file work and then add the form objects.

    Steve

Maybe you are looking for