[JS][CS5] Finding an object (group) by its label
Hi
Is there a direct way of addressing an object by its label value?
At the moment I am looping through all items untill it finds the label, so can be very slow.
Cheers
Roy
Hey!
Nice hack I think there is nothing wrong with that
I created short snippet that searches through activeDocument.allPageItems looking for specific label, it runs pretty fast. I tested it on about 5000 objects, and it needs 3-4 seconds for search, also you can search in activePage.allPageItems, so it runs lot faster. One difference is that you can search inside groups. This script returns index number in allPageItems array, so you can access object really easy.
Array.prototype.exists = function(search){
var foundCount = Array();
for (var i = 0; i < this.length; i++)
if (this[i] == search) foundCount.push(i);
if (foundCount.length != 0)
return foundCount;
else
return false;
var myDoc = app.activeDocument;
var myPage = app.activeWindow.activePage;
//for active document
var myObjList = myDoc.allPageItems;
// or for active page
// var myObjList = myPage.allPageItems;
var myLblList = Array();
for(var i = 0; i < myObjList.length; i++){
myLblList.push(myObjList[i].label);
var myID = myLblList.exists("myText");
myObjList[myID].contents = "ccc";
If you have more than one object with same label, it will return array of object numbers.
Hope it helps!
tomaxxi
http://indisnip.wordpress.com/
Similar Messages
-
What object group a port is in?
The following does not help:
ASA# sho run object-g | in 1433
port-object eq 1433
service-object tcp eq 1433
port-object eq 1433
ASA# sho run object-g service | in 1433
port-object eq 1433
service-object tcp eq 1433
ASA# sho run object-g | be 1433
port-object eq 1433
ASA# sho run object-g | grep 1433
port-object eq 1433
service-object tcp eq 1433
port-object eq 1433Here's the command to find the object group name a port is in:
ASAXXX# show run object-group | in object-group | time-exceeded
object-group icmp-type ICMP_SVCS
icmp-object time-exceeded
Now you can find what else is in that object group:
ASAXXX# sho run object-group id ICMP_SVCS
object-group icmp-type ICMP_SVCS
icmp-object echo-reply
icmp-object unreachable
icmp-object echo
icmp-object time-exceeded
icmp-object traceroute
and the access-list that object group is being used in:
ASAXXX# sho access-list | in ICMP_SVCS
access-list Access_List_Name line 5 extended permit icmp object-group ABCD object-group WXYZ object-group ICMP_SVCS
So if you know a port number, you can quickly find out what object group and what access list is allowing that port. -
View all script labels and find an object by its script label
Hello,
I have an InDesign document in which many objects get a script label. I know how to view and edit the script label of an object, but is it possible to:
1 - See a list of all the script labels of the document (as can be done with the styles for example)?
2 - Search an object in the document by its script label?If you are using OSX this AppleScript displays a list of document labels:
global labels
set labels to []
tell application "Adobe InDesign CS6"
set x to every page item of active document
repeat with i in x
if class of i is group then
my checkGroup(i)
else
my getLabel(i)
end if
end repeat
display dialog labels as string
end tell
on checkGroup(g)
tell application "Adobe InDesign CS6"
set gi to all page items of g
repeat with a in gi
if class of a is group then
my checkGroup(a)
else
my getLabel(a)
end if
end repeat
end tell
end checkGroup
on getLabel(pageitem)
tell application "Adobe InDesign CS6"
if label of pageitem is not "" and label of pageitem is not in labels then
set labels to labels & label of pageitem
end if
end tell
end getLabel -
Finding centre of group of objects
Hello, sorry to bother you. I've got 6 objects grouped. Illustrator draws a
box right the way around them all. I would like to make a circle whose
centre is the exact centre of this box.
How to find the centre of a group of objects?
I have managed to do this by dividing the height and width of the box and
adding the offset etc., but this seems a long way round. Smart guides isn't
helping.
Any simple way of doing this?
Thank you,
Ariel
Illy CS2 XPSP3I'll tell you what's going on here. I use InDesign much more than Illy.
InDesign seems to do one very simple thing that Illy doesn't: it allows you
to snap to the centrepoint of a group. In Illy that centrepoint doesn't even
get a GUI representation it seems. So my instinct to do this was the ID way:
snap the ruler to the centre point, draw a circle anywhere and type in 0,0
as the coordinates for the circle's centre point. Basically as fast as
aligning (which in InDesign is slower than Illy because you have to lock one
of the objects). But of course this is impossible
When that failed, I tried to snap two guides, and again Illy lets you down
where ID succeeds. (In InDesign guides snap to all the control points of an
object's bounding box, but not, it seems, in Illy.)
I guess at this stage I lost hope that Illy actually knows where the centre
of a group is, and so I headed off to the forum lol.
However, both suggestions are sensible. Thank you.
FEATURE REQ.: Add a snappable GUI representation of the centre of groups,
like in InDesign. Also, make all control points snappable to, like in ID. -
How to find an object from its ID in Integration Repository
When trying to import a package, I get an error
"Internal error when importing object 553afdf1-c83d-11d9-871d-0007e9102256....
I have tried to find the object using the Object->Find... menu item, but selecting Object ID in the attributes field and entering this string does not return any hits.
Am I doing this right, or is there another way to find the object?
Kind Regards,
Tony.I am using PI7.0, If i get your question very well: I think there is no option to get an object with Id, all options are:
Name,Changed on, Changed by,... etc.
Pls check again.
BR,
Alok -
How do i find an object by its name or id on the IE window?
Hi,
we are using OpenScript 12.2 for function testing.
How can i find the object "InsertRandomTextboxNameOrID" on the web page (IE)?Hi,
Record your scenario using OpenScript. In the script(in tree view) you can find waitforpage(). Select it and see Detail View. Inspect the object you want and you can see all properties of your object.
Otherwise if you know any property of that object then use getAttribute() for getting any property. Example for TextBox with a property index=1 as follows:
String nameOfTextbox = web.textBox("/web:window[@index='0']/web:document[@index='0']/web:input_text[@index='1']").getAttribute("name");
info(nameOfTextbox );
Regards,
Deepu M -
Hi,
***Problem
I encounter a problem with FIM (version 4.1.3441.0 and 4.1.3496.0) when I try to delete a User object (and only a User object) whatever if it is
manually/Expiration Workflow/Powershell.
Deleting a User object used to be perfectly functional and, without any product version modification, stopped working. I haven't neither deleted/modified or add a
"Grant" MPR or any of the corresponding Sets since last time I saw it working.
Displayed error is "Request could not be dispatched" in FIM Portal and is referencing a stored procedure in Event Viewer.
***Error details
When I try to delete a User object, here is the output :
Portal
"Processing error" on submit
with the following details
Request status is stuck at "Validating" until next restart of FIM Service (after what it becomes “Canceled”)
Request’s “Applied Policy” tab does not contain any MPR where, at least, a “Grant” MPR is expected
As SQL Timeout is relatively high and error happens quickly, I don’t think there is a Timeout problem under that.
Logs
« Application »
The Portal cannot connect to the middle tier using the web service interface. This failure prevents all portal scenarios from functioning correctly.
The cause may be due to a missing or invalid server url, a downed server, or an invalid server firewall configuration.
Ensure the portal configuration is present and points to the resource management service.
« Forefront Identity Manager »
Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements,
Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition" because it does not exist or you do not have permissions.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State
1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements, Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"
because it does not exist or you do not have permissions.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ResourceManagement.Data.DataAccess.UpdateRequest(RequestType request, IEnumerable`1 updates)
--- End of inner exception stack trace ---
Requestor: urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4
Correlation Identifier: e7209633-46d0-4f4b-a59e-807649ef71ea
Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.InvalidCastException: Specified cast is not valid.
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier,
Boolean maintenanceMode)
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier)
at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)
--- End of inner exception stack trace ---
For information, a maintenance plan rebuild/reorganize indexes daily and this problem has occurred on servers with different performances.
Is any of you has already encounter this problem ?
Any help would be greatly appreciated,
Thanks in advance for your help,
MatthewWhile there are several SQL Agent jobs (FIM Temporal Events, Maintain Sets, and Maintain Groups among others)created by the FIM install only one of those is enabled and scheduled and it calls all of the same stored procedures that the other
jobs do. Step 2 is Maintain sets and Step 3 is maintain groups. So the Maintain sets and groups jobs never need to get enabled and scheduled, but if you want them to be maintained more frequently then you can.
David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html -
Is there someway to find floating objects in a Pages 09 document?
I am trying to export to an epub and Pages 09 tells me that floating objects cannot be exported and to convert them to inline. I have many figures in the document most with captions which I have produced by inserting a jpeg file, then a text box, grouping the jpeg file and text box, and putting the group inline. All figures show as an inline group when I select them. There don't appear to be any stray jpegs or text boxes floating around. Yet, I still get the export error message.The only thing I see when I do 2 is that in the Info menu floating objects gets selected. Nothing appears in the document window to indicate that it as found a floating object. When I do 2 on the page where the photos appear in the document window but do not appear in the epub, I see nothing.
Making master objects selectable and background objects selectable does not seem to change anything in the document. Making background objects selectable does set the radio button in the Info window. -
Find/Change object size width
Hi guys,
So this is the problem:
I have over 900 pages long catalog and I made a little changes to a textframe options and other object styles, but bottomline is that now I have to change all the textframes width to 62 mm (its now 61 mm). I have tried the Find/Change "Object" options, but I just can't find the right way to do it. Is it even possible to do it with the Find/Change Object? I have to change over 6000 textframes manually if this dosen't work :/
Do I have to do this with Grep scripting and how is that possbile if I have to do it with it?
Thanks beforehand if you reply to this problem!Ha!
I found the solution(ish), basically it's possible to change object dimensions with the "Find/Change Object". Thanks Bart Van de Wiele for the "Columns Fixed width" tip.
."Find Object Format" -> What kind of "Object style" you are looking for and then put "Text Frame Options" -> Width (exp. 55 mm)
"Change Object Format" -> go to "Text Frame General Options" -> "Columns: Fixed width" -> width (exp. 56 mm, I have 3 mm inset spacing left&right so 56 + 6 is 62 mm).
Change the desired textframes, BUT THEN you have this kind of problem where you can not change the textframes width sizes because they are "fixed sized".
Click one of the changed textframes and go to "Style options" where you get that "+" -sign. Click in the options "Clear overrides".
Now you have changed the all desired textframes and you can change the width too. -
Added webutil object group with JDAPI - adjust the webutil block sequence ?
Hi all,
I'm using the JDAPI to subclass in the webutil object group into Forms in an application. Annoyingly, the webutil block becomes the first block on the Form - which means on some Forms it displays on startup. Is there anyway (programmatically using JDAPI) that I can move the block the end of the block list after I've subclassed in the object group ?
TIA
SteveHello,
move
void move(JdapiObject nextObject)
Reorders an object with respect to its siblings in the collection it belongs to. This is similar to using drag and drop in Form Builder to move a block in a list. This method represents a way to do the same thing programmatically. For example, if you want a block appear immediately before Block5 in a list, you pass the object representing Block5 as the nextObject argument.
Pass null to this method to move the object to the end of the list. If the specified object and the next_object do not share the same owner, or do not have the same type, the method throws an exception.
You cannot use this method to move objects between parents. For example, it cannot be used to move an Item from one Block to another. If you want to move an object from one parent to another you will have to do something like:
// to move 'itmA' to be positioned before 'itmB' in block
// 'blkB' (when 'itmA' is in another block)
// copy itmA into a new parent (blkB) using same name
Item newItmA = itmA.clone(blkB, itmA.getName());
newItmA.move(itmB); // move new item relative to itmB
itmA.destroy(); // delete original object
itmA = newItmA;
Parameters:
nextObject - the object next to which the specified object is to be moved.
Throws:
JdapiException - if you attempt to move an object next to an object that does not share the same owner or is not of the same type.
Francois -
Hi Experts,
I have a workflow, in this workflow header tab there is no triggering event is mentioned .
no business object no triggering event .
when i checked the workflow the first task is created by business Object system and its method genericinstantiate.
now i am not able to understand what is the role of BO system and this method.
Also i am not able to understand how this workflow is getting triggered is this method is helping this workflow to get triggered.
thanks in Advance
Thanks & Regards
Anit Gautamwhen i checked the workflow the first task is created by business
Object system and its method genericinstantiate.
now i am not able to understand what is the role of BO system and this method.
If you are not able to trace from where this event is getting triggered, the simple way to find how the task is receving the event is
1.Switch on the event trace by using the txn SWELS.
2. Trigger the workflow by using the same event either from SWUE txn or directly stsrting the process which raises this event.
3. Onc the event is triggered , go to SWEL txn and check what are the workflow templates and tasks are receiving the event which you have triggered. -
Problem subclassing an object group from an object library
Hi
I've created an object group using Forms 6i (can't tell you the exact version just now) containing a number of objects, including a couple of alerts, a couple of data blocks, canvas, window, program units etc. I've saved the object group into an object library and used it successfully for some time. Now I've gone to a new job, I suspect that I'm using a subtly different version of Forms 6i (6.0.8.16.1), but I'm finding a strange behaviour when I try to add the object group to a form.
Dragging the object group over, I get the 'Do you want to copy or subclass the object?' message. If I select 'Copy', everything gets copied across fine - the datablocks have all the items in them and the program units are fine. However, if I select 'Subclass', the items all appear in the object navigator, but are 'empty', so the data blocks contain no items and the program units are just 'begin' and 'end' statements with nothing in between.
Funnily enough, if I 'copy' the object group into a form (so everything's present), then create another copy of the object group in the current version of Form Builder and save it in a (new) object library, the behaviour is still the same.
Has anyone come across this situation before (I couldn't find anything exactly comparable on Metalink), and what workaround (if any) did you find?
regards
Andrew
UKHi again
The answer to this strange behaviour became apparent when I found bug 2772326 on Metalink.
Basically, either the OLB has to be on the FORMS60_PATH, or the option in Forms Builder under Tools->Preferences->Access->Subclassing Path has to be set to 'Keep' rather than 'Remove'. Doing either of these things solves the problem.
regards
Andrew -
PTSpy - trying to find an object in the Portal
Hello,
PTSpy is throwing this error:
-2147024891 - Current User does not have sufficient permission to object with id = 202
(full error at the end)
I looked above to the sql and ran the query - of course nothing is found:
Create query: '/* QUERY_USER_ACCESS:ANSI */ SELECT DISTINCT(b.ACCESSLEVEL) FROM PTOBJECTSECURITY b, PTVGroupMembership gm WHERE b.groupid = gm.groupid AND gm.userid=? AND b.classid=? AND b.objectid=? ORDER BY b.ACCESSLEVEL DESC'
setInt, index: 0, value: 4762.
setInt, index: 1, value: 47.
setInt, index: 2, value: 202.
How do I find the object that does not have permission it is looking for - in the Portal?
Thanks,
V
Display: The following error occured when trying to display the HTML:
com.plumtree.server.marshalers.PTException: -2147024891 - Error in function PTBaseObjectManager.Open (nObjectID == 202, bLockInitially == false): -2147024891 - Current User does not have sufficient permission to object with id = 202
com.plumtree.server.marshalers.PTException: -2147024891 - Error in function PTBaseObjectManager.Open (nObjectID == 202, bLockInitially == false): -2147024891 - Current User does not have sufficient permission to object with id = 202
at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e)
at com.plumtree.server.impl.core.PTBaseObjectManager.Open(Int32 nObjectID, Boolean bLockInitially)
at com.plumtree.portalpages.browsing.directory.DirModel.GetWebService(Int32 _nDataSourceID)
at com.plumtree.portalpages.browsing.directory.DirModel.SupportsUpload(Int32 _nDataSourceID)
at com.plumtree.portalpages.browsing.directory.documentsubmitsimple.DirCardSubmitSimpleView.DisplayJavascript()
at com.plumtree.portalpages.browsing.directory.documentsubmitsimple.DirCardSubmitSimpleDP.DisplayJavaScriptFromChild()
at com.plumtree.uiinfrastructure.form.AFormDP.Display(IWebData pageData)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Redirect myRedirect, RequestData tempData)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)
at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) in e:\buildroot\Release\httpmemorymanagement\6.1.x\dotNET\src\com\plumtree\uiinfrastructure\web\XPPage.cs:line 82
at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) in e:\buildroot\Release\portalui\6.1.x\ptwebui\portal\dotnet\prod\src\web\PlumHandler.cs:line 37
at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.ResumeSteps(Exception error)
at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
Caused by: com.plumtree.server.marshalers.PTException: -2147024891 - Current User does not have sufficient permission to object with id = 202
at com.plumtree.server.impl.core.PTBase.ThrowException(String message, Int32 errorCode)
at com.plumtree.server.impl.core.PTBaseObjectManager.VerifyObjectAccess(Int32 minAccessLevel, Int32 lObjectID)
... 18 moreHey Vivek, I couldn't agree with you more. It is definitely a hassle to try to find the broken object in statements like "Current User does not have sufficient permission to object with id = 202"
I created a ticket with Plumtree about this 2 years ago and they informed me that because object IDs are not unique and have to be used in conjunction with a class ID that they can't perform a reliable search.
Instead you must test each class ID and match it against the object ID to find your problem.
Its a bit labor intense but there are only about 15 different class ID's to run through.
I posted a list of our ID's in our portal team collab project and each time this situation comes up we just scan through the list using a URL -
Object Group Vs Object Libraries
Hi ,
I have not used Object Groups and Object Libraries extensively....and am trying to understand them
Having read the form builder help ,I am still not clear with the following.
My questions are as follows
1)When should I be giving preference to Object Group over OBL?
2)Why will i use an Object Group ,when an object group's object is just a pointer to the
object in the form module?
Grouping of similar objects for one single form module only,does'nt provide me much benefits?
3)How will I reference an Object group's object and not a form's object which I have
moved into the object group and vice versa?
4)OBL module has a data block(say emp) as one of its many object,
how can I use this data block in my new forms module(will I be copying this data block
object from the attached OBL to the data block node of the form module in OBJECT navigator?).
will i have to create a Layout manually if I use the data block of OBL or will forms
builder automatically create a layout for this OBL data block.?
5)What are the types of objects which CANNOT be included in OBL and Object groups?
I am aware that I can't include an item of a data block if i don't include the data block itself.
rgds
sHi,
WIP wrote:
Hi ,
I have not used Object Groups and Object Libraries extensively....and am trying to understand them
Having read the form builder help ,I am still not clear with the following.
My questions are as follows
1)When should I be giving preference to Object Group over OBL?Depends on the requirement. The objects in the Object group are limited to the current form module. However, Object libraries can be used across the forms. Of course, you can subclass this object group in other modules.
>
2)Why will i use an Object Group ,when an object group's object is just a pointer to the
object in the form module?Its like a template. You define set of properties (say width, height and font for a text item), and then subclass the object to all the object you create in your form. So, they all will look similar. Also, once after creating the object group, you can add the object group to the object library. This can be very useful.
Grouping of similar objects for one single form module only,does'nt provide me much benefits?
So, here we use Object Library
3)How will I reference an Object group's object and not a form's object which I have
moved into the object group and vice versa?
You cannot reference the individual objects in the object groups.
4)OBL module has a data block(say emp) as one of its many object,
how can I use this data block in my new forms module(will I be copying this data block
object from the attached OBL to the data block node of the form module in OBJECT navigator?).
will i have to create a Layout manually if I use the data block of OBL or will forms
builder automatically create a layout for this OBL data block.?You can add all the Blocks, canvaces, etc to the Object grou, add the object group to the object library. Then, if you just copy/subclass the object group from the Object library, all the blocks, items, canvaces would be created automatically in the target form.
>
5)What are the types of objects which CANNOT be included in OBL and Object groups?
I am aware that I can't include an item of a data block if i don't include the data block itself.
Only the Parent objects can be included in the Object Group (Child objects cannot). However, in the Object Library, you can add the parent as well as child objects. Here, for ex, parent is a data block and child are the items inside the data block
-Arun
>
rgds
s -
I would like to find the object change and to move
Thank you very much, but
Sayfaları, tek tek sayfalarını bakacak bu script belgede (3, 5, 7, ...) işlem yok
I would like to object all page (height and width of the rectangle is known, the text frame) to move to find and replace
The height and width of a rectangle with known or find text frame, changing the height and width, to move to a point
I'm glad I sent you edit scprit
var findX, findY, changeX, changeY, moveX, moveY;
var diyalogWindow = app.dialogs.add({name:"RECTANGLE oR TEXT FRAME", canCancel:true});
with(diyalogWindow){
with(dialogColumns.add()){
with(borderPanels.add()){
with(dialogColumns.add()) {
staticTexts.add({staticLabel:"FİND X"});
findX = textEditboxes.add({editContents: "10"});
staticTexts.add({staticLabel:"FİND Y"});
findY = textEditboxes.add({editContents: "10"});
with(dialogColumns.add()) {
staticTexts.add({staticLabel:"CHANGE X"});
changeX = textEditboxes.add({editContents: "50"});
staticTexts.add({staticLabel:"CHANGE Y"});
changeY = textEditboxes.add({editContents: "60"});
with(dialogColumns.add()) {
staticTexts.add({staticLabel:"MOVE X"});
moveX = textEditboxes.add({editContents: "100"});
staticTexts.add({staticLabel:"MOVE Y"});
moveY = textEditboxes.add({editContents: "10"});
if(diyalogWindow.show() == 1) {
var myDocument=app.activeDocument;
var p;
for(p=0; p < myDocument.selection.length; ++p) {
myDocument.selection[p].move([changeX.editContents,changeY.editContents]); // ................... how contined ???https://forums.adobe.com/message/6714843#6714843
this script
app.selection .paragraphs.everyItem (). spaceAfter = 1
its make spaceafter = 1
but how make
1
2
3
4
5
Each click, I get a continuous increase
2014-09-04 12:14 GMT+03:00 vandy88 <[email protected]>:
I would like to find the object change and to move created by vandy88
<https://forums.adobe.com/people/vandy88> in InDesign Scripting - View
the full discussion <https://forums.adobe.com/message/6700008#6700008>
Maybe you are looking for
-
IPad iOS 8.1 Mail constant network use draining battery
Since updating to iOS 8.1, iPad Mail is rapidly draining my battery. When I go into Mail the network usage indicator (spinning wheel) runs constantly. I left it this way by mistake while traveling and it drained the whole battery with minimal actual
-
Import Performance Analysis report
Hi, I ran the import analysis report in FDM and it tells me the time taken by each step of import process. My question is why does it take time for "Memo Reassign Time". I am not doing anything with Memo. Is there a way to avoid the time it takes to
-
Hello everyone. Is Android version of Kuler planned for development? I've noticed a Photoshop Express for this platform, but didn't find anything like mobile Kuler. In common, Kuler is used by cg creative professionals, in Ps or Ai, but if Kuler were
-
Hi All, I need to populate the date fields Valid from and Valid to Valid from always should be the starting date of currect fin year and To date should be Last date of current Fin year can some body tell me how can we will get this?. Thanks&Regards M
-
'incorrect PPP option', can't connect to the net
I'm using an iBook powerPC G4, running 10.4.11. I installed the 2009-001 security update last night, and ran into the 'your network settings have been changed by another application' bug. I've since solved that by deleting files from user / library /