Windows via scripting is different from frontend window

greetings,
this is really not a show stopper since my code works like a charm. 
I'm curious as to why the SAP window look different when running a transaction when I log on to the frontend GUI as opposed to running that same transaction through VBS.
version is 7100.2.8.3083
many thanks.
cg

Hi lacourc,
If you log via VBS in SAP, then SAP GUI is running in so-called classical design. This also appears to selected design, if the following to be set:
START -> All programs -> SAP Front End -> SAP GUI Configuration -> Applications -> Add -> wscript.exe -> Open -> OK-Button
Regards,
ScriptMan

Similar Messages

  • (CS3 JS) script runs differently from Scripts Panel vs. ESTK2

    First things first: INDD CS3 / Javascript
    I have a strange thing happening and am wondering if y'all have run into this as well. I have a fairly simple script (primarily just find/change queries). It works like a charm when running it from ESTK2; however, when running it from the scripts panel within INDD, it skips two of the find/change queries inexplicably. 90% of the script works the same, but there are two sections of the script that seem to just not fire.
    And yes, I have made double-sure that I am running the same script and that the one I am running from ESTK2 and from INDD are the exact same, saved versions.
    Is there a fundamental difference between running from the scripts panel and firing from ESTK2? I ran both on the same template, then undid each step-by-step, and it appears that both times the script ran the queries in the same order; however, when it hit a certain spot in the script, one version (the one fired from ESTK2) shows where the text was deleted, and the other looks like it did nothing.
    Is this something that any of you have run across as well? If necessary, I can post the code; however, I figured at this point, I would just ask the general theoretical question of why there might be a difference.
    Thanks!
    Matt Hollowell

    Thanks for the response Kasyan and Peter. I was beginning to feel like that lone person afflicted by some rare scripting illness. I am going to try and solve this later today. I am thinking maybe I need to target INDD with a statement or define an application specific variable or something to ensure that the script "knows" what it is supposed to be doing when run from the scripts panel. I am still confounded why it would run differently, and all I can think is that when it is run from ESTK2, it understands something inherently that needs to be specifically defined when run from the scripts panel.
    The other strange thing is that 90% of the script works as expected; it's just two specific find/change arguments that seem to get skipped.
    If I can figure out what is going on, I will post here, in case someone in the future runs across a similar problem.
    Matt

  • Script runs differently from ESTK and Scripts panel

    Recently I was reported about a problem with one of my scripts, that packages ID documents: a guy wrote me that when he runs it from ESTK, script works fine, but when run from Scripts panel — creates empty folders, does nothing more but generates an error (there's an error handler in the script that logs errors into a text file):
    Error: Invalid value for parameter 'versionComments' of event 'packageForPrint'. Expected String, but received TRUE.
    It's strange, because I don't use this optional parameter in the script.
    BTW, on my computers it works ok, both in ID and ESTK.
    Does anybody encountered this problem? Any ideas on why this happens?
    Kasyan

    He probably has his scriptPreferences version set to 5. To make your script foolproof, you should probably set the scriptPreferences yourself (and restore them when you are don to be nice...)
    BTW, kAppVersion = parseFloat(app.version) is a more readable form for getting the version number...
    Harbs

  • Iam not able to share internet in windows 8 from my macbook air...though my iphone ipad is connected to the hotspot well..tried everything but it seems to be different from windows 7  and other microsft operating systems setting. help!!

    Iam not able to share internet in windows 8 from my macbook air...though my iphone ipad is connected to the hotspot well..tried everything but it seems to be different from windows 7  and other microsft operating systems setting. help!!

    Ask on a Windows forum since that's what you're having a problem with.

  • I talked to your guys yesterday about installing correct version of Lightroom 5 which I legally owned, and your guy provided me a download link (different from Creative cloud account), but somehow it was for Windows version not for Mac version. I would ve

    I talked to your guys yesterday about installing correct version of Lightroom 5 which I legally owned, and your guy provided me a download link (different from Creative cloud account), but somehow it was for Windows version not for Mac version. I would very much like to download a Mac version, so please send my correct web link. By the way my s. number for Lightroom 5 up is [removed], and I also have s.number for 4 up and 3 full.

    The latest non-CC version of LR 5 is 5.7.1 and download links are available on the Adobe Updates page:
    http://www.adobe.com/downloads/updates/
    Both Mac and Win links are there.
    If you are asking for a LR 5 CC link, which wouldn't require a serial number, please be more clear about that.

  • I am trying to download Illustrator to my windows laptop.  I tried with CC but got an error when entering the license number.  So someone told me that CC is different from CS6 Illustrator, and I have a license only for CS6 Illustrator.  What is the correc

    I am trying to download Illustrator to my windows laptop.  I tried with CC but got an error when entering the license number.  So someone told me that CC is different from CS6 Illustrator, and I have a license only for CS6 Illustrator.  What is the correct link for CS6 Illustrator then?

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

  • Font differs from Linux and Windows ?

    Hi, i just want to ask, are fonts different from windows and linux in applet. I use a standard courier font.
    For example, if i make an applet with courier font texts in linux, and make the texts wrap themselves, they will run ok in linux. But if i run the compiled applet in windows, the wrapped text somewhow got truncated.
    But if i compile the applet in windows, it will look ok in linux and windows.
    I've tried replacing my courier fonts in my /usr/java/jdk/jre/lib/fonts/cour*.ttf with the cour*.ttf from c:\windows\fonts with no effects .. Applets compiled and run ok in linux doesnt work in windows. They must be compiled in windows to run ok in both.
    Why is that ?
    Does the compilation use the fonts in the jdk lib or the system fonts ?
    I'm so confused T_T
    Please Help

    How do I get Mac OS 10.4.4 and Word X for Mac to see
    all the characters in the Word for PC document
    formatted in Times New Roman?
    There's no way with Office X, which can't do Unicode Greek. You need to upgrade to Office 2004 which is Unicode-savvy and installs in your Mac the same Times New Roman with Greek, Cyrillic, Hebrew, and Arabic which is used by WinXP. An alternative might be AbiWord or NeoOffice/J.

  • Why are the albums in the device Sync Music window different from the albums in the itunes library? Can't sync albums onto my phone properly. (All software is the latest release.)

    When you select your device to sync music the album list is broken up into artists rather than the albums. The itunes library presents the artists and albums correctly (properly grouped particularly the complilation albums, but also the ones with artists and guests) but the sync aspect does not. It completely screws things up. A good product let down by obviously sloppy programming. Is there a fix? Or do I just change phones and avoid the hassle.

    Maybe the phone does things different from iPod Touch.  Tracks are listed to gether by album for me when looking at albums list.

  • In the info bar at the bottom of the iphoto window, why is the number of items different from the total

    In the info bar at the bottom of the iphoto screen, why is the number of items different from the total?

    What version of iPhoto and system are you running? What mode are you in, i.e. Events, Photos?
    If it's the Photos mode the number at the bottom will represent the number of photos displayed in that mode or the number of photos selected in that mode. The number will match the number next to the photos mode only when there are no photos in that mode that are selected. 
    If you click on the Events icon and then back on the photos icon the numbers should match.
    OT

  • Help: apply different para styles to several consecutive paragraphs via script

    Hi all,
    I need to apply different para styles to several consecutive paragraphs via script, something like this (found somewhere on the net):
    var myDoc = app.documents[0];
    var mySel = app.selection[0];
    var myPStyle1 = "A";
    var myPStyle2 = "B";
    //need to add 6 more styles here:
    //var myPStyle3 = "C";
    //var myPStyle4 = "D";
    //var myPStyle5 = "E";
    //var myPStyle6 = "F";
    //var myPStyle7 = "G";
    //var myPStyle8 = "H";
    //the last style not needed in script?
    // apply 1st style to 1st paragraph
    mySel.appliedParagraphStyle = myDoc.paragraphStyles.item (myPStyle1);
    // apply styles to paragraphs after selected
    //2nd style
    mySel.paragraphs[-1].insertionPoints[-1].appliedParagraphStyle = myDoc.paragraphStyles.item (myPStyle2);
    //next style
    mySel.paragraphs[-1].insertionPoints[-1].paragraphs[0].insertionPoints[-1].appliedParagrap hStyle = myDoc.paragraphStyles.item (myPStyle2).nextStyle;
    I've tried badly, but can't find the way to extend the sequence
    Sorry, no skills in scripting yet...
    all styles have 'Next Style' option activated, but I can't use 'Apply style, then Next style' or Object styles, because I need four different sequences of those para styles:
    A-B-C-D-E-F-G-H
    A-B-D-E-G-H
    A-C-D-F-G-H
    A-D-G-H
    and I really don't want to create special clones of the same style for each sequence (Keep It Simple, they say ).
    I believe it can be done via four slightly adjusted scripts...
    any suggestions would be greatly appreciated...

    Sorry about being late to the party, I usually pick up stuff like this right away.
    How about this one?
    1. No separate scripts needed, it uses a tiny dialog where you can choose what style set to use. If I'm correct, you can press a number key on Windows to immediately select one of the items.
    2. It works down from the paragraph your cursor is in. It has nothing to do with text frames, though -- consecutive paragraphs inside a story always ignore any text frames.
    3. Extensible: you can easily change the names of the styles in the top array, and the number of style groups in the list.
    var styleLists = [
              [ "A", "B", "C", "D", "E", "F", "G", "H" ],
              [ "A", "B", "D", "E", "G", "H" ],
              [ "A", "C", "D", "F", "G", "H" ],
              [ "A", "D", "G", "H" ]
    var radiobutts = [];
    styleDialog = app.dialogs.add ({name:"Set Multiple Styles",canCancel:true});
    with (styleDialog)
              with (dialogColumns.add())
                        with (radiobuttonGroups.add())
                                  for (i=0; i<styleLists.length; i++)
                                            // Build radio button string
                                            str = "&"+String (i+1)+". ";
                                            for (j=0; j<styleLists[i].length; j++)
                                                      if (j) str += "-";
                                                      str += styleLists[i][j];
                                            radiobutts.push (radiobuttonControls.add({staticLabel:str, checkedState:false}) );
    radiobutts[0].checkedState = true;
    if (styleDialog.show())
              for (i=0; i<radiobutts.length; i++)
                        if (radiobutts[i].checkedState == true)
                                  break;
              if (i < radiobutts.length)
                        par = app.selection[0].paragraphs[0];
                        for (j=0; j<styleLists[i].length; j++)
                                  par.appliedParagraphStyle = styleLists[i][j];
                                  par = par.parentStory.paragraphs.nextItem(par);

  • How can I change the default search provider from yahoo to google via script?

    I have 350 users who are upset about the default search provider being changed. I need to change it back via script. How do I do this? I have attempted lockPref("browser.search.isUS", false); in my mozilla.cfg file with no success.

    ''philipp [[#answer-665520|said]]''
    <blockquote>
    hi, does this work?
    defaultPref("browser.search.defaultenginename.US", "data:text/plain,browser.search.defaultenginename.US=Google");
    </blockquote>
    Unfortunately, no it does not.

  • How to determine installed version of EMET via script?

    Hi all,
    I was not able to find a easy way to determine installed verison of EMET via script. If you can guide me in the right direction, this would help a lot.
    Many thanks
    Sam

    This is probably not the right forum for scripting questions and you didn't specify which script you (want to) use... Below you can find some examples...
    If you use VBscript you could use WMI and query the class Win32_Product:
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" _
    & strComputer & "\root\cimv2")
    Set colSoftware = objWMIService.ExecQuery _
    ("Select * from Win32_Product where Name like '%EMET%'")
    For Each objSoftware in colSoftware
    Wscript.Echo "Name: " & objSoftware.Name
    Wscript.Echo "Version: " & objSoftware.Version
    Next
    This method is not advisable because the class isn't optimized for queries and therefore the query takes a long time!
    You can also use the Windows Installer object:
    Option Explicit
    ' Connect to Windows Installer object
    Dim installer
    Set installer = Wscript.CreateObject("WindowsInstaller.Installer")
    Dim product, products
    Set products = installer.Products
    For Each product In products
    if instr(1,installer.ProductInfo(product, "InstalledProductName"), "EMET", vbTextCompare) > 0 AND instr(1,installer.ProductInfo(product, "Publisher"), "Microsoft", vbTextCompare) > 0 then
    Wscript.Echo installer.ProductInfo(product, "InstalledProductName")
    Wscript.Echo installer.ProductInfo(product, "VersionString")
    End If
    Next
    Set products = Nothing
    Set installer = Nothing
    Wscript.Quit 0
    This method enumerates all the products but be aware that you should also check the installstate because the installstate of a product also can be advertised.
    You can also use powershell to enumerate the uninstall registry keys but you have take into account that the results may be different on a 64-bit Windows and the bitness of the powershell proces:
    gci "hklm:\software\microsoft\windows\currentversion\uninstall" | foreach { gp $_.PSPath } | select DisplayVersion,DisplayName | where { $_.DisplayName -match "^EMET*" }
    You can also install and use the
    Windows Installer PowerShell Module and use this command:
    get-msiproductinfo | where { $_.Name -like '*EMET*' } | select ProductName,ProductVersion  | format-list
    On the internet you can find a lot of information about your question. For instance I found these pages:
    http://blogs.technet.com/b/heyscriptingguy/archive/2013/11/15/use-powershell-to-find-installed-software.aspx
    http://blogs.technet.com/b/alexshev/archive/2008/06/30/from-msi-to-wix-part-17-windows-installer-automation-interface-part-2.aspx
    W. Spu

  • Adding a screenshot via script

    I often have to put a screenshot in photos of computers and tvs and I want to be able to script this somehow. If I set a path, or shape, or points, is there a way to take another image and place it to fit inside those point (so all corners would meet?) Right now I just place the screenshot image on a separate layer and use Distort transform to match the corners of the screen and screenshot.
    Any thoughts?

    Some time ago I stumbled onto something that I’m afraid I don’t quite comprehend in »Geometry.jsx«, but might help you.
    This Script should transform the activeLayer according to a path named »screen« if it has four points – the Script might need some more work …
    // this script attempts to fit the activeLayer into an area defined by a path named »screen«;
    // use it at your own risk;
    #target photoshop
    // from adobe’s terminology.jsx;
    const classChannel = app.charIDToTypeID('Chnl');
    const classRectangle = app.charIDToTypeID('Rctn');
    const enumNone = app.charIDToTypeID('None');
    const eventSet = app.charIDToTypeID('setd');
    const eventTransform = app.charIDToTypeID('Trnf');
    const keySelection = app.charIDToTypeID('fsel');
    const krectangleStr = app.stringIDToTypeID("rectangle");
    const kquadrilateralStr = app.stringIDToTypeID("quadrilateral");
    const keyBottom = app.charIDToTypeID('Btom');
    const keyLeft = app.charIDToTypeID('Left');
    const keyNull = app.charIDToTypeID('null');
    const keyRight = app.charIDToTypeID('Rght');
    const keyTo = app.charIDToTypeID('T   ');
    const keyTop = app.charIDToTypeID('Top ');
    const typeOrdinal = app.charIDToTypeID('Ordn');
    const unitPixels = app.charIDToTypeID('#Pxl');
    // from adobe’s geometry.jsx;
    // =================================== TPoint ===================================
    function TPoint( x, y )
         this.fX = x;
         this.fY = y;
    // TPoint Constants
    const kTPointOrigion = new TPoint( 0, 0 );
    TPoint.kOrigin = kTPointOrigion;
    const kTPointInfinite = new TPoint( Infinity, Infinity );
    TPoint.kInfinite = kTPointInfinite;
    const kTPointClassname = "TPoint";
    TPoint.prototype.className = kTPointClassname;
    // Overloaded math operators
    TPoint.prototype["=="] = function( Src )
         return (this.fX == Src.fX) && (this.fY == Src.fY);
    TPoint.prototype["+"] = function( b )
         return new TPoint( this.fX + b.fX, this.fY + b.fY );
    TPoint.prototype["-"] = function( b, reversed )
         if (typeof(b) == "undefined")          
    // unary minus
              return new TPoint( -this.fX, -this.fY )
         else
              if (reversed)
                   return new TPoint( b.fX - this.fX, by.fY - this.fY );
              else
                   return new TPoint( this.fX - b.fX, this.fY - b.fY);
    // Multiply and divide work with scalars as well as points
    TPoint.prototype["*"] = function( b )
        if (typeof(b) == 'number')
              return new TPoint( this.fX * b, this.fY * b );
         else
              return new TPoint( this.fX * b.fX, this.fY * b.fY );
    TPoint.prototype["/"] = function( b, reversed )
         if (reversed)
              if (typeof(b) == "number")
                   debugger;
    // Can't divide a number by a point
              else
                   return new TPoint( b.fX / this.fX, b.fY / this.fY );
         else
              if (typeof(b) == 'number')
                   return new TPoint( this.fX / b, this.fY / b );
              else
                   return new TPoint( this.fX / b.fX, this.fY / b.fY );
    TPoint.prototype.toString = function()
         return "[" + this.fX.toString() + "," + this.fY.toString() + "]";
    TPoint.prototype.vectorLength = function()
        return Math.sqrt( this.fX * this.fX + this.fY * this.fY );
    var myDocument = app.activeDocument;
    // assumes the activeLayer is the screenshot;
    var theScreenshot = myDocument.activeLayer;
    var screenFound = false;
    // switch units to pixels;
    var originalUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    try {myDocument.pathItems[0].select();
         myDocument.pathItems[0].deselect()}
    catch (e) {};
    myDocument.selection.deselect();
    var thePathList = new Array;
    // verify document has paths;
    if (myDocument.pathItems.length > 0) {
    // create list of possible paths;
         for (var g = 0; g < myDocument.pathItems.length; g++) {
              if (myDocument.pathItems[g].subPathItems.length == 1 && myDocument.pathItems[g].subPathItems[0].pathPoints.length == 4) {
    // if a fitting path is named screen, take it;
                   if (myDocument.pathItems[g].name == "screen") {
                        var aPath = myDocument.pathItems[g];
                        var screenFound = true
                   else {                    
                        thePathList = thePathList.concat(myDocument.pathItems[g].name)
    // alert if no useable path has been found;
    if (screenFound == false) {
         if (thePathList.length == 0) {
              alert ("no four-points-path available")
         else {
    // if only one path is ok, take it;
              if (thePathList.length == 1) {
                   var aPath = myDocument.pathItems.getByName(thePathList[0]);
                   var screenFound = true
    // else offer the selection;
              else {
                   var aPath = selectAPath ();
                   if (aPath.kind == PathKind.NORMALPATH) {
                        screenFound = true;
    // when no path has been found;
    else {
         alert ("The document contains no paths")
    //////////// transformation ////////////
    try {
    //////////// corners ////////////
    // get the horicontal and vertical coordinates in pixels;
    var hor1 = Number(aPath.subPathItems[0].pathPoints[0].anchor[0]);
    var hor2 = Number(aPath.subPathItems[0].pathPoints[1].anchor[0]);
    var hor3 = Number(aPath.subPathItems[0].pathPoints[2].anchor[0]);
    var hor4 = Number(aPath.subPathItems[0].pathPoints[3].anchor[0]);
    var ver1 = Number(aPath.subPathItems[0].pathPoints[0].anchor[1]);
    var ver2 = Number(aPath.subPathItems[0].pathPoints[1].anchor[1]);
    var ver3 = Number(aPath.subPathItems[0].pathPoints[2].anchor[1]);
    var ver4 = Number(aPath.subPathItems[0].pathPoints[3].anchor[1]);
    // order the horicontal and vertical coordinates;
    var horList = [hor1, hor2, hor3, hor4];
    var verList = [ver1, ver2, ver3, ver4];
    horList.sort(sortNumber);
    verList.sort(sortNumber);
    // check the horicontal value;
    var leftPoints = new Array;
    var rightPoints = new Array;
    for (var k=0; k<aPath.subPathItems[0].pathPoints.length; k++) {
         if (aPath.subPathItems[0].pathPoints[k].anchor[0] == horList[0] ||  aPath.subPathItems[0].pathPoints[k].anchor[0] == horList[1]) {
              leftPoints = leftPoints.concat(aPath.subPathItems[0].pathPoints[k].anchor)
         else {
              rightPoints = rightPoints.concat(aPath.subPathItems[0].pathPoints[k].anchor)
    // define the four cornerpoints;
    if (leftPoints[1] <= leftPoints[3]) {
         var aTopLeft = [leftPoints[0], leftPoints[1]]
         var aBottomLeft = [leftPoints[2], leftPoints[3]];
    else {
         var aTopLeft = [leftPoints[2], leftPoints[3]]
         var aBottomLeft = [leftPoints[0], leftPoints[1]];
    if (rightPoints[1] <= rightPoints[3]) {
         var aTopRight = [rightPoints[0], rightPoints[1]]
         var aBottomRight = [rightPoints[2], rightPoints[3]];
    else {
         var aTopRight = [rightPoints[2], rightPoints[3]]
         var aBottomRight = [rightPoints[0], rightPoints[1]];
    //////////// transform to the new corners ////////////
    transformActiveLayer( [new TPoint(aTopLeft[0], aTopLeft[1]), new TPoint(aTopRight[0], aTopRight[1]), new TPoint(aBottomRight[0], aBottomRight[1]), new TPoint(aBottomLeft[0], aBottomLeft[1])]);
    catch (e) {"error"};
    // resets the preferences units;
    app.preferences.rulerUnits = originalUnits;
    //////////// the  functions ////////////
    // the dialog for multiple possible paths;
    function selectAPath () {
         var dlg = new Window('dialog', "Select a path to use for the perspective", [500,300,820,380])          
         dlg.pathSel = dlg.add('dropdownlist', [12,13,306,35], (thePathList));
         dlg.pathSel.selection = dlg.pathSel[0];
         dlg.buildBtn = dlg.add('button', [13,42,158,67], 'OK', {name:'ok'});
         dlg.cancelBtn = dlg.add('button', [168,42,313,67], 'Cancel', {name:'cancel'});
         var myReturn = dlg.show ();
         if (myReturn == true) {
              var aPath = myDocument.pathItems.getByName(dlg.pathSel.selection);
         return aPath
    // sort numbers, found at www.w3schools.com;
    function sortNumber(a,b) {
         return a - b;
    // from adobe’s stacksupport.jsx;
    // Apply a perspective transform to the current layer, with the
    // corner TPoints given in newCorners (starts at top left, in clockwise order)
    // Potential DOM fix
    function transformActiveLayer( newCorners )
         function pxToNumber( px )
              return px.as("px");
         var saveUnits = app.preferences.rulerUnits;
         app.preferences.rulerUnits = Units.PIXELS;
         var i;
         var setArgs = new ActionDescriptor();
         var chanArg = new ActionReference();
         chanArg.putProperty( classChannel, keySelection );
    //     setArgs.putReference( keyNull, chanArg );
         var boundsDesc = new ActionDescriptor();
         var layerBounds = app.activeDocument.activeLayer.bounds;
         boundsDesc.putUnitDouble( keyTop, unitPixels, pxToNumber( layerBounds[1] ) );
         boundsDesc.putUnitDouble( keyLeft, unitPixels, pxToNumber( layerBounds[0] ) );
         boundsDesc.putUnitDouble( keyRight, unitPixels, pxToNumber( layerBounds[2] ) );
         boundsDesc.putUnitDouble( keyBottom, unitPixels, pxToNumber( layerBounds[3] ) );
    //     setArgs.putObject( keyTo, classRectangle, boundsDesc );
    //     executeAction( eventSet, setArgs );
         var result = new ActionDescriptor();
         var args = new ActionDescriptor();
         var quadRect = new ActionList();
         quadRect.putUnitDouble( unitPixels, pxToNumber( layerBounds[0] ) );
    // ActionList put is different from ActionDescriptor put
         quadRect.putUnitDouble( unitPixels, pxToNumber( layerBounds[1] ) );
         quadRect.putUnitDouble( unitPixels, pxToNumber( layerBounds[2] ) );
         quadRect.putUnitDouble( unitPixels, pxToNumber( layerBounds[3] ) );     
         var quadCorners = new ActionList();
         for (i = 0; i < 4; ++i)
              quadCorners.putUnitDouble( unitPixels, newCorners[i].fX );
              quadCorners.putUnitDouble( unitPixels, newCorners[i].fY );
         args.putList( krectangleStr, quadRect );
         args.putList( kquadrilateralStr, quadCorners );
         executeAction( eventTransform, args );     
    // Deselect
         deselArgs = new ActionDescriptor();
         deselRef = new ActionReference();
         deselRef.putProperty( classChannel, keySelection );
         deselArgs.putReference( keyNull, deselRef );
         deselArgs.putEnumerated( keyTo, typeOrdinal, enumNone );
         executeAction( eventSet, deselArgs );
         app.preferences.rulerUnits = saveUnits;

  • PS CS5 Image Display Differs From Used ICC Profile In Win 7

    Hi,
    on my Windows 7 Ultimate x64 machine, I just calibrated my Dell SP2309W monitor using an i1DisplayPro and basICColor 5, creating a ICC v2 profile (I am aware of the problems under Windows with ICC v4 profiles).
    It created the ICC profile and applied it to be used by Windows. I double checked under COLOR MANAGEMENT that the new ICC profile is being used. Although I can see that the new ICC is being used (desktop appearance changes), there are a few issues I am experiencing:
    (1.) Windows Photo Viewer
    The thumbnails in Windpows Explorer look fine (they DO use the new ICC profile), when I double click a jpeg and open the image it DOES NOT use the new ICC profile. When I click the PLAY SLIDESHOW button (starting the slideshow) in the opened image in Windows Photo Viewer, the images DO use the new ICC profile.
    (2.) Internet Browsers
    All current internet browser (Firefox, IE, Safari and Chrome) DO use the new ICC profile and display the image correctly.
    (3.) Photoshop CS 5
    When I open the same image - that Windows Photo Viewer does not correctly displays (according to the new ICC profile) - in Photoshop CS5, I get the same image display that Windows Photo Viewer gives me (when not thumbnail or not in slideshow mode) - it appears to be the sRGB display.
    My color settings in PS CS5 are: North America General Purpose 2 > sRGB IEC 61966-2.1.
    When I go to View > Proof Setup > Monitor RGB I get the image display using the new ICC profile.
    Why does the image look different in PS than my calibrated monitor should output ?
    I was under the impression (please correct me if I am wrong), that the sole purpose for calibrating my monitor was to get a uniform display across (ICC aware) applications. Even when one applies different color spaces to a document in PS, I thought the output on my calibrated screen done by the graphic card should always be according to my calibration and the settings in the ICC profile being used.
    What Am I doing wrong or what am I misunderstanding ?
    Any help or input is appreciated !
    Thanks.
    - M

    Hello,
    A note on monitor calibration: calibrating your monitor will not guarentee that every application will display color correctly, it's more of a step along the pipeline, and for the preview part of a color workflow it's the last step.  Here's how color translation follows for an ICC workflow when previewing to a monitor:
    Image Color Numbers > Document Tag or Workspace Profile > Monitor Profile
    For non-color managed applications, if the original document is or isn't tagged with a color profile it will be translated directly to the monitor profile anyway.  This is the equivalent in Photoshop of selecting "Monitor" in soft proofing.  Selecting monitor in softproofing will bypass the tagged or workspace profile to translate colors directly through the monitor profile.
    For most automatic color managed applications (like Firefox), the image will be translated through the tagged profile and then sent through the monitor profile.  If the image is untagged or the profile is unrecognized, the colors get sent directly to the monitor profile.
    For Photoshop, a tagged document will have its profile respected and then sent to the monitor.  An untagged document will be assigned the workspace profile, which acts like a temporary document profile, and then gets sent to the monitor.  This is often why users will notice Photoshop behaves differently from other applications.  It's usually a case of the workspace coming into play.  By default the workspace profile is set to sRGB.  You can change this in Edit > Color Settings.
    The purpose of the workspace is originally for printing workflows, as a way of keeping consistant color translations when dealing with both tagged and untagged documents.  For web output workflows it can be useful for viewing everything through sRGB, which is typical of the average monitor output (not so with newer wide-gamut monitors, another source of confusion...) combined with the fact that originally most web browsers were not color managed.  Hence viewing everything through sRGB is pretty close to what most monitors see and what untagged/unmanaged docs will look like.
    Monitor calibration is useful only because it brings your monitor output to a "known state".  In traditional workflows the monitor was always a middle-man, a preview device which was useful for getting an idea of what the printed output would look like before you print it.  Since print colorspaces are often smaller than display spaces, it's feasible and useful to narrow down the monitor/display space and calibrate it to a known state, so that even if it doesn't totally match the print, you'll get used to its differences/limitations and they'll be consistent so long as the calibration is maintained.
    For web output, your final output is often another user's computer monitor, which can have any form of behavior (most standard monitors are pretty close to sRGB, or use sRGB as an operating system workspace (default monitor profile).  Wide gamuts behave differently, but I'm not sure if there's a particular ICC space that they closely match, or if different wide-gamuts are even that close to each other in their display color spaces.
    Hope this helps!

  • Can anybody help me in finding the reasons why the time of email received are different from the one on my macbook which time is correct

    Hi
    Can anyone help me in finding the reason why the date on e=mail reced is different from the one on my MacBook eventhough it is correct
    Thanks

    Try this...
    Triple click anywhere in the line below to select it and press Ctrl+C to copy it.
    cmd /k netsh winsock reset
    Press the WinLogoKey+R to open the run dialog, then Ctrl+V to paste, then press enter/return.
    You should get something similar to this:
    Reboot the computer and the problem should be resolved.
    If it doesn't work then perhaps a full tear down and rebuild of iTunes will fix things. See Troubleshooting issues with iTunes for Windows updates for details.
    tt2

Maybe you are looking for

  • Open items in FBL3N

    Hello, I have a problem in displaying the open items and cleared items for a GL A/C in reports (FBL3N, FAGLL03). Message obtained : No items selected. In FS00, the following are checked : Open item management Line item display Is there any other conf

  • External hard drive & error -61

    Downloaded Macfuse, downloaded the ntfs-3g module for it, rebooted. Nothing. I still can't write to the external drive. What's wrong? I

  • Runtime error in off_cycle payroll

    Hello Experts, I have configured off-cycle payroll for both quality and production server, it is running sucessfully in quality server. But whenever i m trying to run off-cycle run in production server , there is showing runtime error with the follow

  • Error while deactivating Group account hierarchy

    Hi, I was executing an adhoc summary report(web report) where in I had to expand group account hierarchy upto node level 8. When I tried to deactivate the group account hierarchy ,there is an error messages saying "an error occured during loading.Ple

  • Purging application logs automatically under Weblogic servers

    Hi, I am trying to explore purging options in Weblogic server. Could someone help me in finding a setting(if there is one) under Weblogic properties files, which will purge Application logs automatically after 'n' number of days. for example in D:\Hy