Changing the keyboard increment when...

I would like to change the keyboard increment when attmpting to increase/decrease the size of an image using command-option-< and >
Currently it jumps in the oddest incrememnt, not even a whole number. Increasing the size from 100% makes the result 105.10100501000001% Where does THAT come from?
I'd like to be able to change it, to, say, 5% increments or 2% increments. Any guesses?

@Peter – I did not test with InDesign CS6, just CS5.5. I just doubleclicked in the Scripts Panel.
And my preferences were set to:
Scaling: Apply to Contents
Maybe this is just a CS5.5 issue. Had no time for further testing…
@Jongware –  finished one script, but did not test much.
The one that just scales frames + contents in increments of 1%, if contents is a graphic.
See for yourself:
//ScaleUP_by_increment_of_ONE_Percent_WITH_TRANSFORMATIONMATRIX.jsx
//Uwe Laubender
* @@@BUILDINFO@@@ ScaleUP_by_increment_of_ONE_Percent_WITH_TRANSFORMATIONMATRIX.jsx !Version! Mon Mar 11 2013 11:51:54 GMT+0100
//DESCRIPTION: Step of scaling UP: 1%
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
app.doScript(_ScaleGraphicsOfSelection, ScriptLanguage.JAVASCRIPT, [], UndoModes.ENTIRE_SCRIPT, "Scale All Graphics of Selection: UP BY 1 PERCENT");
function _ScaleGraphicsOfSelection(){
var percentage = 1; //You can change the amount here
var sel = app.selection;
if(sel.length === 0){alert("There is nothing selected! Try again…");exit(0);};
for(var n=0;n<sel.length;n++){
    //Check, if the individual selected object is of type "Rectangle", "Oval" or "Polygon".
    //AND check, if the individual selected object has a graphic (objects without graphics should not be scaled!).
    //AND check, if the individual selected object is locked => we will not unlock the object to scale it.
    if(sel[n].constructor.name == "Rectangle"
        || sel[n].constructor.name == "Oval"
        || sel[n].constructor.name == "Polygon"
        && app.selection[n].graphics[0].isValid
        && app.selection[n].locked == false
        var currObject = sel[n];
        var currHScaleGraphic = currObject.graphics[0].horizontalScale;
        var currVScaleGraphic =currObject.graphics[0].verticalScale;
        var HFactor = ((currHScaleGraphic +percentage) / currHScaleGraphic);
        var VFactor = ((currVScaleGraphic +percentage) / currVScaleGraphic);
        var newTM = app.transformationMatrices.add({horizontalScaleFactor: HFactor, verticalScaleFactor: VFactor});
        currObject.transform(CoordinateSpaces.INNER_COORDINATES, AnchorPoint.CENTER_ANCHOR, newTM);
        //OPTIONAL:
        currObject.redefineScaling();
}; //END function "_ScaleGraphicsOfSelection()";
Uwe

Similar Messages

  • Is there a way to change the keyboard increment of text size?

    Im using Photoshop CS5. This being the 12th version of photoshop. I still cant find a reason why they have not put the adjustments for keyboard increments in text or leading like Indesign and Illustrator has. I mean, Photoshop engineers have concluded for themselves that all designers in the world increase or decrease typography in 2 pts??

    Hi.  I guess there will always be differences in text handling between apps like InDesign and Illustrator, which are fundermentally layout apps, and Photoshop that isn't.  But I'd like to be clear about how you Photoshop set up?  For instance, I prefer to set type size to mm in Photoshop and InDesign so I can better predict text sizing in a given document.  For fine adjustment I do it by eye, so don't really care about what the units are.
    If I have missunderstood your point (sorry about the non intended pun) please explain some more.
    Incidentally, Nigel French has an excellent title on Lynda.com called 'Photoshop for Designers - Type Essentials'.  It's probably the best source I know of for handling type in Photoshop.
    http://www.lynda.com/Photoshop-CS5-tutorials/Photoshop-for-Designers-Type-Essentials/53258 -2.html

  • How to make the smallest increment when moving an object

    Hello all.
    I'm working in a file zoomed fully to 6400%. I've changed the Keyboard increment to the smallest it will allow to 0.0036 mm.
    I have two lines. Line 2 sits on line 1, a fraction above. When I select line 2 and press the down arrow key, it jumps so that line 2 is now a fraction below line one. I cannot get the lines to sit perfectly onto of one another.
    I have tried to move the line using the mouse, but it snaps to the same position as the keyboard press.
    I have turn off snap to grid, snap to point, all the guides, smart guides.
    Has anybody come across this problem? Any boady know how to fix this?
    Kind regards
    James

    thomo,
    You should be able to snap if you use Smart Guides (alone) and move Line 2 with the mouse/stylus.

  • Photoshop CS5 changes the keyboard language to Thai

    So the problem is that very often the keyboard language is changed to Thai, but only inside Photoshop. Anywhere else in Windows I can still type in Latin alphabet. It seems to come completely randomly - I use my regular shortcuts and keys when I'm working, and suddenly I notice that any shortcut to any tool is not working anymore so I check by opening the text tool and can only write in Thai alphabet. Even when saving the file it only inputs Thai.
    It's very irritating since right now I have only moved the problem a bit by restarting Photoshop, so when working with huge files it takes some time to save and load again.
    I don't recall whether I ever even changed my Windows language to Thai on this PC since I don't even have the language bar visible, but Thai is regularly being used on my laptop - don't know how Photoshop would get it from there so probably just a funny coincidence.

    Photoshop can't change the keyboard mapping:  it has no such code or capability.
    But you may have accidentally set something in the OS to automatically change the keyboard layout when in Photoshop.

  • How do I change the tracking increment?

    I used to change it in Preferences > Units & Increments .... Where is it now? I'd like to change the keyboard increments from 20 to 1 ...
    (using a macbook pro running 10.5.8/using PS extended CS4). Thanks in advance for the direction.
    Cheers.

    You are getting confused with Illustrator, there has never been an 'increment' setting like this in Photoshop
    If you are using the arrows to nudge layers then it depends on how close you are zoomed, how big the increment is. Holding down the The Shift key as you nudge, will multiply that increment by a factor of 10

  • When I type letters keep repeating and I did change the keyboard

    When I type letters they keep repeating. I have already changed the keyboard.

    Hi there Thernon,
    You may want to double check the key repeat settings. Take a look at the article below for more information.
    OS X Mavericks: Set how quickly a key repeats
    http://support.apple.com/kb/PH13736
    -Griff W.

  • My wireless key board doesn't seem to communication with my computer even though bluetooth shows it is connected.  I have changed the batteries on the keyboard and when turn on the key board the green lights comes on shortly and disappears.How to fix ?

    my wireless key board doesn't seem to communication with my computer even though bluetooth shows it is connected.  I have changed the batteries on the keyboard and when turn on the key board the green lights comes on shortly and disappears.  Can any one  help?

    Hey Annar99,
    I found a few articles that might help with the issue you're encountering. These first two are if the Bluetooth keyboard you're using is the one that came with your iMac. The first is a general "how to" for setting up your Apple Wireless keyboard, while the second one is for troubleshooting if the advice in the first article isn't working:
    Bluetooth: How to set up your Apple Wireless Keyboard
    http://support.apple.com/kb/ht1809
    Troubleshooting wireless mouse and keyboard issues
    http://support.apple.com/kb/TS3048
    If, on the other hand, you're using a third party keyboard, then I would take a look at the following article's troubleshooting section:
    Bluetooth Quick Assist
    http://support.apple.com/kb/HT1153#Tips
    Hope that helps,
    David

  • How to change the keyboard language by code

    I'm building a user interface for my application, some of the fields are in arabic and others are in English, I want to change the keyboard language according to the fields the cursor in, I tried to send KeyEvent once the cursor entered the text field. [[ KeyEvent ev = new KeyEvent(this, KeyEvent.KEY_RELEASED, 1, KeyEvent.ALT_DOWN_MASK, KeyEvent.VK_SHIFT, KeyEvent.CHAR_UNDEFINED,KeyEvent.KEY_LOCATION_RIGHT); ]] but it didn't work! could any body help me please?

    Locale is already setted.
    Keyboard has toggle button(key) to switch input-mode between english and
    native languge(korean). So I'd like to set input-mode per text-field when get focus for user convenient by programing code . But I can't find the toggle key code.
    Is there any idea to do this?

  • How do you change the keyboard so that it types the words for you

    How do you change the keyboard to show the words that you might be typing?  I had it when I first updated but somehow I changed it>

    Sometimes, you might be in a message and accidentally minimize the predictive feature.  If that happens, just swipe UP on the dashed icon right above the keyboard and it will bring it back up.

  • Can I change the keyboard command for full screen? I don't see the option in preferences.

    Can i change the keyboard command for entering Full Screen? I don't see the option in the keyboard preferences pane.

    My midi set up is fairly extensive, and what I've done is keep an up to date diagram of all my midi interfaces and device connections. I use this as the desktop background on my studio mac, and just hit F11 when I need to reference something. Simple but effective.

  • TS3711 I have changed the keyboard on my iBook G4 (OS 10.5) to a Japanese JIS Keyboard but cannot get the Keyboard Setup Assisstant to run and recognise it.

    I have changed the keyboard on my iBook G4 (OS 10.5) to a Japanese JIS Keyboard but cannot get the Keyboard Setup Assistant to run and recognise it. Some symbols don't match. What can I do to get the new keyboard recognised/installed? The keyboard setup assitant looks as if it will open when clicked on but does not.

    You may need to reset the pmu.  See this article:
    http://m10lmac.blogspot.com/2009/12/fixing-keyboard-type-problems.html

  • I purchased an IPAD2 for my special needs daughter.  She only currently understands lowercase letters only and gets confused with the uppercase letters.  Is there a way to change the keyboard to display lowercase letters?

    I purchased an IPAD2 for my special needs daughter.  She only currently understands lowercase letters only and gets confused with the uppercase letters.  Is there a way to change the keyboard to display lowercase letters?

    There is no way for the keyboard itself to display only lower case letters. It doesn't display lower case letters at all for that matter.
    When you are using the keyboard - The other issue that you will have is with the shift key. Even with auto caps turned off you can still type capital letters if you tap the shift key and if you double tap it by mistake - it will turn into all capital letters so also turn off Caps Lock in the keyboard settings.
    Other than that, there is no way to ensure that you can type in lower case.
    Maybe an external bluetooth keyboard would be a better solution but I don't use one, and I have never even seen one in person so someone else will have to verify that for you.

  • Is it possible to change the timer increment?

    The timer is changing in increments of 100 milliseconds. Is it possible to decrease this to 1 millisecond? For my application, I need to know when the waveform time is a millisecond multiple of a specified number, for example, 7. I have a boolean indicator, and I would like it ot show true every time the time is a multiple of this value.
    Is is possible to change the timer increment to accomplish this? Or is there a better method for achieving my goal?
    Solved!
    Go to Solution.

    Your timing problem is in the Simulate Signal express VI.  You are telling it take 100ms worth of data.  Therefore your loop will run at around the 100ms.  If you want your loop to iterate at the 1ms (good luck with Windows), tell the express VI to only gather 1ms worth of data.  In your case, that would be 360 samples instead of the 36k samples.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to change the default JRE when there are several version of JRE in Sys

    How to change the default JRE when there are several version of JRE in System?
    i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3
    Now the JRE is jdk1.3\bin
    When run class that was compiled with jdk1.5,throw:
    java.lang.UnsupportedClassVersionError
    How can i change the jre to 1.5?

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • Is there a way to Change the Writing Speed When Burning CD-R's?

    Is there a way to change the writing speed when burning CD-R's?
    I don't see any options in Disk Utility.
    Rob
    P.S. Since I am burning coasters lately with the Pioneer DVR-111D, I though that I might solve the problem by using a lower write speed.

    I dn't believe so with Disk Utility although you can with Roxio Toast Titanium. I would try another media brand, like Verbatim, as a first step and see if the coaster problem goes away.

Maybe you are looking for