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
Similar Messages
-
View ALL upcoming alerts and reminders?
is there a function within iCal to view all upcoming alerts and reminders, in one single page to know your upcoming deadlines for the week or month or day?
yes you can.
go to PRINT.
under View -> select "list"
make sure that you have set the TIME RANGE correctly. the default is the current date and it ends 1 day later, i.e. it only displays that date's reminders.
click the "up" arrows to increase the no. of days AFTER the current date, and you will find the preview displaying the following dates as you click.
u can even ZOOM to view the events themselves, and select the font sizes as well. -
I assume my Apple TV should allow me to view all events, albums and slideshows in my iPhotos app but it only allows four events and four albums to display on my television. I'm using a Optus mini Wi Fi for my home network. Could this be the reason for limited access via my iMac computer?
ChrisNo, I have not chosen photos to share as I assumed that the Apple TV would access all photos and music that are stored on my iMac.
Thanks for your advice. I will check it out.
Chris -
Report to view all the Roles and Transactions assinged to a particular user
Hi,
I need to develop a report to view all the Roles and Transactions assinged to a particular user along with the Authorization values. So, if provide the Username, the report should be able to give Roles, Transaction Codes and the fields and thier authorization values for that TCodes..
Regards,
Sreenivas RajuTry this FM once - SUSR_USERS_LIST_ALV . It provides a list with Roles, Profiles, and also a detail button to check the authorization values etc.
Also try this FM - SUSR_USER_DISPLAY_WITH_AUTHS, SUSR_USER_AUTH_FOR_OBJ_GET , SUSR_USER_DISPLAY_WITH_S_TCODE -
Read Text row by row, plot them and find the max of its Power spectrum
Hi, everyone,
I have to read data from a text file, plot as a time serie and find the frequency to its max power spectrum. I found a previous post related to my issue so I revised his example a little bit. But once I decide to store the data into an array, the Labview reported:' Error 1 occurred at Scan From String (arg 1)'. Can anyone help me out?
Thanks in Advance!
Gab
Attachments:
ReadXYZmine.vi 18 KBAgain my attachment got missed out.
- Partha
LabVIEW - Wires that catch bugs!
Attachments:
ReadXYZmine_Trim Whitespaces.vi 19 KB -
Can you remove the "View All RSS Articles" and Counter in Bookmarks Bar?
Hi There. I have a folder/drop down menus called "MyMix" in the Bookmarks Bar with several subfolders of pages I like to visit regularly. It's a silly thing but I get tired of the climbing counter of RSS articles in parentheses that sits next to it. Is there anyway to remove that functionality? I have a few other drop down menus that don't have the same problem, so not sure why this one does it. I've tried copying the folder and taking out each individual subfolder but it still keeps the RSS counter and "View All RSS Articles" link in there.
Any suggestions?
Thanks!Awesome, thank you. I should've checked preferences myself. Duh.
Still curious as to why it chose that folder instead of the other one's I have to display the RSS updates but I guess that will remain a mystery.
Thanks for your help!
CH -
I'm want read Ldf log and find out all event for database ???
I'm want read Ldf log and find out all event for database ???
hello,
You can use below undocumented commands( you cannot completely read it but below commands will surely be helpful).Any specific requirement you have from log files
select * from fn_dblog()
dbcc loginfo(db_name)
dbcc log
simiilar discussion
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5aea4dab-8d84-4515-b686-202e329ad2b6/how-to-open-or-read-sql-server-log-file-ldf?forum=sqlgetstarted
http://stackoverflow.com/questions/9767054/read-the-log-file-ldf-in-sql-server-2008
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
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 -
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 -
Event Viewer: How to search and find event with specific text in the EventData
Hello,
When I use "Find..." option in the windows event log, it does not search within event's detail or text in <EventData> xml node on the event.
Is there any easy, out of the box way to find all events that include an specific phrase in the <EventData> ?
Thank you,Hi Allan,
I‘m writing to check if the suggestions were helpful, if you have
any questions, please feel free to let me know.
If you have any feedback on our support,
please click here.
Best Regards,
Anna
TechNet Community Support -
View all missing fonts and FontStyles
Hi everyone!
I have a problem with non-existing fonts in the document.
Here is the code that should display all the non-existent fonts. Not working
var usedFonts = app.activeDocument.fonts;
for (var i=0; i<usedFonts.length; i++) {
if(usedFonts[i].status != FontStatus.INSTALLED){
alert ("Not Instaled => " + usedFonts[i].fontFamily + " | " + usedFonts[i].fontStyleName);
Here is the code that works.
var usedFonts = app.activeDocument.fonts;
for (var i=0; i<usedFonts.length; i++) {
if(usedFonts[i].status != FontStatus.INSTALLED){
alert ("Not Instaled => " + usedFonts[i].fontFamily);
But I also want to the font style of output. How do I do?
Thanks in advance ...I guess you can't get the fontStyleName property for a non-existing font. You can however use the name property which will give you both family and style separated by a tab. Then you can use for example the code below to get your desired output:
usedFonts[i].name.replace("\t", " | ") -
VIew all tables and data in MaxDB
Is there any software that is able to view all the tables and data in the MaxDB instance?
Hello
Assuming, that you are looking for information about the DB's catalog, please consider the catalog functions of JDBC or ODBC.
Surely there exists a lot of free tools, gathering the catalog via JDBC/ODBC of a database.
Regards Thomas -
How to hide Recycling bin and View All Site Content
Is there a way to hide the "View All Site Content" and the "Recycling Bin" without modifying with S Designer.
ThanksHiding these links with CSS is a "band-aid" fix. Users are still downloading the HTML for these controls, and users that don't use CSS will still see them in their entirety. The best option is to remove them from your site's master page entirely.
First, look for the following lines of code in your master page. This code renders the "View All Site Content" link:
<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewFormPages">
<div class="ms-quicklaunchheader"><SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>"/></div>
</SharePoint:SPSecurityTrimmedControl>
Now, the "Recycle Bin" link should look something like this:
<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/_layouts/recyclebin.aspx" id="idNavLinkRecycleBin" ImageUrl="/_layouts/images/recycbin.gif" Text="<%$Resources:wss,StsDefault_RecycleBin%>" PermissionsString="DeleteListItems"/>
Now save, check in, and publish your changes. I hope this helps!
Kyle -
View all of my topics' reply status, new and old?
Is there a way to see all the topics I posted to? Currently there is a "Your Content" widget in the homepage that will show recent activity by me, or activity in recent posts of mine, but I don't see a way to view all topics (new and old), and whether or not they have been updated with new content. Is this possible?
You can edit the Widget:
And possibly set the number much higher than 5? -
Deleting a Business System and related/assigned objects
I am PI newbie (as will soon become apparent) so first I apologise for my “simple” question.
In PI one business system has been replaced with another e.g. BS_US_1CLNT is replaced by BS_US_2CLNT. I want to delete the first business system and all its related components and links without breaking anything, preferably.
What is the best way to do this? I assume I go to the interface builder, select Object View, then select BS_US_1CLNT and open the object list. The object list consists only of communication channels so I can right click on each CC and delete? But what if these have been assigned already to Configuration Scenarios? Are there other objects/assignments I should take care of or check? Is this the right way to go about this i.e. simply right click on each CC under the BS_US_1CLNT tree and then delete?
Please help me with the steps I should take to proceed with this, and any objects etc. I should take care of.
All help greatly appreciated.
Wish you all a nice day further.Hi Glen,
It is not easy just to delete all the objects pointing to a certain business system, but the way to delete would be communication channels first and then the business system would be last.
When deleting a communication channel, you can see where it is used by right-clicking on it and then select the Where-Used List option. It will list the objects that uses that communication channel, namely receiver agreement (for receiver) and sender agreement (for sender).
Once you have re-created the receiver/sender agreements to use the new business system, it should now be safe to delete the channels and the sender/receiver agreements. You should also do the same with the business system, right-click it and select Where-Used List. You also need to re-create the objects that uses that business system e.g receiver det, interface det, receiver agreement (if not yet deleted), sender agreement.
Do not worry about being a newbie, everyone of us started as one
Hope this helps,
Mark
Maybe you are looking for
-
I need to know the multitude of reason why my iPhone 5s would prompt me for my Apple ID password. All I did was place my phone on the charger, I then walked away for 10-15mins and when I came back it was asking me to enter my Apple ID password. I nev
-
I'm not under warranty, insurance or anything like that. The reps at the store when I bought my phone were not very clear about really anything with me and I'm just not sure if the contract is ONLY for iphones..? I was thinking of getting a Samsung o
-
PowerBook G4 has loud buzzing, then freezes, now won't start
I have a PowerBook G4 which started to make low "grinding" noises when it worked hard. It had done this for maybe a couple of months: sometimes the position (on lap or on table, etc) seemed to affect it. I always figured it was the fan(s). But a litt
-
Cant seem to be able to get 802.1x working
Hi, I have an ESW 520 switch, and one of the reasons I bought this switch is so that I could have some piece of mind about what computers are plugged into the wired network. I was hoping to be able to manage this on the ESW 520, however configuring t
-
Using Yosemite - cannot project PC screen onto TV. Can get a black screen or bits and pieces of a screen ( not always the one displayed on PC). Have been using same setup for years. Thanks for any help