CS3: Dynamic Renaming of Palette Title

Hi All,
How to dynamically rename palette title in CS3? In CS2, the tab area of a palette was accessible through kTabAreaWidgetID and kPanelTabWidgetID. Things have changed in CS3 and "Panel Edit Mode" of debug build does not give any information. Please advice.
Thanks,
Pete

Hi
This code works for us:
InterfacePtr<IApplication> app(gSession->QueryApplication());
InterfacePtr<IPanelMgr> panelMgr(app->QueryPanelManager());
IControlView* panelControlView = panelMgr->GetPanelFromWidgetID(panelWidgetID);
PaletteRef palRef = panelMgr->GetPaletteRefContainingPanel(panelControlView);
#if MACINTOSH
CFStringRef cfTitle = <your new title>;
SetControlTitleWithCFString(palRef.GetOWLControl(), cfTitle);
#else
SetWindowText(palRef.GetOWLControl(), "New title");
#endif
Charles

Similar Messages

  • CS3 floating palette title renaming.

    I'm having a problem dynamically renaming the title ( tab ) of one of my palettes at run-time. In CS2 this was quite simple since the tab area of a palette was accessible through the widget hierarchy ( i.e. kTabAreaWidgetID & kPanelTabWidgetID ).
    Since the move to CS3 this is no longer the case. My panel is wrapped in a
    kOWLHostedTabAwarePalettePanelWrapperBoss which itself is contained within another level of hierarchy ( the palette itself which contains the tab and menu widgets ). This top level of hierarchy seems to be shrouded in mystery since it does not show up in the "Panel Edit Mode" of the debug build of InDesign.
    I can navigate the hierarchy of the panels using the 'PaletteRef' object and
    PaletteRefUtils, but after the palette is create there does not seem to be any way of changing the title.
    TIA
    Mike.

    Hi
    This code works for us:
    InterfacePtr<IApplication> app(gSession->QueryApplication());
    InterfacePtr<IPanelMgr> panelMgr(app->QueryPanelManager());
    IControlView* panelControlView = panelMgr->GetPanelFromWidgetID(panelWidgetID);
    PaletteRef palRef = panelMgr->GetPaletteRefContainingPanel(panelControlView);
    #if MACINTOSH
    CFStringRef cfTitle = <your new title>;
    SetControlTitleWithCFString(palRef.GetOWLControl(), cfTitle);
    #else
    SetWindowText(palRef.GetOWLControl(), "New title");
    #endif
    Charles

  • Renaming a report title

    Post Author: saman700
    CA Forum: .NET
    Hi experts,
    I need to deploy some report files to the BO server but before, I need to find out if any report with the same title already exists inside the server and if there's any, i need to rename it's title (the old report's title)  so that I don't overwrite it. (rename it to something like report_bckup. Manually, I have to open CMC, go to folder, choose the folder I am about to deploy my report files too and look to see if a report with the same title exists. In case it exists, I need to change thte title and update the report.
    Is there anyway that I can change the report title throuhg program. I saw that I can do it by myReportDocument.Summaryinfo.ReportTitle but I need to load the report first and to do it, I need to give it the report path which i am unable to find out. I saw that myReport.ReportFileName might do it but I can't get it to work. I know how to Add or Delete reports but is there a way to rename a report's title that is in BO server with SDK? Thanks

    Hi gainesvillepratt,
    After testing the issue in my local environment, we should add a textbox with title value above the matrix. Changing the Width of textbox with the same size as the rendered the matrix Width (Row Groups area width + Column Groups area width * the number of
    columns in column group), then setting the TextAlign property to Center in the Properties Windows pane. Thus we can achieve your requirement.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I rename a song title, click it & doesnt save the title PLEASE HELP!!!

    So I rename a song title since it is not labeled correctly, and then it changed the title, and moves to the alphabetically correct spot, but then if i double click it after it is changed, it automatically changes the song title back to the original one, and then moves the file automatically to the old spot that it was before i changed the title. Does that make sense? Please help! I am finding it very hard when i rename a song, and it doesnt work!
    I am working with about 5000 mp3s and its a headache...
    thanks!

    View my earlier thread on id3 tag changes not sticking. I think I found the solution:
    ...These files would not allow the tag version to be changed from v2.4. However, if you ctrl-click->convert id3 tags and select id3 tags version as "none", it will default to v1.1. From there the tag info can be edited and the changes will stick. If you need to you can re-convert the tag version (eg.v2.3) and the edits will still be maintained.
    PowerBook G4 1.67GHz   Mac OS X (10.4.7)   iTunes 6.0.5

  • ITunes 12 no longer renames files when "title" field updated?

    I let iTunes do the organization of my media folder. In the past when I've added video files to my library, I use the "get info" to update the tags (title, name of show, season, etc...). iTunes would dutifully change the name of the original file in the media library folder to some formula that read the tags from the actual file - [episode] [title], for instance.
    When I "upgraded" to iTunes 12, this functionality stopped working, and iTunes doesn't rename any of the files any more. I seem to be stuck with whatever name my DVR software chose for the file. Any way to get iTunes to resume its previous behavior?

    There appears to be a bug with the way the current version processes updates to video files. You can go into Edit > Preferences > Advanced, turn Keep iTunes Media folder organized off, click OK, then turn that option back on again to resolve. Hopefully the next release will fix this but in the meantime you will need to apply the workaround each time you update something that is affected, or not worry about it.
    tt2

  • Insert dynamic variable in report title?

    Hi
    I am new to Discoverer. I have created a report that displayed a set of data based on the value of last month. So I have created a calculation that gets the value of last month:
    LAST_MONTH = TO_CHAR(ADD_MONTHS(TRUNC(SYSDATE,'MM'),-1),'MON/YYYY')
    I then use the value of LAST_MONTH to select dates from my data where DATE LIKE LAST_MONTH.
    But I want the report title to actually have the value of LAST_MONTH in it, so it actually says something like
    Report for NOV/2009
    dynamically etc.
    Is this possible?
    Thanks
    Lee

    Hi Lee
    To add to what Rod has said, which is 100% correct, let me explain why.
    In order to get something into the title of any report or document, whether this be Word, Excel, SQL or even Discoverer, that something must be applicable to all of the values currently displayed on the page of the report. Whereas Word or Excel will allow you to manually place something into the title, Discoverer does not. In order for Discoverer to allow you to place something into the title it must either be a Page Item or a Parameter. This is because Page Items and Parameters are guaranteed to be unique to the page of the report being displayed. Thus, if you had more than one Page Item, as you move from one to the next the title would dynamically change. When you have a fixed value or calculation, such as your LAST_MONTH, you still need to display it in the Page Items in order to place it on your title.
    To make a Page Item or Parameter display in the title you simply type the & character followed by the name of the item as it appears in the Page Items or by the name you gave the Parameter. Case is import too so last_month is not the same as LAST_MONTH.
    Whenever Discoverer encounters the character & in the title it starts looking for a Parameter or Page Item named by whatever is following the &. If it finds a match it displays the value. It no match is found then it literally displays whatever you typed. Any additional characters that you type after a successful match are also display literally.
    For example: suppose you Page Item is called LAST_MONTH and the value was NOV-09 but in the title you typed &LAST_MONTHS then what will display would be NOV-09S. However, if you typed $last_months then you will literally see &last_month in the title.
    I hope this helps.
    Best wishes
    Michael

  • Dynamic parameter in email title

    Some of my reports are delivered by email. Is it possible in BI Publisher to configure dynamic parameter in email's title, for example sysdate.

    Hi,
    Yes, it looks like it's possible.
    Please review this older post: Bursting e-mail delivery with subject and body parameterized
    Bogdan

  • How to display  dates dynamically in tabular form title

    Hi,
    I have a requirement of displaying dates of the week as title of each column heading in the tabular form dynamically (or) Is there a way to display the dates for each week as the titles for each column dynamically?Could anyone suggest me on this requirement?
    Thanks & Regards,
    Balaji.P.K.

    Hi Balaji,
    if you want to be very generic than create a report based on a "PL/SQL Function returning SQL Query" and set the Report Column Headers to "PL/SQL" and specifiy a function returning the Header Titles.
    brgds,
    Peter
    get Syntax Highlighting for the Application Builder: http://apex.oracle.com/pls/apex/f?p=APEX_DEVELOPER_ADDON:ABOUT:0:::::
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • Dynamically displaying SPC Chart Title

    Hi
    I have created SPC Chart Disply.I did dynamic change of chart types(like xbar,xbar-range). Now i want to  reset the Chart title property dynamically. if any methods available.
    Thanks in advance.
    Regards,
    Malini.V

    This method and all of the other helpful get/set syntax methods are easy found by using the Script Assistant, which is part of the Productivity Tool installation that you can add to your client workstation by running the Wizard Install link found in the xMII Menu's Visualization Services section.
    If you are working on a dynamic SPC charting application you might also be able to learn from some pre-installed content:  http://localhost/Lighthammer/Samples/SPC/Servers.irpt
    Regards,
    Jeremy

  • DW CS3- DYNAMIC SELECT LIST

    Hi.
    I am running DW CS3 on Winodws Vista.
    The problem I am hving is when I try and insert a DYNAMIC
    SELET LIST Dreamweaver crashes. This happens very time.
    Can anyone advise please.

    Hi again.
    I should have added the crash log.
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: Dreamweaver.exe
    Application Version: 9.0.0.3481
    Application Timestamp: 4600622f
    Fault Module Name: Dreamweaver.exe
    Fault Module Version: 9.0.0.3481
    Fault Module Timestamp: 4600622f
    Exception Code: c0000005
    Exception Offset: 002dab57
    OS Version: 6.0.6000.2.0.0.768.3
    Locale ID: 2057
    Additional Information 1: f150
    Additional Information 2: 112d33ddab86c076fa96123810cc4032
    Additional Information 3: 7287
    Additional Information 4: 6413fc23cc8b338dc85422963dbec2cd
    many thanks
    Dereck

  • Renaming Multiple photo titles in iPhoto

    I work for a photographer who recently purchased a iMac. He wants to use iPhoto for importing and editing but he uses different flash cards and when the photos are imported there are multiple pictures with the same file name (example: IMG_0001) Is there any way to rename all of these files in an ascending order once they are in iPhoto?

    You might be able to. After you import them add them to a single album and sort by date. That uses the EXIF Capture Date. Then select all of them and use the Photos->Batch Change->Title to Text and the option to add a sequential number. This will rename the title with the text you want with a sequential number following.
    HOWEVER, these title changes are only in iPhoto. The original file name will remain unchanges. When you export a photo for use outside of iPhoto you can have iPhoto use the title as the new file name.
    Has the photographer considered using a professional DAM (digital asset management) application. It would be a lot more powerful and versatile. I useMedia Expression which lets you sequentially rename the files by their EXIF Capture Date or with any text you'd like. I then use iPhoto for special projects, i.e. books, calendars, etc.
    You can find out more about EM and other DAM applications at The DAM Forum.

  • Batch rename specific song titles in iTunes

    Hi,
    I'm thinking about writing a program that will go through my iTunes library to (1) find all songs with a specific characteristic and then (2) append a prefix to those song titles.
    For instance, I have a bunch of tracks with general title:
         artist_album_version_track_123456
    and I would like to append a single string to each track title, so I get something like:
         MyString_artist_album_version_track_123456.
    In other words, one track title may be something like : Coldplay_Yellow_Parachutes_349203. So, there are three strings (with underscores), followed by a six digit integer.
    I would like to append something to the beginning of all the tracks that end in a six digit integer. So, in the last example, the program would take that title and change it to something like:
         Zweit234_Coldplay_Yellow_Parachutes_349203
    In particular, I only want to append one string to the beginning of the track title, so the string DOES NOT change with the track title. In the above case, all track titles would have Zweit234_ appended to them.
    The reason I need to automate this task is because I have about 80,000+ tracks to rename.
    Ideally, I can create an executable script that the user runs and the entire process is completed, without any additional user interaction.
    I'm looking into ways to interact with iTunes data using AppleScript and Java, but I was hoping someone might have some ideas or, at least, be able to point me in the right direction.
    Any help would really be appreciated.
    Thanks!

    Hi red_menace,
    Your last post really helped and I was hoping you could help with another question I have. I used your script to output the data to a text file and then wrote something in java to sort the items I wanted. So now I have a text file with all the tracks that I would like to change that looks like:
    Track1
    Track2
    Track3
    Track4
    Track5
    etc...
    Now, I wrote an AppleScript that will append something to the prefix of my song name, but I'm not sure how to run through the names that I have in the text file. I've tried changing the text file into a list and then saying something like:
    set listOfTracks to {}
    set Tracks to paragraphs of (read POSIX file "filepath")
    repeat with nextLine in Tracks
              if length of nextLine is greater than 0 then
                        copy nextLine to end of listOfTracks
              end if
    end repeat
    tell application "iTunes"
              set sel to listOfTracks
    -- Rest of Code --
    end tell
    My script actually doesn't pop up any errors, but it also doesn't work. I've tried looking into finding the location of each of the tracks and then making a playlist with those tracks, and then just changing everything in the playlist, but that hasn't really gone that well either.
    So, my question is: How can I create a playlist in AppleScript using the tracks listed in a text file?
    My attempts so far have really fallen flat.
    I would really appreciate your help!

  • Motion 5 doesn't show dynamic guides on fcpx title templates

    I am trying to edit a FCPX title template in Motion 5. Specifically, it is Horizontal Blur. Once I open the template in motion, there are no dynamic guides. In the view menu, I have both Show Overlays and Show Dynamic Guides checked. Yet, no dynamic guides are showing.
    If I open a blank project, the dynamic guides work.
    Anybody run into this and have any thoughts on how to turn them on?
    Thanks
    Chris

    Thank you. That was the trick. I already had 2 snap buttons enabled. Surprised that there was yet another.
    Any reason why dynamic guides work on a new project but not on template? Is there a prefences override on FCPX templates?
    Thanks!

  • Dynamically updating the window title?

    Is there a way to dynamically update the JFrame window title of my program?

    The "substring" method allows you to get any subpart
    of a String (and thus, in effect, "subtract" characters
    from a String).
    Please take a closer look at
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html
    Please don't ask every little question.

  • Pr CS3 and Finicky Fonts in Titler

    If its not one thing, its another.
    Ive been working on a project that was brought to me recently yet started some years ago with Premiere 6 (not even Pro). Amazingly, Ive finally managed to coax nearly everything into Pr CS3. The problem Im running into now is with the CS3s Titler in that it outright refuses to display two of the fonts used in the older project. It only displays hollow rectangles for each letter.
    The thing is: Adobe Photoshop CS2 sees them. Adobe Illustrator 10 sees them. Adobe After Effects 7 sees them. Not to mention MS Word, Adobe Type manager, Adobe Acrobat and even Windows Control Panel Fonts sees them.
    So why is Pr CS3s Titler being so finicky? Is there some setting or secret incantation Im missing? These are TrueType fonts, btw.
    I even installed them via ATM so theyd copy over to the normal Windows Fonts folder on C:, restarted the system and nada. Same problem.
    When I initially imported the project, CS3 dutifully imported the PTL files without a peep. The moment I double clicked or even right clicked on a title file, either in the Project bins or the Timeline, Pr would immediately error then crash.
    If instead I import the folder with the PTL files in to an empty project, a requestor pops up stating that the titles video settings differ from the project and would I like to convert. I OK for each file in the bin and theyre imported as expected. Now the titles behave as they should, except for the ones using the fonts mentioned above.
    So why doesnt that conversion requestor come up when Importing a project?
    Fortunately, my producer is OK with substituting a similar font, but thats NOT the point. Obviously I trust & use a lot of Adobe products, but with all the issues Ive encountered in the few short weeks Ive had this CS3 release, my conclusion has to be that it simply wasnt ready for Prime Time. Im sure Adobe will eventually sort it all out, but for now CS means something else to me and Creative certainly isnt one of them.
    M.

    Please provide
    these details.
    Cheers
    Eddie
    Forum FAQ
    Premiere Pro Wiki
    - Over 250 frequently answered questions
    - Over 100 free tutorials
    - Maintained by editors like
    you

Maybe you are looking for

  • How to exclude certain values in a measure.

    Hi, I have fact data something like.. ID MyValue MySetValue 1 200 1 2 300 1 3 400 0 4 500 0 5 600 1 Now I want to create a measure MyValue which would be sum(MyValue). This i can do using SUM aggregation. But I also want a measure which is SUM(MyValu

  • Can't connect a second pc to my e2500

    Going through Connect with an easy key, but it stops at 25% every time.  The main pc asks me to name the second pc, but connect on the second pc give me the message: We could not connect to your router.  The router name and password are correct. This

  • Bitmap index

    In which scenarion can you create a bitmap idex?

  • Fragmentation of Tablespace - Help

    We are dealing with a database of size 30 GB, which has become very much fragmented. The Fragmentation Report of the tablespace indicates that the largest single extent that can be allocated is 116,000 with the other segments mostly much smaller. Whe

  • CRM B2B Shopping Basket

    Hello Community Network, I want to transmit data of a separate table to the CRM B2B shopping basket header. I only found functionalities to add fields to existing structures of the shopping basket header, but not to add complete new tables. Do you ha