Help needed with creating HTML email in Dreamweaver

Hi everyone, would really appreciate some help with a dilemma or two that I have.
I have created the following newsletter in Dreamweaver and uploaded it to our website:
http://www.nova-design.co.uk/sales/000030.html
Now, when I go into my email mass mailing client (Handymailer) and send a test out, I encounter a couple of problems.
Firstly, in Outlook when I receive the email, the grey table on the right of the eshot, is crushed and a lot of the single line text is forced to go over two lines...
Secondly, in Hotmail, the table displays fine, but it does say that "This message is too wide to fit your screen.  Show full message."
Once I click "Show full message" it displays in full, but I then need to scroll across to the middle of the browser to view the email.
If I left align the newsletter will this problem be solved?  Or is there a way in Dreamweaver that I can edit the entire page size so that it's not too wide?
The table is 600px wide so I assumed that any email sent out would shrink to this size.
Any help would be greatly appreciated!  This is the first full HTML email I have sent out so it's going to be far from perfect!

mozza34 wrote:
I need to look into using inline css styles, I have no idea how to so need to read up on those.
I created a transparent GIF and placed it, but that moves my text down because the image is in the way?  Am I doing that right?
Make the transparent gif 1px high.
Is it the links in the right column that go onto two lines? If so that could be because the links are wider than the actual column itself..so you will have to make column wider.
If you can't sort it, have  a look at the code below, copy and paste into a new Dreamweaver document and test out. Inline css styling is used in the code below. I've masked your email so no spam bots get hold of it.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body style="background-color: #CCC;">
<table width="600" border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto;">
<tr>
<td width="412" style="font-family: arial, helvetica, sans-serif; font-size: 12px; padding: 10px 10px; background-color: #fff; vertical-align: top;">
<table width="392" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="text-align: center;"><img src="http://www.nova-design.co.uk/images/novalogo.jpg" alt="Nova Design" width="208" height="155" align="top" /></td>
</tr>
</table>
<p style="font-size: 16px; font-weight: bold;">September 2011 Update</p>
<p>Welcome to our September 2011 Newsletter!  Keeping you up to date with all things Nova Design.</p>
<p><strong>New Addition</strong></p>
<p>We would like to welcome to our team Kieran Duggal.  Kieran joins us from Schneider Electric and will be placed into a newly created recruitment role within the company.</p>
<p>With the contracting side of our business growing, Kieran will be looking after all things recruitment.</p>
<p>If you are currently looking for work in the field of engineering design, or if you are looking to take on contract or permanent design engineers, feel free to contact Kieran for a chat about current possibilities.</p>
<p> Kieran Duggal - Recruitment Executive<br />
      <a href="mailto:[email protected]" style="color: #000;">
      [email protected]</a><br />
    01384 405 977</p>
    <p><strong>Social Media</strong></p>
    <p>Further expanding our Social Media horizons, we have decided to create a group on LinkedIn.  Here we will be listing current vacancies and allowing people from the engineering world to take part in various discussions.  Please make sure to join our group, as we will be looking to develop it over the coming months.</p>
    <p><strong>Revamped Design Team</strong></p>
    <p>We have recently taken on several enthusiastic, highly skilled graduates.  We feel our current team of design engineers is stronger than ever, with a healthy mix of vast experience and youth.  We are constantly searching for the best engineering talent in order to consistently provide our clients with high quality levels of work.</p>
    <p><strong>Summary</strong></p>
    <p>2011 has been a busy, exciting year so far and long may it continue.  Our clients are what make us, and we would like to thank those of you who have placed business with us in the past.</p></td>
<td width="158" style="font-family: arial, helvetica, sans-serif; font-size: 12px; padding: 0 10px; background-color: #333; vertical-align: top;"><img src="../images/novalogo.jpg" alt="Nova Design" width="168" height="1" align="top" />
<p style="color: #fff;">
<strong>Nova Design Ltd</strong><br />
Watt House<br />
Innovation Centre<br />
Pensnett Trading Estate<br />
Kingswinford<br />
West Midlands<br />
DY6 7YD</p>
<p style="color: #fff;">T: +44 (0)1384 400 044<br />
F: +44 (0)1384 400 090</p>
<p style="color: #fff;">W: <a href="http://www.nova-design.co.uk" style="color: #fff;" target="_blank">www.nova-design.co.uk</a><br />
E: <a href="mailto:[email protected]" style="color: #fff;">[email protected]</a></p>
<table width="168" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="vertical-align: middle; padding: 7px 0; font-size: 12px;"><a href="http://www.facebook.com/novadesignuk" target="_blank"><img src="http://www.nova-design.co.uk/images/facebook.gif" alt="Facebook" width="25" height="25" align="absmiddle" style="border: none;" /></a> <a href="http://www.facebook.com/novadesignuk" style="color:#fff;" target="_blank">Facebook</a></td>
</tr>
<tr>
<td style="vertical-align: middle; padding: 7px 0; font-size: 12px;"><a href="http://twitter.com/novadesignuk" target="_blank"><img src="http://www.nova-design.co.uk/images/twitter.gif" alt="Twitter" width="25" height="25" align="absmiddle" style="border: none;"/></a> <a href="http://twitter.com/novadesignuk" style="color:#fff;" target="_blank">Twitter</a></td>
</tr>
<tr>
<td style="vertical-align: middle; padding: 7px 0; font-size: 12px;"><a href="http://www.linkedin.com/groups?about=&gid=4002529&trk=anet_ug_grppro" target="_blank"><img src="http://www.nova-design.co.uk/images/linkedin.gif" alt="LinkedIn" width="25" height="25" align="absmiddle" style="border: none;"/></a> <a href="http://www.linkedin.com/groups?about=&gid=4002529&trk=anet_ug_grppro" style="color:#fff;" target="_blank">LinkedIn</a></td>
</tr>
<tr>
<td style="vertical-align: middle; padding: 7px 0; font-size: 12px;"><a href="http://www.nova-design.co.uk/blog/?feed=rss2" target="_blank"><img src="http://www.nova-design.co.uk/images/rss.gif" alt="RSS" width="25" height="25" align="absmiddle" style="border: none;" /></a> <a href="http://www.nova-design.co.uk/blog/?feed=rss2" style="color:#fff;" target="_blank">RSS Feeds</a></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

Similar Messages

  • Help needed with creating Flash game

    Hello,
    I need to create Flash educational/quiz game for one of my clients. It would be based on concept like these ones for example:
    Example 1
    http://go.ucsusa.org/game/
    Example 2
    http://www.zdravlje.hr/igre/stop-aids/
    Note: when you open this link you will see two text boxs which you first must fill. On the left side text box "Upišite ime" means "Type your name" and right one "Upišite godinu svog rođenja" means "Year of birth"
    What is interesting about this type of games is that they are classic games (for example game Labirint where you have to find way out), but during play pop-up questions starts to appear to test end user knowledge abot certain topic (in example 2 topic is about AIDS/HIV). In case of my client, topic is about Eco environment.
    Here is where my trouble starts;) : I found many useful free tutorials how to create simple flash game (most interesting example I found is this one http://www.strille.net/tutorials/snake/index.php)  BUT I dont know how make that system of popup questions appear during game similar to Example 1 and Example 2?
    Any help is appreciated and thanks in advance for promt reply.
    Greetings,
    Adnan

    Update: I have just read all instructions in Snake tutorial which helped be better realize how Snake game works.
    a) This is what I plan to realize for my client:
    1. Snake game which end users will play and during play pop-up/quiz quesions will appear on topic Eco environment;
    2. For example when end user earns 50 points he must answer some of the random questions like "Q:How many ton of waste are produced by US livestock each year" with three answers A1: "1 milion" A2: "1 bilion" A3: "2 bilion" and after user scores 100 points then another question pops up and so on. This is all true if all answers are correct but in case he answer some question wrong than game can start from begining or another solution could be he looses -50 or -100 points.
    3. At the end, user which gains most points wins.
    b) This is what I have done till now:
    I have this file http://www.strille.net/tutorials/snake/snakeGameWithHighscore.zip which I partly understand how it works with my Flash knowladge.
    All functions and main game engine is in layer code:
    "// Snake Game by Strille, 2004, www.strille.net
    blockSize = 8;   // the block width/height in number of pixels
    gameHeight = 30; // the game height in number of blocks
    gameWidth  = 45; // the game width in number of blocks
    replaySpeed = 1;
    SNAKE_BLOCK = 1; // holds the number used to mark snake blocks in the map
    xVelocity = [-1, 0, 1, 0]; // x velocity when moving left, up, right, down
    yVelocity = [0, -1, 0, 1]; // y velocity when moving left, up, right, down
    keyListener = new Object(); // key listener
    keyListener.onKeyDown = function() {
        var keyCode = Key.getCode(); // get key code
        if (keyCode > 36 && keyCode < 41) { // arrow keys pressed (37 = left, 38 = up, 39 = right, 40 = down)...
            if (playRec) {
                if (keyCode == 37 && replaySpeed > 1) {
                    replaySpeed--;
                } else if (keyCode == 39 && replaySpeed < 10) {
                    replaySpeed++;
            } else if (game.onEnterFrame != undefined) { // only allow moves if the game is running, and is not paused
                if (keyCode-37 != turnQueue[0]) { // ...and it's different from the last key pressed
                    turnQueue.unshift(keyCode-37); // save the key (or rather direction) in the turnQueue
        } else if (keyCode == 32) { // start the game if it's not started (32 = SPACE)
            if (!gameRunning || playRec) {
                startGame(false);
        } else if (keyCode == 80) { // pause/unpause (80 = 'P')
            if (gameRunning && !playRec) {
                if (game.onEnterFrame) { // pause
                    delete game.onEnterFrame; // remove main loop
                    textMC.gotoAndStop("paused");
                } else { // exit pause mode
                    game.onEnterFrame = main; // start main loop
                    textMC.gotoAndStop("hide");
    Key.addListener(keyListener);
    function startGame(pRec) {
        x = int(gameWidth/2); // x start position in the middle
        y = gameHeight-2;     // y start position near the bottom
        map = new Array(); // create an array to store food and snake
        for (var n=0;n<gameWidth;n++) { // make map a 2 dimensional array
            map[n] = new Array();
        turnQueue = new Array(); // a queue to store key presses (so that x number of key presses during one frame are spread over x number of frames)
        game.createEmptyMovieClip("food", 1); // create MC to store the food
        game.createEmptyMovieClip("s", 2); // create MC to store the snake
        scoreTextField.text = "Score: 0"; // type out score info
        foodCounter = 0; // keeps track of the number of food movie clips
        snakeBlockCounter = 0; // keeps track of the snake blocks, increased on every frame
        currentDirection = 1; // holds the direction of movement (0 = left, 1 = up, 2 = right, 3 = down)
        snakeEraseCounter = -1; // increased on every frame, erases the snake tail (setting this to -3 will result in a 3 block long snake at the beginning)
        score = 0; // keeps track of the score
        ticks = lastRec = 0;
        recPos = recFoodPos = 0;
        playRec = pRec;
        if (!playRec) {
            textMC.gotoAndStop("hide"); // make sure no text is visible (like "game over ")
            highscores.enterHighscoreMC._visible = false;
            statusTextField.text = "";
            recTurn = "";
            recFrame = "";
            recFood = "";
            game.onEnterFrame = main; // start the main loop
        } else {
            if (loadedRecordingNumber != -1) {
                var n = getLoadedRecordingNumberHighscorePos(loadedRecordingNumber);
                statusTextField.text = "Viewing " + highscores[n].name.text + "'s game (score " + highscores[n].score.text + ")";
            } else {
                statusTextField.text = "Viewing your game";
            game.onEnterFrame = replayMain; // start the main loop
        placeFood("new"); // place a new food block
        gameRunning = true; // flag telling if the game is running. If true it does not necessarily mean that main is called (the game could be paused)
    function main() { // called on every frame if the game is running and it's not paused
        if (playRec) {
            if (ticks == lastRec+parseInt(recFrame.charAt(recPos*2)+recFrame.charAt(recPos*2+1), 36)) {
                currentDirection = parseInt(recTurn.charAt(recPos));
                lastRec = ticks;
                recPos++;
        } else if (turnQueue.length) { // if we have a turn to perform...
            var dir = turnQueue.pop(); // ...pick the next turn in the queue...
            if (dir % 2 != currentDirection % 2) { // not a 180 degree turn (annoying to be able to turn into the snake with one key press)
                currentDirection = dir; // change current direction to the new value
                recTurn += dir;
                var fn = ticks-lastRec;
                if (fn < 36) {
                    recFrame += " "+new Number(fn).toString(36);
                } else {
                    recFrame += new Number(fn).toString(36);
                lastRec = ticks;
        x += xVelocity[currentDirection]; // move the snake position in x
        y += yVelocity[currentDirection]; // move the snake position in y
        if (map[x][y] != SNAKE_BLOCK && x > -1 && x < gameWidth && y > -1 && y < gameHeight) { // make sure we are not hitting the snake or leaving the game area
            game.s.attachMovie("snakeMC", snakeBlockCounter, snakeBlockCounter, {_x: x*blockSize, _y: y*blockSize}); // attach a snake block movie clip
            snakeBlockCounter++; // increase the snake counter
            if (map[x][y]) { // if it's a not a vacant block then there is a food block on the position
                score += 10; // add points to score
                scoreTextField.text = "Score: " + score; // type out score info
                snakeEraseCounter -= 5; // make the snake not remove the tail for five loops
                placeFood(map[x][y]); // place the food movie clip which is referenced in the map map[x][y]
            map[x][y] = SNAKE_BLOCK; // set current position to occupied
            var tailMC = game.s[snakeEraseCounter]; // get "last" MC according to snakeEraseCounter (may not exist)
            if (tailMC) { // if the snake block exists
                delete map[tailMC._x/blockSize][tailMC._y/blockSize]; // delete the value in the array m
                tailMC.removeMovieClip(); // delete the MC
            snakeEraseCounter++; // increase erase snake counter   
        } else { // GAME OVER if it is on a snake block or outside of the map
            if (playRec) {
                startGame(true);
            } else {
                gameOver();
            return;
        ticks++;
    function replayMain() {
        for (var n=0;n<replaySpeed;n++) {
            main();
    function gameOver() {
        textMC.gotoAndStop("gameOver"); // show "game over" text
        delete game.onEnterFrame; // quit looping main function
        gameRunning = false; // the game is no longer running
        enterHighscore();
    function placeFood(foodMC) {
        if (playRec) {
            var xFood = parseInt(recFood.charAt(recFoodPos*3)+recFood.charAt(recFoodPos*3+1), 36);
            var yFood = parseInt(recFood.charAt(recFoodPos*3+2), 36);
            recFoodPos++;
        } else {
            do {
                var xFood = random(gameWidth);
                var yFood = random(gameHeight);
            } while (map[xFood][yFood]); // keep picking a spot until it's a vacant spot (we don't want to place the food on a position occupied by the snake)
            if (xFood < 36) {
                recFood += " "+new Number(xFood).toString(36);
            } else {
                recFood += new Number(xFood).toString(36);
            recFood += new Number(yFood).toString(36);
        if (foodMC == "new") { // create a new food movie clip
            foodMC = game.food.attachMovie("foodMC", foodCounter, foodCounter);
            foodCounter++;
        foodMC._x = xFood*blockSize; // place the food
        foodMC._y = yFood*blockSize; // place the food
        map[xFood][yFood] = foodMC; // save a reference to this food movie clip in the map
    //- Highscore functions
    loadHighscores();
    enterHighscoreKeyListener = new Object();
    enterHighscoreKeyListener.onKeyDown = function() {
        if (Key.getCode() == Key.ENTER) {
            playerName = highscores.enterHighscoreMC.nameTextField.text;
            if (playerName == undefined || playerName == "") {
                playerName = "no name";
            saveHighscore();
            Key.removeListener(enterHighscoreKeyListener);
            Key.addListener(keyListener);
            highscores.enterHighscoreMC._visible = false;
            loadedRecordingNumber = -1;
            startGame(true);
    function enterHighscore() {
        if (score >= lowestHighscore) {
            highscores.enterHighscoreMC._visible = true;
            highscores.enterHighscoreMC.focus();
            Key.removeListener(keyListener);
            Key.addListener(enterHighscoreKeyListener);
        } else {
            loadedRecordingNumber = -1;
            startGame(true);
    function getLoadedRecordingNumberHighscorePos(num) {
        for (var n=0;n<10;n++) {
            if (num == highscores[n].recFile) {
                return n;
    function loadHighscores() {
        vars = new LoadVars();
        vars.onLoad = function(success) {
            for (var n=0;n<10;n++) {
                var mc = highscores.attachMovie("highscoreLine", n, n);
                mc._x = 5;
                mc._y = 5+n*12;
                mc.place.text = (n+1) + ".";
                mc.name.text = this["name"+n];
                mc.score.text = this["score"+n];
                mc.recFile = parseInt(this["recFile"+n]);
            lowestHighscore = parseInt(this.score9);
            if (!gameRunning) {
                loadRecording(random(10));
            delete this;
        if (this._url.indexOf("http") != -1) {
            vars.load("highscores.txt?" + new Date().getTime());
        } else {
            vars.load("highscores.txt");
    function loadRecording(num) {
        vars = new LoadVars();
        vars.onLoad = function(success) {
            if (success && this.recTurn.length) {
                recTurn = this.recTurn;
                recFrame = this.recFrame;
                recFood = this.recFood;
                startGame(true);
            } else {
                loadRecording((num+1)%10);
                return;
            delete this;
        loadedRecordingNumber = num;
        if (this._url.indexOf("http") != -1) {
            vars.load("rec"+loadedRecordingNumber+".txt?" + new Date().getTime());
        } else {
            vars.load("rec"+loadedRecordingNumber+".txt");
    function saveHighscore() {
        sendVars = new LoadVars();
        for (var n in _root) {
            if (_root[n] != sendVars) {
                sendVars[n] = _root[n];
        returnVars = new LoadVars();
        returnVars.onLoad = function() {
            if (this.status == "ok") {
                loadHighscoresInterval = setInterval(function() {
                    loadHighscores();
                    clearInterval(loadHighscoresInterval);
                }, 1000);
            delete sendVars;
            delete this;
        sendVars.sendAndLoad("enterHighscore.php", returnVars, "POST");
    function startClicked() {
        if (!gameRunning || playRec) {
            if (highscores.enterHighscoreMC._visible) {
                Key.removeListener(enterHighscoreKeyListener);
                Key.addListener(keyListener);
                highscores.enterHighscoreMC._visible = false;
            startGame(false);
    function viewGame(lineMC) {
        loadRecording(lineMC.recFile);
        statusTextField.text = "Loading " + lineMC.name.text + "'s game...";
    Now what is left to do is somehow to iclude educational quiz in this game/code. First idea that came to me is same thing Ned suggested: to create some unique movie clip which would contain all data/questions lined up but main problem for me is how to "trigger" that movie clip to play only AFTER end user clicks on "Start game" or SPACE to restart? Not sure how to solve this issue?

  • Help needed with creating a script

    This is what I try to achieve:
    Creating sequentially numbered files (any files) by dragging the original to a folder.
    It should work like this:
    drag a file ( i.e. myphoto.jpg) to a folder and the script attached to that folder would duplicate the file and number it (myphoto001.jpg)
    I can't get it to work... does anyone know of a ready-made script or is willing to advise on how-to?
    Thanks for feedback.

    Hello
    Here's some script you may try.
    (Copy code from this web page, not from subscribed email text, for I escaped some characters for posting.)
    Broadly speaking, it will do what you wish. But not exactly as you described.
    A few things to note.
    • It will rename file 'image1.jpg' to 'image1.001.jpg', e.g., (note period between 'image1' and '001') in order to make script simple.
    (If the file name is 'image1' without extension, it will be renamed to, e.g., 'image1.001._' by adding dummy extension '_' in order to make script simple and consistent)
    • It will move the file that is drag-n-dropped to the Folder Actioned folder A to an inner sub-folder B and rename the file in B. This is because renaming file in A will trigger the Folder Action, which detects renamed file as newly added file (under OSX), that is problematic.
    • If the following script is used as Folder Action, you'll have to drag-n-drop the file with option key down to copy it to the Folder Actioned folder. Without option key held down, the original file will be moved to the folder.
    (If the source and destination volumes are different, drag-n-drop will copy the file and there will be no need to use option key. E.g. If Folder Actioned folder resides in an external volume and original files are in an internal volume, simple drag-n-drop will copy the files.)
    Please see comments in script for more details.
    Hope this may help.
    H
    --SCRIPT
      Assumptions and behaviours:
        1) The destination folder B where renamed items are stored is in a root folder A.
          • A is determined as the folder where this Folder Action is attached or this droplet resides; and
          • B's name is given as property destinationFolderName in main().
        2) Target file F is moved to B and renamed such that -
          if original name of F is "P.R" (P = name stem, R = extension) and
          the max seq. number in name of the file(s) in B which has the same name stem and extension as F is M,
          F is renamed as "P.Q.R", where Q = M + 1.
          • Number format is given as property numberFormat in main().
          e.g. File named "name1.jpg" will be renamed to "name1.003.jpg",
            if file named "name1.002.jpg" in destination has the max seq. number with the same name stem and extension.
      Usage:
        1) As Folder Action,
          • save this as compiled script and attached it to folder A; and
          • drag-n-drop target files into A and it will move them in folder B and rename them as intended.
          (Use option-drag-n-drop (i.e. copy, not move) to keep the original file or it will be moved and renamed.)
        2) As droplet,
          • save this as application (or application bundle) in folder A; and
          • drag-n-drop target files onto the droplet and it will duplicate them to folder B and rename them as intended.
          (Exception. If target files are in A, they will be moved, not copied, to folder B.)
    on adding folder items to da after receiving aa
    main(da, aa)
    end adding folder items to
    on open aa
    tell application "Finder" to set da to container of (path to me) as alias
    main(da, aa)
    end open
    on main(ra, aa)
      alias ra : root folder
      list aa : items to be processed
    script o
    property destinationFolderName : "Renamed items"
    property numberFormat : "000" -- seq. number will be 001, 002, etc (if n > 999, use n as is)
    property nlen : count numberFormat
    property nmax : (10 ^ nlen - 1) as integer
    property xx : {}
    property astid : a reference to AppleScript's text item delimiters
    property astid0 : astid's contents
    property NL : return
    property errs1 : NL & NL & "This item will be left as is in: " & NL & NL
    property errs2 : NL & NL & "This item will be left as: " & NL & NL
    property btt1 : {"OK"}
    on decomp(s)
      string s : name string to decompose
      return list : {name stem, sequential number string, name extension}
      e.g. Given s : result
        "name1.001.jpg" : {"name1", "001", "jpg"}
        "name1.jpg" : {"name1", {}, "jpg"} -- [*]
        "name1" : {"name1", {}, {}}
        "name1..jpg" : {"name1", "", "jpg"} -- [*]
        "name1.name2.001.jpg" : {"name1.name2", "001", "jpg"}
        "name1.name2.jpg" : {"name1.name2", {}, "jpg"}
      [*] Note different meanings of {} and "" in result list
    local n, p, q, r
    try
    if s = "" then return {{}, {}, {}}
    set astid's contents to {"."}
    set s to s's text items
    tell s to set {n, r} to {reverse's rest's reverse, item -1}
    if n = {} then set {n, r} to {s, {}}
    tell n to set {p, q} to {reverse's rest's reverse, item -1}
    if p = {} then set {p, q} to {n, {}}
    try
    q as number
    set p to "" & p
    on error
    set {p, q} to {"" & (p & q), {}}
    end try
    set astid's contents to astid0
    on error errs number errn
    set astid's contents to astid0
    error "decomp():" & errs number errn
    end try
    return {p, q, r}
    end decomp
    on nextname(n)
      string n : source name
      property xx : names in pool
      property numberFormat, nlen, nmax: number format string, its length, max value respectively
      return string : new name with next sequential number
      e.g.
        Provided that n = "name1.jpg" and the name that has max seq. number
         with the same stem and extension as n in destination folder is "name1.005.jpg",
         resurt = "name1.006.jpg"
    local p, q, r, a, b, c, b1
    set {p, q, r} to decomp(n)
    if r = {} then set r to "_" -- give dummy extension if none (to handle it correctly)
    set b1 to 0
    repeat with x in my xx
    set x to x's contents
    if x starts with p then
    set {a, b, c} to decomp(x)
    if {a, c} = {p, r} then
    set b to 0 + b
    if b > b1 then set b1 to b
    end if
    end if
    end repeat
    set b1 to b1 + 1
    if b1 > nmax then
    return p & "." & b1 & "." & r
    else
    return p & "." & (numberFormat & b1)'s text -nlen thru -1 & "." & r
    end if
    end nextname
    try
    set da to (ra as Unicode text) & destinationFolderName & ":" as alias
    on error -- da not present
    tell application "Finder" to ¬
    set da to (make new folder at ra with properties {name:destinationFolderName}) as alias
    end try
    --set my xx to list folder da without invisibles -- this is faster but 'list folder' is deprecated in AS2.0.
    tell application "Finder" to set my xx to name of items of da as vector -- [1]
      [1] Finder (at least under OS9) returns [] (empty linked list) when returning empty list.
      This will cause error -10006 in 'set end of my xx to ...' statement, for linked list does not support it.
      The explicit 'as vector' will handle this case.
    repeat with a in aa
    set a to a's contents
    --set n to (info for a)'s name -- this is faster but 'info for' is deprecated under OSX10.5
    tell application "Finder" to set n to a's name
    if n = destinationFolderName then -- ignore it
    else
    set {n1, _step} to {nextname(n), 0}
    tell application "Finder"
    set sa to a's container as alias
    -- move or duplicate
    try
    if sa = ra then
    (* when run as Folder Action (or as droplet with items in ra) *)
    set a1 to (move a to da) as alias
    else
    (* when run as droplet with items outside ra *)
    set a1 to (duplicate a to da) as alias
    end if
    set _step to 1
    on error errs number errn
    (* name conflict, etc *)
    display dialog errs & " " & errn & errs1 & sa buttons btt1 ¬
    default button 1 with icon 2 giving up after 15
    end try
    -- rename
    try
    if _step = 1 then set {a1's name, _step} to {n1, 2}
    on error errs number errn
    (* name conflict, invalid name, etc; not probable but possible *)
    display dialog errs & " " & errn & errs2 & a1 buttons btt1 ¬
    default button 1 with icon 2 giving up after 15
    end try
    end tell
    if _step = 2 then set end of my xx to n1
    end if
    end repeat
    end script
    tell o to run
    end main
    --END OF SCRIPT
    Message was edited by: Hiroto (fixed typo)

  • Help needed with creating a new site- having Spry folder issue

    I can not create a new DreamWeaver CS5 site - I get a warning message that the Spry assets folder is not inside the site & to select a valid folder in the local root directory. I've tried creating a folder to no avail, thus can not create the site. Help is appreciated.

    One option if you're a Mac: Is your hard drive named?
    http://forums.adobe.com/thread/654548
    Try also:
    http://forums.adobe.com/thread/672446

  • Help needed with creating this "Fur" brush in CS6

    Hi,
    In steps 4 and 5 here, the author is creating a new Fur brush. However I can't do this in CS 6 as almost all the options in the Shape Dynamics tab are disabled:
    Any ideas what am I doing wrong or how can this be done in CS 6?
    Thanks.

    Are you definitely using the sampled brush tip?

  • Can anyone help me to create a header in Dreamweaver CS5 (image included)

    Hi there:
    I have a project to do and i have to create this header:
    i even didn't know how to insert the vertical line (between the logo and the text) so i just cropped this image in fireworks and got the logo and the vertical line and just insert the image in dreamweaver, and when i tried to type the text: compass adventure tours it didnt go to where it is now, it went down and didn't know how to reposition it to its right position so hope that someone can help me with creating this header in dreamweaver.
    Thanks

    You could do this very nicely with CSS styled tables. 
    Copy and Paste the following code into a new, blank HTML document (in code view).
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Nested Table</title>
    <style type="text/css" media="all">
    /**GENERAL STYLES**/
    body {font: 1em/1 Geneva, Arial, Helvetica, sans-serif}
    #table1, #table2, #table3 {
    border:none;
    width:100%;
    text-align:center;
    font-weight:bold;
    /**BACKGROUNDS AND COLORS**/
    #table1{background:#333333; color: #FFFFFF;}
    #table2 {background:#333333; color: #FFFFFF;}
    #table3 {background:#0066CC; color: #99CC00;}
    /**CELL WIDTHS AND BORDERS**/
    #table1 .td1 {
    width: 16.6%;
    border-right: 1px solid silver}
    #table2 .td2 {
    width:50%;
    border-top: 1px solid silver;
    border-right:1px solid silver;}
    #table2 .td3 {
    width:50%;
    border-top: 1px solid silver;}
    #table3 td {
    width: 16.6%;
    border-right: 1px solid silver;}
    /**VERTICAL ALIGNMENT**/
    #table2 tr,
    #table3 tr {vertical-align: bottom;}
    /**LINKS**/
    a img {border:none}
    #table3 a {
    text-decoration:none;
    display:block;
    line-height: 1.5em;}
    #table3 a:link {color:#99CC00}
    #table3 a:visited {color:#CCCCCC}
    #table3 a:hover,
    #table3 a:active
    #table3 a:focus {background: maroon; color:#FFFFFF}
    </style>
    </head>
    <body>
    <table id="table1">
    <tr>
    <td class="td1">your logo goes here</td>
    <td>
    <!--begin nested table -->
    <table id="table2">
    <tr>
    <td colspan="2">
    <h1>COMPASS ADVENTURE TOURS</h1>
    </td>
    </tr>
    <tr>
    <td class="td2">
    <h2>HOME</h2>
    </td>
    <td class="td3">
    <h2>BANNER </h2>
    </td>
    </tr>
    </table>
    <!--end nested table -->
    </td>
    </tr>
    </table>
    <!--begin navigation table -->
    <table id="table3">
    <tr>
    <td><a href="#">HOME</a></td>
    <td><a href="#">DRIVING</a></td>
    <td><a href="#">CYCLING</a></td>
    <td><a href="#">DESTINATIONS</a></td>
    <td><a href="#">RESERVATIONS</a></td>
    <td><a href="#">CONTACT</a></td>
    </tr>
    </table>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Need to send HTML email from Workflow : problem with sender

    Hi all,
    i need to send HTML email from my Workflow. I did it but i have a problem with the sender. The sender of email is always the agent responsible of workitem, and i don't want the receiver can answer to sender. So i need to put a false email address like nosender.at.mycustomer.com.
    Possible to do that ?
    Thanks for your help.
    Cheers

    Hi rick
    How to change the wf-batch to some other name  as you mention in previous reply. Can you give some details of that. If i use the function module SO_NEW_DOCUMENT_ATT_SEND_API1 how to change the wf-batch name and if i use send mail step in my workflow how to change wf-batch name.
    Regards
    vijay

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         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/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed with breadcrums???

    Hi thank you for reading,
    On my site
    http://www.dorff.nl/huize%20beekhuizen.html
    you will see a nice page. On this page ive got no complaints.
    Alle the text and images are looking good. But to have this i had to change the settings of the breadcrums.
    Now all my other pages look like this..
    file:///C:/Users/Gast%20Account/Desktop/vakantiehuizensuriname%20website/appartement%20she rida.html
    As you can see there is too much space between the text and the photos. it seems i cant do one page without effecting an other.
    Need some help to figure this out.
    Regards  Brian

    all spaces are removed..
    here is the link..
    http://www.dorff.nl/appartementsherida.html
    Regards  Brian
    Date: Thu, 26 Apr 2012 12:26:58 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with breadcrums???
        Re: Help needed with breadcrums???
        created by Ken Binney in Dreamweaver - View the full discussion
    Hi Brian - Please remove spaces from all file and folder names. Use a hyphen or underscorehuize%20beekhuizen.html Please put sherida.html online and post a link for us
         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/4363367#4363367
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4363367#4363367. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver 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.

  • HTML email in Dreamweaver

    Hi,
    I asked a few days ago how to create an HTML email in Dreamweaver and then send it via Apple's Mail client.  Thank you for the responses but they all taked about Outlook Express and other web based email clients.  I don't use Outlook or any other web base email client, I only use Mail from Apple's Leopard operating system.  Is there any way to create those HTML emails in Dreamweaver and then "importing" or pasting the code or something like that in Apple Mail client?
    Thank you

    Hi
    Yes you can - this is exactly how I do it:
    Preview your HTML page in Safari
    Select from the File menu Mail Contents of This Page I which will open a new Mail message with your page inline.
    The only problem is, there's no way to embed the images, so you'll first have to make sure that they are hosted on a web server and explicitly linked to such in your HTML.
    Hope that helps
    Peter

  • I need to create another site in dreamweaver and Publish it to

    I make a dreamweaver site with mx 2004, well now I need to
    create another site in dreamweaver and Publish it to the same site
    as prior but in a NEW Directory , what to do ?

    > Yes,what to insert at manage site > edit >
    advanced > remote info > Host
    > directory ?
    Try nothing at first. Connect to the remote site. Tell us
    what folder
    names you see there.
    > I try upload [with: ftp host:ftp://www.polis-land.com
    & Host
    > directory:/dialup/ =thenewfolder]but shows error [when
    press test at
    > advanced >
    > remote info] :
    That's wrong. Try this -
    Remote Host - www.polis-land.com
    Host directory - <blank>
    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
    ==================
    "123polis123" <[email protected]> wrote in
    message
    news:fl0uco$qpb$[email protected]..
    > Yes,what to insert at manage site > edit >
    advanced > remote info > Host
    > directory ?
    > to manage site > edit > advanced > remote info
    > ftp host ?
    >
    > I try upload [with: ftp host:ftp://www.polis-land.com
    & Host
    > directory:/dialup/ =thenewfolder]but shows error [when
    press test at
    > advanced >
    > remote info] :
    >
    > An FTP error occured - cannot make connection to host .
    The remote host
    > cannot
    > be found.
    > ???
    >

  • Help needed with header and upload onto business catalyst

    Can someone help with a problem over a header please?
    I have inserted a rectangle with a jpeg image in  background, in the 'header' section, underneath the menu. It comes up fine on most pages when previsualised, going right to the side of the screen, but stops just before the edge on certain pages. I have double checked that I have placed it in the right place in relation to the guides on the page.
    That's one problem.
    The second problem is that I tried to upload onto business catalyst, which got to 60% and refused to go any further, saying it couldn't find the header picture, giving the title and then u4833-3.fr.png. The picture is in the right folder I have double checked. And it isn't a png. Does it have to be ?
    And the third problem is that I got an email following my upload from business catalyst in Swedish. I am living in France.
    Can anyone help ? Thanks.

    Thanks for replying,
    How can I check the preview in other browsers before I publish a provisional site with BC?
    The rectangle width issue happens on certain pages but not others. The Welecom page is fine when the menu is active, also the contact page, but others are slightly too narrow. Changing the menu spacing doesn’t help - I was already on uniform but tried changing to regular and back.
    In design mode the rectangle is set to the edge of the browser, that’s 100%browser width right?
    Re BC I have about 200 images on 24 different pages and it seems to be having difficulty uploading some of them. But it has managed a couple I named with spaces but not others I named with just one name.
    Is there an issue on size of pictures ? If I need to replace is there a quick way to rename and relink or do I have to insert the photos all over again?
    I’m a novice with Muse with an ambitious site !
    Thanks for your help.
    Mary Featherstone
    Envoyé depuis Courrier Windows
    De : Sanjit_Das
    Envoyé : vendredi 14 février 2014 22:15
    À : MFeatherstone
    Re: Help needed with header and upload onto business catalyst
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion 
    Hi
    Answering the questions :
    - Have you checked the preview in Muse and also in other browsers ?
    - Does the rectangle width issue happens when menu is active , or in any specific state , Try to change the menu with uniform spacing and then check.
    - In design view the rectangle is set to 100% browser width ?
    With publishing :
    - Please try to rename the image file and then relink
    - If it happens with other images as well , see if all the image names includes strange characters or spaces.
    - Try again to publish
    With e-mail from BC :
    - Under preferences , please check the country selected.
    - If you have previously created partner account in BC and selected country and language then it would follow that, please check that.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6121942#6121942
    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/6121942#6121942
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6121942#6121942. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Help needed with a design!

    HELP! I need help with designing something!
    IMAGE on this link " http://i1072.photobucket.com/albums/w362/jjnilsson/DSC_0188.jpg "
    i need this patch on the picture to be "remade" in higher definition and the text should be MILF HUNTERS intstead of milf hunter... Anyone that might be able to help me out?
    reson for all this is that its gonna be made to a 30x40cm big patch fitting the back of our Team jackets!
    send me a pm or a mail ([email protected]) if you need any futher info or if you can help me out! I am really thankful for all the help i can get!
    With best regards J. Nilsson, Milf Hunters Mc

    I simply did as i got a tip on FB to do
    quote from adobe themselves on facebook "Adobe Illustrator You might also want to try asking on our forums as there are many people that can help there as well! http://forums.adobe.com/community/illustrator/illustrator_general"
    sry if it was wrong of me, simply thought there might be someone nice out there to give a helping hand
    Date: Tue, 5 Jun 2012 13:41:48 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with a design!
        Re: Help needed with a design!
        created by in Illustrator - View the full discussion
    This really isn't the place to ask for free services.
         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/4467790#4467790
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4467790#4467790. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Illustrator 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.

  • Help needed with java

    Hello everyone
    I'm a Student and new to java and I have been given a question which I have to go through. I have come across a problem with one of the questions and am stuck, so I was wondering if you guys could help me out.
    here is my code so far:
    A Class that maintains Information about a book
    This might form part of a larger application such
    as a library system, for example.
    @author (your name)
    *@version (a version number or a date)*
    public class Book
    // instance variables or fields
    private String author;
    private String title;
    Set the author and title when the book object is constructed
    public Book(String bookAuthor, String bookTitle)
    author = bookAuthor;
    title = bookTitle;
    Return The name of the author.
    public String getAuthor()
    return author;
    Return The name of the title.
    public String getTitle()
    return title;
    and below are the questions that I need to complete. they just want me to add codes to my current one, but the problem is I don't know where to put them and how I should word them, if that makes sense.
    Add a further instance variable/field pages to the Book class to store the number of pages in the book.
    This should be of type int and should be set to 0 in the Constructor.
    Add a second Constructor with signature
    public Book(String bookAuthor, String bookTitle, int noPages) so it has a third parameter passed to it as well as the author and title;
    this parameter is used - obviously?? - to initialise the number of pages.
    Note: This is easiest done by making a copy of the existing Constructor and adding the parameter.
    Add a getPages() accessor method that returns the number of pages in the book.
    Add a method printDetails() to your Book class. This should print out the Author title and number of pages to the Terminal Window. It is your choice as to how the data is formatted, perhaps all on one line, perhaps on three, and with or without explanatory text. For instance you could print out in the format:
    Title: Robinson Crusoe, Author: Daniel Defoe, Pages:226
    Add a further instance variable/field refNumber() to your Book class. This stores the Library's reference number. It should be of type String and be initialised to the empty String "" in the constructor, as its initial value is not passed in as a parameter. Instead a public mutator method with the signature:
    public void setRefNumber(String ref) should be created. The body of this method should assign the value of the method parameter ref to the refNumber.
    Add a corresponding getRefNumber() accessor method to your class so you can check that the mutator works correctly
    Modify your printDetails() method to include printing the reference number of the book.
    However the method should print the reference number only if it has been set - that is the refNumber has a non-zero length.
    If it has not been set, print "ZZZ" instead.
    Hint Use a conditional statement whose test calls the length() method of the refNumber String and gives a result like:
    Title: Jane Eyre, Author: Charlotte Bronte, Pages:226, RefNo: CB479 or, if the reference number is not set:
    Title: Robinson Crusoe, Author: Daniel Defoe, Pages:347, RefNo: ZZZ
    Modify your setRefNumber() method so that it sets the refNumber field only if the parameter is a string of at least three characters. If it is less than three, then print an error message (which must contain the word error) and leave the field unchanged
    Add a further integer variable/field borrowed to the Book class, to keep a count of the number of times a book has been borrowed. It should (obviously??) be set to 0 in the constructor.
    Add a mutator method borrow() to the class. This should increment (add 1 to) the value of borrowed each time it is called.
    Include an accessor method getBorrowed() that returns the value of borrowed
    Modify Print Details so that it includes the value of the borrowed field along with some explanatory text
    PS. sorry it looks so messey

    1. In the future, please use a more meaningful subject. "Help needed with java" contains no information. The very fact that you're posting here tells us you need help with Java. The point of the subject is to give the forum an idea of what kind of problem you're having, so that individuals can decide if they're interested and qualified to help.
    2. You need to ask a specific question. If you have no idea where to start, then start here: [http://home.earthlink.net/~patricia_shanahan/beginner.html]
    3. When you post code, use code tags. Copy the code from the original source in your editor (NOT from an earlier post here, where it will already have lost all formatting), paste it in here, highlight it, and click the CODE button.

  • Help needed with Report Design

    Hi All,
    Here is the requirement.
    Period Type(holds 2 values) : Payment and Vested.
    we have field 'Total Days' which is calculated based on "User Selected" Period Type.
    For example, When Period Type is Payment,
    If start date is less than or equal to grant date and end date is less than or equal to vest date, then calculation is (End Date - Grant Date)+1
    If start date is greater than grant date and end date is less than or equal to vest date, then calculation is (End Date - Mobility Start Date)+1 (similarly 2 more if conditions) ...we have similar calculation for Period Type - 'Vested'.
    This Period Type is a multiselect Prompt. How can this be achievable.
    Any thoughts will be greatly appreciated.
    Thanks.

    I simply did as i got a tip on FB to do
    quote from adobe themselves on facebook "Adobe Illustrator You might also want to try asking on our forums as there are many people that can help there as well! http://forums.adobe.com/community/illustrator/illustrator_general"
    sry if it was wrong of me, simply thought there might be someone nice out there to give a helping hand
    Date: Tue, 5 Jun 2012 13:41:48 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help needed with a design!
        Re: Help needed with a design!
        created by in Illustrator - View the full discussion
    This really isn't the place to ask for free services.
         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/4467790#4467790
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4467790#4467790. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Illustrator 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.

Maybe you are looking for

  • Linking PDF to Dreamweaver

    Im trying to link a .pdf to my Dreamweaver document so that readers can view online.  I added the .pdf as an asset in Dreamweaver and linked it just as I would any other link.  However when I view it I get this message: "The Adobe Acrobat/Reader that

  • I am use iphone 4s i have upgrade ios 8.1 i have problem in ios 8.1 pls guide me how to restore 7.1 ios pls guide

    i am use iphone 4s i have upgrade ios 8.1 i have problem in ios 8.1 pls guide me how to restore 7.1 ios pls guide

  • JDBC - Fail over connection

    Hello Group, I ´m currently working on the follwing szenario in XI (NW2004, SP19): Via the jdbc adapter I send a sql statement to a database (db1) and get the response. This works fine. Because it´s a very important request, I have a second database

  • TS1367 Will reinstalling the memory card from my MacBook pro erase my saved data?

    Will reinstalling the memory card from my MacBook pro erase my saved data? My MacBook pro that I purchased in mid 2010 has been having some issues lately. It's been running slow, which is very irregular since in 2010 I spent a lot of money to get the

  • Multiple AIM account per contact

    other people are asking about how you can use multiple aim accounts at once. This is not my question. I have a contact in addressbook with more than one aim account. When I try to start a chat with her, it always goes to account "b" and not account "