Switch Layers Script Question

Hi I have a small script here which someone from these forums posted not too long ago... was it Noel? Either way, this script is fantastic and brings up a sub-menu to switch documents. When the menu pops up, it shows a list of all open documents in Photoshop. (I actually modified this script so all it does is switch documents instead of copying the active layer to another document.. somehow I managed it with the very basic knowledge I have )
The default document selection (the document name that is highlighted in the menu) when the list opens is "0"
I'm looking for a way to get the highlighted selection to reflect the active document instead of "0".
I think it's somewhere in this line of code:
win.NewList.selection = 0;
and I've tried changing the 0 to "actLay" and also "activeLayer" but it throws me an error message. Is there a way to get the active document as the highlighted selection? Here's the code...
var aDoc = app.activeDocument;
var AllDocs = app.documents;
var actLay = aDoc.activeLayer;
if (AllDocs.length > 1) {
var itemDoc = null;
var win = new Window("dialog","Switch Documents");
this.windowRef = win;
win.Txt1 = win.add ("statictext", undefined, "Switch to which document?");
win.NewList=win.add ("dropdownlist", undefined)
for (var m = 0; m < AllDocs.length; m++) {
win.NewList.add("item", AllDocs[m].name) 
win.NewList.selection = 0;
itemDoc = win.NewList.selection.actLay;
win.cancelBtn = win.add("button", undefined, "Switch");
win.cancelElement = win.cancelBtn;
win.NewList.onChange= function () {
    itemDoc = win.NewList.selection.index;
    return itemDoc;
win.show();
app.activeDocument = app.documents[itemDoc];
app.refresh();

Here's your original code with just minor changes:
Added a var to hold activeDocument index.
Added if statement to set the above variable.
Added a line to set the dropdownlist selection.
You should also start scripts with the target application. In this case: #target photoshop
#target photoshop  
    var aDoc = app.activeDocument; 
    var AllDocs = app.documents; 
    var actLay = aDoc.activeLayer;
    var activeIndex;//add var to hold activeDocument's index
    if (AllDocs.length > 1) { 
    var itemDoc = null; 
    var win = new Window("dialog","Switch Documents"); 
    this.windowRef = win; 
    win.Txt1 = win.add ("statictext", undefined, "Switch to which document?"); 
    win.NewList=win.add ("dropdownlist", undefined) 
    for (var m = 0; m < AllDocs.length; m++) { 
    win.NewList.add("item", AllDocs[m].name)  
    if(AllDocs[m].name == aDoc.name){activeIndex = m}//set activeIndex if activeDocument name matches current doc in list
var docR = activeDocument
    win.NewList.selection = activeIndex;   //Set selection for dropdownlist
    //itemDoc = win.NewList.selection.actLay;
    win.cancelBtn = win.add("button", undefined, "Switch"); 
    win.cancelElement = win.cancelBtn; 
    win.NewList.onChange= function () { 
        itemDoc = win.NewList.selection.index; 
        return itemDoc; 
    win.show(); 
    app.activeDocument = app.documents[itemDoc]; 
    app.refresh(); 

Similar Messages

  • Switching between scripts in Advanced actions very slow on Mac OS X

    Hi,
    I've been experiencing a problem with Captivate taking an inordinate amount of time (approx 30-40 seconds) to switch between scripts in the Advanced Actions window. This happens incrementally as create/duplicate scripts and switch from one to the other. After switching about 4 to 5 times, the wait extends to 30-40 seconds. The rest of Captivate is unaffected, i.e. no delay issues when adding statements to a script, or working with other features in Captivate. I called Adobe Support but they said it is the first time they heard about this issue, although they seemed to suggest that Captivate is "slower" on the Mac. For comparison's sake, and to check if there was anything wrong with the project file itself, I tried using a trial version on a PC running Windows XP (using the same project file) and I experienced no issues, and switching between scripts remained constantly quick even after several hours working on a project.
    This particular project requires a lot of scripting and this issue has ground my productivity down to a halt having to wait 30-40seconds just to switch between scripts. Adobe suggesting "removing programs" from the Mac to speed up affairs, but I don't think there is anything wrong with the machine as it runs other Adobe software, like InDesign, Photoshop and Acrobat without any issues. In addition, while the switching is being processed, OS X doesn't hang. I am perfectly able to switch to other applications, or load new ones, which indicates that Captivate is not hogging all the resources.
    I was wondering if anyone else has experienced this issue before, and if so if a solution/workaround has been identified?
    Thanks!

    Hi,
    I've been experiencing a problem with Captivate taking an inordinate amount of time (approx 30-40 seconds) to switch between scripts in the Advanced Actions window. This happens incrementally as create/duplicate scripts and switch from one to the other. After switching about 4 to 5 times, the wait extends to 30-40 seconds. The rest of Captivate is unaffected, i.e. no delay issues when adding statements to a script, or working with other features in Captivate. I called Adobe Support but they said it is the first time they heard about this issue, although they seemed to suggest that Captivate is "slower" on the Mac. For comparison's sake, and to check if there was anything wrong with the project file itself, I tried using a trial version on a PC running Windows XP (using the same project file) and I experienced no issues, and switching between scripts remained constantly quick even after several hours working on a project.
    This particular project requires a lot of scripting and this issue has ground my productivity down to a halt having to wait 30-40seconds just to switch between scripts. Adobe suggesting "removing programs" from the Mac to speed up affairs, but I don't think there is anything wrong with the machine as it runs other Adobe software, like InDesign, Photoshop and Acrobat without any issues. In addition, while the switching is being processed, OS X doesn't hang. I am perfectly able to switch to other applications, or load new ones, which indicates that Captivate is not hogging all the resources.
    I was wondering if anyone else has experienced this issue before, and if so if a solution/workaround has been identified?
    Thanks!

  • Quick SAP Script question New Page Print

    Quick SAP Script question
    I have added a new page to an existing SAP Script BUT only want it to print if a condition is true.
    I need to do this from within the form as the print program is SAP Std.
    Any idea how I can prevent the new page from printing?
    i.e. I need the form NOT to call the new page if the condition is false. Is there a way of forcing an exit or stop from with in the form?

    Hi,
    To trigger a new page, there is script ediotr command NEW-PAGE.
    so find where is that command is triggered and use the below code for trigger it on any specific condition....
    if &condition& = 'True'
    /*  NEW-PAGE
    elseif
    /: NEW-PAGE   
    endif
    so it means if condition is satisfied your new page will not work.. else it will...
    Hope you got it...
    Try this..
    Best luck..
    Regs,
    Lokesh.

  • Batch Process Export Layers Script

    I know how to break down a layered file using the Export Layers Script, and it works pretty well for me.  What I want to know is if there is a way to create an action using this script, that I can apply to multiple files and batch process in Bridge?  I have created an action that in theory should work, but I keep getting stop errors when I actually run it.  Has anyone successfully created an action that can export out multiple layers of multiple files?

    Joyce,
    Thank you.  Your suggestion helped clear my mental log jam.
    Fireworks batch scripting seems to work in reverse.
    Using "Batch Process..." scripting interface 'Export' (as JPEG) option first, 'Rename' (add Prefix) option second, and then follow these by using the history panel's 2 previously saved steps (Numeric Transform, Fit Canvas), batch process now works.  PNG file (list) is saved in targeted folder as a reduced scale JPEG with a prefixed file name.
    Batch Process allows the entire newly defined command sequence to be saved (script.js).  Placing this (renamed) file into Firework's batch look-up directory for scripts (C:\Documents and Settings\account_name\Application Data\Adobe\Fireworks CS4\Commands) does not work.  The file name does not display in "Batch Process" window "Batch options:" Commands drop-down list.
    Batch Process only works by recreating the above steps each use.
    The new (JavaScript) file is 26 KB.  Is script file size limited in Fireworks "Batch options:" feature?

  • Switching Layers lag time

    It look like Adobe support is on vacation. This is my thrid posting with no reply, but there is always hope.
    My last issue is with the Configurator panels loaded. When switching layers there is a noticable lag time. This is also true with the "Configurator Ps CC Styles" example panel. Once again when these panels are closed and photohop restarted, there is no lag time in switching layers and from my previous post, the tool shortcuts work as expected (they do not switch back to the original tool as when the panels are loaded).
    I am on an iMac OS 10.8.4.
    Photoshop CC
    When I do a Safe Boot, all the panels work as they should with no problems with the tools or with the layer switch lag.
    Hopefully someone will be back from vacation soon and help me with this issue.
    I see in a previous post that someone on windows was having the same problem.
    I want to beable to put my panel creation on Adobe Exchange, but don't feel like I can until I know what causes this issue.
    Thanks - Sam

    The problem has come back on my Mac again and the fixes I did before no longer eliminate the lag time ore the shortcut tool switch. I see in past posts that his has been a requring problem for some on Macs and Window computers.
    Tried to find Sample files from Configurator 4, but they are now misssing from my default Configurator window. I want to test an already made panel and see if the issue happens with the sample files. Where are the sample files?
    Thanks in Advance - Sam

  • Scripting Question - Very Basic

    Hello, I'm using the trial version of InDesign and am wondering if because it's the trial version that I can't load custom scripts from Adobe?  I've downloaded and installed a Custom Calendar script [I can see the extracted files in/on my PC] but the app apparently doesn't see it.  Any help you can offer is greatly appreciated.  Thanks, 

    Thank you so much, you were spot on. 
    From: Peter Spier <[email protected]>
    To: Friar5 <[email protected]>
    Sent: Monday, December 12, 2011 3:18 PM
    Subject: Scripting Question - Very Basic
    Re: Scripting Question - Very Basic created by Peter Spier in InDesign - View the full discussion
    Have you put thew script in a location that InDesign uses for scripts? See How to install scripts in InDesign | InDesignSecrets
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4079869#4079869
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4079869#4079869. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in InDesign by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Quick script question

    Hi all,
    Could anyone advise me if i can add anything within - header('Location: http://www.mysite.co.uk/thankyou.html'); in the script below so as the page
    re- directs back to the main index page after a few seconds ?
    Thankyou for any help.
    <?php
    $to = '[email protected]';
    $subject = 'Feedback form results';
    // prepare the message body
    $message = '' . $_POST['Name'] . "\n";
    $message .= '' . $_POST['E-mail'] . "\n";
    $message .= '' . $_POST['Phone'] . "\n";
    $message .= '' . $_POST['Message'];
    // send the email
    mail($to, $subject, $message, null, '');
    header('Location: http://www.mysite.co.uk/thankyou.html');
    ?>

    andy7719 wrote:
    Mr powers gave me that script so im rather confused at this point in time
    I don't think I "gave" you that script. I might have corrected a problem with it, but I certainly didn't write the original script.
    What you're using is far from perfect, but to suggest it would lay you open to MySQL injection attacks is ludicrous. For you to be prone to MySQL injection, you would need to be entering the data into a MySQL database, not sending it by email.
    There is a malicious attack known as email header injection, which is a serious problem with many PHP email processing scripts. However, to be prone to email header injection, you would need to use the fourth argument of mail() to insert form data into the email headers. Since your fourth argument is null, that danger doesn't exist.
    One thing that might be worth doing is checking that the email address doesn't contain a lot of illegal characters, because that's a common feature of header injection attacks. This is how I would tidy up your script:
    <?php
    $suspect = '/Content-Type:|Bcc:|Cc:/i';
    // send the message only if the E-mail field looks clean
    if (preg_match($suspect, $_POST['E-mail'])) {
      header('Location: http://www.example.com/sorry.html');
      exit;
    } else {
      $to = '[email protected]';
      $subject = 'Feedback form results';
      // prepare the message body
      $message = 'Name: ' . $_POST['Name'] . "\n";
      $message .= 'E-mail: ' . $_POST['E-mail'] . "\n";
      $message .= 'Phone: ' . $_POST['Phone'] . "\n";
      $message .= 'Message: ' . $_POST['Message'];
      // send the email
      mail($to, $subject, $message);
      header('Location: http://www.example.com/thankyou.html');
      exit;
    ?>
    Create a new page called sorry.html, with a message along the lines of "Sorry, there was an error sending your message". Don't put anything about illegal attacks. Just be neutral.
    By the way, when posting questions here, don't use meaningless subject lines, such as "Quick script question". If you're posting here, it's almost certain to be a question about a script. It doesn't matter whether it's quick. Use the subject line to tell people what it's about.

  • Unique Script Questions-timed startup?

    Hello All,
    I am long time mac fanatic with some unusual script questions. I have a project ongoing where I will need to put my pb 15" in a remote location with a Canon camera. Canon has transmitter device which will allow me via ethernet to ftp to my pb.
    Here's essentially what I need to the script to do and I am trying to find out just how feasible this is. I need my laptop to bootup to receive photos via ftp at a certain time period. The camera will send to the builtin ftp software. Once booted I need the script to hold for period of about an hour. Once time has elapsed I need the script to connect to the internet via a broadband EVDO card. We are using one of the EVDO cards built in to Tiger. It then must ftp a folder of images to a remote server.
    Simple, huh? : ) I am running Transmit as my ftp software. I believe it is scriptable and will watch a folder to send.
    Any ideas? I'd love to hear them. I can be reached via scott at scottaudette.com.
    This setup is going be used in very cool photo location but I can't publicly announce where.
    Scott
    G5 and PB 15"   Mac OS X (10.4.7)  

    'Transmit ... I believe it is scriptable' - yes it is. Go to How can I use AppleScript with Transmit? to download sample 'Transmit' scripts.
    'Once booted I need the script to hold for period of about an hour.' - well then, save the script as a 'stay open' application, with an 'on idle () ... end idle' handler - with a return of (60 * 60) seconds; and then drag the saved application onto the 'System Preferences' 'Accounts' 'Login Items' tab's list - of the user which the Mac will boot to (when turned ON).
      Mac OS X (10.4.4)  

  • Can I post here(Acrobat Windows) Java Script questions here?

    Hello
    Can I post here(Acrobat Windows) Java Script questions here? If not, wht is the correct forum?
    THank you

    Back up and down to Acrobat Scripting. Bot Windows and MacIntosh Acrobat versions use the same JavaScript.
    If you are using LIVECYCLE DESIGNER use their forums. The JavaScript syntax and objects are different in LIVECYCLE DESIGNER!

  • FLASH MX 2004 action script question

    Hi!
    I need to create an script for a basic function; when mouse goes over a moveclip, that works also link, I want it to trigger an invisible red dot on a nerby map. I have created a movieclip and named it "red", it's a 1 sec clip with nothing in the beginning and a red dot in the end. I want this dot to trigger and show only when mouse goes over this specific link, otherwise it must be invisible.
    I know this is pretty basic stuff and I have done this before few years back but I have forgotten how to do it and need help now.
    Any help would be very much appreciated :-)
    Kim

    I still need help, this problem is little more complicated;
    I can manage making the red dot visible and invisible by triggering roll over and roll out on a button.
    The problem is, I have a navbar which is line of flags made to a movie clip, with 5 invisible buttons. These buttons are configured to do three different actions; get URL, trigger a light effect and a movement effect.
    Now I need this invisible button to trigger my red dot also so that when mouse is over a certain flag a red dot appears on a map on the correct location.
    I have the red dot on a new layer. It has instance name "redDot" and on the very first frame of this red button layer, I have action script that says: redDot._visible = false;
    This works as it should and the dot is invisible when the movie has loaded.
    I need to make this invisible button to trigger the visibility of my red dot, and I have tried to add the code:
    on (rollOver) {
    redDot._visible = true;
    on (rollOut) {
    redDot._visible = false;
    to this invisible button, but it dosent work, furthermore it affects the other functions of the button/movie clip, which were working fine before.
    Here is the code attached to this invisible button so far:
    on (release) {
    getURL(/:url1);
    on (rollOver) {
    gotoAndPlay(2);
    on (rollOut) {
    gotoAndPlay("sec");
    I have the URL:s on an external text file.
    So my question is; where do I add the action script to make it visible when moving the mouse over this invisible button? To my understanding, it should go in the same place as the other code that is working, but I'm doing something wrong...
    I tried to do this:
    on (release) {
    getURL(/:url1);
    on (rollOver) {
    gotoAndPlay(2)
            redDot._visible = true;
    on (rollOut) {
    gotoAndPlay("sec")
    redDot._visible = false;
    But it is wrong, I also tried like this:
    on (release) {
    getURL(/:url1);
    on (rollOver) {
    gotoAndPlay(2);
    on (rollOut) {
    gotoAndPlay("sec");
    on (rollOver) {
    redDot._visible = true;
    on (rollOut) {
    redDot._visible = false;
    But it makes the other functions that worked to stop working.
    I also tried to give the invisible button an instance name and do it like this:
    invisible.on (rollOver) {
            redDot._visible = true;
    invisible.on (rollOut) {
    redDot._visible = false;
    And put them in the actions layer of button movie clip but nothing works.
    Flash is really giving me a headache now...
    To conclude, I made a simple test button, put it on the scene somewhere and and attached the rollOver and rollOut codes, targeting the "redDot" and it works fine, the button didn't need a instance name to work. I don't understand why I can't make it to work with the invisible button where it should be.
    I hope this clarifies the point and I can get some help with this and sorry for bothering again with this problem.
    Oh and I use old Flash MX 2004.
    Thanks
    Kim

  • Madwifi-ng preup/predown script question [solved]

    Hi,
    I recently installed Arch 0.7.1 on my laptop.
    So far I am very impressed with the speed and the simplicity :-)
    I just have one small problem: madwifi-ng
    Currently, I have to manually create the ath0 interface with wlanconfig, which is annoying. On the Gentoo forum I have found a partial script with preup/predown functions (the thread is located here)
    preup() {
    if [ "${IFACE}" == "ath0" ]; then
    /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta > /dev/null
    return $?
    fi
    if mii-tool ${IFACE} 2> /dev/null | grep -q 'no link'; then
    ewarn "No link on ${IFACE}, aborting configuration"
    return 1
    fi
    return 0
    predown() {
    if [ "${IFACE}" == "ath0" ]; then
    killall wpa_supplicant
    /sbin/wlanconfig ath0 destroy
    return $?
    fi
    return 0
    I am using a Netgear WG511T pcmcia card.
    I would really appreciate any suggestions on where to put this code, and how to modify it for use with Arch Linux, or if I should use something else alltogether.
    Thanks in advance!

    Another interesting problem: I recently upgraded to the latest madwifi-ng code with svn update and also started using wpa_supplicant 0.5.0 (upgraded from 0.4.7)
    The netcfg script stopped working and after a little tinkering I discovered that  the following section from start_profile() in the netcfg script was killing wpa_supplicant before it could connect:
    while ! wpa_cli status | grep "wpa_state=COMPLETED" >/dev/null 2>&1; do
    if [ $i -gt 10 ]; then
    wpa_cli terminate >/dev/null 2>&1
    ifconfig $WIFI_INTERFACE down
    stat_fail && return
    fi
    sleep 2
    let i++
    done
    fi
    I have now commented out the loop and running the command "netcfg netgear" no longer halts there and so far everything seems to be fine again. I am guessing more than a 20 second timeout is needed, so I'll try having the iterator increment to 30 or something and see if that solves it.
    [EDIT]
    Now using  [ $i -gt 30 ]; and it works. On second thought, since everything  now really just works and my main question was essentially answered, I am adding [solved] to the title.
    Thanks again!
    [/EDIT]

  • Switching to mac, questions on best place to host reference masters

    I am getting ready to switch from PC to Mac and have a question I am hoping I could get some advice on (I have a lot of questions actually, but will start with this one).
    I have a large library of photos and videos and plan on getting an imac for my wife and macbook pro for me (I do the tagging/organizing and video editing).
    Based on what I read, I am planning on keeping the masters on a separate drive and the aperture library on my macbook pro.
    Question is, am I better off keeping the masters on the imac and access that folder as an external folder on my macbook pro for the masters, or should I use a NAS drive for them?
    I have an older NAS that I can probably reformat for this purpose, but I often run into complications using a NAS (offsite backup issues, connectivity issues, can't use Time Machine, ...) and have read on the forums about people having issues writing to files on NAS's...
    I have a buffalo terastation pro ii, it is about 3 years old.  It is 2 terabytes.  I would get the imac with 2 terabytes and the 256gig ssd drive so the 2 tera could be dedicated to media.
    Thanks in advance for any advice, appreciate it.
    Peter

    plampione wrote:
    I am about to buy the macs, so both the desktop and macbook pro will be fast.  I plan on buying the fastest processor, 8gig of ram on the macbook, debating 8 or 16 on the imac, though from the previous thread sounds like it should be 16, and ssd on both (imac with 256 ssd + 2 TB HD, macbook with 512 sad).
    I suggest ordering both Macs with the minimum RAM and adding 3rd party RAM yourself.  The task is trivial and will save you heaps.  I bought my iMac with 4GBs (that's two 2GB modules plus two empty slots), and then added two 4GB modules into the empty slots.  So I have 12GBs.  My plan is to try to live with just 12GBs until 8GB modules become affordable, and then replace the two original 2GB modules with two 8GB modules, bringing it to 24GBs.  If needed, I'd ultimately go to 32GBs by replacing the two 4GB modules I have just installed.
    I think the MacBook Pro (MBP) still has only two slots, so using 4GB modules, you are limited to 8GBs.  If the architecture of the MBP supports it, you may be able to go to 16GB when 8GB modules become affordable.  But you'd need to check this.
    - using an attached harddrive on the macbook pro - Definitely a reasonable idea, but I was hoping to be able to bring up the library from anywhere in the house.  I do have gigabit ethernet throughout the house and can wire in as needed, but again, was hoping to be able to sit on the sofa and do some tagging.
    Another way to achieve this still has your Aperture Library and Masters on the iMac as I recommended above.  You could use the MBP to share the screen of the iMac.  It's a standard OS X function, no software to buy.  You enable sharing on the iMac and log in from the MBP.  That way you have the function on your sofa, but the power and capacity of the iMac for your actual work.  This works fine over wifi for me via an Airport Extreme using 802.11N
    - Backup - by putting the masters on the imac i was planning on using time machine to back them up onsite, and crashplan to backup offsite.
    Good plan.  TM and Crashplan are good products and free.
    I'd also recommend making a second onsite backup by cloning to a pair of external drives, and periodically send one of these drives offsite.  You may find that Crashplan for offsite backup over the internet is too slow if you have a big photo shoot.
    What if I plug into the gigabit ethernet whenever I am going to run aperture?  Would that allow the imac/macbook model to work?  Concerned about the performance issues described above though, even for the machines themselves.  Would copying the library nightly to my wife's computer work?  How big does a 20+k library get with referenced masters?
    Size of the library depends on many factors such as choices for previews, and the amount of editing (adjustments) you do, but here is a data point.  I have 47K images, many RAW and the Library was about 60GBs, the referenced Masters another 280GBs.  I say "was" because I have let it grow by importing recent images into it.
    Today we are on PCs and I use windows live photo gallery and tag all my photos, which are stored on a NAS, my wife also runs WLPG and can see all the tagging I do.  This works pretty well and is simple, I just import from the camera, show all 'untagged' photos/videos, and tag them.  I also move them to a basic folder structure to be safe.
    I understand this is not as feasible on mac, and if you are wondering why I am switching, it is because I have been having a lot of stability problems with the pc's and have had enough.  I use iphones, ipads, and apple tv's.  Recently got a macbook air and really like it.  Just need to figure out how to manage the photo/video library.
    A lot of my concerns about your plan are because I'm impatient.  On my MBP, it was taking about 5 seconds to render each image as I reviewed them.  I typically take a very short time to tag the images, so the computer was slower then me.  Now, with the iMac, I'm the slow link in the chain.
    It may be that you are used to a leisurely tagging process, but I have no experience with WLPG.
    The great things about Aperture that I really love, having come from a Photoshop background are that Aperture is always non-destructive in its editing and it is non-modal in the UI.
    There is a price to be paid for non-destructive editing.  Aperture often has to go back to the Master and then apply your adjustments.  This takes resources.  But it saves you time.  And you don't have to muck around creating another external folder structure yourself, as it seems you do with WLPG.  I just import my images into "Projects" in Aperture (the Masters are Managed), and when I want to selectively change Managed Masters to Referenced Masters, I just tell Aperture to do this and that it should utilize my Project structure as the external folder structure.  Aperture does all the folder creation for me, yippee!
    Finally, you may even find that the MacBook Air is good enough to do the tagging on with the shared screen approach I mentioned above, and then maybe you don't have to buy a MBP.
    HTH.  Happy to discuss further

  • LAYERS quick question

    This is a dumb question, but I'll like the pros to clarify.
    So I used to be able to create new floating layers by simply
    selecting the "Draw Layer" button from the "Layout" tab. After
    dragging and creating a new layer, a new layer icon would come up
    on my "Layers" pallette. Some updates after, an now when I try to
    draw a layer, it just inserts an empty "<div" on my code, no
    more floating layer, and no layer shows up on my "Layers" pallette.
    I'm in Dreamweaver 8 by the way. Is there a setting somewhere I
    need to change?? thanks.

    > I'm in
    > Dreamweaver 8 by the way. Is there a setting somewhere I
    need to change??
    No, but it's clear that you are not inserting a "layer" but
    rather a simple
    <div> tag. To get a 'layer', you would have to use
    INSERT | Layout Objects
    > Layer (not DIV TAG). Remember, layers are absolutely
    positioned elements,
    and they should NOT be used as a primary page layout tool.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "atlacatl" <[email protected]> wrote in
    message
    news:g1i1pc$6kj$[email protected]..
    > This is a dumb question, but I'll like the pros to
    clarify. So I used to
    > be
    > able to create new floating layers by simply selecting
    the "Draw Layer"
    > button
    > from the "Layout" tab. After dragging and creating a new
    layer, a new
    > layer
    > icon would come up on my "Layers" pallette. Some updates
    after, an now
    > when I
    > try to draw a layer, it just inserts an empty "<div"
    on my code, no more
    > floating layer, and no layer shows up on my "Layers"
    pallette. I'm in
    > Dreamweaver 8 by the way. Is there a setting somewhere I
    need to change??
    > thanks.
    >

  • New Switcher digital video questions

    Hi all,
    I am a new switcher as of 2 weeks ago when I picked up a new iMac. So far I love it but I do have a few questions. I imported a TON of miniDV video (150GB). I noticed on one tape that the clock had been set wrong. It now shows up in the wrong folder under iMovie. Any way I can change the files to reflect the right date so it gets put in the right place?
    Also, I just tried to run iDVD. It will not run, it seems to just start and quit. Anyone else have this problem?

    Unix provides a function known as Touch which will modify the dates modified and created for files. You can learn more about it here:
    http://www.osxfaq.com/man/1/touch.ws
    If you open the application Terminal in Applications -> Utilities, and drag the said file after inserting the touch command of your choice (providing a space between the complete command sequence and allowing the path of the file to show up), and then hit the enter key, you will be able to modify the date created and modified on the Finder. I don't know how iMovie sequences its own folders, but that's how to change the Finder info for the file.
    If iDVD doesn't work you may have insufficient space to create a temporary file, or something else is the matter. How much free space do you have? Is your new iMac one with a Superdrive according to the box?

  • Simple Action Script question

    This is probably a very basic question, but going through all
    my old Flash work didn't help me remember...
    I have my animation starting on the main stage with an image
    fading in. when that is done playing, at the end i want it to go to
    a movie clip on the stage and play it from frame 2. what is the
    action script for this?

    Doesn't seem to be working... your_mc is the instance name of
    the mc, correct? i placed this script in a frame - it's above where
    my mc first appears and the initial animation on the stage ends. is
    that correct?
    stop();
    tellTarget(mc_square-grid){
    gotoAndPlay(2);
    When I test the movie, the initial animation plays then
    stops, but the MC does not start playing. and the following error
    message appears:
    Target not found: Target="NaN" Base="_level0"
    quote:
    Originally posted by:
    ActionScripter1
    tellTarget(your_mc){
    gotoAndPlay(2);

Maybe you are looking for