Script to move rectangle in rich symbol

I am trying to write the script to move a rectangle (or path
or bitmap) that is part of a rich symbol. The API docs say that
.left and .top are not read-only, but they do not appear to be
working. When setting .left on a rectangle, the value changes but
the new value seems to have nothing to do with the value I
specified. (The new value was some very small decimal.) Doing the
same to a path or bitmap did not seem to have any effect at all.
Has anyone had any success programatically moving (or
resizing because I will want to do that next) a rectangle, path, or
bitmap that is part of a rich symbol, i.e. with script in the
applyCurrentValues() function? Thanks.

quote:
Originally posted by:
psemlohq
The API docs say that .left and .top are not read-only, but
they do not appear to be working. When setting .left on a
rectangle, the value changes but the new value seems to have
nothing to do with the value I specified.
You could try the dom methods for moving, like
dom.moveSelectionTo() (I think that's what it's called). I've seen
cases, especially in CS3, where changing the attributes doesn't
work but calling the equivalent dom functions does.

Similar Messages

  • Script to insert an existing Rich symbol throws error

    I have an existing Rich Symbol called RSymbol. Now I write a script to place RSymbol into a certain layer which create. The problem is, that everytime i import a symbol like this with
    fw.getDocumentDOM().importFile(fw.appSymbolLibrariesDir+"RSymbol.graphic.png", {left:136, top:108, right:136, bottom:108}, false, 0, false);
    Fw doesnt import the properties for this symbol and throws an error "Component graphic or script edited An error occured"
    I also tried to put the rich symbol in the appSwfCommandsDir but it didnt work either. I guess the problem could be that the RSymbol isnt in the Common Library folder. appSymbolLibrariesDir doesnt point to the common library folder but to some other folder (Adobe Fireworks CS5\Configuration\Libraries).
    I also tried to use fw.getDocumentDOM().importFile(fw.appSettingsDir+"/Common Library/... but it doesnt work either.
    I want to use this script in a panel so I cant hard code the absolute path.
    Any suggestions how to import a rich symbol and make the rich properties available?
    Thanks a lot!

    Sadly, I don't think there's any way to programmatically insert a rich symbol while maintaining its "richness".  I tried and failed to do that in my QuickFire extension: http://johndunning.com/fireworks/about/QuickFire
    The best I could do was to insert the symbol in a way that if you had already dragged that symbol from the common library into the document, the new instance would still show something in the symbol properties panel.  Here's the code that QuickFire uses to insert symbols:
    function insertSymbol(
         inSymbolName,
         inPath)
         var dom = fw.getDocumentDOM();
         var middleX = Math.round(dom.width / 2);
         var middleY = Math.round(dom.height / 2);
         try {
                   // first assume the symbol is already in the library and try to
                   // insert an instance.  there doesn't seem to be an API to list
                   // the symbols in the document, so we just have to try it.
              dom.insertSymbolAt(inSymbolName, {
                   x: middleX,
                   y: middleY
         } catch (exception) {
                   // replace the user or app JS directory path tokens with the
                   // actual path, so that importSymbol will find it below
              inPath = inPath.replace(/^:U:/, k.UserSymbolsPath).replace(/^:A:/, k.AppSymbolsPath);
                   // the symbol isn't in the document yet, so import it.  we use
                   // importFile instead of importSymbol because the former seems
                   // to preserve some magic that allows you to turn it back into a
                   // rich symbol if you later drag the same symbol from the Common
                   // Library into the doc and replace existing instances.
              dom.importFile(inPath, {
                   left: middleX,
                   right: middleX,
                   top: middleY,
                   bottom: middleY
              }, true);
    // this is a failed attempt to import a rich symbol.
                   // the jsf filename doesn't include the .graphic bit
              var jsfPath = inPath.replace(/\.(graphic|animation|button)\.png$/, ".jsf");
              if (Files.exists(jsfPath)) {
                        // to change the opCode, so that the rich symbol's jsf file
                        // will give it the default values, we need to create a proxy
                        // Widget object.  but first save off the actual Widget.
                   var _Widget = Widget;
                   Widget = {
                             // we want this to be opCode 1, which will set the symbol's
                             // default values
                        opCode: 1,
                             // the symbol we just imported is Widget.elem
                        elem: fw.selection[0],
                        propString: _Widget.propString,
                             // pass these method calls on to the real Widget
                        GetObjectByName: function()
                             return _Widget.GetObjectByName.apply(_Widget, Array.prototype.slice.call(arguments, 0));
                        isWidgetSelected: function()
                             return _Widget.isWidgetSelected.apply(_Widget, Array.prototype.slice.call(arguments, 0));
                        UpdateWidget: function()
                             return _Widget.isWidgetSelected.apply(_Widget, Array.prototype.slice.call(arguments, 0));
                   fw.runScript(jsfPath);
                        // reset the global to the real Widget object
                   Widget = _Widget;
    Hope that helps.

  • Problems creating rich symbols

    I followed the step to create a rich symbol, when I get to
    the create symbol script, I browse to common library/custom
    symbols, I click plus, but there is no info in the element name
    box, I can not type it in, can not contine from that point as it
    will not continue further without an element name, any idea what
    step I probably missed?

    Hi Terry - Make sure the objects in the layer have unique
    names. For example, creating a rectangle is called rectangle by
    default. Change the name to something specific like "upstate"
    instead of "rectangle". Also make sure you do not have spaces
    (whitespace) in the object name.

  • Why won't rich symbol properties show when the .jsf file exists?

    In FW CS4 I've created a rich symbol via the "create symbol script" command, then I reloaded my common library, and put the symbol from common librray on a page.  Even though I have a .jsf file in C:\Documents and Settings\<user>Application Data\Adobe\Fireworks CS4\Common Library\Custom Symbols to match my symbol, there are no symbol properties available for it on my page.
    I can use the create symbol script command again on this symbol & it comes up with the same properties I had already defined.
    What would stop symbol properties from showing up when the symbol is taken from a recently reloaded Common Library & placed on a page?
    I've discovered that I can see the properties when I use this symbol in a totally brand new Fireworks file, but I can't in an existing file that ever had that same symbol before, even when I tell FW to "Replace the existing item."
    Below is my jsf file contents.
    Thanks!
    5
    title,textChars,Title,Title;
    outline,visible,Active%20window%3F,true;
    win%5Fmin%5Fbtn,visible,Min%20btn%20visible%20%28not%20modal%29%3F,true;
    win%5Fmax%5Fbtn,visible,Max%20btn%20visible%20%28not%20Modal%29%3F,true;
    background,fillColor,fillColor,%23ffffff;
    function setDefaultValues()
        var values = new Array();
        values.push({ name:"Title", type:"text", value:"Title" });
        values.push({ name:"Active window?", type:"boolean", value:"true" });
        values.push({ name:"Min btn visible (not modal)?", type:"boolean", value:"true" });
        values.push({ name:"Max btn visible (not Modal)?", type:"boolean", value:"true" });
        values.push({ name:"fillColor", type:"color", value:"#ffffff" });
        Widget.elem.customData["currentValues"] = values;
    function applyCurrentValues()
        var values = Widget.elem.customData["currentValues"];
        Widget.GetObjectByName("title").textChars = values[0].value;
        Widget.GetObjectByName("outline").visible = values[1].value;
        Widget.GetObjectByName("win_min_btn").visible = values[2].value;
        Widget.GetObjectByName("win_max_btn").visible = values[3].value;
        Widget.GetObjectByName("background").pathAttributes.fillColor = values[4].value;
    switch (Widget.opCode)
        case 1: setDefaultValues();   break;
        case 2: applyCurrentValues(); break;
    Message was edited by: oic.now

    Solution Found:  I had to explicitly delete the existing copy in my orginal FW file even though when I used the one from the common library I told it to "Replace the existing item"  I guess the replace doesn't really work for rich symbols.  After I deleted the symbol with the same name from the document library & pulled in the one from Common Library, it showed its rich symbol properties.

  • BUG: Rectangles inside FW symbols become blurry/misaligned

    There seems to be a problem with the use of Rectangles within Symbols in Fireworks CS6, CS5 and earlier.
    The problem is that they become blurry. More exactly, they become repositioned within the symbol—aligned to the half-pixel—and their edges become anti-aliased as a result. For example, here's a series of rectangles that I'd created on the canvas to visualize a set of color swatches:
    Here's the same set of rectangles after having been saved as a Symbol and imported into another document:
    At first I thought this was a problem with Symbols in general, but then I discovered that it only occurred with Rectangles—a.k.a. "rectangle primitives", which are a special kind of grouped vector object created using the Rectangle tool—and only when the contents of the Symbol in which they resided had a pixel width or height ending in an odd number (i.e., 1, 3, 5, 7 or 9).
    THE PROBLEM
    Here's what I've observed, in greater detail. Start with two Rectangles, 99 x 99 pixels—one with a stroke only, the other with a fill only. Select the first Rectangle and choose Modify > Symbol > Convert to Symbol, and then do the same for the second. Save the file. Everything looks OK, right?
    Now close the file, and reopen it. Have a look at the thumbnail previews within your Document Library. They look a little... fuzzy, yes?
    Click on the name of one of the symbols in the Document Library to open the Symbol Properties dialog, and then click OK. Now look on the canvas...
    Yikes. The symbol instance containing the stroked Rectangle (on the left) has become quite blurred. Now, back within the Document Library panel, click on the thumbnail preview of the other symbol to enter Edit Symbol mode, and then return to the document canvas...
    Yikes again. The symbol instance containing the fill Rectangle (on the right) has also become blurred—horizontally, in this case. They both look worse now.
    Note that it's not the instances nor their placement on the canvas that's the problem—you can move them anywhere on the canvas, and they'll still look just as bad—but the symbols themselves. Double click on one of the symbols to enter Edit Symbol mode and select the rectangle. Its X-Y position in the Properties panel will look normal, but if you open the Transform panel extension (http://www.senocular.com/fireworks/extensions/?entry=572), you'll see the real story: The rectangle has been re-aligned to the half-pixel.
    Importantly, the trigger here isn't the dimensions of the rectangle, per se, but of the symbol contents as a whole. If the symbol contents have an even-numbered dimension, alignment remains crisp and pixel-perfect along that dimension; if the symbol contents have an odd-numbered pixel dimension, a blurry misalignment occurs. For example, here's a series of "even" rectangles (20 x 20 pixels) that, with their single-pixel spacing, comprise an odd-numbered selection (125px), shown before and after symbol conversion:
    Incidentally, the same problem reveals itself when you import these symbols into another document using the Import Symbols command within the Document Library options menu.
    THE FIX
    The patch for this bug, once it's occurred, is to edit the symbol. In Edit Symbol mode, select all objects—or just the misaligned Rectangle objects—and choose Modify > Snap To Pixel.
    The fly in the ointment here is that, in many cases, the original alignment is not preserved. The rectangles may now be misaligned in relation to other objects in the symbol, as well as to other objects on the canvas. Therefore, to finish the job, you may need to also nudge the rectangle(s) by a pixel horizontally or vertically using the keyboard arrow keys.
    The good news is that once a symbol has been fixed using Snap To Pixel, its alignment and clarity should remain fixed.
    THE WORKAROUND
    The surest way to avoid this issue, of course, is to avoid including Rectangles in your symbols—not the geometric shape, but the grouped vector object as it's created by the Rectangle tool. Therefore, prior to converting a selection to a symbol, check for any Rectangles within the selection and ungroup them using the Modify > Ungroup command, which will convert them into simple paths, unaffected by this bug. (Chances are, by the time you're converting these objects to symbols, you won't need the fluid resizing or adjustable rounded corners that Rectangle objects offer; the trick will be remembering to perform this extra step.)
    THE BUG REPORT
    Lastly, here's the bug report that I submitted to Adobe regarding this issue:
    Product name: Fireworks
    Product Version: 12.0.0.236
    Product Language: English
    Your operating system: Mac OS 10.6.8
    ******BUG******
    Concise problem statement: Rectangles within Symbols become blurry if the width or height of the symbol contents is an odd number (e.g., 21, 23, 25, 27, 29, etc.). The blurriness is caused by misalignment of Rectangles on the half-pixel within the symbol, and becomes apparent upon closing and reopening the document and either a) viewing the symbol's Document Library thumbnail preview, or b) clicking to view Symbol Properties or to Edit Symbol. It can also be observed upon Importing the symbol into the Document Library of another document.
    Steps to reproduce bug:
    In an open FW document, draw a Rectangle and set the width and/or height to an odd number (e.g., 99 x 99 pixels).
    Select the Rectangle and Convert to Symbol.
    Save and close the document.
    Reopen the document. In the Document Library, double-click the symbol name to open the Symbol Properties dialog, and click OK. (Or double-click the symbol preview to Edit, and then return to the document canvas.)
    Results: The Symbol instance appears blurry on the canvas. (The Symbol itself also appears blurry within Edit mode.)
    Expected results: The Symbol should appear as it was originally created, without a loss of clarity or change in alignment.
    Note that this bug can occur whether a rectangle's dimensions are even or odd; the determining factor is the dimensions of the symbol contents as a whole. However, the bug affects Rectangles only; it has not been observed with paths, ellipses, auto shapes, bitmaps, or groups.
    The Transform panel extension was used to view the precise pixel alignment of objects and determine the cause of the blurriness.
    For more information, including graphic demonstrations and workarounds, please see the following forum post: http://forums.adobe.com/thread/1073489?tstart=0
    This bug has also been observed in Fireworks 8 and CS5 on Mac OS 10.6.8 (Snow Leopard).
    POSTSCRIPT
    Amazingly, this bug can also affect Symbol instances on the canvas that have been "broken apart". To see this for yourself, create a symbol like one of the preceding examples, select the symbol instance on the canvas and choose Modify > Symbol > Break Apart. Save and close the file, then reopen it. The "broken apart" instance on the canvas will now appear blurry/misaligned(!).

    Thanks, Petros_!
    That's good input. If this issue is important to you, consider submitting your own bug report. Feel free to copy and paste from mine, if it helps. (Just be sure to verify all results on your own setup first.)
    Whenever possible, I'm trying to post bug reports on this forum in addition to submitting them to Adobe. Partially, this is to allow me to include graphics or go into slightly more detail, and partially it's to make bug reporting more transparent—to raise awareness of known issues among fellow users and reduce duplication of effort, to create a record, and to increase public visibility of these issues. It also allows for corrections or additions to be made by myself or other users.
    However, it's not a true bug reporting system. So we don't know whether the Fireworks team has looked at this yet, whether it has been or will be assigned to someone, or whether your comment on this thread will be read by anyone on the Fireworks team.
    Nevertheless, it is quite an investment of time tracking down a bug and writing it up like this, so I appreciate the kudos!

  • Not remembering 9-slice guide placement for rich symbols

    Y'all,
    I'm learning to create rich symbols in the new FW CS3, and
    I'm having some difficulty with the 9-slice guides. I create the
    rich symbols, enable 9-slice scaling, save them to the common
    library, and generate the accompanying JSF file. Then I drag the
    new symbol onto the canvas, double-click to edit it, position the
    9-slice scaling guides, and click DONE. The rich symbol now behaves
    properly for all instances in the current document.
    However, when I open a new document and drag the rich symbol
    onto the canvas, the position of the 9-slice guides has reverted to
    the default placement. The positions that I defined for the guides
    in the previous document do not seem to be saved with the master
    rich symbol.
    I've looked at other rich symbols (that come with FW CS3) and
    see that the scaling guides are clearly positioned and that those
    positions are remembered and stored with the master symbol.
    How do I get FW CS3 to remember the placement of the 9-slice
    scaling guides for my custom rich symbols so that I do not need to
    edit and place the guides EVERY time I open a new document? I've
    tried to look through the help documentation, and I've searched
    online and the forums here, but I haven't found any instructions
    for creating rich symbols that remember the 9-slice scaling guide
    placement.
    Any help would be most appreciated. Thanks!

    OK, I figured it out over the weekend:
    When you define the 9-slice guides for the rich symbol, they
    are only applied to the symbol instance(s) in the current document,
    so you need to go to the Assets > Library panel, select the rich
    symbol, then go to the options menu and choose "Save to Common
    Library", then browse to the rich symbol filename. You will be
    asked if you want to overwrite the existing symbol file, and yes,
    you should. The placement of the 9-slice guides defined as defined
    in the current document will now be saved to the rich symbol master
    file, and the placement of the guides will be preserved and used
    for future instances of that rich symbol in new documents.
    Seems kind of odd that there are multiple disjointed steps to
    create a rich symbol: draw it, save it, define the JSF script, save
    it, define 9-slice guide placement, save it. If I check "Enable
    9-slice guides" when I save it initially, shouldn't FW CS3 insert a
    step asking me to define their placement before I save the rich
    symbol to the common library?
    Just a thought.

  • Rich Symbol feature for Buttons?

    Im making a site with menu links where the text size and font
    is the same, but the color is different for each one. So I can play
    about with changing the font etc ive used a simple script to make
    the colour editable, attached to the graphic type of symbol.
    This is working but what I really want is to do the same
    thing, but with the button type of symbol. This would allow me to
    design the rollovers and down states, while still having the font,
    size etc easily updatable.
    Is there a way of using the rich symbol feature for buttons
    or is it for graphics only?
    thanks

    I think i could get round this by making a button with a roll
    over state (say italic), then applying a style to the whole button
    and using the style to control the appearance. ( I know that styles
    are only updatable in CS4 but im thinking of upgrading).
    When a style is applied to a button it seems to override the
    appearance setting of the button (font, colour, etc).
    Say I wanted to have some buttons different colors, but have
    the other appearance elements controlled by the style applied,
    could i override the colour (or similar feature) some way? I would
    still need to have the style linked to update it.
    thanks

  • Help creating a script to move users in and out of an OU based on a time limit

    Here's my scenario: we currently have OUs based on the locations of our facilities, we also have a sub-OU(?) underneath it for users that need a group policy applied to them where whitelist applications allowed to run. From time to time we have need to pull
    users out of that sub-OU for a short period of time to let them run applications they normally wouldn't be able to and won't need to run long term. Sometimes we also forget to add these people back into that policy controlled sub-OU because we get busy do
    other things. Server is 2008 R2.
    Here's what I'm looking for: A script that prompts for the users name, pulls that user out of the sub-OU, puts them in the main OU but only for 24 hours. After that time limit is up, a script/command runs that puts the user back in the policy controlled
    sub-OU. I'm thinking a PS script would be the best way to do this.
    Research: Looking at these posts here and here I'm
    thinking I should be able to Frankenstein something together but I have very limited PS scripting experience.
    Can anyone help me create this?

    You've probably figured this out, but we're not typically in the business of writing complete solutions for people. With that said, there are projects I find particularly interesting, such as this one, where I am willing to help get someone started if they
    are willing to take the time to work through the examples and learn from them.
    You have two requests - one is a script that prompts for a user it then moves to a different  location in Active Directory. The second request is a way to move them back without manual interaction. This will require an automated task (scheduled task)
    that will run at select times during a day.
    Here's the first script (1/2): The first two lines set two different variables. The first line sets the $OUPath variable to the SubOU. The second line prompts for a user and, once a user is entered, sets that user to the $User variable. It then runs the
    first try-catch, attempting to replace the $User variable with the data returned from the Get-ADUser cmdlet. Notice the use of the -Properties parameter. By default the modified date and the extensionAttributes are not returned. We will be using the modified
    date so we can be certain that 24 hours passes before we move them back (see part 2/2). Including extensionAttribute13 will ensure we only move users out of the OU if they were moved in by the script. Note: The modified date on a user in AD is changed when
    it is moved from one OU to another. If the user cannot be located in the first try-catch it will say it cannot locate the user in Active Directory. If it can locate it, it will set the $User variable, as described so far, and then move on.
    In the second (or, nested) try-catch we split the user's DistingusihedName at the first comma so that we have two parts. We use the second part (that doesn't include their CN) and see if that matches the $OUPath variable. If it does match then that user
    has already been moved. If it doesn't match then we 1. Move the user, 2. Replace extensionAttribute13 with the string 'MovedUser,' and 3. Output that the user has been moved.
    $OUPath = 'OU=SubOU,OU=MainOU,DC=mydomain,DC=com'
    $User = Read-Host -Prompt 'Enter SamAccountName'
    try {
    $User = Get-ADUser -Identity $User -Properties Modified,extensionAttribute13
    try {
    If ($User.DistinguishedName.Split(',',2) -eq $OUPath) {
    Write-Output -Verbose 'User already moved.'
    } Else {
    Move-ADObject -Identity $User.DistinguishedName -TargetPath $OUPath
    Set-ADUser -Identity $User.SamAccountName -Replace @{extensionAttribute13='MovedUser'}
    Write-Output "'$($User.SamAccountName)' has been moved."
    catch {
    Write-Output "'$($User.SamAccountName)' cannot be moved."
    catch {
    Write-Output -Verbose "Unable to locate '$User' in Active Directory."
    The second script (2/2): Here we also set a couple variables - one is the SubOU's DistinguishedName where we want to return the user and the other is the all of the users from the MainOU. Foreach user in $Users we check if their extensionAttribute13 is set
    to 'MovedUser' and if their modified date is greater than or equal (-ge) to 24 hours. If it is, the script will move the user, clear extensionAttribute13, and let us know the user was moved. If for some reason your $OUPath variable is wrong, the script will
    run the catch portion of the only try-catch we used in this script. Again, you'll have to schedule Task Scheduler to run this script. Good luck!
    $OUPath = 'OU=MainOU,DC=mydomain,DC=com'
    $Users = Get-ADUser -Filter * -SearchBase $OUPath -Properties Modified,extensionAttribute13
    Foreach ($User in $Users) {
    $TimeSince = New-TimeSpan -Start $User.Modified -End (Get-Date)
    If ($User.extensionAttribute13 -eq 'MovedUser' -and $TimeSince.Hours -ge 24) {
    try {
    Move-ADObject -Identity $User.DistinguishedName -TargetPath $OUPath
    Set-ADUser -Identity $User.SamAccountName -Clear extensionAttribute13
    Write-Output "$($User.SamAccountName) has been moved."
    catch {
    Write-Output "$($User.SamAccountName) cannot be moved."
    } Else {
    Write-Output 'No Users to move.'
    If you decide to use this, be sure to change the paths you use for the $OUPath variables. Also, if you're using this with PowerShell 2.0, you will need to use the Import-Module cmdlet to import the ActiveDirectory module. In versions above 2.0 it will be
    imported automatically if you try to use an AD cmdlet.
    Edit: Typo - Get-ADUser property

  • Script to move files and compress

    Hi Guys,
    I am in need of a script that moves log files that are older than 14 days to a compressed folder. I would like to run this as a scheduled task that would run at the end of each week, and for the logs to go into the same compressed folder each week. Is this possible? And if so could anybody please help me? I have spent hours on this and I am really struggling as I dont have much knowlegde of scripting at all.
    Many thanks,
    Jack  

    Ah my Friend we're in Powershell land for that, and very easy it is.
    The compressing part is easy and does not require Powershell as long as the destination File system is NTFS
    Make a folder called Archive (or whatever name suits you) and in Windows Explorer, go into the Properties of that folder, Choose the "Advanced Button" and select "Compress Contents to Save Disk Space" and hit apply.
    Now you should see that folder change color.  Anything going into there is a compressed file.  The great part is you can view it like normal, it just uses far less disk space.   A Zip file might take even less but this is very easy to work with.
    As far as accessing the log files older than 14 days, presuming the Folder is called C:\Logfiles and the filenames end with the extension .LOG
    ---------- Archive old Logfiles - Powershell Script -------------------
    $TODAY=GET-DATE
    GET-CHILDITEM C:\LOGFILES\*.LOG | Where { $_.LastWriteTime.AddDays(14) -lt $TODAY } | MOVE-ITEM C:\LOGFILES\Archive
    ---------- Archive old Logfiles - Powershell Script -------------------
    All this does is look at the directory of files with the extension .LOG and check the last time the file was modified.  Anything older than 14 days is Moved to the Archive folder.   If the "Compression" attribute is enabled, there's your archive process :)
    And of course if you don't have Powershell on the machine in question, it's a quick update from Windows to bring it in :)
    Download Windows Management Framework - http://support.microsoft.com/default.aspx/kb/968929
    Cheers
    Sean
    The Energized Tech
    Powershell. It's so Easy and it's FREE!
    Dive in and use it now, It'll take no time. :)
    http://www.energizedtech.com
    http://www.itprotoronto.ca

  • Rich Symbol Contents don't update properly

    Hi Fireworks people,
    I have a Rich Symbol in which you can type text and set a few properties. Saving works but sometimes when there are many instances of this Rich Symbol in a document only parts of the entered text are displayed on the stage. In the symbol properties the text is still there.
    It looks like the Rich Symbol doesnt update properly for some reason. Is there a way to "refresh" the symbols to show the full text from the symbol properties on stage as well?
    I thought by calling the applyCurrentCalues() function of the Rich Symbol, Widget.UpdateWidget  or smth like that. BUt the documentation on these methods as well as other properties of the Widget Object isnt sufficient!
    In some cases when many Rich Symbols with text are on stage the text is even lost. Its visible in the symbol props but wrapped in a new line(red outline in image). You cant access the text anymore and have to re-create the symbol.(see screenshot) and an error is shown (blue outline)
    I guess the second problem is some sort of bug but maybe someone has a tip/trick/advice for the first problem, to update the Rich symbol.
    Thanks a lot in advance!
    Matt

    Pagemaker is old software, it was designed for use when fonts were quite limited. It will only display the first 256 characters in a font.  Modern fonts have moved way beyond this limitation. The solution is to stick with older fonts, or to upgrade to indesign. It does sound like your souvenir font  could be corrupted, running font management software is a good practice no matter what program you use.
    Jay

  • I need a shell script to move latest archivelogs from one server to another server..

    Hi,
         I need a shell script to move latest archivelogs from one server to another server..
    Thanks&Regards,
    Vel

    ea816fb9-f9ea-45ac-906f-36a8315970d0 wrote:
    Thanks it's really helpfull..
    Now i have pasted a shell script which generates archivelog and shows latest archivelog time..
    just check let me know the answer, that how i need to execute it..
    # Force a logswitch to get the last archivelog to the standby host
    ORACLE_SID=ORCL
    ORAENV_ASK=NO
    . oraenv >/dev/null 2>&1
    SwitchLogfile()
      # Do logswitch 
      RESULT=`echo "Alter system switch logfile;" | sqlplus -S / as sysdba | grep 'System altered'`
      if [ "$RESULT" = "System altered." ]
      then
      export RETURN=1
      else
      export RETURN=0
      fi
      # Do we need to do something with this return value?
      export RETURN
    GetArchiveTime()
      CURYEAR=`date +%Y`
      echo "set heading off;" > temp.sql
      echo "set termout off;" >> temp.sql
      echo "select to_char(first_time,'YYYY-MM-DD HH24:MI:SS') from v\$archived_log where sequence#=(select sequence# - 1 from v\$log where status='CURRENT');" >> temp.sql
      sqlplus -S / as sysdba <
    spool tempres.txt
    @temp.sql
    quit
    EOF
    cat tempres.txt | grep ${CURYEAR} | grep -v grep | awk '{print $1" "$2}'
    #rm -f temp.sql  tempres.sql
    SwitchLogfile
    GetArchiveTime
    You seem to have ignored Dude's VERY good advice and continue to press down this ill-advised path.  If you continue this approach, you WILL have problems at the very time you do not need any additional problems.  Trying to recover your production database at 2:00 in the morning is not the time to be getting errors from rman because it can't find what it needs - because you decided to move them around yourself.
    Please reconsider.

  • When accessing email in IE an error says a script in movie is causing adobe flash player to run slow

    when accessing email in IE an error says a script in movie is causing adobe flash player to run slowly. and email keeps loading and doesn't open.

    Here is the download page for Click-to-PlugIn:
    http://hoyois.github.com/safariextensions/clicktoplugin/

  • Script to move computers from one ou to another based on os

    hi there
    I am looking for a script to move computers from specific  ou to another based on their OS.
    thanks

    Hi,
    Have you checked here yet?
    http://gallery.technet.microsoft.com/scriptcenter
    There should at least be a starting point for you if you don't find exactly what you're after.
    Don't retire TechNet! -
    (Don't give up yet - 12,420+ strong and growing)

  • Script to move computers from one ou to another based on their operating system

    I am looking for a script to move computers from one ou to another based on their operating system
    I tried the followings
    1- dsquery * CN=Computers,ou=test1,DC=mypc,DC=com -filter "(&(ObjectClass=computer)(objectCategory=Computer)(operatingSystemVersion=5.1))" | dsmove -newparent OU=test2,DC=mypc,DC=com
    I got the following error
    dsquery failed:Directory object not found.
    type dsquery /? for help.dsmove failed:'Target object for this command' is missing.
    type dsmove /? for help.
    2-dsquery * ou=test1,DC=mypc,DC=com -filter "(&(ObjectClass=computer)(objectCategory=Computer)(operatingSystemVersion=5.1))" | dsmove -newparent OU=test2,DC=mypc,DC=com
    I got the following error
    dsmove failed:'Target object for this command' is missing.
    type dsmove /? for help.
    anybody can help me on this please

    This is what a good query will look like.  Note the extra bits in the version. (7601)
    dsquery * "dc=kahlnet,dc=local" -filter "&((objectclass=computer)(operatingSystemVersion=6.1 (7601)))"
    ¯\_(ツ)_/¯

  • Character Animation: Movie Clip or Graphic Symbols?

    Should I use Movie Clip or Graphic Symbols for Character
    Animation? What do people who make TV shows use. If I'm not
    planning on manipulating any symbols with ActionScript and I'm not
    using a symbol that requires it's own time line like a walk cycle,
    is there any reason to use movie clips symbols? If I put my
    animation on the web will it download noticeably faster if I use
    graphic symbols instead of movie clip symbols?

    What I meant is, there are different ways of setting up a
    workflow for Flash animation. Studio animators are trained in
    traditional frame-by-frame animation. So their workflow is usually
    to do the same in Flash: make every frame a keyframe, then copy and
    paste everything from one frame into the next, then make whatever
    changes are needed. A classically-trained animator can get a good
    momentum working this way.
    But for making the most streamlined SWF files, this method is
    not the best. It's much better to rely on library assets, place
    major parts or sets of parts on different layers, and only keyframe
    those things that need keyframes. If good planning is done in
    advance, it can be just as fast as doing straight-ahead keyframed
    animation.
    Either method may end up with the same result. But when you
    want to go back and tweak things, it's a whole lot easier to do it
    when method 2 is used.
    I'm sure I'm not very clear. PM me and I'll send you a list I
    created of "best practices" which I give to e-card animators.
    One of these best practices is: place a thumbtack on the "G"
    key on your keyboard. The very WORST habit that is taught to studio
    animators using Flash is to use neither Graphics nor Movie Clips,
    but to immediately click Ctrl-G every time they draw something.
    This creates a Group. It's faster than hitting F8 and typing in a
    name, but it causes ENORMOUS problems, especially when doing
    retakes and revisions. And it results in gargantuan SWF files.
    I literally GLUED a thumbtack to one one animator's keyboard,
    since he seemed unable to remember this rule. Luckily this wasn't
    in America, or I'd have been charged with grievous bodily
    assualt.

Maybe you are looking for

  • Error in report RSCMST             -  (CX_SY_ARITHMETIC_OVERFLOW)

    Dear All while connecting external content server to SAP. when  I run report RSCMST, it throws dump. Error analysis An exception occurred that is explained in detail below. The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was no

  • How can I change the country on this account?

    I made an discussion account and I just realised it's in United States and from uk. Is there anyway I can change this or delete it and create a new one? My Apple ID is also uk

  • CD's not importing in iTunes 11.0.1

    Just got some CD's for Christmas, popped them into iTunes, and nothing. 1. They show up in my iTunes folder no problem. 2. They do NOT show up in the iTunes library, and they only show up in the 'Recently Added' playlist once I've restarted iTunes. 3

  • Possible for AIR app connecting to SQL 2005 server

    Is it possible using Flex AIR to connection to SQL 2005 server and fetch data ? If YES, whats step / process we need to follow please. We have the DB in sql 2005 and we want to develop desktop client and fetch the records from DB to AIR app.

  • Best graphics card for a Sawtooth?

    Hi there, I searched the discussion forums but didn't find an answer to this particular question. My mom has a G4 450. As it is getting up there in age, I want to upgrade it to make it a little quicker. I plan on maxing out the memory to 2 gigs and I