Silent batch export to controlled XML in Reader ?
Hi,
I would like to perform something very similar to SaveAsXML plugin in Acrobat (save content in controlled XML), but only with a reader, in a batch command line operation on potentially many files, in silent mode. I would like to write javascript or XML only, if possible.
Is it possible to reuse the SaveAsXML plugin in Reader only ?
Is it possible to invoke it from an external application in silent mode ?
Thanks in advance for any help.
I have seen issues wiith durations and compatibility when exporting non-standard clips directly through the Batch Export window. Though it is labor intensive, I found that by nesting each clip into a sequence, exporting the sequences resulted in more comatible movie files.
Similar Messages
-
Script for Batch Exporting XML from IDCS3 files
Does anyone have a script they would share for batch exporting XML from IDCS3 files? I do not know anything about scripting so I do not know how to write one myself. I've also searched around and cannot find anything. I would appreciate any help with this anyone can offer.
Thanks,
JanineOr use below Code:
try {
inFolderName= Folder.selectDialog ("Input Folder:");
outFolderName= Folder.selectDialog ("Output Folder:");
if ((inFolderName != null) && (outFolderName != null))
var idFileFolder = new Folder(inFolderName);
var files = idFileFolder.getFiles("*.indd");
for(myCounter = 0; myCounter < files.length; myCounter++)
var theDocument = app.open(File(files[myCounter]));
with ( theDocument ) {
myXMLFile = new File(outFolderName + "/" + name.replace(".indd","") + ".xml" );
exportFile( ExportFormat.xml, myXMLFile );
close(SaveOptions.no);
catch (err ) {
alert("All files export");
Shonky -
SAPInst Stops at reading control.xml
Hi ,
I am installation Live Cache 7.7 on AIX 6.1 operating system by using Netweaver 7.01 Installation Master.Initially when i start sapinst was gettig crashed,so i have updated sapinst with latest patch of 701 build and restarted installation.
After selectig Live Cache Server Installation in the first screen,i can reading control.xml message in SAPINST screen.I have waited for more than 4 hours but still the status is same.
I tried to browse through the logs but did not notice something unusal activity.
Please suggest me.
Satish KuamrHi Satish,
i'm having the same issue, how can you turn it arround???
I just have the _JRE JAva and I'm installing JDK in order to see if it solves it but we'll see!
Thanks and best regards,
Pedro -
We want to export pdf data into xml format (the same way as "Export Data" functionality in Adobe Reader). We have a huge set of pdf files to export (approx 20K). We got to know that we can achieve this using Acrobat 9 Professional software. Please suggest whether this is the right approach. Is it possible to achieve the same functionality through some batch program. Your quick reponse will be appreciated, since we require this information ASAP for one data migration activity.
Hi Bernd,
Thanks for your reply. Can you please elaborate it more as to how I can sent up batch sequence, what javascript code is required for this purpose and what pre-requisite softwares are required to achieve the same.
I read somewhere that using Acrobat 9 Pro OOTB functionality, we can convert pdf form data into xml. We have about 20K pdf files currently that needs to be converted to xml. This is just a beginning and we expect more data in pdf files to be convrted to xml in future. We want to evaluate as to whether we can use Acrobat 9 Pro for this purpose,and how we can set this up as a batch sequence so that no manual intevention is required.
Thanks
Ajith Jacob -
I'm brand-new to Premiere, to this forum, and to video editing generally. I'm hoping someone can help with this problem. I've created several markers for my video (an avi file). I need to export each frame associated with a marker as an image file. I don't want to do this one-by-one because there are a lot of markers and it is very tedious. Is there some way to batch export such frames within the application?
Alternatively, I can extract the <Marker> XML elements from the prproj file and get the images using a Matlab script, if I can figure out what the time is for each marker. The elements look like this:
<Marker Version="1" Index="0">
<First>100072202630400</First>
<Second ObjectRef="33"/>
</Marker>
Does anyone know how to convert the <First> value to a time in seconds?
I should mention that I've tried the PPro Project Utility, but get unreliable results.
Any help will be appreciated.For CS4 and later, you can set up each export and then do them all at once through the Adobe Media Encoder. For earlier versions, you'll have to do each export one at a time.
In either case, the setup for each frame is done manually. There's no auto feature for this. -
I would like to be able to automatically take a QT movie with Chapters marked, and create individual QT movies of each Chapter. The manual method is quite tedious!
Choose File>Batch Export. It will put all the sequences you have exported into an Export Queue and you can then choose where to send each QT movie by highlighting the sequence and choosing Settings. If you have more than one sequence just control-click on, say, Sequence 2, and choose Batch Export. That will give you a new bin and you can send Bin 2 to a different location than Bin 1.
It sounds like this is what you've been doing, so I don't know why it's not working now. What version of FCP do you have? Have you read up on the process in the manual?
jesse. -
How do I set up my drag and drop questionaire to export to a XML file?
How do I set up my drag and drop questionaire to export to a
XML file?
I have a 70 seperate SWF files that pose a question and
contain a drag and drop rank order response of 1,2,3,4.How do I set
up a XML file that receives the responses.I don't understand how to
do the Actionscript
and get my responses to connect to the XML.Please
Help!Thanks!
Here's an example of my XML.
<assessment>
<sessionid>ffae926ea290ee93c3f26669c6c04a92</sessionid>
<request>save_progress</request>
<question>
<number>1</number>
<slot_a>2</slot_a>
<slot_b>1</slot_b>
<slot_c>4</slot_c>
<slot_d>3</slot_d>
</question>
<question>
<number>2</number>
<slot_a>4</slot_a>
<slot_b>3</slot_b>
<slot_c>2</slot_c>
<slot_d>1</slot_d>
</question>
<question>
<number>3</number>
<slot_a>1</slot_a>
<slot_b>2</slot_b>
<slot_c>3</slot_c>
<slot_d>4</slot_d>
</question>
</assessment>Use XML.sendAndLoad.
http://livedocs.macromedia.com/flash/8/main/00002879.html
You will need a server script to receive the XML structure
and it depends on
the server scripting language how you obtain that data. Then
you can either
populate a database or write to a static file or even email
the XML data
received from Flash.
For a basic example, I have two links I use for students in
my Flash
courses:
http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLASP/Ex01/XMLASPEchoEx01_D oc.php
http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLPHP/EX01/XMLPHPEchoEx01_D oc.php
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
"kenpoian" <[email protected]> wrote in
message
news:e5i9hp$cs6$[email protected]..
How do I set up my drag and drop questionaire to export to a
XML file?
I have a 70 seperate SWF files that pose a question and
contain a drag and
drop rank order response of 1,2,3,4.How do I set up a XML
file that receives
the responses.I don't understand how to do the Actionscript
and get my responses to connect to the XML.Please
Help!Thanks!
Here's an example of my XML.
<assessment>
<sessionid>ffae926ea290ee93c3f26669c6c04a92</sessionid>
<request>save_progress</request>
<question>
<number>1</number>
<slot_a>2</slot_a>
<slot_b>1</slot_b>
<slot_c>4</slot_c>
<slot_d>3</slot_d>
</question>
<question>
<number>2</number>
<slot_a>4</slot_a>
<slot_b>3</slot_b>
<slot_c>2</slot_c>
<slot_d>1</slot_d>
</question>
<question>
<number>3</number>
<slot_a>1</slot_a>
<slot_b>2</slot_b>
<slot_c>3</slot_c>
<slot_d>4</slot_d>
</question>
</assessment> -
How do i change the size of a clip using batch export?
hi, when i try and do a batch export to change my clips from a DV PAL to PhotoJpeg 320*240 sized clips the "options" button is greyed out. so all i have as export settings are the QT presets in a pulldown list. is there any way i can create my own setting? (and the also save that?)
thxwhat i'm seeing is that
a) selecting all files in Media Man. gives me the option to size and set codecs but not the audio off.
b) selecting all files in Batch Export allows me to pick a format (QT, aiff etc) choose a preset (photoJpeg included) select whether to include audio and video or both but not set the size or customize the QT settings
c) selecting all clips then "file>export>using QT conversion" gives me all options, but seem to grab only the first clip. -
I am a current Final Cut Pro7 user and looking to switch over to Premiere Pro CS6. We edit approx. 100 short (15 sec.) videos daily, and then select them all at the end of the day and batch export them over night using the same export recipe for all. I have having trouble finding an easy way to do this in Premiere pro CS6, as command +E is grayed out if i select more than one sequence at a time.
so far, it appears that i have to select each video individually and manually set encoding recipe and export location for each.... Not only would this be terribly time consuming, but it leaves a lot of room for error and missed videos. I thought i would be able to send all of the sequences to Adobe Media Encoder, but i dont see that option either.
Any suggestions/
thanks!Open Media Encoder and add your Sequences:
File > Add Premiere Pro Sequence
Navigate to your Premiere Project and select it in the list.
You can then select multiple Sequences from the Project (Ctrl+Click)
and load them all at once into Media Encoder and apply
the same encoding preset to all Sequences at the same time. -
Action batch export issue with image trace
So, currently I'm working on batch processing jpeg sequences using illustrator's image trace and distortion effects. I have batch exported the image traces of the sequences via Adobe bridge. Now I'm trying to create an action which opens the .ai files containing those image traces, apply a graphic style to the trace, and export a png from that. I'm banging my head against the wall trying to get this to work right now. If I do the steps (step by step... not using a recorded action) I want on a single file, it works great, but the moment I batch export using the action I've created, it puts the original .png image that the image trace was linked to, on top of the image. The result is a bunch of .png exports that look exactly like my original image sequence. If I add a "save" function to the action and open the resulting .ai files, I can see that the image trace vectors are in the file. The "linked png" however visible on the layer above those vectors. Anyone have any idea what I'm doing wrong? How do I get rid of that pesky linked image.
Also, for anyone who might be thinking that it has something to do with expanding the image trace before applying effects, this issue I'm running into, I've determined, is happening higher up in the hierarchy of the actions... If I simply make an action to open the image trace illustrator file and save it back out, the same issue occurs... placing the .png "linked file" on top of the vector image.
While I'm at it, I might as well ask if anyone knows how to change the illustrator default image trace preset.... Without being able to change it, or much less specify in the action sequence that I'd like to use a user created image trace preset rather than the default setting, it's greatly overcomplicating my workflow. Makes what could easily be one-step batch processing into two. Seems pretty silly if you ask me.
Please, if you guys have any insights on this, let me know. It's super frustrating... By the way, if you're wondering what type of effect I'm going for, the idea (as well as some explanation into their own process) starts at 12:44 of this video (http://vimeo.com/77427470).
THANKS!Just wanted to let you guys know, for anyone who might be having my same issue... My home computer, even after a fresh install of Illustrator, was still placing the linked jpeg over the traced vector shapes when batch exporting... I did however find a workaround. Rather than using Bridge CS6 for the batch image tracing, I used Bridge CS5 to trace in Illustrator CS5. Then, I used Illustrator CS6 to batch export an action that imported and applied an effect to those image traced sequences. When you do this, it forces you to expand the tracing on import (because of the difference in Illustrator versions I'm assuming). This way, when you batch run the action, it's already working with expanded vector shapes. Not sure why this works, but it does.
Also, I was having some issues getting Illustrator to apply the graphic style when batch exporting. I got it to work by copying an object with that particular graphic style to the clipboard, then adding in the action I was running a "paste" command, followed by a "clear" command. I can only assume that Illustrator was having issues loading custom graphics styles while batch exporting. The paste/delete technique is annoying, but gets it done.
Anyways. Just wanted to check in on this one. I'm happy I was able to muscle my way through it all. -
Problem in Batch Export Report
Hi all,
I have developed a report in PP module for Batch exports.
Here iam providing the input as plant, material no & batch and the output will be Orderwise material no, batch, mat desc, density and Quantity.
While executing the report the output is coming exactly for the first order while for the second order the values are not fetching correctly.
Pls suggest me.
*& Report ZPP_EXPORTBATCH
REPORT ZPP_EXPORTBATCH.
TABLES: MSEG,MKPF,AUFK,AFPO. "
TYPE-POOLS SLIS.
DATA: IT_EVENTS TYPE SLIS_T_EVENT,
WA_EVENTS TYPE SLIS_ALV_EVENT,
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
LIST_LAYOUT TYPE SLIS_LAYOUT_ALV, "#EC *
GS_KEYINFO TYPE SLIS_KEYINFO_ALV, "#EC *
W_PROG TYPE SY-REPID,
P_RS_LINEINFO TYPE SLIS_LINEINFO.
Internal Tables**********************************
TYPES: TY_SCLASS TYPE STANDARD TABLE OF SCLASS.
TYPES: TY_OBJECTDATA TYPE STANDARD TABLE OF CLOBJDAT.
TYPES: BEGIN OF T_MSEG,
BWART LIKE MSEG-BWART,
MATNR LIKE MSEG-MATNR,
MAKTX LIKE MAKT-MAKTX,
CHARG LIKE MSEG-CHARG,
MENGE LIKE MSEG-MENGE,
ERFME LIKE MSEG-ERFME,
AUFNR LIKE MSEG-AUFNR,
AUSP1 LIKE CLOBJDAT-AUSP1,
ERROR(30),
END OF T_MSEG.
TYPES: INT_MSEG_FINAL TYPE STANDARD TABLE OF T_MSEG .
TYPES: BEGIN OF TY_MENGE1,
MATNR TYPE MSEG-MATNR,
CHARG TYPE MSEG-CHARG,
MENGE TYPE MSEG-MENGE,
ERFME TYPE MSEG-ERFME,
MBLNR TYPE MSEG-MBLNR,
ZEILE TYPE MSEG-ZEILE,
END OF TY_MENGE1.
TYPES: TY_MENGE TYPE STANDARD TABLE OF TY_MENGE1.
DATA : LENGTH TYPE I,
DIFFERENCE TYPE I,
IT_CLASS TYPE TY_SCLASS,
IT_OBJECTDATA TYPE TY_OBJECTDATA,
WA_CLASS TYPE SCLASS,
WA_OBJECTDATA TYPE CLOBJDAT,
L_MATNR TYPE MATNR,
INT_MSEG_FINAL TYPE INT_MSEG_FINAL,
WA_MSEG_FINAL TYPE T_MSEG,
WA_MSEG TYPE MSEG,
WA_WEMNG TYPE AFPO-WEMNG,
WA_PSMNG TYPE AFPO-PSMNG,
WA_AMEIN TYPE AFPO-AMEIN,
BAL_QTY TYPE AFPO-WEMNG,
INT_MSEG_TEMP1 TYPE INT_MSEG_FINAL,
WA_CALCULATED1 TYPE AFPO-WEMNG,
IT_MENGE TYPE TY_MENGE,
WA_MENGE1 TYPE TY_MENGE1,
WA_MAKTX TYPE MAKT-MAKTX,
WA_HSDAT TYPE MCH1-HSDAT,
WA_MAKTX_MAIN TYPE MAKT-MAKTX,
MAIN_DEN TYPE STRING,
DENSITY TYPE STRING,
MDENSITY TYPE STRING,
IDENSITY TYPE STRING.
data : tqty like mseg-menge.
data:INT_MSEG_TEMP2 LIKE MSEG OCCURS 0 WITH HEADER LINE.
data:INT_MSEG_TEMP3 LIKE MSEG OCCURS 0 WITH HEADER LINE.
**************Initialization********************************************
INITIALIZATION.
**************Input Parameters List*************************************
SELECTION-SCREEN SKIP 3.
SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEXT-T01 . "#EC
SELECT-OPTIONS : S_WERKS FOR MSEG-WERKS OBLIGATORY, "PLANT
S_MATNR FOR MSEG-MATNR OBLIGATORY, "MATERIAL NUMBER
S_CHARG FOR MSEG-CHARG, "BATCH
S_BUDAT FOR MKPF-BUDAT. "POSTING DATE
SELECTION-SCREEN END OF BLOCK BLOCK1.
START-OF-SELECTION.
PERFORM READ_DATA.
PERFORM SUB_PREPARE_FIELDCATALOG.
PERFORM FILL_EVENTS_TABLE.
END-OF-SELECTION.
PERFORM DISPLAY_DATA_USING_GRID.
*& Form READ_DATA
text
--> p1 text
<-- p2 text
FORM READ_DATA .
DATA :INT_AFPO LIKE AFPO OCCURS 0 WITH HEADER LINE.
DATA :INT_MSEG LIKE MSEG OCCURS 0 WITH HEADER LINE,
INT_MSEG_TEMP LIKE MSEG OCCURS 0 WITH HEADER LINE.
SELECT SINGLE MAKTX
INTO WA_MAKTX_MAIN
FROM MAKT
WHERE MATNR IN S_MATNR.
DATA : WA_MENGE LIKE MSEG-MENGE.
SELECT SINGLE *
FROM AFPO
INTO INT_AFPO
WHERE MATNR IN S_MATNR
AND CHARG IN S_CHARG
AND DWERK IN S_WERKS.
MOVE INT_AFPO-WEMNG TO WA_WEMNG.
MOVE INT_AFPO-PSMNG TO WA_PSMNG.
MOVE INT_AFPO-AMEIN TO WA_AMEIN.
SELECT *
INTO TABLE INT_MSEG
FROM MSEG
WHERE AUFNR = INT_AFPO-AUFNR
AND BWART IN ('261' , '262' )
AND WERKS IN S_WERKS.
REFRESH INT_AFPO.
int_mseg_temp3[] = int_mseg[].
LOOP AT INT_MSEG.
clear tqty.
loop at int_mseg_temp3 WHERE MATNR = INT_MSEG-MATNR
and charg = int_mseg-charg
AND AUFNR = INT_MSEG-AUFNR
if int_mseg_temp3-bwart = '261' .
tqty = tqty + int_mseg_temp3-menge.
elseif int_mseg_temp3-bwart = '262'.
tqty = tqty - int_mseg_temp3-menge.
endif.
endloop.
int_mseg-menge = tqty.
SELECT SINGLE *
FROM AFPO
INTO INT_AFPO
WHERE MATNR = INT_MSEG-MATNR
AND CHARG = INT_MSEG-CHARG
AND DWERK IN S_WERKS.
IF SY-SUBRC EQ 0 AND INT_AFPO-AUFNR <> ' '.
SELECT * FROM MSEG
INTO TABLE INT_MSEG_TEMP
WHERE AUFNR = INT_AFPO-AUFNR
AND BWART IN ('261' , '262' )
AND WERKS IN S_WERKS.
LOOP AT INT_MSEG_TEMP.
WA_CALCULATED1 = ( INT_MSEG_TEMP-MENGE / INT_AFPO-WEMNG ) * INT_MSEG-MENGE.
WA_MENGE1-MENGE = WA_CALCULATED1.
WA_MENGE1-MATNR = INT_MSEG_TEMP-MATNR.
WA_MENGE1-CHARG = INT_MSEG_TEMP-CHARG.
WA_MENGE1-ERFME = INT_MSEG_TEMP-ERFME.
WA_MENGE1-MBLNR = INT_MSEG_TEMP-MBLNR.
WA_MENGE1-ZEILE = INT_MSEG_TEMP-ZEILE.
APPEND WA_MENGE1 TO IT_MENGE.
CLEAR: WA_CALCULATED1, WA_MENGE1.
ENDLOOP.
SORT IT_MENGE BY MBLNR ZEILE MATNR CHARG.
ENDLOOP.
CLEAR INT_MSEG.
MODIFY TABLE INT_MSEG FROM INT_MSEG_TEMP.
LOOP AT INT_MSEG_TEMP.
MOVE-CORRESPONDING INT_MSEG_TEMP TO INT_MSEG.
READ TABLE IT_MENGE INTO WA_MENGE1
WITH KEY MATNR = INT_MSEG_TEMP-MATNR
CHARG = INT_MSEG_TEMP-CHARG
MBLNR = INT_MSEG_TEMP-MBLNR
ZEILE = INT_MSEG_TEMP-ZEILE.
INT_MSEG-MENGE = WA_MENGE1-MENGE.
APPEND INT_MSEG.
CLEAR INT_MSEG.
*Added for Changes given by anup ART:09MAR08
CLEAR WA_MENGE1-MENGE.
*End of for Changes given by anup ART:09MAR08
ENDLOOP.
REFRESH INT_MSEG_TEMP.
CLEAR INT_AFPO.
ELSE.
MOVE: INT_MSEG-MATNR TO WA_MSEG_FINAL-MATNR,
INT_MSEG-CHARG TO WA_MSEG_FINAL-CHARG,
INT_MSEG-MENGE TO WA_MSEG_FINAL-MENGE,
INT_MSEG-ERFME TO WA_MSEG_FINAL-ERFME,
INT_MSEG-BWART TO WA_MSEG_FINAL-BWART .
APPEND WA_MSEG_FINAL TO INT_MSEG_FINAL.
CLEAR WA_MSEG_FINAL.
CLEAR INT_AFPO.
ENDIF.
ENDLOOP.
INT_MSEG_TEMP1[] = INT_MSEG_FINAL[].
REFRESH INT_MSEG_FINAL.
SORT INT_MSEG_TEMP1 BY MATNR CHARG.
LOOP AT INT_MSEG_TEMP1 INTO WA_MSEG_FINAL.
ON CHANGE OF WA_MSEG_FINAL-MATNR
OR WA_MSEG_FINAL-CHARG.
IF WA_MSEG_FINAL-BWART = '261'.
WA_MENGE = WA_MENGE + WA_MSEG_FINAL-MENGE.
ELSEIF WA_MSEG_FINAL-BWART = '262'.
WA_MENGE = WA_MENGE - WA_MSEG_FINAL-MENGE.
ENDIF.
WA_MSEG_FINAL-MENGE = WA_MENGE.
CLEAR WA_MENGE.
APPEND WA_MSEG_FINAL TO INT_MSEG_FINAL.
CLEAR WA_MSEG_FINAL.
ENDON.
ENDLOOP.
LOOP AT INT_MSEG_FINAL INTO WA_MSEG_FINAL.
SELECT SINGLE MAKTX
INTO WA_MAKTX
FROM MAKT
WHERE MATNR = WA_MSEG_FINAL-MATNR.
WA_MSEG_FINAL-MAKTX = WA_MAKTX.
MODIFY INT_MSEG_FINAL FROM WA_MSEG_FINAL TRANSPORTING MAKTX.
CLEAR WA_MAKTX.
****************CHGS BY MURALI.C FOR
DATA: WA_OBJECT(50) TYPE C.
LENGTH = STRLEN( WA_MSEG_FINAL-MATNR ).
IF LENGTH LT 18.
DIFFERENCE = 18 - LENGTH.
DO DIFFERENCE TIMES.
CONCATENATE WA_MSEG_FINAL-MATNR SPACE INTO L_MATNR.
ENDDO.
ENDIF.
CONCATENATE L_MATNR WA_MSEG_FINAL-CHARG INTO WA_OBJECT RESPECTING
BLANKS.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
CLASS = ' '
CLASSTEXT = 'X'
CLASSTYPE = '023'
CLINT = 0
FEATURES = 'X'
LANGUAGE = SY-LANGU
OBJECT = WA_OBJECT
OBJECTTABLE = 'MCH1'
KEY_DATE = SY-DATUM
INITIAL_CHARACT = 'X'
NO_VALUE_DESCRIPT = NO_VALUE_DESCRIPT
CHANGE_SERVICE_CLF = 'X'
INHERITED_CHAR = ' '
CHANGE_NUMBER = ' '
TABLES
T_CLASS = IT_CLASS
T_OBJECTDATA = IT_OBJECTDATA
I_SEL_CHARACTERISTIC = I_SEL_CHARACTERISTIC
T_NO_AUTH_CHARACT = T_NO_AUTH_CHARACT
EXCEPTIONS
NO_CLASSIFICATION = 1
NO_CLASSTYPES = 2
INVALID_CLASS_TYPE = 3
OTHERS = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
read TABLE IT_OBJECTDATA INTO wa_objectdata
with KEY SMBEZ = 'Density'.
if wa_objectdata-ausp1 <> '?'.
perform density_calc using wa_objectdata-ausp1 changing idensity.
WA_MSEG_FINAL-AUSP1 = idensity.
else.
WA_MSEG_FINAL-ERROR = 'classification value missing'.
endif.
MODIFY INT_MSEG_FINAL FROM WA_MSEG_FINAL TRANSPORTING AUSP1 ERROR.
CLEAR :WA_MSEG_FINAL-MATNR,WA_MSEG_FINAL-CHARG,WA_MSEG_FINAL-AUSP1,WA_OBJECT,WA_OBJECTDATA-AUSP1.
ENDLOOP.
ENDFORM. " READ_DATA
*& Form SUB_PREPARE_FIELDCATALOG
text
--> p1 text
<-- p2 text
FORM SUB_PREPARE_FIELDCATALOG .
X_FIELDCAT-FIELDNAME = 'MATNR'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'MATERIAL NUMBER'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 10.
X_FIELDCAT-KEY = 'X'.
X_FIELDCAT-KEY_SEL = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'MAKTX'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'MATERIAL DESCRIPTION'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 17.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'CHARG'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'BATCH'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 10.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'AUSP1'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'DENSITY'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 6.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'MENGE'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'QUANTITY'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 9.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'ERFME'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'UOM'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 9.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
*X_FIELDCAT-FIELDNAME = 'EDATU1'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'CONFIRMED QUANTITY DATED'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 9.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'ETENR1'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'CONFIRM SL NO'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 9.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'LFIMG'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'DELIVERED QUANTITY'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 18.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'ERDAT'.
X_FIELDCAT-TABNAME = 'INT_MSEG_FINAL'.
X_FIELDCAT-SELTEXT_M = 'DELIVERED DATE'. "#EC NOTEXT
X_FIELDCAT-JUST = 'C'.
X_FIELDCAT-OUTPUTLEN = 18.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
ENDFORM. " SUB_PREPARE_FIELDCATALOG
*& Form FILL_EVENTS_TABLE
text
--> p1 text
<-- p2 text
FORM FILL_EVENTS_TABLE .
WA_EVENTS-NAME = 'TOP_OF_PAGE'.
WA_EVENTS-FORM = 'PRINT_HEADING'.
APPEND WA_EVENTS TO IT_EVENTS.
ENDFORM. " FILL_EVENTS_TABLE
FORM PRINT_HEADING. "#EC CALLED
DATA IT_HEADINGS TYPE SLIS_T_LISTHEADER.
DATA WA_HEADINGS LIKE LINE OF IT_HEADINGS.
CLEAR WA_HEADINGS.
WA_HEADINGS-TYP = 'H'.
WA_HEADINGS-INFO = ' '.
WA_HEADINGS-TYP = 'H'.
WA_HEADINGS-INFO = ' BATCH EXPORT DETAILS REPORT '.
APPEND WA_HEADINGS TO IT_HEADINGS.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_HEADINGS
I_LOGO = 'APARLOGO' .
ENDFORM. "PRINT_HEADING
*& Form DISPLAY_DATA_USING_GRID
text
--> p1 text
<-- p2 text
FORM DISPLAY_DATA_USING_GRID .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_BYPASSING_BUFFER = 'X'
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-CPROG
IT_FIELDCAT = IT_FIELDCAT
I_SAVE = 'A'
IT_EVENTS = IT_EVENTS
TABLES
T_OUTTAB = INT_MSEG_FINAL
IF SY-SUBRC <> 0. "#EC *
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_DATA_USING_GRID
*& Form density_calc
text
-->P_WA_OBJECTDATA_AUSP1 text
<--P_IDENSITY text
FORM density_calc USING WA_OBJECTDATA_AUSP1
CHANGING DENSITY.
data: den type float,density1(8).
density1(8) = wa_objectdata-ausp1.
call function 'CHAR_FLTP_CONVERSION'
exporting
DYFLD = ' '
MASKN = ' '
MAXDEC = '16'
MAXEXP = '59+'
MINEXP = '60-'
string = density1
MSGTYP_DECIM = 'W'
importing
DECIM =
EXPON =
flstr = den
IVALU =
EXCEPTIONS
EXPONENT_TOO_BIG = 1
EXPONENT_TOO_SMALL = 2
STRING_NOT_FLTP = 3
TOO_MANY_DECIM = 4
OTHERS = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
if den gt 0.
density = 1 / den.
density = density(5).
density = density / 10.
den = strlen( density ).
if den ge 6.
density = density(6).
clear: den.
den = strlen( density ).
elseif den lt 6.
density = density.
clear: den.
den = strlen( density ).
endif.
else.
density = '0.000'.
endif.
den = strlen( density ).
data: den3(5) type c.
if den gt 3.
case den.
when '6'.
clear: den3.
compute den3 = 10000 * ( density(6) - density(5) ).
if den3 between 6 and 9.
clear: den3.
compute den3(2) = 10000 * ( density(5) - density(4) ).
compute den3 = den3(1) + 1.
compute den3 = den3 / 1000.
compute density = density(4) + den3.
endif.
when '5'.
clear: den3.
compute den3 = 1000 * ( density(5) - density(4) ).
if den3 between 6 and 9.
clear: den3.
compute den3(2) = 1000 * ( density(4) - density(3) ).
compute den3 = den3(1) + 1.
compute den3 = den3 / 100.
compute density = density(3) + den3.
endif.
endcase.
endif.
density = density(5).
ENDFORM. " density_calcHello,
I haven't checked the code but from the symptom you describe it could be possible that some fields used to calculate valeus are not getting cleared between calculations. This could result in some values from order the first order one being used in the calculation for values in the second order.
Regards,
Steve. -
Using BATCH-EXPORT on subclips vs MM to create independent media files
I've been capturing full HDV tapes with the DV Start/Stop Detection turned on and everything has worked just fine - until now. I'm now encountering a problem w FCP "Searching for Media" on roughly 25% of my clips DURING capture, and in the process, losing about 5 seconds at the start of the clip. I've been having lots of problems w my G5 over the last couple months and it's been acting quite slow and I imagine this is related to that.
So... after a full 2 days trying to get Media Manager to create independent media files from my subclips (after capturing a twenty minute chunk whole, then breaking it down), following the FCP manual volume II pg 42 to a tee... I concur w many others on this site that Media Manager *****! No matter what I did, it would not produce new files out of my subclips and instead kept giving me the same error: "Reconnect Media Failed. The clip such-and-such was unable to be reconnected to the trimmed file due to a mismatch of the media present in the file... yada yada." Yes, I shortened the end of the first subclip by a couple frames, and I also had another subclip to delete, and I tried going straight from the bin, then from the timeline, then after making all clips independent in the timeline... nothing!
Then I discovered BATCH EXPORT.
Using it, I exported my HDV subclips using Quicktime Movie, Self-Contained, HDV 30, audio and video. It processed 20 minutes of subclips in just a few minutes so I'm fairly confident that no real 'processing' occurred.
Can someone verify for me though that this is a safe procedure and that I am not re-processing HDV files with more HDV nonsense? Before continuing, I would just like to know for sure that Batch Export produces exactly the same result with subclips then if I were to simply capture one clip at a time.
Thanks a bunch,
ChrisI can confirm that it does not merge audio tracks. Track 1 and 2 remain the same. In fact everything appears as it would if I were to capture direct, I just want someone who knows better to validate this!
Also, has anyone else experienced the slowdown during log & capture that I described, with the intermittent message "searching for media"? -
Can you batch export in FCP X, can you batch export in FCP X
I work for a business and am constantly working on projects that have multiple, separate projects within the same project. because of this I do all my editing during my business day and then when I leave for the day, I used to batch export the projects and the next morning I would come into work and be able to move onto the next thing. so far in FCP X I have not been able to find out how to do that. I know that in FCP 7 you could do it obviously, but I'm wondering...does FCP X have that same capability because I can't seem to find it and I don't really have the time to waste by exporting during the day.
Thanks for your help,
ScottyHey Scotty,
Andynick is correct about the batch export workaround. The way I do it is this:
1. Go to the Project Library
2. Select the first project you want to export
3. Go to file>Send to Compressor. (I set a shortcut -Sift>Option>C from preferences, If you need help with that let me know.
4. Repeat this process for each project
5. Go to Compressor (it will already be open)
6. Now here's where it gets kind of anoying, You need to choose which batch you want to make your main one. Pull off the tab on top and drag that project into your prefered batch, then close the old tab. Now you'll have two projects in your chosen batch.
7. repeat that process for the rest of the batches Compressor created. When you're done you should only have one batch open with all of your projects in it.
8. Submit the batch and let Compressor do it's thang.
Things to note:
When you send a project to compressor, it will automatically choose your default settings and location. If you want them to be different you'll have to do it mannually or change your defaults before you begin this process.
FUN right! Hopefully Apple will fix this so you can at least select multiple projects in the Project Library to make it a bit easier.
If anyone has a better workflow I am all ears! -
Script to batch export multiple Books (.indb) to PDF
I have multiple InDesign Book files that I would like to batch export to PDFs, respectively. (Not looking to combine multiple books into a single PDF. Just a 1 to 1 PDF export for each Book file.)
In googling for an answer, I found Peter Kahrel's script for doing just this for other InDesign files, but it does not work for Books. http://www.kahrel.plus.com/indesign/batch_convert.html
Does anyone know of a solution (paid or otherwise) for this process? Opening up each Book and exporting to PDF from the ID menu takes quite a bit of time when doing this for several dozen files.
Looking forward to any discussion to come up with a solution if one can be found... Mr. Kahrel's javascript file is a binary js file, so it can't be modified as is, and other solutions I've found around the web don't clearly state that they work with Book files or not.try below code
before run script close all indb file
var fileFilters = "InDesign:*.indb*";
var myFolder = Folder.selectDialog ("choose Folder", fileFilters, false);
var files = myFolder.getFiles("*.indb");
for(i = 0; i < files.length; i++)
var theDocument = app.open(File(files[i]), true);
with ( theDocument ) {
alert ( theDocument.name)
exportPdf(theDocument)
function exportPdf(theDocument)
myFilePath = myFolder + "/" + theDocument.name + "_" + ".pdf";
myFile = new File(myFilePath);
theDocument.exportFile(ExportFormat.pdfType, myFile, false, app.pdfExportPresets.item('[Smallest File Size]'));
theDocument.close(SaveOptions.no) -
InDesign Conditional text batch export with TOC update
Hello Everyone,
I'm just getting into the scripting, so bear with me please.
I have an indesign document with several conditional text variations and a generated Table Of Contents. I've found -hans-'s batch exporting script which works perfectly, BUT, in my document there are conditional headings too, which have their impact on the TOC of course and sadly indesign's toc update is not live. So all I need, is add a line (or 2) in the script that selects and updates the TOC for me before exporting each PDF. I've tried labeling the TOC text frame (with script label) and invoke a menu action on it, but I think I didn't get the Syntax right. I guess for someone experienced this is a really simple task.
Here is -hans-'s Conditional text batch exporting script:
http://forums.adobe.com/message/4764443
thanks for your help!
wood1yHi,
Thank you for your answer. This is my syntax so far. All I did to -hans-'s script was, I tried to create a variable with a text frame that has the "TOC" label, select it with a .select action (found it on a forum) that doesn't work, and tried to invoke the update toc with app.scriptMenuActions.itemByID(71442).invoke(); which doesn't work either. So yes, as I told you, I'm a beginner.
var nameOfThePDFExportPresetYouWantToUse = 'DiscManual' //please don't forget to set!
var currDoc = app.activeDocument;
var currFilePath = currDoc.filePath.absoluteURI + '/';
var currFileName = currDoc.name.replace(/.indd/, '');
var currConditions = currDoc.conditions;
var myTOC = currDoc.textFrames.item("TOC")
//set all conditions visible to false
currConditions.everyItem().visible = false;
l = currConditions.length;
//cycle thru conditions
while(l--){
currCondition = currConditions[l];
//set actual condition visible to true
currCondition.visible = true;
currConditionName = currCondition.name
//select TOC
myTOC.select();
//update TOC
app.scriptMenuActions.itemByID(71442).invoke();
//set pdfName
var exportTo = File(currFilePath + currFileName + '_' + currConditionName +'.pdf');
//Have a look here:
//export PDF. to choose backgroundexport. use the second line of code
//currDoc.exportFile(ExportFormat.PDF_TYPE, exportTo,false, nameOfThePDFExportPresetYouWantToUse);
currDoc.asynchronousExportFile(ExportFormat.PDF_TYPE, exportTo,false, nameOfThePDFExportPresetYouWantToUse);
//set actual condition visible to false
currCondition.visible = false;
Maybe you are looking for
-
Problem when editting a row in report
Hello, I have a problem when I want to edit a row in a report. I have created a form with report, and now whe I click on the edit icon on the report page, it navigates me to the form page but wothout the row data, so it let me create a new row.. What
-
Can you use microsoft word on an ipad 2 for free and how?
HI my family and friends tell me I can do my coursework on the ipad2 and use Microsoft word. Is it true and how do I set it up and download it thanks Shannon
-
My iPad 3 has no volume.
My iPad 3 has no volume when I play any multimedia with audio and airplay indicates that it is connected to a dock. There is no iPad option as there should be. The volume slider is missing the volume control knob. There is no dock connected. Interes
-
Reporting monthly values as daily
I have infocube data like the following: fiscper.............qty 009/2007.........60 And I need to produce a report like this: date................qty 09/01/07...........2 09/02/07...........2 09/03/07...........2 etc. thru end of month (total qty be
-
How to make a left side menu?
I need to know how to make a left side menu for my site, can anyone help me? I am new to macromedia dreamweaver MX. Thanks