Add selection as add and intersect commands combined

Hello, I want to add selection to a selection so it acts as the two commands combined: add command and intersect command. Where parts of a selection intersect i want to act it as the add command - it simply adds selection to a selection. Where it does not intersect, i want it to act as the intersect command - it deletes the part of the selection that doesnt intersect. Can this be scripted?

By the way: The Script would only provide the expected result if the second Selection is one contiguous area.
Edit: This should also handle discontinuous segments for the second Selection.
// store selection on first run, on second run add overlapping parts of the sstored selection to the new selection;
// 2014, use at your own risk;
#target photoshop
if (app.documents.length > 0) {
activeDocument.suspendHistory("something with selections", "main()");
////// the stuff //////
function main () {
var myDocument = app.activeDocument;
var theChannelName = "removeThisChannelLaterOn";
if (hasSelection() == true) {
// if channel exists;
try {
var theChannel = myDocument.channels.getByName(theChannelName);
// store the selection;
var theOtherChannel = myDocument.channels.add();
myDocument.selection.store(theOtherChannel);
theOtherChannel.name = theChannelName+"Too";
// fill;
myDocument.activeChannels = [theChannel];
var theColor = new SolidColor();
theColor.rgb.red = 255;
theColor.rgb.green = 255;
theColor.rgb.blue = 255;
myDocument.selection.fill(theColor);
// get path information;
var path1 = workPathFromChannel (myDocument, theChannel);
var path2 = workPathFromChannel (myDocument, theOtherChannel);
// check for identical point;
var theCheck = checkForIdenticalPoints (path1, path2);
if (theCheck != false) {
var thePath = createPath2012(theCheck, "removeThisPathLaterOn");
// load;
thePath.makeSelection(0, false, SelectionType.REPLACE);
myDocument.selection.expand(1);
myDocument.selection.load(theChannel, SelectionType.INTERSECT, false)
// clean up;
thePath.remove();
// clean up;
theChannel.remove();
theOtherChannel.remove();
// if channel does not exist;
catch (e) {
// store the selection;
var theMask = myDocument.channels.add();
myDocument.selection.store(theMask);
theMask.name = theChannelName;
compositeChannels ();
showChannel (theChannelName);
myDocument.selection.deselect();
////// get work path  info from channel //////
function workPathFromChannel (myDocument, theChannel) {
// load;
myDocument.selection.load(theChannel, SelectionType.REPLACE);
// use threshold to heighten non black pixels;
myDocument.quickMaskMode = true;
myDocument.activeLayer.threshold(1);
myDocument.quickMaskMode = false;
// create work path;
// =======================================================
var idMk = charIDToTypeID( "Mk  " );
    var desc16 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var ref12 = new ActionReference();
        var idPath = charIDToTypeID( "Path" );
        ref12.putClass( idPath );
    desc16.putReference( idnull, ref12 );
    var idFrom = charIDToTypeID( "From" );
        var ref13 = new ActionReference();
        var idcsel = charIDToTypeID( "csel" );
        var idfsel = charIDToTypeID( "fsel" );
        ref13.putProperty( idcsel, idfsel );
    desc16.putReference( idFrom, ref13 );
    var idTlrn = charIDToTypeID( "Tlrn" );
    var idPxl = charIDToTypeID( "#Pxl" );
    desc16.putUnitDouble( idTlrn, idPxl, 1.000000 );
executeAction( idMk, desc16, DialogModes.NO );
// get information;
var theArray = collectPathInfoFromDesc2012 (myDocument, myDocument.pathItems[myDocument.pathItems.length - 1]);
return theArray
////// check for selection //////
function hasSelection(){
var ref10 = new ActionReference();
ref10.putEnumerated( charIDToTypeID( "Dcmn" ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
var docDesc = executeActionGet(ref10);
return docDesc.hasKey(stringIDToTypeID("selection"));
////// go to composite channels //////
function compositeChannels () {
// =======================================================
var idslct = charIDToTypeID( "slct" );
    var desc2 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var ref2 = new ActionReference();
        var idChnl = charIDToTypeID( "Chnl" );
        var idChnl = charIDToTypeID( "Chnl" ); 
switch (activeDocument.mode) {
    case DocumentMode.RGB:
        var idComposite = charIDToTypeID( "RGB " );
        break;
    case DocumentMode.CMYK:
        var idComposite = charIDToTypeID( "CMYK" );
        break;
    case DocumentMode.LAB:
        var idComposite = charIDToTypeID( "Lab " );
        break;
    case DocumentMode.GRAYSCALE:
        var idComposite = charIDToTypeID( "Blck" );
        break;
        ref2.putEnumerated( idChnl, idChnl, idComposite );
    desc2.putReference( idnull, ref2 );
executeAction( idslct, desc2, DialogModes.NO );
////// chow channel of name //////
function showChannel (theName) {
// =======================================================
var idShw = charIDToTypeID( "Shw " );
    var desc3 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var list1 = new ActionList();
            var ref3 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            ref3.putName( idChnl, theName );
        list1.putReference( ref3 );
    desc3.putList( idnull, list1 );
executeAction( idShw, desc3, DialogModes.NO );
////// collect path info from actiondescriptor, smooth added //////
function collectPathInfoFromDesc2012 (myDocument, thePath) {
var originalRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.POINTS;
// based of functions from xbytor’s stdlib;
var ref = new ActionReference();
for (var l = 0; l < myDocument.pathItems.length; l++) {
  var thisPath = myDocument.pathItems[l];
  if (thisPath == thePath && thisPath.name == "Work Path") {
  ref.putProperty(cTID("Path"), cTID("WrPt"));
  if (thisPath == thePath && thisPath.name != "Work Path" && thisPath.kind != PathKind.VECTORMASK) {
  ref.putIndex(cTID("Path"), l + 1);
  if (thisPath == thePath && thisPath.kind == PathKind.VECTORMASK) {
        var idPath = charIDToTypeID( "Path" );
        var idPath = charIDToTypeID( "Path" );
        var idvectorMask = stringIDToTypeID( "vectorMask" );
        ref.putEnumerated( idPath, idPath, idvectorMask );
var desc = app.executeActionGet(ref);
var pname = desc.getString(cTID('PthN'));
// create new array;
var theArray = new Array;
var pathComponents = desc.getObjectValue(cTID("PthC")).getList(sTID('pathComponents'));
// for subpathitems;
for (var m = 0; m < pathComponents.count; m++) {
  var listKey = pathComponents.getObjectValue(m).getList(sTID("subpathListKey"));
  var operation1 = pathComponents.getObjectValue(m).getEnumerationValue(sTID("shapeOperation"));
  switch (operation1) {
  case 1097098272:
  var operation = 1097098272 //cTID('Add ');
  break;
  case 1398961266:
  var operation = 1398961266 //cTID('Sbtr');
  break;
  case 1231975538:
  var operation = 1231975538 //cTID('Intr');
  break;
  default:
// case 1102:
  var operation = sTID('xor') //ShapeOperation.SHAPEXOR;
  break;
// for subpathitem’s count;
  for (var n = 0; n < listKey.count; n++) {
  theArray.push(new Array);
  var points = listKey.getObjectValue(n).getList(sTID('points'));
  try {var closed = listKey.getObjectValue(n).getBoolean(sTID("closedSubpath"))}
  catch (e) {var closed = false};
// for subpathitem’s segment’s number of points;
  for (var o = 0; o < points.count; o++) {
  var anchorObj = points.getObjectValue(o).getObjectValue(sTID("anchor"));
  var anchor = [anchorObj.getUnitDoubleValue(sTID('horizontal')), anchorObj.getUnitDoubleValue(sTID('vertical'))];
  var thisPoint = [anchor];
  try {
  var left = points.getObjectValue(o).getObjectValue(cTID("Fwd "));
  var leftDirection = [left.getUnitDoubleValue(sTID('horizontal')), left.getUnitDoubleValue(sTID('vertical'))];
  thisPoint.push(leftDirection)
  catch (e) {
  thisPoint.push(anchor)
  try {
  var right = points.getObjectValue(o).getObjectValue(cTID("Bwd "));
  var rightDirection = [right.getUnitDoubleValue(sTID('horizontal')), right.getUnitDoubleValue(sTID('vertical'))];
  thisPoint.push(rightDirection)
  catch (e) {
  thisPoint.push(anchor)
  try {
  var smoothOr = points.getObjectValue(o).getBoolean(cTID("Smoo"));
  thisPoint.push(smoothOr)
  catch (e) {thisPoint.push(false)};
  theArray[theArray.length - 1].push(thisPoint);
  theArray[theArray.length - 1].push(closed);
  theArray[theArray.length - 1].push(operation);
// by xbytor, thanks to him;
function cTID (s) { return cTID[s] || cTID[s] = app.charIDToTypeID(s); };
function sTID (s) { return sTID[s] || sTID[s] = app.stringIDToTypeID(s); };
// reset;
app.preferences.rulerUnits = originalRulerUnits;
return theArray;
////// create a path from collectPathInfoFromDesc2012-array //////
function createPath2012(theArray, thePathsName) {
var originalRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.POINTS;
// thanks to xbytor;
cTID = function(s) { return app.charIDToTypeID(s); };
sTID = function(s) { return app.stringIDToTypeID(s); };
    var desc1 = new ActionDescriptor();
    var ref1 = new ActionReference();
    ref1.putProperty(cTID('Path'), cTID('WrPt'));
    desc1.putReference(sTID('null'), ref1);
    var list1 = new ActionList();
for (var m = 0; m < theArray.length; m++) {
  var thisSubPath = theArray[m];
    var desc2 = new ActionDescriptor();
    desc2.putEnumerated(sTID('shapeOperation'), sTID('shapeOperation'), thisSubPath[thisSubPath.length - 1]);
    var list2 = new ActionList();
    var desc3 = new ActionDescriptor();
    desc3.putBoolean(cTID('Clsp'), thisSubPath[thisSubPath.length - 2]);
    var list3 = new ActionList();
for (var n = 0; n < thisSubPath.length - 2; n++) {
  var thisPoint = thisSubPath[n];
    var desc4 = new ActionDescriptor();
    var desc5 = new ActionDescriptor();
    desc5.putUnitDouble(cTID('Hrzn'), cTID('#Rlt'), thisPoint[0][0]);
    desc5.putUnitDouble(cTID('Vrtc'), cTID('#Rlt'), thisPoint[0][1]);
    desc4.putObject(cTID('Anch'), cTID('Pnt '), desc5);
    var desc6 = new ActionDescriptor();
    desc6.putUnitDouble(cTID('Hrzn'), cTID('#Rlt'), thisPoint[1][0]);
    desc6.putUnitDouble(cTID('Vrtc'), cTID('#Rlt'), thisPoint[1][1]);
    desc4.putObject(cTID('Fwd '), cTID('Pnt '), desc6);
    var desc7 = new ActionDescriptor();
    desc7.putUnitDouble(cTID('Hrzn'), cTID('#Rlt'), thisPoint[2][0]);
    desc7.putUnitDouble(cTID('Vrtc'), cTID('#Rlt'), thisPoint[2][1]);
    desc4.putObject(cTID('Bwd '), cTID('Pnt '), desc7);
    desc4.putBoolean(cTID('Smoo'), thisPoint[3]);
    list3.putObject(cTID('Pthp'), desc4);
    desc3.putList(cTID('Pts '), list3);
    list2.putObject(cTID('Sbpl'), desc3);
    desc2.putList(cTID('SbpL'), list2);
    list1.putObject(cTID('PaCm'), desc2);
    desc1.putList(cTID('T   '), list1);
    executeAction(cTID('setd'), desc1, DialogModes.NO);
if (hasVectorMask() == false) {
if (thePathsName != undefined) {app.activeDocument.pathItems[app.activeDocument.pathItems.length - 1].name = thePathsName};
var myPathItem = app.activeDocument.pathItems[app.activeDocument.pathItems.length - 1];
else {
if (thePathsName != undefined) {app.activeDocument.pathItems[app.activeDocument.pathItems.length - 2].name = thePathsName};
var myPathItem = app.activeDocument.pathItems[app.activeDocument.pathItems.length - 2];
app.preferences.rulerUnits = originalRulerUnits;
return myPathItem
// from »Flatten All Masks.jsx« by jeffrey tranberry;
// Function: hasVectorMask
// Usage: see if there is a vector layer mask
// Input: <none> Must have an open document
// Return: true if there is a vector mask
function hasVectorMask() {
  var hasVectorMask = false;
  try {
  var ref = new ActionReference();
  var keyVectorMaskEnabled = app.stringIDToTypeID( 'vectorMask' );
  var keyKind = app.charIDToTypeID( 'Knd ' );
  ref.putEnumerated( app.charIDToTypeID( 'Path' ), app.charIDToTypeID( 'Ordn' ), keyVectorMaskEnabled );
  var desc = executeActionGet( ref );
  if ( desc.hasKey( keyKind ) ) {
  var kindValue = desc.getEnumerationValue( keyKind );
  if (kindValue == keyVectorMaskEnabled) {
  hasVectorMask = true;
  }catch(e) {
  hasVectorMask = false;
  return hasVectorMask;
////// check for identical pathpoints //////
function checkForIdenticalPoints (array1, array2) {
var theReturn = new Array;
// the subpathitems;
for (var m = 0; m < array1.length; m++) {
var firstCheck = false;
var thisSub = array1[m];
var someReturn = compareSubPathWithPath (thisSub, array2);
if (someReturn != undefined) {theReturn.push(someReturn)};
////// return subpathitem if ine point is idetical //////
function compareSubPathWithPath (thisSub, array2) {
// the other subpathitems;
for (var n = 0; n < array2.length; n++) {
var thisOtherSub = array2[n];
// the points;
for (var o = 0; o < thisSub.length - 2; o++) {
var thisPoint = thisSub[o][0];
// other point:
for (var p = 0; p < thisOtherSub.length - 2; p++) {
var otherPoint = thisOtherSub[p][0];
// terminate if one identical pont is found;
if (thisPoint[0] == otherPoint[0] && thisPoint[1] == otherPoint[1]) {return thisSub}
if (theReturn.length > 0) {return theReturn}
else {return false}

Similar Messages

  • Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination

    Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination
    Problem in committing transactions in Multiple Forms (Oracle Forms) with POST built-in command:
    Consider that the following statements are written in WHEN-WINDOW-CLOSED trigger of a called form.
    Statements in called form (Form name: FORM_CHILD):
    go_block('display_block') ;
    do_key('execute_query') ;
    -- Data from table_b will be populated in this block, based on the value of COLUMN_1 obtained
    -- from TABLE_A.
    -- Example: If the value of COLUMN_1 is 10, then all the matching records from TABLE_B, which
    -- are inserted with value 10 in TABLE_B.COLUMN_1 will be fetched and shown here.
    if user_choice = 'YES' then
    commit ;
    else
    rollback ;
    end if ;
    Statements in calling forms:
    There are two calling forms having following statements and it is going to call the above said called form.
    CALLING FORM 1
    Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...; Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    CALLING FORM 2:
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...;
    insert into table_b ...;
    Our understanding:
    Assume that both the forms are running from two different machines/instances, issuing commit at the same time. In this case, forms will start executing the statements written in ON-INSERT trigger, the moment POST command is executed. Though the commit is issued at the same time, according to oracle, only one of the request will be taken for processing first. Assume that calling form 1 is getting processed first.
    So, it fetches the value available in COLUMN_1 of TABLE_A and locks the row from further select, update, etc. as SELECT...FOR UPDATE command is used (note that NOWAIT is not given, hence the lock will be released only when COMMIT or ROLLBACK happens) and proceed executing further INSERT statements. Because of the lock provided by the SELECT...FOR UPDATE command, the statements in calling form 2 will wait for the resource.
    After executing the INSERT statements, the FORM_CHILD is called. The rows inserted in to TABLE_A will be queried and shown. The database changes will be committed when user closes the window (as COMMIT is issued in its WHEN-WINDOW-CLOSED trigger). Then the SELECT...FOR UPDATE lock will be released and calling form 2's statements will be executed.
    Actual happenings or Mis-behavior:
    Calling form 2 starts executing INSERT statements instead of waiting for SELECT...FOR UPDATE lock. Also, the value selected from TABLE_A.COLUMN_1 is same in both the calling forms, which is wrong.
    The rows inserted into TABLE_B are having similar COLUMN_1 values in calling form 2 and they are fetched and shown in the called form FORM_CHILD.
    Note that in calling form 2 also POST only is issued, but the changes posted there are accessible in calling form 1 also, which is wrong.
    Kindly suggest us as to how to fix above problem. It will be much use, if you can send us the information regarding the behavior of Oracle Forms POST built-in also.
    Our mail ID: [email protected]
    Thanks a lot in advance.

    You have several problems:
    1. On-Insert will ONLY run if you have created a new record in a base-table block. If you haven't done that, then the POST command will not cause it to run.
    2. Select for update without a "no wait" will lock records for the first form, but when the second form tries this, it will hit the ORA-00054 exception, and will NOT wait. The only way you could make it wait is to issue an UPDATE sql command, which is not such a good way to go.
    All POST does is issues SQL insert or update commands for any changes the user has made to records in a form's base-table blocks, without following with a Commit command.
    Also understand that Commit is the same as Commit_Form, and Rollback is the same as Clear_Form. You should read up on these in the Forms help topics.

  • HT6030 Up to now, I have been able to check what is still sitting in my Sympatico mailbox on the server by selecting any email and hitting command-i to get info. All I get In Mavericks is a burp. Is there a way to do this that I don't know about?

    Up to now, I have been able to check what is still sitting in my Sympatico mailbox on the server by selecting any email and hitting command-i to get info. All I get In Mavericks is a burp. Is there a way to do this that I don't know about?

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • I'm trying to copy music from my PC to itunes. I open itunes, go to 'file', go to 'add folder to library', select the folder and nothing happens. What am I doing wrong?

    I'm trying to copy music from my PC to itunes. I open itunes, go to 'file', go to 'add folder to library', select the folder and nothing happens. What am I doing wrong?

    Hello there, gleab.
    The following Knowledge Base article reviews the ways to import content into iTunes:
    Adding music and other content to iTunes
    http://support.apple.com/kb/ht1473
    Also keep in mind which formats can be added:
    You can add audio files that are in AAC, MP3, WAV, AIFF, Apple Lossless, or Audible.com (.aa) format. If you have unprotected WMA content, iTunes for Windows can convert these files to one of these formats.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Is there a way to select MULTIPLE tabs and then copy ALL of the the URLs and titles/or URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; However, I prefer to use a Firefox feature rather than download an add on. Thanks.

    Currently, I can copy ONE tab's url and nothing else (not its name). Or I can bookmark all tabs that are open. However, I'd like to have the ability to select multiple tabs and then copy ALL of the the URLs AND their titles/or copy ALL of the URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; when I download the add on, I get a message saying that using the add on will disable Firefox's tab features. I prefer to use Firefox features rather than download and use an add on. Is there a way to do this without an add on?

    Hi LRagsdale517,
    You should definitely be able to upload multiple files by Shift-clicking or Ctrl-clicking the files you want to upload. Just to make sure you don't have an old version of the service cached, please clear the browser cache and then log in to https://cloud.acrobat.com/files. After clicking the File Upload icon in the upper-right corner, you should be able so select multiple files for upload.
    Please let us know how it goes.
    Best,
    Sara

  • After I have combined some files together to make them into one pdf, can I add and take out files?

    After I have combined some files together to make them into one pdf, can I add and take out files?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • HI. I have itunes 10.6.1.7. When I goto movies i am not able to add and when I click on add file to library and select the file and add its not getting added. When i goto Library it says  that movies I add are in library.Which I cant add

    HI. I have itunes 10.6.1.7. When I goto movies i am not able to add and when I click on add file to library and select the file and add its not getting added. When i goto Library it says "feature films and home movies you add to itunes appear in movies in your iTunes library. To play a movie, just double click it". And below are two options for Downloading movies from store and rent movies. Please help.

    I get the exactly the same problem with win 7, i rang apple support who suggested i try another machine/or create another account on my machine???? why should i, stupid ipad 3rd gen is now sitting here un syncable, apple support ....tut tut very poor support, its a shame im out of the 7 day period otherwise this ipad would be going straight back, older versions of itunes worked fine, some one must know a fix for this??

  • My iPod touch 4G 8GB, lets me download apps on iTunes, but when I go to my iPod, and then apps, the entire selection is grey and won't let me click my new apps to add to my iPod. What can I do?

    My iPod touch 4G 8GB, lets me download apps on iTunes, but when I go to my iPod, and then apps, the entire selection is grey and won't let me click my new apps to add to my iPod. Usually I just restore my ipod and re-download everything, but thats time consuming, and after I unplug my ipod from the cord connected to my computer, I can replug it right after and this will pop up again. I'm getting tired of doing this.
    Like I said, it will let me download the apps off iTune, just when I come to my apps page on my ipod, it won't let me add it to my iPod. I can't download it straight from my ipod either, but iTunes doesn't work on my ipod, and when I update my apps, when they're in waiting they never move. What can I do?

    I would say that you are not connected to the iTunes library you last synced with. You can only sync with one iTunes library. If you connect the iPod to another computer/another iTunes library then you get what you see.
    You can only manually manage music and videos among different libraries, not apps.

  • Texting on iPhone 5.  When texting to multiple people why does the contact list return to the "A"s after you select a contact and try to add the next one in order?

    Texting on iPhone 5.  When texting to multiple people why does the contact list return to the "A"s after you select a contact and try to add the next one in order?  This really slows you down when trying to contact 50 people with information.  iPhone 4 worked just fine.  Any suggestions on how to fix this?

    None of my pictures that I uploaded into iPhoto are in my Finder under Pictures.  Should I copy and paste my folders from iPhoto into here, in case something happens to my iPhoto program (in addition to backing them up onto an external hard drive like I already do)?
    No, that's just wasting space.  A back up needs to be on a different disk.
    Your photos are within the iPhoto Library.

  • What are the commands to add and enable signature of attacks in ASA?

    What are the commands to add and enable signature of attacks in ASA when testing in GNS3?
    or this function can only be tested by add virtual client such as window xp and install a software ASA ?
    if have commands, how to list the signatures available in command?
    how to test these functions by using penetration tools?

    Sir, Downloaded from HP Official Site 
    Type: BIOS Version: F.50 Rev. A(4 Aug 2014) Operating System(s): Microsoft Windows 7 Professional (64-bit) | File name: sp68040.exe (7.7 MB)
    My Laptop Model No. 4530s is not compatable for the following two options, then resort the last option.  Made bootable USB key with the help of Rufus application MS DOS option. When I reboot, some terminal type opened  to run commands.  Please help me the easiest and safest way for this model of Laptop
    This package includes several methods for updating the BIOS version as follows:
    - Use the HPQFlash Utility to update the BIOS directly in a Microsoft Windows Operating System environment.
    - Use System Software Manager (SSM) to update the system BIOS on PCs in a network.
    - Create a bootable USB Key to update the system BIOS.
    Thanks and Regards
    Enesbe

  • Essbase Add-In : "Invalid Command 11607 Received in Request Manager"

    Hi All,
    I am getting the following Error when I am using Member Selection Property in Essbase Add - In
    "Invalid Command 11607 Received in Request Manager"
    Environment :
    Essbase 6.5
    MS Excel 2000
    Please Help...Thanks in Advance
    Regards,
    Sonu

    We have Hyperion Planning version 3.0.0 installed in the system.
    Also while connecting from Excel with the server we get a warning message stating " The version of Essbase(65000) is older than the version of the Essbase API(65200) you are using".
    If we proceed further, we are able to connect to the application and retrieve the dimensions and the members. But the "Member Selection" and the "Find" property doesn't work throwing the error message "Invalid Command 11607 Received in Request Manager".
    Please help...
    Raja

  • Extend/Configure VS2013 to add additional Refactoring commands?

    Is it possible to Extend/Configure VS2013 to add additional Refactoring commands?
    I'm interested in a command similar to Resharper's Introduce Field for example.
    Introduce Field (Select an expression or a local variable and apply this refactoring. It will create a new field or constant and initialize it with the expression or local variable initializer. The field can be assigned in its initializer, type constructors
    or current members.)
    Thank you,
    Daniel
    bit.ly/danielsilion

    Thanks for Deric's help.
    Hi siliond,
    Thank you for posting in MSDN forum.
    Is it possible to Extend/Configure VS2013 to add additional Refactoring commands?
    I agree with Deric's suggestion, I think that you can use the extension of Resharper to add the refactorings in VS2013. Since the
    Visual Studio General Forum is not support the VS Extension tools issue, if you have any issue about the
    Resharper, please you submit a discussion to Q AND A on
    Resharper, may be you will get better support about the issue.
    Thanks for your undserstanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "paste"  "add to movie"  and "add- and scale"  detail somewhere?

    QT Pro has spartan instructions for the above edit commands, specifically regarding audio tracks in movies. I haven't found good explanations. Has anyone?
    Thanks

    QT Pro has spartan instructions for the above edit commands, specifically regarding audio tracks in movies. I haven't found good explanations. Has anyone?
    Not really. However, from practical experience, the "add to movie" simply adds the content to your file at the current playhead point and retains its original duration. On the other hand, "add and scale" adds the new content to the movie and scales the duration to match your "paste" selection. For instance, if you paste a 1 minute video track to a 30 second audio file, the video will be scaled to play at twice its original frame rate in order to match the audio tracks original playback duration. This is a quick way to create fast-motion or slow-motion effects using QT 7 Pro.


  • How do I add a close command to multiscreen layouts?

    I need to add a close command multiscreen HTML5 screen layouts that will work on multiple platforms and browsers. I have 3 screen layouts defined: Desktop, Tablet, Mobile. These are called by a responsive design web application and display based on the screen width of the platform calling the help. My problem is that there is a requirement to be able to close the help. To do this I have added the javascript code:
    </a>
           <a href="javascript:window.close()" class="wPrintButton"><img
           src="Close.png" alt="" class="wPrintButton" border="0" />
    in each of the layouts to allow the user to close the help browser tab/window.
    My Desktop layout is based on the stock desktop. I added this command Topic.slp and SearchResults.slp d just to the right of the Print icon.
    My Mobile lay out is based on the stock iPhone. I added this as an additional row in the homepage links to the Home.slp.
    My Tablet layout is based on the stock iPad. Again I added this as an additional item to the homepage links to the Home.slp.
    My problem is - it appears that the window.close() javascript will not work with iOS. Has anyone incountered a similar problem and how did you deal with it?

    I had another idea that I am pursuing. I am looking into extending the current renderer CommandNavigationRenderer and will render another goLink just after the current goLink that will execute a close action. I was able to re-direct the rendering by added an override render-kit block in my current faces-config.xml file.
    <render-kit>
    <renderer>
    <component-family>org.apache.myfaces.trinidad.Command</component-family>
    <renderer-type>oracle.adf.rich.NavigationItem</renderer-type>
    <renderer-class>com.riscs.ui.backing.jsp.components.ClosableCommandNavigationItemRenderer</renderer-class>
    </renderer>
    </render-kit>
    If this works I am planning on extending the commandNavigationItem by creating a ClosableCommandNavigation tag and add a "closeAction" tag that will determine if a close item should render.
    Preliminary work looks promising. I will update if I make progress...please let me know if I am crazy.
    Thanks.

  • How to add and hide more fields in PPM?

    Hello,
    Im new to this tool and I would like to know how to add and/or hide customized fields. I've only know that Its somewhere under SPRO > Global Enhancements to Project Elements but Im a little bit lost there. Can somebody explain to me with details how to do this and also, does this need a specific access of developer to do this customization?
    As this is a basic need for all, anybody that is new on the tool and search for this will have a good reference on this thread.
    Thanks in advance.
    Many regards!

    The path is SPRO > Global Enhancements to Project Elements > Setup field control.Herein,once you select the field control you may proceed towards defining the conditions that influence the same. A step by step approach is explained in the below article  that will aid you to change properties of custom fields.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3053cee2-4bca-2d10-38ae-efff39ad248e
    Regards,
    Pradeepkumar Haragoldavar

Maybe you are looking for

  • Oracle installation on Windows 64 bit with Intel Xeon

    Hi! we have Windows Enterprise Server SP2 <b>64 bit</b> with <b>Intel Xeon</b> processor and would like to install the SOLMAN with Oracle. According to the original Oracle-DVD from SAP there are only three possible choise entries: a) AMD64 b) IA64 c)

  • PDF Downloads are all defaulting to a Firefox image & will not open

    When I save (download) PDF files, they display a Firefox image in my Downloads folder. When I click on the image instead of opening the file, Firefox opens a new tab. How do I change the download default to Adobe instead of Firefox? It used to work;

  • I can't get my wi-fi to work

    I cannot seem to get my wi-fi to work. Every time I go to connect it shows the check mark saying it's connected, but it doesn't show the wi-fi symbol at the top next to the at&t.I don't know what to do.

  • Unscharfe Bilder in Diashow

    Guten Tag, Ich habe eine Frage: Mit Adobe Photoshop und Premier Elements 9 wollte ich eine Diashow mit Intro und Abspann zusammenstellen, doch nach jedem Schritt wurden die am Anfang scharfen Bilder immer unschärfer. Ich währe froh zuwissen wo das Pr

  • Itunes fails to instal apps

    my 3gs is failing to instal an app i downloaded (dishpointer AR PRO) need help