Information about all images created
There is a vi in the
Smail
Tags: NI Hardware
Similar Questions
-
[CS3 JS] Get information about Photoshop images in InDesign
Hello
Thanks to an InDesign script I can get several pieces of information about an image, for example, the name of the file, the resolution in PPI, the size in inches, color mode, etc.
What I was wondering if it is possible to know how many layers a Photoshop image can have. I would like a quick way to know if an image was flattened (layer) without having to open the image in Photoshop.
Tom
You can do it via BridgeTalk, here is an example. Select a TIF or PSD image and run the script.
const gScriptName = "Get number of layers"; const gScriptVersion = "1.0"; var gLayersNumber; Main(); //===================================== FUNCTIONS ====================================== function Main() { var image, pixelDimensionsArr, folderPath, copyResult; var doc = app.activeDocument; try { if (app.selection[0].constructor.name == "Image") { image = app.selection[0]; } else if (app.selection[0].images.length > 0) { image = app.selection[0].images[0]; } else { ErrorExit("The selection contains no image."); } } catch(err) { ErrorExit("The selection contains no image."); } var link = image.itemLink; if (!link.isValid) ErrorExit("Can't get the link."); if (link.linkType == "Photoshop" || link.linkType == "TIFF") { if (link.status == LinkStatus.NORMAL) { linkFile = new File(link.filePath); if (linkFile.exists) { CreateBridgeTalkMessage(link.filePath); alert("Number of layers: " + gLayersNumber); } } } } //-------------------------------------------------------------------------------------------------------------------------------------------------------- function CreateBridgeTalkMessage(imagePath) { var bt = new BridgeTalk(); bt.target = "photoshop"; var script = "GetLayersNumber = " + GetLayersNumber.toSource() + "\r"; script += "GetLayersNumber(\"" + imagePath + "\");"; bt.body = script; bt.onResult = function(resObj) { gLayersNumber = resObj.body; } bt.onError = function(msg) { alert("Error: " + msg.body); } bt.send(100); } //-------------------------------------------------------------------------------------------------------------------------------------------------------- function GetLayersNumber(imagePath) { var f = new File(imagePath); app.displayDialogs = DialogModes.NO; var doc = app.open(f); var layersNumber = doc.artLayers.length; doc.close(SaveOptions.DONOTSAVECHANGES); app.displayDialogs = DialogModes.ALL; return layersNumber; } //-------------------------------------------------------------------------------------------------------------------------------------------------------- function ErrorExit(error, icon) { alert(error, gScriptName + " - " + gScriptVersion, icon); exit(); } //--------------------------------------------------------------------------------------------------------------------------------------------------------
-
In my application, it is possible for users to upload documents to WebCenter Content server. Later, when a BPM process is started, I need to attach these documents to this process. Based on this article, I need the following information on each document:
- Do you have
- dRevisionID
- dFormat
- dDocType
- dSecurityGroup
- DocUrl
I tried a few services such as 'COLLECTION_GET_CONTENTS' and 'COLLECTION_DISPLAY', but they could not give me all of the above information. My goal is to get all the documents in a folder and all of the above information in 1 single service call. I try to avoid using "COLLECTION_GET_CONTENTS" just to get a list of the documents and then call "DOC_INFO" on each document in the list to get detailed information, as it seems to cost too much service calls.
I also tried using "GET_SEARCH_RESULTS" but I could not understand the correct "QueryText" to search for all documents in a folder.
I would be very grateful if you could show me if there is a service that can return detailed information about all the documents in a folder.
Best regards
James Tran
Hi James,
With the help of this COLLECTION_GET_CONTENTS - RIDC you can get your required document information.
Try this code example: -.
dataBinder.putLocal ("IdcService", "COLLECTION_GET_CONTENTS");
dataBinder.putLocal ("hasCollectionID", "true");
dataBinder.putLocal ("dCollectionID", "235418074907008521");
Where 235418074907008521 replace with your record Collection ID
Send the request to the content server
ServiceResponse response = idcClient.sendRequest (userContext, dataBinder);
Download the workbook of data for the response of the content server
DataBinder responseData = response.getResponseAsBinder ();
The list of
results = responseData.getResultSet("CONTENTS").getRows (); for (DataObject result: results) {}
System.out.println ("\t Document ID =" + result.get ("dID"));
System.out.println ("\t revision ID =" + result.get ("dRevisionID"));
System.out.println ("\t Document Format =" + result.get ("dFormat"));
System.out.println ("\t Document Type =" + result.get ("dDocType"));
System.out.println ("\t Security Group =" + result.get ("dSecurityGroup"));
System.out.println ("\t Docu URL =" + result.get ("dWebURL"));
}
-Prashant
-
Where to find information about all Tables of the Source for Oracle EBS
Hi all
We strive to implement Oracle EBS R12.1.3 with analytics (OBIEE11g).
Currently, we need to know all the sources (Oracle EBS) Tables for the following modules:
1. supply chain and order management Analytics
2. purchases & move analytical
3 finance Analytics
We have searched in Google, could not find any information.
Can anyone share a document link that can provide some information about it?
Thanks in advance
Concerning
Nathalie1. production & order management Analytics
All the major paintings in inventory (Articles, categories, onhand, operations), order management (headers, lines, clients, types of orders, deliveries), WIP (work, work order requirements, operations orders)
2. purchases & move analytical
All the main tables in shopping (po_headers, po_lines, shipments, suppliers, receipts, invoice headers, distributions, the invoice),
3 finance Analytics
All the big tables of AP, AR, GLAnalytics extract data from a large number of tables. (hundreds, if not thousand)
I'm curious to know what you do with this information.Sandeep Gandhi
-
Export information on all images
How to export the following info on all the images in an InDesign document:
Page image is on
Name of the image
Full path of the image
The image on the page location (x, y)
I would like to export the data to a txt or csv with data for each image on a separate line.
What makes a new ID file with a list of delimited by tabs with pages no., name of the image, image path, x and y. X and x are relative to the page that spreads do not.
-
Good evening. My lightroom shows white instead of the images. It presents information about all images and appear as images were shown. I use windows 10. Is someone can help me?
Double post; See my response to your other post: Re: after importing into Lightroom, my pictures appear as white squares - no image. [was: Ned Help!]
-
All detailed information about Viewer?
All detailed information about Viewer to Muse? on the adobe Web site. What happened to the manuals!
Hello
You will find video tutorials for various features in Muse on http://tv.adobe.com
You can also check http://www.adobekb.com/ for more tutorials.
- http://tv.adobe.com/watch/muse-feature-tour/muse-create-a-lightbox/
- http://tv.adobe.com/watch/learn-muse/adobe-muse-creating-a-lightbox-slideshow/
Kind regards
Abhishek Maurya
-
I've implemented several contact groups from entries in my address book. I want to print all the information about each person in the group - name, address, notes, etc. Now when I go to print, it only gives me name and e-mail address.
Click on the Forums link at the top of this page, go to the forums of office and select the Outlook forum to ask your question.
-
Hello, I would like to use JavaScript to update the PDF file. I saw the 'function' 'SearchAndRedactCmd' where can find no information about it. At that moment, I just find information on what it easy as all THE
There is no such command in Acrobat JS. Maybe it's the name of an item in menu or function, that someone wrote.
-
Someone has created a website for my business before I joined 5 weeks ago. We do not have a lot of information about how they did it! I know it's good Muse - any ideas on how to get into the back-office to do this editing?
You would need to Muse and the original file of Muse. There is no 'back-office' on Muse like WordPress or Joomla sites! If that's what you're looking for.
-
PSE9/Win 7: Can I create a Smart Album of all images that do not have a certain tag?
With the help of PSE9 on Windows 7.
I would like to create a Smart Album that contains all images that do not have a particular tag.
When I click on create new Smart Album dialog box allows me to select "key words".
But I'm calling "Include". I can select the tags I want.
Basically, I want to include it in "exclude".
Any way to do something like that?
Hello
You can try this.
(1) view all photos
(2) check the keyword tag you are interested in
(3) under Options, Select hide correspond better results & show results that do not match (i.e. reverse the last two conditions).
to read
That should show you what you wanted to see
(4) now use the option high save search criteria as Smart Album and give it a name
This seems to remember the conditions reversed and the tag.
Good luck
Brian
-
How to get more information about the user using SecurityContext ADF?
Hello.
In my application I have a table use:
CREATE TABLE ("ADM_USERS"
ACTIVATE THE 'ID' NUMBER(*,0) NOT NULL,
ACTIVATE THE 'U_NAME' VARCHAR2 (30 BYTE) NOT NULL,
ACTIVATE THE "U_PASS" VARCHAR2 (255 BYTE) NOT NULL,
VARCHAR2 (30 BYTE) "NAME."
VARCHAR2 (30 BYTE) 'NAME')
I configured the WebLogic environment using the the "reading- SQL only the authentication provider ' and then I configured ADF Security as ADF authentication -> Forms -authentication.
I connect the user using the method of ""doLogin " and all that working properly. "
public String doLogin() {}
String _username =;
Byte [] pw = _password.getBytes ();
FacesContext fctx = FacesContext.getCurrentInstance ();
HttpServletRequest request = (HttpServletRequest) () .getRequest () fctx.getExternalContext;
try {}
Topic topic = Authentication.login (new URLCallbackHandler (UN, pw));
ServletAuthentication.runAs (object, request);
String loginUrl = "/ adfAuthentication?success_url=/faces/Registry.jsf";
HttpServletResponse response = (HttpServletResponse) fctx.getExternalContext (m:System.NET.FtpWebRequest.GetResponse ());
sendForward (request, response, loginUrl);
} catch (FailedLoginException fle) {}
FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, "Incorrect name or password","Incorrect name or password" "");
fctx.addMessage (null, msg);
} catch {} (the LoginException)
reportUnexpectedLoginError ("LoginException", the);
}
Returns a null value.
}
securityContext.userName returns the value of the 'U_NAME '.
How to make more information on the user connected such as NAME, ID, first NAME?
And the second question:
How to store the value of the field 'ID' in table 'ADM_USERS' in any table with the 'IDUSER' with objects of entity created in application scope?
Concerning
Darek
securityContext.userName returns the value of the 'U_NAME '.
How can I get more information about the user logged as NAME, first NAME, ID?You can not.
You need to query DB.
How to store the value of the field 'ID' in table 'ADM_USERS' in any table with the 'IDUSER' with objects of entity created in application scope?
Record this value in UserData structure so it will be available in the model. http://andrejusb.blogspot.com/2012/05/solution-for-sharing-global-user-data.html
Then use as default expression for your objects of entity attributes (something like: adf.userSession.userData.yourUserDataVar).
Dario
-
Need more information about EO, VO and AM *.java files
Hello
Friends and experts, I need your help in learning OAF.
I'm new to OAF and want to know more information about the following java classes.
When I created a simple search with EO, VO and AM page, the following java classes are created.
I want to know
What is it?
What to do with it?
where do use us it?
The sample scripts if possible?
EOImpl.java
Please correct me if I am wrong, I know that we use it to manipulate data for a particular line, such as getattribut, setattribute, delete, update, insert operations. There are different methods are been created when you create the OS if you select options in the method "generate" during step 4 on Assistant EO.
EOCollImpl.java
???
VOImpl.java
???
ViewRowImpl
???
AMImpl.java
????
Thank you
Sri.Hi Sri,
EO:
Entity objects are essentially based on a single table that encapsulate business rules. These objects are used by the OAF page to perform update/insert/delete operations.
Inside of the EOImpl.java you will find setter() and the get accessor () Java methods that we call like accessor and mutator, each OT attribute is mapped to the column in the database table.
You can also generate a create method Validate () method.
For example: to get the value of the sequence in the OPS, you can use method Create().VO:
VOImpl (VO): He just consist of an sql database query, you have probably noticed during execution of a query for example: VO.executeQuery ();
to run any validation it provides iteration and access to the rows in its result set.VoRowImpl: Represents an individual line in a view object.
You will understand when you write code using objects /voRowimpl voimpl
AmImpl:
It basically performs the business logic, we will define our methods to implement the business logic.
For example: you can call a controller method and set the Amimpl.java method, you can use the initialization of the request or
you make the DML operation, etc...Summary : the main reason why we have java file divide between EO, VO, AM is because OFA is designed with MVC design model.
in other words, isolate the responsibility of the code in each layer (model, view, controller). His bad habit of writing
all of the code in a single class file.For example: controller class should accept the per-user setting and move these parameters files BC4J (AMImpl.java) and his work as the AMImpl.java
to execute the business logic and return the result back to the controller.To apply the standard of coding MVC, model design, we have these java files EO, VO, AM, CO. with more practice, you will understand the different
methods defined in each of these java files.Had
-
Apply the alternative text for all images in the doc
Hi all
I have a document with many images. All images are created in Illustrator and Photoshop that has the title information of document updated for each image.
When I place the image in InDesign, I have to manually select each frame image and change the option ObjectExport to XMP:Title , so that when I export the text to PDF format, the text will appear in the doc.
I wrote a script that launches an error message. Impossible to fine what could be the problem.
can anyone help with this
---------------
myRectangle = app.activeDocument.allGraphics;
myTotalImages = myRectangle.length;
for (var i = 0; i < myTotalImages; i ++)
{
myRectangle [i].objectExportOptions.actualTextSourceType = SourceType.SOURCE_XMP_TITLE;
}
---------------------------
Concerning
Ramji V K
Hey Anshul,
Thank you very much for your answer. It works fine now with your script.
Concerning
Ramji V K
-
How to get information about the types within a user defined package
Hi all
Have a package with some types (user-defined) defined in the package specification. How to get information about the types and
information about the columns of this type.
for example:
Create package mp is
type t is record (no number is varchar2 (30));
procedure a (m t out...
Thanks in advance.
usergG_user wrote:
the req's, want to build a script dynamically using data dictionary
so if possible, I take the name of the type within the package specification.Let me rephrase - is there a data dictionary to get information on the type defined by the user within a package specification
Best approach will be to have a standard in the definition of data types.
Have a process to follow the object definitions in the package if it is mandatory.
Maybe you are looking for
-
limitation of the same structure add cases
Hello Can I know any excretion have the same structure add event .bcase if I use more than 50 events in strucute even.
-
Where to buy an additional USB charge cords 8 5901 wake model
It seems that USB charging cable is specialized for 8 5901 data flow model that I have... is this true or can I use any USB cable with the mini jack into the design? If I have to use a special cable, where on the website of HP can buy one? Thank you.
-
HP jet pro 8610 desktop: copy and printing paper side 2
How can I copy and print a 2-sided document on a single page? In the copy dialog box I select 2-sided copy but only one side of the document prints. The duplex unit is installed.
-
Each installation of the application runs into "Not responding" in Windows 7 Home Premium
I have a problem with my laptop. Any program I try to install by opening the .exe file, the installation process goes to State "not responding". I have to close it using the Windows Task Manager. It's very frustrating because I'm not able to install
-
I was wondering if it would be possible to extract the values (name, surname, address, etc.) when a contact is shared through the card sharing? So, an example of this would be: Opening of the Contacts app Click on a contact Click on 'Sharing of Conta