Get the object id
If I have an object that is not a child of almost anything in my application, how do it with just his name id?
I don't understand the problem, but if the issue goes to a variable by using a string, you can try this:
This [objectIDString]
If this post answers your question or assistance, please mark it as such.
Tags: Flex
Similar Questions
-
Hello
I need to get the object that is anchored by a text search result. It can be an image, textframe, group objects...
It's my code...
app.findTextPreferences = NothingEnum.nothing;
app.findTextPreferences.findWhat = "< FFFC > ';
var myResults = app.activeDocument.findText ();
var currentParagrapfNum = - 1;
for (var n = 0; n < myResults.length; n ++) {}
var currentResult = myResults [n];
currentParagrapfNum = currentResult.paragraphs [0] .index;
var currentAnchoredObject =? ;
currentAnchoredObject.anchoredObjectSettings.horizontalReferencePoint = AnchoredRelativeTo.TEXT_FRAME;
currentAnchoredObject.anchoredObjectSettings.verticalReferencePoint = VerticallyRelativeTo.LINE_BASELINE
}
Can someone help me please?
Thanx
Yes, true, ^ anchor of finds, but they are of type character. What you need is
myResults[n].pageItems[0].anchoredObjectSettings.horizontalReferencePoint = AnchoredRelativeTo.TEXT_FRAME;
Peter
-
Mac question: could not get the object file Photoshop Document object
Hello
I posted this question in my previous post, I hope I can get some aid.
I created a group of Photoshop using Extension Builder 1.5, the Panel works perfectly in the window, but when I switch to Mac, broken things. I found the SDK on Mac is unable to me the Document.fullName when I open an image file in the formats JPG/GIF/PNG, event with the workaround provided by Bob (tml http://cookbooks.adobe.com/post_Creative_Suite_Extensions_and_the_Photoshop_CS5_Re-17727.h( )
Actually, it is not question of Photoshop event, is open a JPG of my disk image, click a button in my Panel that will get the activeDocument, then try to get the object File from it, the Document.fullName always null. However, if I open the image in the Photoshop folder installed, it looks very good.
Thank you
Hi Alan,
I took the project I have included in my response to your other thread and changed it so that I can open a file, click a button and see the contents of app.activeDocument in the debugger. Then I open a JPG file and debugged to the extension in Photoshop.
No problem at this end.
Concerning
-
Is it possible to get the object of doc JS of a PDF document that is opened in a web browser?
As I mentioned in a previous post on the Scripting Forum (http://forums.adobe.com/thread/427791), methods that previously worked in Acrobat 8 to get the object of doc JS of a PDF document that is opened in a web browser - for example App.activeDocs . using the JS object and AcroApp.GetAVDoc (index). GetPDDoc using OLE automation - no longer works in Acrobat 9. Therefore, in Acrobat 9, it is impossible to access a PDF file that is opened in a browser or in its annotations (except, of course, the PDF is downloaded to the computer and open through the NTFS, which kind of defeated the purpose).
What is someone is aware can explain how to get the object of doc JS of a PDF document that is opened in a web browser?If the plugin exposes a DDE interface - of course. But this assumes that he is there--it is not automatic. You will need to write your own plugin or get an update if necessary.
And thanks for the info: I'm passing along!
-
Get the object of StoragePod storage profiles [vCloud Director]
Hi all
I'm automating DTS stuff for the creation of new vApps in vCloud Director and I want to integrate and use the workflow to Change Storage DRS by virtual machine configuration , but to do this I need to provide him with an object of type VC:StoragePod... I have worked out how to get the default storage of each virtual computer profile, but may not know how to get to the StoragePod that it covers.
Don't laugh, but I only managed to get this far before getting stuck:
var vms = vApp.getChildrenVms(); for each (var vm in vms) { storageProfile = vm.storageProfile; .... }
Can someone show me how to get a StoragePod of a profile of storage object ideally default virtual machines?
Thank you!
Mark
Have you had the opportunity to see this thread: http://communities.vmware.com/message/2147437#2147437 - it seems debating what you are interested... The catch here is that you are trying to do from the side the cloud... I can't look at this right now, but I suspect that you MUST have access to the underlying infrastructure to do what you ask... in this case, you will need to extract the object from VC:VirtualMachine of your vCloud:VM object, then the thread above can deepen assistance.
-
How to get the object request or session in action jpf in WebLogic Portal 8.1
I am using WebLogic Portal 8.1. I want to get the parameters of query/attributes in the flow (jpf) page controller action method. Can someone help me how to get objects session or request to the page (CCP) flow control.getRequest() (inherited method gives extended request)
ScopedServletUtils.getOuterRequest (scopedRequest) gives the main query -
Get the object already exist error when installing adobe reader software
I can't install Adobe application programs on my Windows 7 computer. I tried Adobe Reader XI, 5.6 Lightroom, Photoshop CC, etc. All permits with the error "the object already exists. I searched on the Adobe site to fix, and it is to remove the Crypto file. However, it resulted with the same error. How can I install Adobe Reader?
Update of Windows KB2918614 to the Windows Installer Service because of similar problems with other software. You might want to try to remove this update (it will be installed near the time you started to have this problem). Restart and try again to install the Adobe application.
-
How can I get the object for the size?
yesterday. I found a video on the comparison of fireworks and photoshop to get the scale of the templates like this image. in this video, very easy to take the size.
but I forgot to bookmark
and today, I tried to find what it once again and never found.
Anyone know how to get the size of the image as this image?
Please give link or suggestion
waiting for your help
Thank you
Al
Use the measure tool. You can find it by clicking and holding on the rectangle tool from vector. Once you've done dragging the arrow lines, add a fill color to add numbers.
-
How to get the object all save as Png adobe Illustrator
Hello
I'm trying to save as adobe illustrator .ai file .png file
but all the object in different png files is that poosible
If possible can someone help me...
var f = new File ("C:\\test.txt");
f.Open ("a");Len = app.activeDocument.pageItems.length;
for (i = 0; i<>
{
c = App.activeDocument.pathItems [i] .visibleBounds;f.writeln (c);
}f.Close ();
-
Get the object associated with the event
I would like to create some user interface items dynamically and connect their tap event to a slot.
The event that is passed to the slot is TapEvent:
https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__tapevent.html
How to use the event (or something else) to determine which object UI has been exploited?
Thank you
DanielOK, he solved by trial and error.
Looks like the parent of the TapHandler the container. So here's the final solution:
TapHandler * tapHandler = qobject_cast
(sender());
Container container = tapHandler-> parent();Thanks for your help guys.
-
Get the objects on a page or get the selection with JavaScript?
I have a bunch of page PDFs with an ornament on the page. I need to crop all pages the same distance of the ornament. The problem is that the ornament is never in the same horizontal position.
I have the script where the operator cultures page tight for ornament and I use getPageBox and setPageBox to develop harvest evenly around the entire page, but I would like to completely automate it.
Basically I need a way to know where the ornament is on the page. Is it possible in Java (I couldn't find one) to browse objects on the page to check their size?
Thank you very much
Ken
Gobs much gratitude to MD_quake for posting back here when he or she finds his answer.
It turns out that the boxes have BEEN changing, but the & #* $%! dialogue of cultures was not showing the changes on all the boxes! Save the file and open it again displays the boxes correctly. By mail to the MD, you can also use a preflight.
I'm done with this JavaScript but could also change the media box to clean things up a bit.
var TargetWid = 302
var TargetHt = 477
To display the culture for the page
var CurrRect = this.getPageBox ({cBox: "Crop", nPage:0});})
var AdjWid = (TargetWid-CurrRect [2]) / 2
var AdjHt = (TargetHt-CurrRect [1]) / 2
App.Alert (AdjWid);
The value of the new culture area of the box (in pixels)
CurrRect [0]-= AdjWid; Adjust the left side
CurrRect [1] += AdjHt; Adjust the upper part
CurrRect [2] += AdjWid; Adjust the right side
CurrRect [3]-= AdjHt; Adjust the lower side
Apply the new harvest area to the area of all pages
this.setPageBoxes ({cBox: "Crop", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})
Reset the CurrRect to the new crop and adjust the other boxes
var CurrRect = this.getPageBox ({cBox: "Crop", nPage:0});})
this.setPageBoxes ({cBox: "Art", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})
this.setPageBoxes ({cBox: "Trim", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})
this.setPageBoxes ({cBox: "Bleed", nStart:0, nEnd:this.numPages - 1, rBox:CurrRect});})
Best,
Ken -
How can I get rid of i t and get Adobe Reader again.
Update of Windows KB2918614 to the Windows Installer Service because of similar problems with other software. You might want to try to remove this update (it will be installed near the time you started to have this problem). Restart and try again to install the Adobe application.
-
I was watching a tutorial on how to use the replicator forms to make a 3d object outside slot a particular form. I selects two primitive shapes and set one on the table Replicator and other particles of the atom. When I open my scene and change my form replicator 3D object disappear all my forms. I couldn't find anything on the internet about this problem yet and this is the only mistake (if it is not a user error) that I have ever met in the 3d element. Thanks in advance.
If you have any questions about element plugin 3D video Copilot, I recommend to ask on the video Copilot site in forum 3D of the element:
-
How to get the targeted object
can you tell, how to get the object currently targeted in a class
for example, if I use the labelfield that has his focus, how to get and make changes to the text of labelfield
I hope that you can get that I tried 2 say
Thank you
Not in a class, screen...
Features screen with a method called getFieldWithFocus...
Check it out...
See you soon...
-
Hello
I met two problems when you use the SDK for JAVA,: (, so I come back here for help.)
1. I use the method getSearchIndex() to get the object of the ServiceContent Indexderecherche , 'Indexderecherche' of ServiceContent property is set as 'com.vmware.vim25.ManagedObjectReference' and 'ManagedObjectReference' is not a subclass named "Indexderecherche", so how do I convert it to class "Indexderecherche" but I can't use the methods defined in the class "Indexderecherche".
2. I want to retrieve information about my server ESX, and "Guide to programming Web Services SDK vShpere" tells me to do this work by accessing data objects defined for the HostSystem. But I don't know how to get the object "HostSystem.
Can someone help me? Thanks in advance.
Its part java java-sdk sample.
path:
vijava\src\com\vmware\sample\vi
classpath:
com.vmware.sample.vi.ViDiscovery
Maybe you are looking for
-
I've set to upgrade to firefox 8.1. but kepp said obsolete sound
Ive upgraded to Firefox 8.1, but keep being said about its outdated Firefox home page, Ive updated and uninstalled Firefox several times but get the same thing. IM on windows xp.
-
Cannot activate Ipad after recent update, never had this problem before
Recent update: Ipad and c no longer trigger the Ipad
-
Satellite L300 - jswtrayutil 1 6 - start-up - Safe?
Start browsing I see not what follows that was there when I bought this 6 L300 - 1 to John Lewis. C:\Program Files\Jumpstart\jswtrayutil.exe Reference of the manufacturer -: unknown I think it's something to do with the radio even if everything on Go
-
How can I download my Documents on a disc?
Download of images from My Documents on a disc.
-
Universal wheel Racing game for PC help needed
LM571 universal Racing Wheel made by Hip Interactivwe which is no longer active. I can't get the game running on my PC for the G'kids. I need help I can get.