Applescript bug in setting button positions in iDVD6

I took the liberty of downloading the project files for Apple's iDVD Companion (http://www.apple.com/applescript/idvd/companion.html) to remove the annoying limitations on setting button positions (the original app would allow a maximum horizontal offset of 512 and vertical offset of 384, which is too constraining in widescreen projects)
After updating the project in Xcode and fixing some Applescript bugs, I modified the code to allow button positions up to (936, 484) which is the lower right corner in a widescreen project.
But it turns out Apple hasn't modified iDVD's scripting to allow button positions in excess of (620, 480). No doubt this was set when iDVD was first made scriptable - BEFORE the advent of widescreen projects!
So in iDVD Companion now, if I set a button position to be (936, 484), the button only moves to (620, 480) and stops. No errors are generated.
The other curiosity is that in a widescreen project the left hand edge of the screen is not offset 0 but an offset of 80. Explain that!
I'll report this to Apple.

Yes, you are right!
If you write an Applescript to directly address iDVD6 using its Dictionary commands, you can indeed read button positions greater than (620, 480) (eg, if you manually drag a button to the extreme right hand side of a widescreen project) but you can't write button positions greater than (620, 480) - anything over that is truncated.
Well spotted... definitely a bug.

Similar Messages

  • Bug: incorrect description of 2 "button position" options (region buttons)

    Hi,
    I don't know whether this qualifies as a bug, but I found two descriptions that aren't correct in the "+button position+" option for region buttons.
    According to me, the description of the following two options should be changed from
    - Left of Page Title
    - Right of Page Title
    to
    - Left of Region Title
    - Right of Region Title
    Hopefully this is the correct way of reporting a bug for Oracle Apex?
    Kind regards,
    Tim

    RobaloBill wrote:
    > Just fabulous, really.....How? Adobe tells me that it
    can be done.....just not
    > how.
    Click on the button to select it, and then change the text on
    the 'TEXT'
    line in the Property inspector.
    > I import a 3 position button from the library. I use the
    9 slice tool to set
    > the button size, enter the text in the properties box.
    Tried to change the
    > font, style or even use the fonts in the styles
    tab....no luck.
    Double click on the button to open the button editor window.
    Change the
    font properties in the Properties inspector. Return to page
    1.
    Linda Rathgeber - Adobe Community Expert
    http://www.adobe.com/communities/experts/members/8.html

  • [svn:osmf:] 11861: Fix bug FM-206: Visual position changes between subclips.

    Revision: 11861
    Revision: 11861
    Author:   [email protected]
    Date:     2009-11-16 11:50:44 -0800 (Mon, 16 Nov 2009)
    Log Message:
    Fix bug FM-206:  Visual position changes between subclips.  This isn't a subclip bug, but the nature of subclips make it more noticeable.  The problem is we set the Video's dimensions to 320x240 by default, then set them again when the metadata is loaded.  This results in a flicker for slow-to-load media (like a subclip).  The fix is to set the dimensions to zero until the metadata has loaded.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-206
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/video/VideoElement.as

    (Removed)

  • List Of Values In Region Button Position

    Hi,
    I have a list of values, which are set as a 'DHTML List (Image) with Sublist'. I have a requirement for that to be positioned in a button position within a reqion (eg, #DEFAULT#).
    Can this be done, and if so how do I do it.
    Many thanks
    Simon

    Hi Rana,
    When you create a region, and then add buttons to that region, you can put the button in a region posistion (eg, Cancel, Next, Previous etc) or amongst the region items.
    I want to put a list with a drop down select menu amongst the regions pre-defined positions
    Simon

  • Setting tab position and alignment in one shot

    Is there anyway to add a tab and set the position and alignment at once?
    myParagraph.tabStops.add().position = myTabPosition;
    The problem I am having is I don't know how to reference the tab to set
    its alignment.

    Hi Fred,
    It'll work on most add() operations--it's our attempt at adding the AppleScript "with properties" statement to JavaScript.:-)
    Thanks,
    Ole

  • Creating buttons on the fly and setting button properties

    If I have a view and want to add buttons to it "on the fly" from values in an array, is that something straightforward to do?
    I have an array of UIImageVIew objects and would like to create buttons from them (showing the image on the buttons) and associate those buttons with a method in my implementation file. That would be a lot more general and flexible than creating the buttons in the Interface Builder I would imagine.
    And one more question - can I freely set button properties while doing that? Or in Objective-C can I only set properties that are already pre-defined for that class?
    Thanks!
    doug

    Thanks for your reply.
    That.... works! Thanks!
    And I can generate the button and click on it and it calls my other method and that works too. Cool!
    The syntax is still very mysterious to me, but I suppose eventually I'll understand what it all means.
    Breaking it down to see what it means:
    [button1 addTarget:self action:@selector(selectedHandler1:) forControlEvents:UIControlEventTouchUpInside];
    * button1 is the object I created (I'm going to try to do this in a loop next.)
    * addTarget is a message I am sending to button1 and the content of the message is "self", which refers to - this button? I'm not sure why such a message would be necessary.
    * action is another message sent to button1 and the contents of that message are a little harder to parse. I see the result, and can mimic the syntax now that I've seen it, but I don't really understand what the @ is for, or the : after the method name or why this wouldn't just be "action: selectedHandler". I'm sure the language designers have a logical reason for all that, but I don't quite "grok" those extra symbols yet.
    * forControlEvents is another message sent to button1 and the event message itself is clear in its meaning.
    Anyway, that is working and I can refer more to the UIButton class reference now and try to set more stuff, like position it better, etc.
    Thanks very much!
    doug

  • Applescript Studio - Dynamically named button title

    Can anyone tell me if it is possible to retrieve the title of a button in an Applescript Studio application?
    I have no problem if the title of the button is set in the Attributes Inspector.
    EXAMPLE:
    If I set the title of a button to "test" in the attributes inspector and attach a script to a button like:
    *display dialog (get title of button "btnName" of window 1)*
    the result will be a dialog containing the text "test"
    However, if I set the title of a button through a script like
    *set title of button "btnName" of window 1 to "test"*
    and then try to retrieve it the same way
    *display dialog (get title of button "btnName" of window 1)*
    the dialog is empty
    Does anyone know if it is possible to retrieve these dynamically set button titles?

    The name of the button has an applescript name, which is how I reference it from the script. But, the actual project uses a series of buttons which all have their titles set dynamically from a script. Also the mode of the buttons are set to "On Off" (not that I think that should make a difference) I am running leopard 10.5 with xcode 3.0.
    I'm rather new to Applescript Studio and xcode. I don't know what would be wrong with the set-up. And why I would have no problem setting the button titles from a script but not be able to retrieve them.
    I have come up with a work around, keeping track of the button titles in a separate array. I seems stupid to have to do that rather than access the existing button property, but it does work.
    I will have to set up a simple test to explore what may be going wrong.

  • How to set the position in SAP Script

    Hi Professionals,
    Can anyone tell me that How can I set the position of an bitmap Image (after inserting) in SAP Script ?
    by default position is in Left, I need to align it in center or somewhere else.
    Anybody knows, kindly reply!
    Thanks
    Devinder

    Hi,
    But Can we assign a window under another window. Because I want to insert a bmp picture on particular position.
    example:- there is a digital signature and wanted to insert upon a name.
    So, there is a text (which is customer name) and digital signature (in bmp picture format) upon it.
    Thanks
    Devinder

  • I need to set the position of components on a page that contains a MenuBar,

    I need to set the position of components on a page that contains a MenuBar, but MenuBar does not provide a getPreferred size method.
    How can I get the MenuBar's size in AWT?
    Thanks.

    A menubar is not a general component that is added to a frame like any another. It is the specific responsibility of the setMenuBar/setJMenuBar methods to deal with this.

  • Set file position within a for loop, error 1

    Hi, I'm reading from a .sxm file consisting of a large chunk of text followed by binary data for 512x512 images with 4 bytes per pixel
    I’ve managed to successfully identify the start of the binary and read the first image from the file and view it using  "flatten pixmap.vi", so I’m doing something right, however when i try to read the next chunk of image data in the .sxm file using a for loop, set file position keeps churning out ERR (1).
    im at a loss as to whats causing this
    Solved!
    Go to Solution.
    Attachments:
    binaryread3d trouble.vi ‏22 KB
    back panel screenshot.png ‏27 KB

     I closed the file in the loop, doh! ... another morning well spent

  • Set audio position microseconds/Player

    Hay,
    I've made this nifty little class for playing audio:
    import java.io.*;
    import javax.sound.sampled.*;
    public class Player implements LineListener
         // Consts
         public static final float maxVol = 6.0206f;
         public static final float minVol = -80.0f;
         // Vars
         // The AudioInputStream to play
         private AudioInputStream toPlay = null;
         // If the playthread should pause
         private volatile boolean paused = false;
         // If the thingy is playing
         private volatile boolean playing = false;
         // The line
         private volatile SourceDataLine line = null;
         // The thread that will play the sound
         private Thread playThread = null;
         // Construtor
         // Body
         public void play(String toPlay)
              try {
                   // If playing
                   if (playing && paused && (!line.isRunning())) {
                        setPaused(false);
                        // The return so don't play again
                        return;
                   play(new FileInputStream(toPlay));
              } catch (Exception ex) {ex.printStackTrace();}
         public void play(File toPlay) {
              try {
                   // If playing
                   if (playing && paused && (!line.isRunning())) {
                        setPaused(false);
                        // The return so don't play again
                        return;
                   play(new FileInputStream(toPlay));
              } catch (Exception ex) {ex.printStackTrace();}
         public void play(InputStream toPlay) {
              try {
                   // If playing
                   if (playing && paused && (!line.isRunning())) {
                        setPaused(false);
                        // The return so don't play again
                        return;
                   // Get AudioInputStream from given file.
                   this.toPlay = AudioSystem.getAudioInputStream(toPlay);
              } catch (Exception ex) {ex.printStackTrace();}
              // Make the play thread
              playThread = new Thread(new PlayThread());
              // Start it
              playThread.start();
         public void stop()
              // Not playing
              playing = false;
              // If there is a line
              if (line != null)
                   // Close the line
                   line.close();
                   line = null;
              // Distroy the play thread
              playThread = null;
         public void update(LineEvent e)
              // Stop
              if (e.getType()==LineEvent.Type.STOP)
                   stop();
         // Getters
         public SourceDataLine getLine()
              if (line != null)
                   return line;
              return null;
         public float getVolume()
              FloatControl con = (FloatControl) line
                        .getControl(FloatControl.Type.MASTER_GAIN);
              // Get value
              return con.getValue();
         public boolean getMute()
              BooleanControl con = (BooleanControl) line
                        .getControl(BooleanControl.Type.MUTE);
              // Get
              return con.getValue();
         // Setters
         public void setPaused(boolean inPaused)
              paused = inPaused;
              // If not null
              if (line != null)
                   // If paused
                   if (paused)
                        // Stop the line
                        line.stop();
                   } // Resume
                   else
                        // Start
                        line.start();
         // Setters
         public void setVolume(float vol)
              // TODO: Maybe test to see if within min an max
              FloatControl con = (FloatControl) line
                        .getControl(FloatControl.Type.MASTER_GAIN);
              // Set value
              con.setValue(vol);
         public void setMute(boolean mute)
              BooleanControl con = (BooleanControl) line
                        .getControl(BooleanControl.Type.MUTE);
              // Set
              con.setValue(mute);
         private class PlayThread implements Runnable
              public void run()
                   try {
                        System.out.println("toPlay is null " + (toPlay == null));
                        // If not playing
                        if (!playing)
                             // Now playing
                             playing = true;
                             play();
                        System.out.println("Finished");
                   } catch (Exception ex) {ex.printStackTrace();}
              private void play()
                   try {
                        AudioInputStream din = null;
                        if (toPlay != null)
                             AudioFormat baseFormat = toPlay.getFormat();
                             AudioFormat decodedFormat = new AudioFormat(
                                       AudioFormat.Encoding.PCM_SIGNED, baseFormat
                                                 .getSampleRate(), 16, baseFormat
                                                 .getChannels(),
                                       baseFormat.getChannels() * 2, baseFormat
                                                 .getSampleRate(), false);
                             // Get AudioInputStream that will be decoded by underlying
                             // VorbisSPI
                             din = AudioSystem
                                       .getAudioInputStream(decodedFormat, toPlay);
                             // Play now !
                             rawplay(decodedFormat, din);
                             toPlay.close();
                   } catch (Exception e) {e.printStackTrace();}
              private void rawplay(AudioFormat targetFormat, AudioInputStream din)
                        throws IOException, LineUnavailableException
                   byte[] data = new byte[4096];
                   line = getLine(targetFormat);
                   if (line != null)
                        // Start
                        line.start();
                        int nBytesRead = 0, nBytesWritten = 0;
                        while (nBytesRead != -1)
                             // While still paused
                             while (paused) {}
                             nBytesRead = din.read(data, 0, data.length);
                             if (nBytesRead != -1)
                                  nBytesWritten = line.write(data, 0, nBytesRead);
                        // Stop
                        line.drain();
                        line.stop();
                        line.close();
                        din.close();
              private SourceDataLine getLine(AudioFormat audioFormat)
                        throws LineUnavailableException
                   SourceDataLine res = null;
                   DataLine.Info info = new DataLine.Info(SourceDataLine.class,
                             audioFormat);
                   res = (SourceDataLine) AudioSystem.getLine(info);
                   res.open(audioFormat);
                   return res;
    }I've got an app that uses JMF to play MP3's, but using JMF just to play MP3's is overkill, but I've found a SPI from javaZoom now, so that's okay.
    Anyway, I want to set the position of the line in microseconds now, as well as get the duration.
    Can anyone help with this?
    By the way, if anyone can open .rar files (lots of complainants about that) then the, in much need of an update, app is here: http://acquiesce.awardspace.co.uk/Projects/Download/Music_Exploder.rar
    I you do want to try it, you do need the JMF.
    Why not pop into the forum as well:
    http://acquiesce.informe.com/mucic-exploder-dc4.html
    You know I need the comments.
    Luke :D

    okay, so u can do this in the Clip interface, but the Clip takes ages to open, at lest for mp3's.
    I need it to open it right away
    I understand a bit more now, the SourceDataLine plays each byte as it is writen which is why it plays it straight away, but the Clip loads it into memory, so therefore it knows how long, how many frames etc about the audio, but it means that it's not as fast as streaming.
    I need the best of both worlds really, I've tried opening a Clip on another Thread as well as playing from a SourceDataLine, the idea was to have the Clip take over the playing once it has loaded, but the line doesn't play or read/write.
    Is there someway to take advantage of both streaming an non-streaming in this way?
    Or simply make the Clip.open_AudioImputStream) faster?
    Thanks
    Luke

  • Setting Cursor position

    Pls help me for the following query:
    how to set cursor position at the beginning of text field(JTextField) after setting text inside it.

    RTFM
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/text/JTextComponent.html#setCaretPosition(int)

  • How do you set the position of JScrollBars?

    Can anyone tell me how to set the positions of the JScrollBars in a JScrollPane so that it will show the area I want?
    please,
    Tommy

    Sorry i should of add the area I am talking about is a JPanel.

  • Set file position error

    Hi,
    I am using LabVIEW 2009 SP1 on Win XP OS system. I am reading and writing data to a text file whose size does not exceed 50 MB. whenever i try to set file position to a value of say 128 bytes from the start of file, the function does not show an error. But when i try to read back the file position using get file position function, the value shows a very high number. I am not able to do a random access read of the file data. Please help.
    Regards,
    Yashasvi

    Hi Yashasvi,
    can you post the vi (or vi section) causing the problem?
    Thanks,
    Marco

  • Next Set / Prev Set buttons

    HI,
    I have a concert that I've set up in which each set has a patch with a Playback plugin that plays my backing trax. The next set button is configured at the concert level. but it doesn't work. I have my Playback plugin instituted at the Set level, so my footpedal on my line 6 Toneport will start/stop playback. If I put in even just an empty patch in a set, playback doesn't work, but then the next set/prev set buttons will. I've got about 50 songs in my Concert.
    Thanks,
    St Mix

    To the Oracle Reports Team,
    Could you or anyone else send me, a sample code of a jsp report that uses startRow and endRow attributes in rw:for each JSP tag. I couldn't find out how to include and use these attributes in the example mentioned in reports9i online help.
    Any help in terms of a sample report will be greatly appreciated. My mail id: [email protected]
    Thanks,
    Bharat

Maybe you are looking for

  • Accessing music on two computers

    How do I access my music from my Itunes account from another computer. The account started on a PC and now I'd like to open them and put them on my MAC but I can't see my files. Do I do some sort of Import option or are those files taken out of my ac

  • Personal file sharing: not possible

    Hi all, when I tried to turn ON Personal File Sharing , it switchs back to Off. Any ideas. Thanks and Merry Xtmas

  • Error messages while using PS CS 5 on New Mac OS 10.9.4

    Hello, I recently started using my old version of Photoshop CS5 on a new Mac: OSX 10.9.4. I am receiving two messages that I have never seen and would like assistance in understanding and/or solving the issues. Upon opening PS, I receive this message

  • Silver software asset management competency

    Can someone please confirm that I have understood correctly these things? Company X wants to get Silver software asset management competency, to do that first step is: Your company must employ or contract with two Microsoft Certified Professionals (M

  • Z30 stopped working during 10.2.1 update

    My Z30 stopped working during the 10.2.1 update (Fido). The screen is completely dark, the only sign of life is the blinking red light. The pattern is 1 long blink followed by a pause and then 6 quick blinks. I have purchased tech support for 50$ wit