This script works under the cs5? display and if adapt to screen imported from cs3

Hello

I used to run this script every time that I open a photo in photoshop cs3 on xp

now I use cs5 and windows 7

I use this script to load the photo under the eyes and fit the image of the screen

Image on screen adjustment

Attach to the event Open Document in Photoshop CS 2

// =======================================================

var id57 = charIDToTypeID ("TPCV");

var desc15 = new ActionDescriptor();

var id58 = charIDToTypeID ("null");

ref6 var = new ActionReference();

var id59 = charIDToTypeID ("min");

var id60 = charIDToTypeID ("MnIt");

var id61 = charIDToTypeID ("FtOn");

Ref6.putEnumerated (id59, id60, id61);

desc15.putReference (id58, ref6);

executeAction (id57, desc15, DialogModes.NO);

//=======================================================

id20 var = charIDToTypeID ("TPCV");

var desc7 = new ActionDescriptor();

id21 var = charIDToTypeID ("null");

Ref3 var = new ActionReference();

id22 var = charIDToTypeID ("min");

var id23 = charIDToTypeID ("MnIt");

var id24 = stringIDToTypeID ("screenModeFullScreenWithMenubar");

Ref3.putEnumerated (id22, id23, id24);

desc7.putReference (id21, ref3);

executeAction (id20, desc7, DialogModes.NO);

but I did notice the photo in photoshop is not very strong , I have the zoom with the mouse wheel it to be sharper

What's wrong?

the script is not compatible with cs5?

is there something wrong in my setup?

Thank you

see you soon

either by the way, I use another script to start photoshop

selectTool ('handTool');

selectTool ('handTool');

function selectTool (tool) {}

var desc9 = new ActionDescriptor();

ref7 var = new ActionReference();

Ref7.putClass (app.stringIDToTypeID (tool));

desc9.putReference (app.charIDToTypeID ('null'), ref7);

executeAction (app.charIDToTypeID ('slct'), desc9, DialogModes.NO);

};

Good Yes it works a bit strange in cs5.

It seems to work better if the mode full screen with the menu bar is run first, then to adapt to the screen.

Like this:

Image on screen adjustment

Attach to the event Open Document in Photoshop CS 2

//=======================================================

id20 var = charIDToTypeID ("TPCV");

var desc7 = new ActionDescriptor();

id21 var = charIDToTypeID ("null");

Ref3 var = new ActionReference();

id22 var = charIDToTypeID ("min");

var id23 = charIDToTypeID ("MnIt");

var id24 = stringIDToTypeID ("screenModeFullScreenWithMenubar");

Ref3.putEnumerated (id22, id23, id24);

desc7.putReference (id21, ref3);

executeAction (id20, desc7, DialogModes.NO);

// =======================================================

var id57 = charIDToTypeID ("TPCV");

var desc15 = new ActionDescriptor();

var id58 = charIDToTypeID ("null");

ref6 var = new ActionReference();

var id59 = charIDToTypeID ("min");

var id60 = charIDToTypeID ("MnIt");

var id61 = charIDToTypeID ("FtOn");

Ref6.putEnumerated (id59, id60, id61);

desc15.putReference (id58, ref6);

executeAction (id57, desc15, DialogModes.NO);

Tags: Photoshop

Similar Questions

  • Have trouble getting this script runs on the 1 cluster and not others

    Hello

    I'm trying to get it to run on a single Cluster, currently I run it on a single host, but I would like to run on a specific Cluster.

    Get-vmhost host1.lab.local | Get - view). EnterLockdownMode() | Get-vmhost | Select Name,@{N="LockDown; E={$_. Extensiondata.Config.adminDisabled}} | FT-auto name LockDown

    I tried this, but this error message:

    (Get-Cluster 'Local' | get-view). EnterLockdownMode() | Get-vmhost | Select Name,@{N="LockDown; E={$_. Extensiondata.Config.adminDisabled}} | FT-auto name LockDown

    Error message

    The method call failed because [VMware.Vim.ClusterComputeResource] contains a method named "EnterLockdownMode".

    On line: 1 char: 51

    + (Get-Cluster 'Local' | get-view). EnterLockdownMode < < < < () | Get-vmhost | Salt

    ECT Name,@{N="LockDown"; E={$_. Extensiondata.Config.adminDisabled}} | FT-auto N

    SOUL LockDown

    + CategoryInfo: InvalidOperation: (EnterLockdownMode:String) [].

    RuntimeException

    + FullyQualifiedErrorId: MethodNotFound

    How can I run this for a single cluster and not the other clusters.

    Thank you

    Mike

    Try something like this

    Get-Cluster local | Get-VMHost | %{    (get-view $_).EnterLockdownMode()    $_ | select Name,@{N="LockDown";E={$_.Extensiondata.Config.adminDisabled}}} | ft -auto
    
  • Why won't this script work?

    Well so yesterday I posted a question I had with join InDesign files, I thought that I had found a solution and I was wrong. Nothing is as humbling as script... anyway the gist of what I'm trying to do is trying to combine a lot of InDesign files in a single large document. The problem I encounter is that InDesign crashes. What is strange to me is that a single iteration of this script works oddly, however when I try to do with multiple InDesign files * the bed.

    Any help on the figure, it would be much appreciated.

    System: WIndows 7

    Indy Version: CS5

    (1) selecting a folder.

    (2) get the files.

    (3) open one at a time, and duplicate pages in another document. (Which I call OCD because I basically that is what I want to do with the giant document.)

    (4) close the source file without saving the changes. Pages should not change, but better safe than sorry.

    (5) close the (TOC) destination file and save it with the new pages to this subject.

    inDesign #target

    File = Folder.selectDialog ();

    files = folder.getFiles ("*.") INDD");

    for (var i = 0; i < files.length; i ++) {}

    source_doc = app.open (files [i]);

    destination_doc = app.open (file ("c: / / users//user//desktop//TOC.indd"))

    REST();

    }

    function rest() {}

    sourcePages = source_doc.pages.itemByRange (0, -1);

    sourcePages.duplicate (LocationOptions.AFTER, destination_doc.pages.item(-1));

    source_doc. Close (SaveOptions.no);

    destination_doc. Close (SaveOptions.YES, "c://users//user//desktop//TOC.indd");

    }

    Couple of thoughts: the code is kind of a mess. I don't understand why you are opening and closing of your doc of destination with each iteration, or why you have stuff separated in another function, or why you have not any vars. As a general rule, I try to work on spreads rather than pages where possible. I avoid also itemByRange() because of the strange plural object that it returns. Here's one (in my opinion, in any case) cleaned script:

    var folder = Folder.selectDialog(),
        files = folder.getFiles("*.INDD"),
        destination_doc = app.open(new File("c://users//user//desktop//TOC.indd")),
        source_doc, i, j;
    
    for (i = 0; i < files.length; i++) {
        source_doc = app.open(files[i]);
        for (j = 0; j < source_doc.spreads.length; j++) {
            source_doc.spreads[j].duplicate(LocationOptions.AT_END, destination_doc);
        }
        source_doc.close(SaveOptions.NO);
    }
    
    destination_doc.close(SaveOptions.YES);
    

    See if you have better luck with it.

    Jeff

  • I lost the small arrow returns you to the previous page online.  It should be under the red, yellow and green buttons.

    I lost the small "arrow" normally under the red, yellow and green buttons at the top left of the pages online.  Obviously, it's very frustrating because for this it is necessary to close and restart or just remember to right click and request a new window or a new tab.

    I'm working on an iMac of office.  Bought 2010.

    Thanks for any advice.

    Assuming that you are referring to Safari. Control by clicking in the title bar, choose "Customize toolbar...". ", drag the rear icons in the title bar.

  • What is the Panel to learn under the Windows Menu and why is grayed out mine?

    What is the Panel to learn under the Windows Menu and why is mine dimmed in Adobe Illustrator?

    [Ask the right help forum... Left non-technical Forum Lounge for forum specific program... MOD]

    It is still at the experimental stage, as far as I know. It contained tutorial, so it provides a file HAVE, as appropriate, and step by step instructions. I wouldn't assume that it contained for the functions of learning.

    You will need to

    -be in the English language setting

    -have your status as a beginner (which could have other consequences on the content of the emails you get from marketing people)

    But still could not have because of the experimental status of it.

    If you want instructions step by step as the Panel offer you could get there faster with this: CC Illustrator tutorials | Learn how to use Illustrator CC

    I guess (I have not the Panel either) that are identical or at least very similar tutorials and instructions.

  • Download Nikon D90 photos via a cable of Photos does not work. The picture freezes and does not matter. Any ideas?

    Download photos of Nikon D90 Photos OS El Capitan 10.11.16 cable does not work. The picture freezes and does not matter. Any ideas?

    Try with Capture of Image (in your applications folder)

    LN

  • loads of YouTube but then when I click on a video it doesent play. It worked fine the other day and it does not work in the past and suddenly. Help, please!

    loads of YouTube but then when I click on a video it doesent play. It worked fine the other day and it does not work in the past and suddenly. Help, please!

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Every time using the ', it displays "and «»

    original title: why is my ' button always keep changing?

    A simple problem I guess, but as a writer, it is very annoying.  Whenever I'm trying to use the ', it displays "and" "when I hold down the SHIFT key.  I have to delete the extra apostrophe to an apostrophe.  How can I change, so it's a single apostrophe instead of quotes at all times.  I played with the language toolbar and every time I spend in the US instead of US International, it fixes the problem... only temporarily.  How can I make it permanent?  Thanks for the help in advance.

    Hi Spundae,

    Welcome to the Microsoft Community and thanks for posting the question.

    According to the description, it looks like a character is typed when you use a single apostrophe.

    I have a link that should guide you in the right direction.

    Visit the link and indicate "the keys do not collide correctly" and "the wrong characters are typed.

    http://support.Microsoft.com/kb/258826

    Keep us updated on the status of the issue. For any help about Windows, you can still post on the Microsoft Community.

  • Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Hello

    The normal thing to do is to create a similar additional responsibility and using Exclusions to 'hide' the features you want.

    Then assign it to restricted users.

    Kind regards

    Bashar

  • Hello. I have the DVD of Lightroom 5.7.1 version. He just started is behaving badly and I've deleted and reinstalled the product. When I'm in the 'development' module, I get random stains of color in my images. This only happens in the develop module and

    Hello. I have the DVD of Lightroom 5.7.1 version. He just started is behaving badly and I've deleted and reinstalled the product. When I'm in the 'development' module, I get random stains of color in my images. This only occurs in the develop module and no where else. It also does not reach any other software or area on my pc. I also changed the cable and the same triesd another monitor. Anyone have any ideas? Thank you.

    Are patches of red and blue color?

    If so, you probably have warnings of cutting of light/shadow enabled. Press J to hide them.

    You can also activate their power by clicking on the arrows up left and right of the histogram.

    Salient facts cut medium red, medium blue clipped shadows.

  • questions: what I have to have internet access to work with the ambient light and photoshop or is the program downloaded on my computer while I did not need to be online?

    I live in a rural area that does not have consistent internet access.  questions: what I have to have internet access to work with the ambient light and photoshop or is the program downloaded on my computer while I did not need to be online?

    That is, the work programme is located in my computer or is it online?

    Thank you.

    adobe (and perpetual license) subscription programs are installed on your computer.  You need to be online for installation and activation, and then you must be online periodically thereafter.

    with a monthly subscription, one time every 30 days is necessary to maintain your activation.  for an annual subscription, all 91 days once is enough.  These checks online to check your license status.

  • works of the charging dose and signs in the application

    works of the charging dose and signs in the application

    the doc is already a pdf

    who needs to be filled several times

    It works on adobe in windows 7

    Salvation;

    The "Fill & sign" tab on the site Web of Acrobat.com https://cloud.acrobat.comare you referring?  Here's a tutorial to fill & sign Tutorial: Introduction to Adobe fill & sign

    Thank you

    Josh

  • Recently joined the creative cloud; How can I disable the CS5 Suite and uninstall?

    I have recently subscribed to the cloud creative, downloaded all the programs to my computer, and it seems that I am maintaining old files of my Suite CS5.

    How to disable the CS5 Suite and uninstall it?  (or should I?)  I want to move forward and to continue with the Service from Adobe Cloud rather than dealing with any software in the future.

    All the suggestions/help is appreciated!

    Thank you

    Jason

    Just uninstall it from the Control Panel Add / Remove programs like any other program. Deactivation is run during uninstallation or manually using--> turn off in one of the applications.

    Mylenium

  • Tab order does not work on the image Panel and group tags

    I write code to control the tab on several tags such as "img", "Control Panel", "LinkButton",... and pie charts. When I run my program flash, tab indexing does not work. It works on the pie chart and "link button" tags, not on 'img', ' ', tags "group". I also tried to "activate the tab" on these fields and the true chilern tab, but no help.

    on the other hand when I disable the tab on the pie chart, and a link button, yet the tab is activated. It seems no matter what I do about the tab order, it does not reflect when I run my program.

    I really appreciate if someone could help me, I'm working with the sdk flex 4.1

    In Flex, components that receive focus must implement IFocusManagerComponent.  Most of the containers are not.

  • Satellite 1900-303: changed the BIOS settings, and now I can't boot from the CD drive

    Can anyone help, I inadvertently changed the BIOS settings, and now I can't get the CD player to boot the pc back to the default settings, Windows xp seems to work ok as is the cd player.
    If someone has the original settings, I would be grateful for any help.

    Derek has soon

    Hello Derek

    Use the F2 key to enter the BIOS settings and change the order of boot devices. This option is under the STARTUP tab. Otherwise, you can insert the recovery CD when the unit is turned OFF. Turn it on and immediately press the C button. keep it down for a few seconds and unit is forced from the CD/DVD drive.

Maybe you are looking for