Layer control in actions?
How can I insert to an action layer palette options (Select layer, lock/unlock layer)?
Don't record the clicking of buttons in the Layers palette; record selecting options in the Layer Options dialog:
1. Start Recording.
2. LayerPalette flyout menu: Layer[x]Options...
3. Make settings as desired.
4. Stop recording.
5. Actions Palette: Turn off the dialog for the Layer step(s).
5. Layer palette: Set the layers back to their original state.
6. Run the Action.
JET
Similar Messages
-
i'd like to get into some of the games offered in the app store but i'm ignorant when it comes to controling the action.
It depends completely on the game. Every game will have a different way of controlling it. Some use the mouse, some use keys on the keyboard, and some use both. You'll need to look at the game you're interested in and see what it uses.
Regards. -
In the video: mission control in action in Mac 101,we see many open windows which I don't have. How do they get there?
On modern MBairs, the F3 key will take you to Mission control. Once there, hold the Option key down and you'll see a tab with the "+" sign on it. Pressing this will add another desktop. You can assign apps to desktops or just drag them there. Switching between desktops is done by swiping either 3 or 4 fingers across the trackpad. (depend on the option chosen in System Preferences > Trackpad).
-
Availability control with action 2 "Mail to project manager"
Dear all,
i was asked to implement the budget availabilty control with action 2 "mail to project manager".
how can the managers receive the mails in the SAP when the budget is exceeded?
can someone explain the config in detail?
thank you very much.
i have no idea how to achieve it ?
thank you all.
Judy
09-06-01Hi
This is possible with business work place ( SBWP)
To achive this you need to do some settings
1.OPS6 - Created Person responsible ( in that enter your SAP ID as office user)
2.CJ20N - Maintained person responsible in Projects (WBS Elements)( the same you created in previous step)
So whenever you are getting error message or warning message it will goto your business work place.
3.Business Work Place - Maintained you manager email address for auto forward function
In order to do that select the menu path settings -->office settings -->automatic forwarding
Click create button
Enter your manager mail address in forward to field and select U-->Inetrnet address and enter the time period.
after this above settings ask your basis consultant to check the mail sending related settings in SCOT t code.
If you carry out all the above steps the mail automatically reach your manager mail box.
Please check and replay back
Thanks
S.Murali -
Is there a way to turn layers off on individual pages of a document and have them turned on on other pages in the same document?
Thanks for your help.Thanks for your help. Additional layers, or replication of the page and deleting what I don't need were the the alternatives, but I thought I would check on how much layer control we had first.
Thanks again. -
ChaRM security control on action
Hi,
In the correction process, we have Developer to set a correction into 'in development' status & have Change Manager to set this correction into 'to be tested' status. There are two actions between status 'in development' & to be tested'. They are 'release transport requests' & 'pass to test'. However, security is not able to control down to the action level. It is only able to control the status level (with the authorization code to each of the status).
Status 'in development'
Release Transport Request
Pass To Test
Status 'to be tested'
So, we have a situation that a developer has access to set 'in development 'that allow them to create transport & tasks; however, they also have access to Release Transport Request. This is problematic due to our auto schedule import (every 15 minutes) from dev to qa environment.
It appeared that the authorization will control the action leading to the status change - action to perform 'pass to test' will fail due to status change.
This is standard SAP out of box correction flow. How was intended to be used?
Thanks
KalvenHi,
Thanks for sharing Note 1002541 - Extended authorization checks: Single
tasks.
According to the note, we have applied the following:
Object Authorization /TMWFLOW/D (Task in Development Systems)
--> Authorization field: /TWMFLOW/T
--> Value: not to have 3000 (Release Transport Request)
However, it still does not restrict access on "Release Transport
Request" action
Does anyone able to restrict the action of Release Transport Request under In Developement status?
Thanks,
Kalven -
Playing FLV in a layer - control problems
I have several FLV files that I need to play in a layer that
is hidden when page loads. If I set 'autoplay' in the parameters
for the FLV player in my flash file, it of course, starts to play
the video when the page loads (but is not seen). Once the layer is
visible, everything works works as it should.
If I turn off 'autoplay' and construct a script to setup a
NetConnection and related variables, I can delay video playback
until a certain point in the Flash timeline . But the associated
skin has no control of this playing video. If I click 'play' on the
skin, it starts another iteration of the video -now two are playing
at the same time. I obviously need to pass the proper variables to
the skin, but I'm not sure how. Or should it be in reverse? Get the
variable established by the FLV player?
Thanks for any ideas!
EDIT : more info:
I am currently testing locally, but have the video and
related files on the server and have been successful with a
standard skin control.
The goal I have is to #1: Have the video play in the layer
when told to by the main timeline. (less button pushing by visitor)
#2 - Have action script (a button) stop the video, fade out the
skin (actually image is placed on top) and then hide the
layer.I think the format of the flv does not make this easy...
perhaps not even possible. The only way I could think of attempting
it would be like this:
1. Encode your video to have a keyframe every frame. (This
has implications in terms of quality vs. bitrate). This allows
seeking to each frame for a progressive video (assuming its
completely downloaded).
2. Use the freeware tool FLVMDI (easy to find with google) to
inject metadata for the keyframes. This will give you the timecode
(and byte address - which we don't need here) of every keyframe in
a keyframes.times property of the metadata.
3. use the playheadTime property of the FLVPlayback component
to track the current frame (because all frames are keyframes) as
the index in the array of timecodes in the metadata. When you want
to go backwards, seek to previous keyframes (using the metadata
timecodes) at the fps rate of the flv (also obtainable from the
metadata). You would also have to maintain a paused state after
each seek to prevent the playhead moving forward.
This is a very much a workaround to get over the limitations
(design?) which is that a flv format is not really designed to play
backwards-
I think it could work in principle, but I have no idea how well
it would work in practice
- I haven't tried it. It's all I can think of. -
Why are the adjustment layer controls grayed out?
I have used an adjustment layer in CS5 and when it was first used I could adjust everything. Now most of the controls have grayed out and whilst I can slide the sliders I can not type figures in nor use the radio buttons! Why has it locked me out? It has happened on a few images and with both Colour Balance and Hue and Saturation Layers.
The image above shows the problem with the top Colour Balance layer where I can not select Shadows or Highlights, nor type in figures for the sliders BUT I can slide them and change the tick on Preserve Luminosity! The basic image being edited is an 8-bit RGB file.
Adding a new adjustment layer (Colour Balance) on top of this one initially showed the same problem but after adding 3 more new adjustment layers suddenly eveything came back to fully working again - even the original problem layer!
This problem keeps happening with some of my images. It is happening on all 3 of our photoshop PC's, so it looks like a basic PS bug. Has anyone else seen this or know why it happens?Thanks for the suggestion but that has no effect on them being grayed out or not. When this problem occurs it does not matter if the Mask is highlighted OR the adjustment itself.
But thanks anyway.
I am currently without the issue on the above example having removed the problem by adding additional adjustment layers and removing them again. Even if I now select just the adjustment mask I can still access ALL adjustment controls without problem.
But it will occur again as it has done over the last few months on a random basis. Hopefully someone else has seen this occur and found a solution? -
.png transparency- problem with underlying layer control
I have an opaque orange rectangle with a clear uneven square cut into it through which I am displaying a slideshow (Spry Image Slideshow) and it works fine except that I cannot control the slideshow with my cursor. I can control the slideshow fine when it is on top of the rectangle, but I want the cutout to act as a frame on top of the slideshow.
Is the transparency in the .png akin to a sheet of glass? If so can I access the controller somehow through the "glass" with some added code?Hi
You cannot place a 'layer' over the slideshow, as this 'layer', (Is this an ap div?) will then 'have focus' above the slideshow and anything underneath this, (the slideshow controls) will not be selectable.
You could program your own event handlers in javascript to control the slideshow, but this will require you to have a reasonable understanding of javascript programming.
PZ -
Aligning a layer relative to another layer with an Action
I was wondering if there is a way to get a layer to align itself underneath another layer.
Example:
Layer 1 is text: NEW YORK
Layer 2 is text: YANKEES
NEW YORK is where I want it at the top of the design.
YANKEES is way at the bottom.
I click on the action and it moves YANKEES to a set position right underneath NEW YORK to look like this:
NEW YORK
YANKEES
... then batch would open the next PSD file and it would repeat the process, moving BULLS underneath CHICAGO making
CHICAGO
BULLS
the align tool works fine for things like centering, moving to top, etc during an action. However, what I am trying to do in batch is align something like YANKEES underneath NEW YORK and then use a batch process to duplicate this on several designs.
HOWEVER, what ends up happening, is that the move tool action will move the layer but it remembers the original distance... in other words in the next design, CHICAGO will overlap BULLS or DODGERS will be to far away from LOS ANGELES. Because the size of the CHICAGO, NEW YORK, LOS ANGELES, etc changes.
Any help is appreciated!!!You could use "Data Driven Graphics" and set place holders for the two text layers.
Other than that a script is your best bet. The following script will look for two text layers within the document and place the bottom text five pixels below the top text keeping them left aligned.
N.B. Only two text layers are supported.
#target photoshop
main();
function main(){
if(!documents.length) return;
selectAllLayers();
var selectedLayers = getSelectedLayersIdx();
var textLayers =[];
for(var a in selectedLayers){
makeActiveByIndex( Number(selectedLayers[a]), false );
if(activeDocument.activeLayer.kind == LayerKind.TEXT){
var LB =getLayerBoundsByIndex(selectedLayers[a] );
textLayers.push([[selectedLayers[a]],[LB[0]],[LB[1]],[LB[2]],[LB[3]]]);
if(textLayers.length != 2){
alert("Only two text layers are supported!");
return;
textLayers.sort(function(a,b){return a[2]-b[2];});
var startRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
makeActiveByIndex( Number(textLayers[1][0]), false );
var deltaX = Number(textLayers[0][1]) - Number(textLayers[1][1]);
var deltaY = (Number(textLayers[0][4]) + 5) - Number(textLayers[1][2]);
activeDocument.activeLayer.translate(deltaX,deltaY);
app.preferences.rulerUnits = startRulerUnits;
function selectAllLayers(){
activeDocument.activeLayer = activeDocument.layers[activeDocument.layers.length-1];
if(activeDocument.activeLayer.isBackgroundLayer)
activeDocument.activeLayer = activeDocument.layers[activeDocument.layers.length-2];
var BL = activeDocument.activeLayer.name;
activeDocument.activeLayer = activeDocument.layers[0];
var desc5 = new ActionDescriptor();
var ref3 = new ActionReference();
ref3.putName( charIDToTypeID('Lyr '), BL);
desc5.putReference( charIDToTypeID('null'), ref3 );
desc5.putEnumerated( stringIDToTypeID('selectionModifier'), stringIDToTypeID('selectionModifierType'), stringIDToTypeID('addToSelectionContinuous') );
desc5.putBoolean( charIDToTypeID('MkVs'), false );
executeAction( charIDToTypeID('slct'), desc5, DialogModes.NO );
function getLayerBoundsByIndex( idx ) {
var ref = new ActionReference();
ref.putProperty( charIDToTypeID("Prpr") , stringIDToTypeID( "bounds" ));
ref.putIndex( charIDToTypeID( "Lyr " ), idx );
var desc = executeActionGet(ref).getObjectValue(stringIDToTypeID( "bounds" ));
var bounds = [];
bounds.push(desc.getUnitDoubleValue(stringIDToTypeID('left')));
bounds.push(desc.getUnitDoubleValue(stringIDToTypeID('top')));
bounds.push(desc.getUnitDoubleValue(stringIDToTypeID('right')));
bounds.push(desc.getUnitDoubleValue(stringIDToTypeID('bottom')));
return bounds;
function getSelectedLayersIdx(){
var selectedLayers = new Array;
var ref = new ActionReference();
ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
var desc = executeActionGet(ref);
if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
var c = desc.count
var selectedLayers = new Array();
for(var i=0;i<c;i++){
try{
activeDocument.backgroundLayer;
selectedLayers.push( desc.getReference( i ).getIndex() );
}catch(e){
selectedLayers.push( desc.getReference( i ).getIndex()+1 );
}else{
var ref = new ActionReference();
ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "ItmI" ));
ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
try{
activeDocument.backgroundLayer;
selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" ))-1);
}catch(e){
selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" )));
return selectedLayers;
function makeActiveByIndex( idx, visible,add ){
if(visible == undefined) visible = false;
if(add == undefined) add=false;
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putIndex(charIDToTypeID( "Lyr " ), Number(idx))
desc.putReference( charIDToTypeID( "null" ), ref );
if(add) desc.putEnumerated(stringIDToTypeID('selectionModifier'), stringIDToTypeID('selectionModifierType'), stringIDToTypeID('addToSelection'));
desc.putBoolean( charIDToTypeID( "MkVs" ), visible );
executeAction( charIDToTypeID( "slct" ), desc, DialogModes.NO ); -
Controlling Plan "Action" Recommendations
Question for Kevin and other experts,
While running ASCP unconstrained plans, when we have purchase order supplies in the future and no corresponding demands, the plan comes with a recommendation of action = "Cancel" on these supplies.
Let's assume our planners do not want to go ahead with this "Cancel" recommendation, as they expect some demand to come in for these items, and these are long lead times and we would like to keep the purchase orders as is.
When we invoke the Horizontal plan for this Item, the Horizontal plan does not seem to consider the supplies with action of "Cancel" in the Projected Available Balance calculations. (show quantity of 0 on those buckets). However when we double click on the zero quantity it pulls up the corresponding uncancelled purchase orders in that period.
If I update the disposition status type on MSC_SUPPLIES to null from 2 on these purchase orders (disposition_status_type =2 , means that the plan recommended to cancel them) and then invoke horizontal plan again, the Projected available balance takes into consideration the purchase order quantity.
My question:
Is there any way from the workbench, we could flag the supplies marked by the plan as recommended for cancellation, as overridden by the planner. (We already tried "firming" and that doesnt make a difference)
Thanks
RaghavHi
The ideal situation is if you can expose the demand that planners are expecting for these items either in form of forecast of safety stock to avoid any workarounds.
If this isn't feasible to do, you may make these PO firm as suggested before in ERP if you don't want Plan to recommend any changes or use Planning Time Fence option at purchase part.
I still believe that keeping the system aware of demand corressponding to these supplies is the best scenario in long run since any impact of changes to these demands can then be assessed by the system and acted upon by planners. This will avoid planners mistakenly building more supplies than needed and can provide some level of control and visibility to these phantom/ ghost demands.
Thanks
Navneet Goel -
Setting Layer style in Actions
I'm using PS CS4 and I've been using actions for years now. However, about a year or two ago they started acting oddly. All my custom actions follow a similar flow: open file, size file, make transparent, add layer style, export to PNG, and, finally, close the file.
Once upon a time, the last time I recall it working flawlessly was in CS 2, I had to do nothing other than start the action on a directory of files. Now I have to click OK when the Layer Styles window pops up. Here is the exported action file.
Any help would be appreciated. After clicking on a directory that may contain up to a 1,000 files; it gets tiresome and finger sore.Nah, I already tried that one. I think it might be something pecular to CS4. To be honest I don't recall exactly when it stopped working correctly, but I know it worked in CS2.
Nice screen name. -
Select layer function in actions
I have three layers with text in different languages. I want to save them to three different PNG files.
I've tried to do action which select the layer, hide it and save it. Then select another layer and do the same. But selecting layers is not recorded to the action.
Is there any solution?
lot of thanksCooker, tell a bit more about how you save your .png files.
In case you're talking about saving them through the Save for Web dialog, then you have a built-in method to save main layers as individual files. Look for 'Save CSS Layers' or something similar in the Save for Web dialog.
If you're talking about exporting the .png files through the Export dialog, then you can go other routes, for example a script or a slightly modified action. -
Controlling Corrective Actions from Cloud Control 12c
Hi Experts
we have setup corrective actions on some process that runs on our host
is there a way we can control the corrective action when in case or maintenance...
Example: if the host is down for maintenence prupose how can we stop corrective actions script to kick off and stop sending notification from the cloud control 12c.
Thanks
Edited by: TechAdmin on Nov 12, 2012 9:32 AMBlackouts can be used to disable collections during maintenance cycles.
http://docs.oracle.com/cd/E24628_01/doc.121/e24473/emctl.htm#BABHFDII -
.Vsd to PDF layer control with LiveCycle
I am currently working on a project involving drawings created in Visio with Multiple layers. I have Acrobat 8 and have converted these drawings to PDF, which brings all layers in the drawing with it. I am creating a form for users to fill out, and would like the data to control which layers are turned on/off.
Does anyone know how manipulate layers on a PDF (from Visio) with form data?
Thanks!![discussion moved to PDF Forms forum]
Maybe you are looking for
-
Help with timing, input from Daq, output sound
Hi I am a student member of OSA, working on a laser listener project to be used in examples for high schools students. It is a pretty old and simple experiment but something I think students would be into. {any suggestions for other experiments anyon
-
I deployed a Mountain Lion Server with the calendar service active. Every time a user tries to share a calendar they have created under thier account to an external person using thier email address, the server gives the following error: "At least one
-
Windows 8.1 ..Firefox download setup file locks up on "Installing" window
When the Firefox downloaded setup file is run (Firefox Setup Stub 31.0.exe) , 1st thing appearing is a window saying "Firefox Setup...Your about to enjoy..." It has a green moving downloading bar that continues to run forever without any result. I le
-
2LIS_02_SCL - How to Enhace it?
Hi All, I have a request to add 2 field in 2lis_02_scl: 1) Invoice Price, i checked in the extract estructured and i can add this field from Tx (LBWE), so its ok. 2) Invoice Number, i couldnt find in the extract estructured, so i have to enhace the e
-
Permission problems with command line CVS and Java CVS App
Greetings, I'm part of a moderately sized website development team which recently upgraded to MacBook Pros (dual core) running OS 10.4.9. One of the primary tools we use in our day to day work is the open source concurrent versioning system (CVS). We