Setting clone/healing sample points with a script.

Is it possible to set a clone and/or healing sample point with a script? I prefer to clone and heal onto a blank layer so having a way to set the sample point on another layer using a script would save a lot of time. Otherwise I have to go back and forth between the layers.
I can't always use the "Current and below" setting due to the different blend modes on some layers. It would also be difficult to hide all other layers while doing this since I can't really see the overall effect it has on the image.
What I'd ideally want to do is keep the blank clone layer active and when I set the sample point, set it from the layer below the currently active layer.
More info: The blank cloning layers are set as a Clipping Mask for the original. I'm using CS4.
Thank you.

Sorry, there are very few tools that use the mouse that can be scripted. I have never found a way to script the stamp/healing tools.

Similar Messages

  • How to set units when creating paths with a script?

    I'm trying to update a script that used to work in Photoshop CS4 but which seems to completely ignore the units I'm using in Cloud.  The script below should create a path layer with two lines that form an X across the entire document. 
    To test, I'm creating a new page that's 8.5 x 11 inches and 300 DPI.  I then run the script.  However, the the shape that is produced is huge and most of it is offscreen.  What am I doing wrong?
    function Point(x, y)
              this.x = x;
              this.y = y;
    function addVertexCorner(lineArray, x, y)
              var p0Info = new PathPointInfo();
              lineArray.push(p0Info);
              p0Info.kind = PointKind.CORNERPOINT;
              p0Info.anchor = new Array(x, y);
              p0Info.leftDirection = p0Info.anchor;
              p0Info.rightDirection = p0Info.anchor;
    function appendLine(p0, p1, lineSubPathArray)
              var lineArray = new Array();
              addVertexCorner(lineArray, p0.x, p0.y);
              addVertexCorner(lineArray, p1.x, p1.y);
              var pathInfo = new SubPathInfo();
              lineSubPathArray.push(pathInfo);
              pathInfo.operation = ShapeOperation.SHAPEADD;
              pathInfo.closed = false;
              pathInfo.entireSubPath = lineArray;
    function createPathLayer(title, subPathArray)
              var docRef = app.activeDocument;
              var originalUnit = app.preferences.rulerUnits;
              app.preferences.rulerUnits = Units.PIXELS;
              var myPathItem = docRef.pathItems.add(title, subPathArray);
              app.preferences.rulerUnits = originalUnit;
    var docRef = app.activeDocument;
    var imgWidth = docRef.width.as("px");
    var imgHeight = docRef.height.as("px");
    var p00 = new Point(0, 0);
    var p10 = new Point(imgWidth, 0);
    var p01 = new Point(0, imgHeight);
    var p11 = new Point(imgWidth, imgHeight);
    var lineSubPathArray = new Array();
    appendLine(p00, p11, lineSubPathArray);
    appendLine(p01, p10, lineSubPathArray);
    createPathLayer("Big X", lineSubPathArray);

    I did, andd while that did help to center the image on the page, now all my measurements are coming out about 4 times too small.  I'm also worried that changing the resolution might cause the image to lose some data due to resizing.
    What exactly does changing the resolution do?  Why does this center things?  How can I calculate points so that they exactly touch the edge of the document?

  • Setting up Acces point with WRT54GL

    Hello everyone,
    I'm very new to this wireless networking stuff.
    I'm having some problems with my wireless router.  My ISP provided me with a Huwaei wireless modem, but I reside in a two floor apartment and the ISP's modem does not brodcast well to the second floor, the signal is very low.
    My difficulty here is that I'm trying to use my router to brodcast the signal to the second floor.
    Is it possible to set up an acces point with with my Wi-Fi router ?
    My idea is that the router would be placed in a different part of the apartment and clone the signal from the wi-fi modem and broadcats that signal. I want to place the wi-fi router in the second floor.
    Is such an action possible?
    Thank you very much for your help.
    Solved!
    Go to Solution.

    You can set the WRT54GL as an Access Point, both your both the Routers should be Hardwired to each other..
    To make both the Routers work wirelessly, its not possible.
    To make both the Routers work each other, Connect the Ethernet Cable from the LAN Port of your Modem to the Lan Port 1 of the Linksys Router. Click Here and follow the instruction how to make your Linksys Router work with your Modem.

  • How do I get automounting share points with to appear on user's computers?

    I recently purchased Sever 10.6, and upgraded to 10.6.8.  I'm running it on a 2006 MacBook Pro with 4GB (only 3GB are addressed on this model).  I really only need it for one thing: to serve 4 external drives to my home network.  But I can't do this: I want to set up automounting share points with custom paths so that on login the disks appear on the user's desktop and/or in the sidebar.  Clients range from 10.6.8 to 10.8.x to 10.9.x.
    I've tried setting the sharepoints.  I don't know what to put in for a custom path; trial and error has gotten me nothing.  I don't want home directories, libraries or application folders - I just want those disks shared to computers on my network.
    The little manual that comes with it is not helpful.   If there's a written document somewhere that is specific about this, I'd be happy to just read it myself.
    Thanks!
    Sean

    Hi Sean Hayes1,
    Volumes, including server volumes, that mount at startup are controlled on the client computer using System Preferences > Users & Groups > Login Items. The preference pane says this is for applications you want to launch at startup, but it also works for network mounts. See this article -
    OS X Mavericks: Login Items pane of Users & Groups preferences
    http://support.apple.com/kb/PH14413
    To add a new volume -
    To have an item open automatically at login, click Add (+), then select the item.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Sample point of Healing Brush tool in CS5

    Hi.
    In my previous version of PS (CS2) when using the Healing Brush tool the sample point remained in the same place after alt-clicking - irrelevant of where I moved around the image - this is great for spotting large areas of similiar colours as you know the sample area is clean.
    With CS5, the sample spot seems to move with the mouse - as in, it always stays the same distance from the mouse as you move around.
    Is there a setting I can change that will make it work similar to CS2?
    Thanks

    Uncheck aligned and see if that helps.
    MTSTUNER

  • Create waveform from a set of points with differtent time intervals

    Hello,
    I would like to create a waveform from a set of points like this
    Time           Data
    0                 0
    0,5              1
    0,6              2
    1                 1
    2                 0
    5                 1
    The problem is that the time interval between each points are not the same.
    The only idea I found was to create a waveform for each doublet of points with the same rate (100ms) and than to append them together.
    Does anybody have a better idea?
    Regards,
    Risotto.

    If you use a Wave From data type, re-sampling is not required.
    When using a WF datatype the chart (graph) will pick-up the X value from the t0 of the waveform.
    The trick is to just build an array of the single update value and make sure the t0 value is correct.
    Re-create this example
    and try it for yourself.
    Ben
    Note: make sure the data you pass is consistant with the data already displayed. If you post a t0 value that is older than what is already displayed, the chart will clear the display and start over.
    Message Edited by Ben on 09-15-2006 11:49 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    WF_Datatype.JPG ‏59 KB

  • Setting Colour Point with curves CS4

    Hi, I use CS4 and I want to do some colour correction so I use the colour sampler to select areas I want to change ie Highlights to around 242 but I want to place a sample point for midtones on the RGB channels at the same time, to do this I understand if I place the cursor over a sample point and hold Ctrl + Shift then click it should set points on all channels but when I hover over the sample my colour sample point picker changes to the move tool so I assume I must have hit a button someplace but don't no where! Any help please.
    Thanks
    Russ

    I guess your working with a curves adjustment layer?
    You probably still have the color sampler tool selected.
    Either select the eyedropper tool or you can use the Auto-Select-Targeted Adjustment Tool.
    MTSTUNER

  • Clone/Heal Missing Sample Circle?

    I was just using LR 4.3 (trial) to edit some photos in a collection I exported previously, but now when I use the Clone or Heal brush - the selection and sample circles are missing and not shown. As soon as I click on the spot to clone/heal out, it is immediately changed and I cannot tell where the sample is taken from. If I move my cursor to the area again, it changes to the double-pointing arrow to resize the edit circle and I can adjust it but the edges of the circle are not shown - only the area of pixels change. There is no difference if I left click or tap the touchpad on my laptop to apply the clone/heal.
    I had installed the Nik Software package 1.0.0.7 in the mean time, and considering that may be the cause - uninstalled it and rebooted. The issue remained. I uninstalled LR 4.3 and rebooted, installed LR 4.4 and tested again - still the issue remains. I am not sure what else to test. Running on fresh Win 7 install (64bit) on ASUS UX32VD laptop.
    ref: http://help.adobe.com/en_US/lightroom/using/WS43660fa5a9ec95a81172e081210db09b94-7ffa.html
    http://www.niksoftware.com/nikcollection/usa/index.php

    For me, the most-used part of the Lightroom help is the section on Keyboard Shortcuts, right at the end of the help file. 
    I'm always asking myself "what key did I hit to make that happen?"

  • How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    The Guest Network function of the Time Capsule and AirPort Extreme cannot be enabled when the device is in Bridge Mode. Unfortunately, with another router...the Telus...upstream on your network, Bridge Mode is indicated as the correct setting for all other routers on the network.
    If you can replace the Telus gateway with a simple modem (that performs no routing functions), you should be able to configure either the Time Capsule or the AirPort Extreme....whichever is connected to the modem....to provide a Guest Network.

  • Usage of Sampling Procedure with Inspection Points

    Hi Experts,
    Does any one have an idea whether we can use sampling procedure with free inspection points apart from In-Process Quality Inspection (Inspection Type 03)?
    Thanks in Advance,
    Arun
    Edited by: Arun Mann on Dec 11, 2008 11:11 AM

    hi
    check the links canhelp you
    http://help.sap.com/saphelp_47x200/helpdata/en/b5/c4db38a91b11d1bd610000e829fdb3/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/2d/350c26448c11d189420000e829fbbd/frameset.htm
    -ashok

  • Problem with Color Sampler Points

    I'm using PSCS4 on a Mac Pro, and recently upgraded to Snow Leopard 10.6.3 from Leopard 10.5.8.
    I regularly use color sampler points in Photoshop when adjusting curves. I seem to be having problems getting a sampler point to show up in the info palette when shift-clicking with the eye-dropper tool, or directly using the color sampler tool. I've also tried shift-clicking from within the Threshold command, but the points I click just don't seem to take a sample and show up. I never had this problem before. I'm bringing RAW, sRGB and ARGB digital images into PS from Bridge, and have tried 8 and 16 bit.
    After trying for awhile, sometimes it just suddenly starts working again. For instance, I was writing this post after not being able to get PS to take samples. Then I went back and forth between the internet and PS, and it started working all of a sudden. Very odd.
    Anyone else seeing this? Am I doing something wrong? Any workarounds?
    Thanks, Lou

    Thanks, Mark. You may be right, and I will try it.
    I have my workspace setup saved, but I presume it is lumped in with all the other preferences. Is there a way to "Export" my saved workspace setup from Photoshop, so after I trash my preferences, I can reimport at least my workspace? I didn't see the ability to do that, but it may be hiding somewhere. I like my current dual monitor setup and prefer not to have to 'redo' it from scratch.
    Thanks,
    Lou

  • [svn:fx-trunk] 5579: Be consistent with the scripts for Button sample

    Revision: 5579
    Author: [email protected]
    Date: 2009-03-26 11:06:44 -0700 (Thu, 26 Mar 2009)
    Log Message:
    Be consistent with the scripts for Button sample
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxButtonExamp le.mxml

  • How come inspection points with DESTRUCTIVE MICs don't affect sample size?

    Hi guys,
    i have a case i tried on IDES and i need an explanation for it if you can.
    @ the beginning we have an in-process inspection with inspection points and non-destructive MICs, the interval of 10 mins (of the inspection point) generated 3 inspections, and my sampling procedure led to a sample size of 1 PC, in the inspection lot display the sample size is "1", which is normal and i understand this.
    here comes the problem
    we will change one of the MICs and make it destructive. Now we have our 3 inspections. The normal logic says that I'm having 3 inspections and there is on of the MICs DESTRUCTIVE, therefore I'm must get 3 samples, one for each inspection, which means that when we check the sample size in the inspection lot we must get a size of 3, but when i tried this i got a size of 1 again....and this is not logical because my sample will be destructed in the first inspection so how can I carry on the remaining 2 inspections ???
    so i need to know how come I'm getting a size of 1 and is that right or wrong ???
    i hope i made it clear and wish you can help
    Regards,
    Mahmoud Osama

    Hi Amol,
    i'm sorry i don't understand what do you mean by operation confirmation quality  ???
    and about stock posting, i know as you said that it is not possible with in-process inspection, as the lot is not stock relevant, but whether it is stock relevant or not has nothing to do with the sample size calculation, my problem is that the logic says that i must get 3 samples because with each inspection i'll destruct my sample, but SAP calculations give only one sample !!!!
    i hope you can help with that, thanks for you concern.
    Regards,
    Mahmoud Osama

  • API for setting Access points with PEAP programmatically

    Dear Godly developers,
    Would like to find out if there is any APIs for setting Access points with PEAP programmatically?
    Regards
    hAoZ

    Thanks for your response. We don't have the Wireless LAN Controller installed and have only configured directly through the AP's, which don't seem to have any configuration changes regarding Aironet IE's. Is there a config change that needs to be made just on the AP's? Or is the Wireless LAN Controller software necessary to make this change?
    Thanks again.

  • Is there any way I can control which specific access point I connect (and stay connected) to from amongst a set of access points with the same SSID?

    I'm working from a boat in a harbor in which the ISP has deployed numerous access points around the periphery.  All the access points share the same SSID and each is configured to use either channel 1, 6 or 11.   From my location, there are over a dozen of these access points "visible" (based on the the output of WiFi Scanner) with a range of RSSI and S/N values that vary over time.
    The ISP has told me that the quality of my connection should be "perfectly fine" for any access point with an RSSI value better than -75, but I know from experience that my connection quality is miserable (i.e. < 50Kbps download) for almost all of these, including those with RSSI values better than -75.  There is at least one exception, however, which gives me on the order of 2Mbps download, which is "great" in this context.
    I've tried using a more powerful USB antenna plugged into my MacBook Air (mid 2011), but as far as I can tell, it really doesn't make much difference.  Neither does my location within the boat.   The overriding factor seems to be which access point I happen to connect up to.
    I should point out that the closest access points are about 75 yards away, with many of them being several hundred yards away or more.  I'm guessing that even though the signal strength of some of the distant access points is causing them to get "chosen" some times, the results are unacceptable due to the distance.
    I'm hoping that I can determine, through experimentation, which access point(s) provide(s) acceptable performance and then configure my Mac to limit my connection to those points through whatever mechanism I need to use (e.g. channel, MAC id, etc.).

    Establishing a wireless connection with a client computer is left to the access point for various reasons. One reason that your Mac may not connect to the strongest access point is that it may have reached a limit of the number of clients it can serve, leaving it unable to accept a connection with another. The limit may not be very large.
    Suppose that happens, and your Mac establishes a connection with a more distant access point having a weaker signal. Then, suppose a client drops off the network. Doesn't this mean your Mac will switch to the stronger access point? Not necessarily. The throughput delivered to and from your Mac would have to drop below a threshold specified in the AP for it to drop the client, leaving your Mac free to connect with another one. The reason for this is to prevent rapid switching from one AP to another in an area in which two signals are of approximately equal quality. If that were to occur the frequent and repetitive handshaking between the two devices would slow throughput to zero.
    In an environment in which several access points are broadcasting the same SSID, Apple provides no insight as to how it determines which access point to choose. This is the reason I suspect this "choice" is a function of the router, or access point. The connection originates with it, not the Mac.
    Now, what would solve your dilemma would be to determine a way to control the access point with which your Mac connects, by specifying the access point's unique MAC address for example. In this happy circumstance, you could maintain an editable "whitelist" or "blacklist" of the harbor's access points and be able to choose which among them you prefer.
    I do not believe OS X maintains such a record of MAC addresses though, only those of the routers it uses. If I am correct about that, such a solution is unlikely to exist. Don't let that discourage you from searching for one though... I would concentrate on something like "selecting access point by specific MAC address".
    I did find this patent application though:
    Roaming Network Stations Using A Mac Address Identifier To Select New Access Point
    Perhaps it's a start

Maybe you are looking for

  • Users not provisioned from OIM to OID groups

    I've created an Access policy such that when i create a user with role as consultant he is automatically provisioned to OID resource and OID group( cn=group1,cn=groups,dc=ad,dc=company,dc=com ). The user is provisioned to OID users(cn=users) but not

  • HH:MM:SS Time format to show in Graphs - OBIEE 11g (11.1.1.5)

    Hi, I have got a requirement to show time format in graphs. I am converting seconds to HH:MM:SS format using the formula that I found in one of the blogs. http://123obi.com/2012/06/obiee-converting-seconds-to-minuteshoursdays/ Is there better way to

  • How to display Parent Sites in the breadcrumb without duplicates?

    My SP2010 breadcrumb is showing current site>current items under the current subsite. When I am on the parent site, it shows Home > Home (I would like it to show just Home). The original v4.master code was: <td class="s4-titlelogo">           <ShareP

  • The quest for real estate (USB- monitor question)

    The short question: Any advice or gotchas regarding USB->External Monitor adaptors?  Especially, if the monitor accepts both VGA and DVI, which type of adaptor would be better for performance?  Advice about brands/models is also welcome, but I live i

  • N73 vga camera question

    Hi,does anybody has the same problem as me > the 3g camera shows very bad quality and when i go to a dark place i see nothing,just blue dots?