Advancing wfs to specific tasks through script
Hello,
Is there a batch way (i.e. through a script) to advance workflows to specific tasks?
Two alternatives were considered:
1) Through the java admin applet, to expedite each workflow to the desired task. This is much too slow for us.
2) Through the wf_engine.CompleteActivity command, but this requires for the specific activity to be notified; it cannot be performed on any activity but only on the notified ones. So it is useless in our case.
Any ideas?
Vassilis,
If you are using Workflow 2.6.2 on 9iR2 you can access the workflow manager from the enterprise manager utility bulk process work items.
1. Workflow Manager -> Work Items (in the Related Links section at the bottom of the page) -> View(Errored Work Items).
2. Select one of these work item types, and click View Details. Select one of the work item activity stages (ie. the activity name where the workflow errored) and click View Details. Now you will see a list of all the work items that had errored at that activity.
3. For an individual work item, you can abort, retry or even launch the workflow monitor. But, the big benefit for a System Administrators is that they can now Abort All or Retry All on all of the workflows at that stage.
4. The same kinds of administrator mass actions are available for active, suspended and deferred workflows as well.
Hope this helps..
Raja
Similar Messages
-
Error While executing a SSIS package which contains a script task through SQL Server Agent job
Hi,
I have a SQL Server 2012 SSIS package with a script task along with other tasks [data flow, execute sql tasks ]. When I manually executed the job through BIDS, its completed successfully.
Then I have automated the execution of the package through SQL Server Agent Job. But when I executed the package through SQL Agent job, it runs successfully for all the tasks except script task. When it comes to execute the Script Task, it is getting failed
with the below error message.
"Error: 2012-08-29 12:45:14.67
Code: 0x00000001
Source: Script Task
Description: Exception has been thrown by the target of an invocation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 12:45:10 PM
Finished: 12:45:14 PM
Elapsed: 4.353 seconds
I have installed the SSIS on the 64-bit environment and SSIS service is running. Also I tried to run the job through 32 bit [job option] but I am getting the above error in all cases.
Any help will be greatly appreaciated !
Thanks,
Navin
- naveen.reddyHi Arthur,
My script task access the excel files in a network share, refresh them all and save them. When I execute the ETL manually or thru DTEXEC, it is executing successfully. I am facing the issue when I am executing thru SQL Agent Job only. Logging also showing
the same error.
"Error: 2012-08-23 12:45:14.67
Code: 0x00000001
Source: Script Task
Description: Exception has been thrown by the target of an invocation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 12:45:10 PM
Finished: 12:45:14 PM
Elapsed: 4.353 seconds
- naveen.reddy -
Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?
code on the last frame of your movieclip instance:
_root.gotoAndStop('whatever_frame'); // will work unless this swf is loaded into another swf. in that situation, you should use a relative path to the main timeline (eg, _parent or _parent._parent etc). -
Hide navigation pane of adobe reader through scripting
Hi.. I'm looking for a script to hide the navigation pane of the adobe reader through scripting, is there any way I can achieve that?
my main objective is to restrict user from attaching a file by using navigation pane because I'm already giving buttons to attach a file on the pdf and I want user to attach a file ONLY using buttons on the pdf. Can I achieve this by any other way?
Thanks in advance.
SunaifHi,
you can hide all panes with this script in the docReady:event.
event.target.viewState = {overViewMode:1};
More examples:
http://thelivecycle.blogspot.com/2010/04/xfa-form-control-view-settings.html -
How to load the Employee Images through Script
Dear All,
How to load Employee Images into HRMS module through script, Pls provide scripts any body having..
Thank in advance,
Hanimi
Edited by: Hanimi on Jun 7, 2011 10:12 AMHi Hussain,
Following ctl file is working fine for loading images, But problem is at a time it is loading only 64 rows, pls let me know what i have change in my ctl file for loading all data at a time..
load data
infile '/usr/tmp/Images_Data.dat'
INTO TABLE PER_IMAGES
append
FIELDS TERMINATED BY ','
TRAILING NULLCOLS(
parent_id,
table_name constant "PER_PEOPLE_F",
ext_fname FILLER CHAR(80),
"IMAGE" LOBFILE(ext_fname) TERMINATED BY EOF,i
mage_id "PER_IMAGES_S.nextval"
Thanks,
Hanimi.. -
How to edit roles for specific tasks in IR & ID?
Hello XI gurus,
I need to assign access to specific tasks in IR & ID to dialog users. I tried creating separate roles in IR & ID but they need to have abap roles in the backend. But If I give some abap roles then the user will be having complete access to IR & ID. Can any one please help me how can i get this done.
I ran the trace as well from ST01, but no luck. The actions are not getting traced. Any help will be rewarded. Thanks in advance.
Regards,
Farooq.Farooq,
Refer the below discussions might be helpful, if not ignore it.
Security roles needed for IR and ID access
Best regards,
raj. -
Automating specific tasks in Aperture
I've been looking for a few days how best to do this, or if it's possible at all, please hear me out (this is not a 'lift and stamp').
Task:
Select a number of images and perform a batch auto-level.
Problem:
I can't seem to find a way to do this. If i were to lift and stamp it's lifting specific values and applying those values to all of the selected images, which is not what i need. I'm looking to perform individual auto-levels to the individual image.
_What I've done:_
I've searched these forums and others looking for a way to use automator or some other method to perform this specific task, so far i'm falling short on solutions.
While i spend more time trying to find out the solution for myself, i figured maybe the forum experts could shed some light.As a fairly new user to Aperture, I'm finding that there's a certain workflow I would like to start out with from the get-go when I import images from my camera or others that I'm working with... and it's turning in to a lot of repetitious clicking. After a few hundred images I start looking at the clock wondering if there's a diamond in the rough.
After looking at Automator both at the application (lack of scriptable functions for Aperture?) and online for tutorials it's looking that as of yet there may not be the in-Aperture automation I'm looking for (I was hoping to make a action script as in Photoshop CS3). Albeit I'm a beginner at Automator, so I'm hoping to be wrong on this angle. -
Changing Text Color Through Scripting?
Is it possible to change the color of a text field within a
display icon through scripting ?
Basically using a calc icon I want to display text within a
display icon and change the text color as well. Ideally I would
like to use authorware's RGB function to change the text colour.
Any help greatly appreciated. Thanks in advance."Mike P" <[email protected]> wrote in
message
news:fq5vdj$8jt$[email protected]..
> Is it possible to change the color of a text field
within a display icon
> through scripting ?
>
> Basically using a calc icon I want to display text
within a display icon
> and
> change the text color as well. Ideally I would like to
use authorware's
> RGB
> function to change the text colour.
No. You have two choices. The first is something like this:
{varRed}{varBlue}{varGreen}
the {varRed} text would be red
{varBlue} would be blue
{varGreen} would be green.
Then:
varRed := "This is some text"
varBlue := varGreen := ""
Your text would be red if Update Displayed Variables was
checked on the
icon.
You can also use RTF Objects, which will allow you to set
font color using
named colors or hexadecimals.
HTH;
Amy -
Problem using customer-specific task list
Hi,
I've created a customer-specific task list zap0 (copy of sap0) and defined additional tasks for the list.
When using this task list for a change request, I get the message
Internal Phase Controller Problem
Message no. /TMWFLOW/TASKLIST176
The task list has status created, when trying to change the status, I get the message
INDICATED_CYCLE_NOT_FOUND
Does anyone know this problem?
Thanks in advance
StephanNote 927124 solves the problem ==> thread closed
-
How to check the resolution of the image through scripting
How to check the raster image resolution in illustrator through script?
Thanks for your reply.
I have found another script which returns the dpi of linked images.
I am not so good in scripting could you have a look in this and convert to RasterItem.resolution.
var docRef = activeDocument;
with (docRef) {
// We are expecting 1 placed item (image) here!!!
var placedWidth = placedItems[0].width;
var placedHeight = placedItems[0].height;
var placedPath = placedItems[0].file;
// The 2 variables below are global
XpixelDimension = 0;
YpixelDimension = 0;
// Call the function
exifDimensions(placedPath);
// Calculate the Height & Width DPI's
var widthDPI = Math.floor(XpixelDimension / (placedWidth / 72));
var heightDPI = Math.floor(YpixelDimension / (placedHeight / 72));
alert('Width DPI is ' + widthDPI + ' Height DPI is ' + heightDPI);
function exifDimensions(imageFilePath) {
imageFilePath.open('r');
try {
while (imageFilePath.tell() < imageFilePath.length) {
var line = imageFilePath.readln();
var idxOf = (line.indexOf('<exif:PixelXDimension>') > -1) ? line.indexOf('<exif:PixelXDimension>') : line.indexOf('<exif:PixelYDimension>');
if(idxOf > -1) {
if(line.indexOf('<exif:PixelXDimension>') > -1) XpixelDimension = parseInt(line.substring(line.indexOf(">")+1, line.lastIndexOf("<")));
else YpixelDimension = parseInt(line.substring(line.indexOf(">")+1, line.lastIndexOf("<")));
catch (ex) { alert('Fluff');}
finally { imageFilePath.close(); return [XpixelDimension, YpixelDimension]; }
Thanks in advance
Vinoth -
Error while runnig OIM task purging script OIM_TasksArch.sh
Error while runnig OIM task purging script OIM_TasksArch.sh
## Enter date in YYYYMMDD format
(All the task data for users which have been disabled/deleted on or before the entered date would be archived) :
## All the task data for users which have been disabled/deleted on or before TODAY's date would be archived,
Do you want to continue [y,Y,n,N]? :
y
Calculating the number of records that would be archived,
this may take some time, please wait...
ERROR ==> An error has occurred during the process
Please check logs created at /export/home/oracle/Purging_Task/Err_Arch_tasks_2012_11_05_16_51_22.log and try again
./OIM_TasksArch.sh: test: argument expected
bash-3.00$ cat /export/home/oracle/Purging_Task/Err_Arch_tasks_2012_11_05_16_51_22.log
-- Task Archival Execution Status
Task Data Archival Summary
ORA-00942: table or view does not existIn this link you resolved this issue by giving all privileges to DEV_OIM...
Re: Getting error while running OIM in built purging script OIM_ReconArch.sh
Now if again this ORA-00942: table or view does not exist is coming, possibility is that there is no issue regarding privileges as you already have given all privileges to DEV_OIM...
Anyway try again giving full permissions to it just in case for some reasons permissions might have reset...
Now the only option is to study OIM_TasksArch.sh and figure out which tables or view it wants to refer to and is not available to it..
*./OIM_TasksArch.sh: test: argument expected*
The above line means that this sh file needs some arguments... Please study a bit more to figure out those arguments.. It will work...
*23.2.1 Understanding the Task Archival Utility*
http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/archival_utilities.htm#OMADM3033
Following Parameters i.e. Arguments are needed
# File : OIM_TasksArch.sh
# Purpose : To archive data from active task tables to archival task
# tables and to delete data from active task tables.
# Arguments : 1 --> Location of the Oracle Home(ORACLE_HOME)
# 2 --> Oracle Identity Manager Database Name
# 3 --> Oracle Identity Manager Database User Name
# 4 --> Password for the Oracle Identity Manager Database User -
How to get feedback messages for schema creation script created by Tasks- Generate Script
I am using sql server 2008 R2. I created a script file by using Tasks->Generate Scripts. I
selected option so only create statements are generated for all objects – tables, indexes, views, functions etc in the database.
Then when I used this generated script to create objects in another database in SSMS, it created the objects but did
not give me any feed back, i.e., table created, view created etc. I thought my script did not run , but when I refreshed left panel
of SSMS and I can see all created objects.. So question is what is needed to get
feedback when sql statements are run..You need to add the PRINT statements yourself for that. The wizard will not do it for you.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to assign project specific task with the newly created projects ?
Hi All,
I need help. I need to assign project specific tasks (which i will be taking from staging table) other than the default task which are assigned during project creation. How do I proceed with this within same package. I am attaching the code of my package below...
CREATE OR REPLACE PACKAGE body xxpa_proj_conv_pkg as
PROCEDURE xxpa_create_project_proc(O_ERRBUF OUT VARCHAR2,O_RETCODE OUT VARCHAR2)
is
variables need to derive global parameters
v_responsibility_id NUMBER; --- PA Supervisor responsibility id
v_user_id NUMBER;
deriving global parameters-
-- Variables needed for API standard parameters
v_api_version_number NUMBER := 1.0;
v_commit VARCHAR2(1) := 'F';
v_return_status VARCHAR2(1);
v_init_msg_list VARCHAR2(1) := 'F';
v_msg_count NUMBER;
v_msg_index_out NUMBER;
v_msg_data VARCHAR2(2000);
v_data VARCHAR2(2000);
v_workflow_started VARCHAR2(1) := 'Y';
v_pm_product_code VARCHAR2(10);
---variables for catching errors---
v_error_flag number:=0;
-- Predefined Composite data types
v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
v_CREATED_FROM_PROJECT_ID varchar2(20);
v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
v_person_id NUMBER;
v_project_role_type VARCHAR2(20);
API_ERROR EXCEPTION;
v_a NUMBER;
cursor for project in data
CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
cursor for task data
CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;
------------------------Cursors used for validations----------------------------------
cursor for product code used for validation
cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
cursor for distribution rule-
cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
cursor for project status code
cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
cursor for template/created from project id
cursor ccpid is select project_id from pa_projects where template_flag='Y';
BEGIN
select user_id, responsibility_id into v_user_id, v_responsibility_id
from PA_USER_RESP_V
where user_name like 'amit_kumar%'
and responsibility_name like'PA SupervisorS';
-- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
-- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
-- -------calling global parameters---
pa_interface_utils_pub.set_global_info
p_api_version_number =>v_api_version_number,
p_responsibility_id =>v_responsibility_id,
p_user_id =>v_user_id,
p_msg_count =>v_msg_count,
p_msg_data =>v_msg_data,
p_return_status =>v_return_status
dbms_output.put_line ('Set Global status ->' || v_return_status);
----Cursor for PRODUCT RELATED DATA-----------
FOR REC IN cur_project_in_data LOOP
-----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
----retrieving product code-----
select lookup_code into v_pm_product_code
from pa_lookups
where lookup_type = 'PM_PRODUCT_CODE'
and meaning = 'Oracle Project Manufacturing';
-----retrieving and validating created from project id----
BEGIN
select project_id
into v_CREATED_FROM_PROJECT_ID
from pa_projects_all
where name=rec.created_from_project_name;
EXCEPTION
when others then
O_Retcode := '1';
O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;
END;
-----retrieving & validating carrying out organization id-----
BEGIN
select distinct(CARRYING_OUT_ORGANIZATION_ID)
into v_CARRYING_OUT_ORGANIZATION_ID
from pa_projects_prm_v
where CARRYING_OUT_ORGANIZATION_NAME=rec.carrying_out_organization_name;
EXCEPTION
when others then
O_Retcode := '1';
O_Errbuf :='Incorrent Carrying Out Organization name';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;
END ;
v_project_in.pm_project_reference := rec.segment1;
v_project_in.project_name := rec.PROJECT_NAME;
v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
v_project_in.carrying_out_organization_id := v_CARRYING_OUT_ORGANIZATION_ID;
v_project_in.project_status_code := rec.PROJECT_STATUS_CODE;
v_project_in.description := rec.PROJECT_DESCRIPTION;
v_project_in.start_date := rec.PROJECT_START_DATE;
v_project_in.completion_date := rec.PROJECT_COMPLETION_DATE;
v_project_in.distribution_rule := rec.DISTRIBUTION_RULE;
v_project_in.project_relationship_code := rec.PROJECT_RELATIONSHIP_CODE;
-------------------------Validation of incoming project data--------------------------------
v_error_flag := 1;
project relationship code validation
BEGIN
for prc in cprc
loop
if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
then
v_error_flag :=0;
else null;
end if;
end loop;
END;
project distribution rule validation
BEGIN
for dr in cdr
loop
if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) null since the value can be taken from template too
then
v_error_flag :=0;
else null;
end if;
end loop;
END;
project status code validation
BEGIN
for sc in cpsc
loop
if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null) null since the value can be taken from template too
then
v_error_flag :=0;
else null;
end if;
end loop;
END;
dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
validation logic for project start date
BEGIN
if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
THEN
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='Project start date cannnot be greater than completion date';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
END IF;
END;
validation logic for project completion date
BEGIN
if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
then
if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
THEN
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
END IF;
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='Project closed date cannot be less than start date';
end if;
END;
--------Update staging table for the error records--------
BEGIN
if v_error_flag =1
then
O_Retcode := '1';
O_Errbuf :='Incorrect project relationship code';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
end if;
END;
-----------------------End of validation of incoming project data----------------------------------
---------------Project Task DATA-----------------
v_a:=0;
FOR tsk IN cur_task_in_data LOOP
v_tasks_in_rec.pm_task_reference :=tsk.task_reference ;
v_tasks_in_rec.task_name :=tsk.task_name;
v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
v_tasks_in_rec.task_start_date :=tsk.task_start_date ;
v_tasks_in_rec.task_completion_date :=tsk.task_completion_date ;
v_tasks_in(v_a) := v_tasks_in_rec;
v_a:=v_a+1;
end loop;
---------------end of task details------------------
--INIT_CREATE_PROJECT
pa_project_pub.init_project;
---------------------CREATE_PROJECT--------------------------
pa_project_pub.create_project(
p_api_version_number=> v_api_version_number,
p_commit => v_commit,
p_init_msg_list => v_init_msg_list,
p_msg_count => v_msg_count,
p_msg_data => v_msg_data,
p_return_status => v_return_status,
p_workflow_started => v_workflow_started,
p_pm_product_code => v_pm_product_code,
p_project_in => v_project_in,
p_project_out => v_project_out,
p_key_members => v_key_members,
p_class_categories => v_class_categories,
p_tasks_in => v_tasks_in,
p_tasks_out => v_tasks_out);
if v_return_status = 'S'
then
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success
dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
else
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;
raise API_ERROR;
end if;
END LOOP;
Commit;
------Handling Exception--------
EXCEPTION
WHEN api_error THEN
dbms_output.put_line('An error occured during project creation');
IF (v_msg_count > 0 ) THEN
FOR i IN 1..v_msg_count LOOP
apps.PA_INTERFACE_UTILS_PUB.get_messages(
p_msg_count => v_msg_count,
p_encoded => 'F',
p_msg_index => i,
p_msg_data => v_msg_data,
p_data => v_data,
p_msg_index_out => v_msg_index_out);
dbms_output.put_line('Error message v_data ->'||v_data);
dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
dbms_output.put_line('Error message p_msg_index ->'||i);
APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
END LOOP;
END IF;
WHEN OTHERS THEN
dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
IF (v_msg_count >=1 ) THEN
FOR i IN 1..v_msg_count LOOP
PA_INTERFACE_UTILS_PUB.get_messages(
p_msg_count => v_msg_count,
p_msg_index => i,
p_encoded => 'F',
p_msg_data => v_msg_data,
p_data => v_data,
p_msg_index_out => v_msg_index_out);
dbms_output.put_line('Error message ->'||v_data);
APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
END LOOP;
END IF;
end; --end procedure
END xxpa_proj_conv_pkg;
* Please tell me how to assign project specific task with the newly created projects??? *
Also please tell me how to assign multiple * Project_Relationship_Code * (ex: END CLIENT, GENERAL CONTRACTOR, PRIMARY) for a particular project during project creation?Are you not storing the project number in the staging table designed for storing the task data? You can use create_project API to create the project and tasks at the same time with one single call. You may want to try that option
-
I have made .indd file with some form fields in it, now haw to read these fields and manipulate its content through script in indesign
It's probably best to ask in the InDesign Scripting forum:
InDesign Scripting -
Can you set a layer to "Template" through script?
Hi there,
I am creating a script to batch export multiple artboards as SVG, and setting a layer to "Template" will keep my unwanted paths from exporting. I am using Illustrator version 17.1.9(64bit)
Is there a way to set a layer to "template" through script?
Thanks!
ScottYou are correct on this, if I create a template Action let say called "template layer" I can call that with app.doScript("template layer", "folder"). After testing it does work... on my client where I have the Action, but I have a few other artist who will need to run this script.
EXAMPLE:
for (var i = 0; i < app.activeDocument.layers.length; i++)
app.activeDocument.activeLayer = app.activeDocument.layers[i] ;
if(app.activeDocument.layers[i].visible == false){
app.doScript ("template layer", "NI");
The only other solution I can think of is putting all non-exportable objects on a layer, and call that layer "nonExport" and select all objects on this layer delete them, then export, then undo this action ... ewwww... sounds messy.
Cheers,
Scott
Maybe you are looking for
-
Reminder not working in horizontal mode.
How to use Reminder "horizontal" mode ?
-
Java compilation error messages
Is there any way for HTML DB to return error messages during Java compilation? Every create java command I submit -- unless there is a grievous syntax error -- seems to return statement processed: Given.... CREATE OR REPLACE FUNCTION returnOne RET
-
Miro for return delivery mvt 122
Hi experts I m doing miro ( credit memo ) for return delivery with mvt 122. in this case it is not bringing the quantity and amount of which i have made the return delivery. but it is bringing whole quantity and amount of PO. Please help how can i g
-
Location of the print screen key on my Lenovo G560
I am trying to locate the print screen key on my lenovo G560. I assume it is one of the 'fn' keys near the upper left of the keyboard but there are a few very similar keys....... Thanks in advance for your help, JH Solved! Go to Solution.
-
P2P PO Invoice with respect to Outbound delivery
Hi All, We are facing some issues while doing invoice for Inter company PO with respect to Delivery. We are trying post invoice with respect to outbound delivery. Here problem with invoice quanity. Let us assume We ordered for 100 qty and stock was i