Using gradients in actions

I recently wrote myself an action that includes a gradient layer (two colours in radial so one colour is in the centre and fades to another on the outer edges)
The gradient's position is exactly as I want it when I reun the action on horizontal images, but doesn't work on vertical, as the gradient stays horizontal when the action is run, and so the edges are more or less lost.
This might be a daft question, but is there anything I can write into the action so it knows when it's running on a vertical picture, and when it's running on a horizontal one, so the gradient layer will have the corresponding position? Or is this (as i have a feeling it might be) a case of inserting a stop, and message telling the user to manually adjust the angle of the gradient before continuing?
Thanks for your help

More info:
http://helpx.adobe.com/photoshop/using/conditional-actions-creative-cloud.html
http://www.peachpit.com/podcasts/episode.aspx?e=4fd81f08-5835-4137-bced-fc2d0324c923
Also, a script would work as well:
http://feedback.photoshop.com/photoshop_family/topics/if_action

Similar Messages

  • How to use one Assign action to create multiple context variables

    Hello, everyone.
    I read some tips from Oracle documentation that said:
    Avoid creating many OSB context variables that are used just once within another XQuery
    Context variables created using an Assign action are converted to XmlBeans and then reverted to the native XQuery format for the next XQuery. Multiple "Assign" actions can be collapsed into a single Assign action using a FLWOR expression. Intermediate values can be created using "let" statements. Avoiding redundant context variable creation eliminates overheads associated with internal data format conversions. This benefit has to be balanced against visibility of the code and reuse of the variables.
    Oracle® Fusion Middleware Performance and Tuning Guide
    +11g Release 1 (11.1.1)+
    Part Number E10108-03
    But I don't know how to do that. Can you show me ?
    Thank in advance
    Edited by: Doubt_Man on Aug 17, 2011 3:30 PM

    if you return sequences, you can declare the return type of your xquery as xs:double*
    (notice the asterix at the end)
    but I have the impression that in the assign action only the first element will be assigned to the context variable
    (correct me if I am wrong)
    So in fact you might indeed have to transform the sequence into a element()*, or concatenate it into a CVS string - for instance using string-join
    http://www.xqueryfunctions.com/xq/fn_string-join.html

  • Problem with SubmitButton name across screens, which use the same action?

    I am using multiple submit buttons in a single JSP. The problem i am using the same action across 4 screens, and excpet the 1st screen the remaingin 3 screens have BACK & Continue button, in every page the click of back button should take back to the previous screen and continue should submit the options selected to the next screen;
    The problem is i m using to LookupDispatchAction to handle multiple submit buttons, and i m using this for buttons
    <html:submit property="method"><bean:message key="reg.bt.back"/></html:submit>
    In resource bundle reg.bt.back=Back , but i need to pass to the previous screen so how to do that
    Help needed............
    Thanks in Advance

    why can you not store the information you require in the session?
    session.setAttribute("attributename" <attribute object>);
    surely that would negate you needing to pass parameters though the http?
    but otherwise there are several ways to do this, first of all you could simply rewrite the URL, which i'll admit is slightly labour intensive, but it would do the job... of if you really wanted you could put hidden html values throughout your page, and populate them with the data you wish you pass in your request, as long as the hidden inputs are in the <form> there should be no issue here.
    N.B. you are right, i would never suggest using JS for ANYTHING to do with sessions and submitted/retrieving data when you are using a JSP.

  • New task assigned to user from CurrentItem:UserField using Assign task action is assigned to different user.

    Hello ! 
    I have run into "funny" problem. 
    I have following workflow:
    User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and
    added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 
    Now the "funny" part:
    After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod
    ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 
    Can someone explain why is this happening? 
    My guess is that using two letters login name can cause such case but why ?
    Regards,

    Hello ! 
    I have run into "funny" problem. 
    I have following workflow:
    User is creating item in ListA. In new form he needs to put Manager which is User Field column type. From people picker he is choosing login name Domain\jo (Two letters seems to be important here). User is resolved correctly to John Doe. Item is saved and
    added to list correctly. In list view John Doe is displayed in Manager column. In view item John Doe is in Manager field. In powershell Id;#John Doe is as a Manager field value. 
    Now the "funny" part:
    After item is added to ListA workflow is started automatically. Workflow is assigning new task to user from Manager (CurrentItem:Manager) field using Assign task action. Now the new task is assigned to different person i.e. John Dimagio with login name DOMAIN\jod
    ! When I am logging value to wf history of the CurrentItem:Manager field I am getting sth like i;123#DOMAIN\jod . So value is completely different and wrong. 
    Can someone explain why is this happening? 
    My guess is that using two letters login name can cause such case but why ?
    Regards,

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • Error when using Web service Action Block.

    Hi All
    I am calling recursive function in my transaction.Means same transaction i am calling inside a transaction.I have used the Webservice Action block to call the transaction.
    I have passed the parameters whatever is requied.
    But I am getting error when i am executing the transaction:
    "Error invoking Webservice Action: Status(500):Internal Server Error".
    Please suggest me on this.
    Thanks in advance.
    Regards,
    Manisha

    Hi Vishal
    This transaction is trying to achieve the recursive function.
    I want to call the same transaction within a transaction.So i have used WebService action block to call the transaction.
    I have passed the input parameters whatever required.I have given loginName and password as my server login name and password.But when i am executing the transaction, I am getting the following error:
    "Internal Server Error"
    If any idea please suugest me.
    Thanks,
    Manisha

  • Banding in Photoshop CC 2014 when using gradient or curves, 5K imac and Nikon D810. Help?

    I am experiencing severe banding in
    Photoshop CC 2014.
    5K imac, Nikon D810.
    16 Bit Tiff in both Adobe RGB and Profoto RGB.
    It seems to be something new.
    OSX Yosemtie 10.10.1
    It appears when using gradients.
    Help?

    Thanks for your help Trevor.
    That does not seem to make a difference.
    I sometimes use the Nik Collection for
    gradients as well.
    The banding is very visible in the
    Plugin as well.
    It is odd because this seems to have
    just started this week.
    It is the same on my 2011 iMac as well.
    Not sure if it is because I shot on a grey
    background.
    I will post an example.
    I am also using Profoto RGB which
    is supposed to have smoother gradients.

  • Can we use same SOAP ACTION in different environments?

    Hi All,
    I have a doubt.
    Can we use same SOAP Action URL in different environments i.e suppose say Quality, Production and Pre production.And the Target URL is different in both environments.
    If yest what is the impact in different environment.

    Hi ,
    SOAP action is nothing but operation/method in webservice .
    Usually at end system end as a good practice/std they will maintain the same soap action name in all their environments,but it's always better to cross check url and soap action with end system folks before configuring in PI .
    We have faced an issue in production some time back ,at target system end they upgraded their server and used new wsdl which is almost similar to existing but one of the operation they duplicated by adding few addition fields but forgot to inform PI system.Though we are using new wsdl but pointed to old soap action .Interface got failed in PROD after investigation we come to know that we are using wrong soap action
    Regards
    Venkat

  • How can i use gradient tool in Illustrator

    Hello,
    I am trying to use gradient tool in illustrator.
    My image is active but how can i start using gradient tool.
    I clicked the tool and tried to drag with my mouse but, i can not activate the tool itself.
    Can any one help me, I am using CS4 extended with Mac.
    Thank you very much.
    Steve

    First in order to use the gradient tool you must have a gradient fill applied to an object not an raster image it can be a vector illustration..
    Select the object or objects or groups of objects
    Now click on the gradient bar in the Gradient Panel while the object(s) are still selected that will fill the object with the default gradient.
    You can also use a gradient swatch in the Swatches panel, you can make a gradient swatch as well.
    Now your object(s) is filled with the default gradient fill.
    Now in the tool panel select the gradient tool this will allow you to control the way the gradient is oriented and applied to the object.
    Now you can change the colors and add colors to you gradient by clicking on the color markers below the gradient bar which will bring up the color or swatches panels.
    Now finally and this is the most important factor to consider you have to purchase a book and or tutorials and the book that will probably do you the most good at this stage is Mordy Golding's Real World Illustrator CS 4 this you shoud do before you go any further. Honest.

  • Windows Client MP is using the default action account to write to the Data Warehouse

    Hi,
    I have recently installed SCOM 2012R2, and am in the process of migrating everthing from SCOM 2007R2.
    Just after I installed the Windows Client MP (version 6.0.7250.0), I started getting this Event 11852:
    OleDb Module encountered a failure 0x80004005 during execution and will post it as output data item. Unspecified error
    : Cannot open database "OperationsManagerDW" requested by the login. The login failed.
    Workflow name: Microsoft.Windows.Client.Win7.ComputerGroup.MemoryTrendsRAM
    Instance name: Microsoft System Center Data Warehouse
    Instance ID: {16781F33-F72D-033C-1DF4-65A2AFF32CA3}
    Management group: 2012SCOMDEV
    This is happening every 7 days and only happening on the Win7 Management pack. I checked the DW logs and found that it was using the default action acount (SCOM ACTION)to send to the DW.  This account doesn't have access to the DW DB.
    I assume it should be using the Data Warehouse action account.  This is how the acount is setup
    Can anyone tell me where I'm going wrong here?  I have not had to touch the permissions for any of the other Management packs.  the rest of them just work.

    For this issue, you can check below link
    http://blog.metasplo.it/2014/01/scom-2012-oledb-module-0x80004005.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
    Technical | Twitter:
    Mai Ali

  • Using Update data action to update data in job data component

    hi, I'm trying to update data in job component using CI_JOB_DATA, im setting action as updatedata. but i'm getting error.
    "UPDATEDATA - updating existing keyed child records
    Example - updating an existing row of data by using the key value(s) and enough child fields to single out the distinct record. "
    Is the above statement correct?

    For example ExceltoCi uses ComponentInterfaces to load data.
    Snipet from PeopleBooks:
    PeopleBooks > PeopleTools 8.52: PeopleSoft Component Interfaces > Using the Excel-to-Component Interface Utility
    UpdateData.
    Use this option to update specific non-key values that already exist. The system uses the keys to locate the row, and when a match is found, the row is updated with new data. If a key match is not found by the system, it displays an error message indicating which collection was missing a key match.
    When using the UpdateData action, you must provide all keys for the collection for the system to modify the data.
    Note. If you want to insert an effective-dated collection at Level 1 containing a child collection at Level 2, you may need to use UPDATE to insert the parent row at level 1 and then use UPDATEDATA to insert the child row at level 2. This is because child rows are copied forward from the current effective-dated collection as a result of the insertion of a new effective-dated parent row. These child rows will be updated by the component processor with the new effective date, and may have the same level 2 keys as the Level 2 child row that you are trying to submit from ExcelToCI.

  • Creating glossy surfaces WITHOUT using gradients

    Greetings,
    I'm trying to do a smartphone illustration in Illustrator for a t-shirt print. The challange is I can't use any gradients, and I'm having a hard time creating that glossy/reflective feel. The tutorials I found always uses gradients so they're not much help.
    My question is, can someone give me some tips about creating a reflective surface illustration without using gradients (and preferably without using transparency)? Thank you very much for your help.

    You need to be clear about your requirements. Limiting the number of inks to eight does not rule out grads or tints. Are you saying you can't handle halftone or tint screens (array of tiny dots)? If so, then your requirements are solid line art, no screens.
    For example, Joe's example is line art (no grads or other continuous-tone), but it may very well be set up as tints of one color (black), in which case it would still require tint screens. If your requirement is strictly solid line art, then you would have to use a different ink for each shade of gray, printed as a solid, and the file would have to be built to separate that way; i.e.; using a separate spot color for each gray.
    JET

  • How to use classes in Actions tab

    Hello guys!
    I'm just a beginner so i'm sorry for my stupid question.I'm developing a game in which movie clips in our case people have their own schedule.I have multiple screens and so i want to be able to set their locations and make them invisible on other screens(rooms)they're not currently at.The trouble is i can't use variables from Actions in my class,neither can i use classes in my Actions.Can anyone tell me how to export classes into Actions code?
    Here is my code:
    var currentlocation;
    var currentscreen;
    if (person.currentlocation!==currentscreen){
    person.visible=false;
    btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
    function fl_MouseClickHandler(event:MouseEvent):void
              currentscreen = "classroom";
              classroom.visible = true;
              playroom.visible = false;
    btn_2.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_2);
    function fl_MouseClickHandler_2(event:MouseEvent):void
              currentroom = "playroom";
              classroom.visible = false;
              playroom.visible = true;

    Your problem/question is not clear to me.  If you are getting errors you should include the error messages in your posting.
    Could the problem arise from using a variable that is not defined?
    currentroom = "playroom";
    I do not see currentroom defined as a variable anywhere.  There is a currentscene variable though.

  • What 'item type' do I use to add action to SCHEDULER CHAIN folder?

    I am using SQL Developer version 3.1.06.82
    I would like to add a User Defined Extension to a Scheduler CHAIN. I am looking through the Namespace for Version 3.1 at: http://www.oracle.com/webfolder/technetwork/sqldeveloper/3_1/dialogs/index.html. Under the COMMON OBJECT TYPES, I do not see any of the Scheduler items. I was able to use <item type="SCHEDULER"> to add an action to the SCHEDULER folder, but what I really want to do is add an action to a CHAIN.
    Does anyone know what type name to use??
    Has the Namespace been updated and published somewhere else?
    If you have an example, it would be greatly appreciated.
    Edited by: 975201 on Feb 28, 2013 8:24 PM

    >
    I would like to add a User Defined Extension to a Scheduler CHAIN. I am looking through the Namespace for Version 3.1 at: http://www.oracle.com/webfolder/technetwork/sqldeveloper/3_1/dialogs/index.html. Under the COMMON OBJECT TYPES, I do not see any of the Scheduler items. I was able to use <item type="SCHEDULER"> to add an action to the SCHEDULER folder, but what I really want to do is add an action to a CHAIN.
    >
    Those COMMON OBJECT TYPES are database schema objects so SCHEDULER or CHAIN would not be in those lists.
    Did you try "CHAIN" or "SCHEDULER CHAIN"?
    I suggest you change your thread subject to match your question and maybe one of the developer team members will notice it.
    For example: What 'item type' do I use to add action to SCHEDULER CHAIN folder?

  • I'm using gradient mesh tool

    Hi. I'm learning how use gradient mesh. the problem I'm having is there is one anchor point on one of my paths that keeps going back to white. I select it with the white arrow and use the eyedropper tool to replace the color, switch to a new anchor, then go back to the original anchor point and it becomes white again. I have even tried deleting the anchor point and replacing it and it encounters the same problem. Any ideas how I can fix this?

    We can't know. You have not provided any screenshot, no info about what version of AI, no system info.
    Mylenium

Maybe you are looking for

  • I bought the key..but how do I download the new version without purchasing?

    I must be having a bad day. I can' figure this out. Wanted to upgrade to 7.2 from 7.0. No big deal. I purchase the Prokey for 29.99. Order status is good. Says the key is delivered... I check the mail...Got it. Enter the registration.. no problem. Bu

  • Printer message "paper out or not loaded correctly"

    I have an Epson Stylus Pro 3800 printer and iMac that that worked flawlwssly until the last Mountain Lion upgrade.  Now it will not recognize paper that is loaded correctly.  Clicking on printer utility gives an error and states a message is being se

  • Database got shutdown reason unknown

    Hi, My database got shutdown. We are unable to know the reason behind this. Its 10g database on AIX 5.3 server. Below is the entry from alert log. Thread 1 advanced to log sequence 264605 (LGWR switch) Current log# 5 seq# 264605 mem# 0: /oracle/redol

  • Is Font Book Validation Bogus?

    I have a folder of old Mac TrueType fonts that I have used from time to time with previous incarnations of the OS going back 6-7 years. I recently had a use for a couple of the Calligraphic fonts again and decided to install them in Tiger via the res

  • Instant Client ODBC driver name

    On one machine the driver is called "Oracle in instantclient11_1" while on another it is called "Oracle in instantclient_11_2" Is the 11_1 and 11_2 just different versions of the client, or does this mean that this is my 2nd install of the client? Ch