Working on slug script, need help!

Okay, this is not my script, one that I found online. The script works by allowing the user to set placeholders within the document and tag each placeholder with specific information such as DATE, TIME, FILENAME, etc.
The current placeholders that are setup for this script are:
{FILE}
{FILEPATH}
{FILENAME}
{FILEEXT}
{DATE}
{TIME}
I would like to add a few more placeholders, which is where I need some help. I would like to add a placeholder for the username or hostname, meaning computer name. {HOSTNAME}
I would also like to add a placeholder for colors used in the document listed in this format:  PANTONE 186C, PANTONE 281C, BLACK, CYAN, MAGENTA, YELLOW, or as color swatches.
Also, is it possible to create a placeholder that will produce an interface allowing user input? Say you wanted a placeholder for Designer, and a dialog popped up asking for input.
Thanks for any help!
Here is the script:
var language="en";   // "de" fuer Deutsch
var WR="WR-DateAndTime v0.9\n\n";
var AIversion=version.slice(0,2);
if (language == "de") {
  var format_preset = "{FILENAME}{FILEEXT} ({DATE} - {TIME})";
  var MSG_unsetmark = WR+"Dieses Objekt ist als aktuelles Datum/Uhrzeit markiert, soll die Markierung aufgehoben werden?";
  var MSG_setmark = WR+"Soll dieses Textobjekt als aktuelles Datum/Uhrzeit markiert werden?";
  var MSG_askformat = WR+"Soll das Textobjekt als Datum/Uhrzeit formatiert werden? Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
  var MSG_editformat = WR+"Datums-/Uhrzeitformat bearbeiten (Leer = entfernen). Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
  var MSG_notexto = WR+"Kein Textobjekt!";
  var MSG_selectedmany = "Zum Markieren als aktuelles Datum/Uhrzeit darf nur ein Textobjekt ausgew\xE4hlt sein und falls Sie die Daten aktualisieren wollen, darf kein Objekt ausgew\xE4hlt sein.";
  var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet."
  var Timeformat = 24;
  var TimeSep = ":";
  var AM = " am";
  var PM = " pm";
  var Dateformat = "dd.mm.yyyy";
} else {
  var format_preset = "{FILENAME} ({DATE}, {TIME})";
  var MSG_unsetmark = WR+"This object is marked as actual date'n'time, do you want to remove the mark?";
  var MSG_setmark = WR+"Do you want to mark the selected textobject as actual date'n'time?";
  var MSG_askformat = WR+"Do you want to mark the textobject as actual date'n'time? Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
  var MSG_editformat = WR+"Edit date'n'time (empty = remove). Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
  var MSG_notexto = WR+"No textobject!";
  var MSG_selectedmany = "To mark as actual date'n'time, you have to select only one textobject. If you want to update the date'n'time-objects, there must be no object selected.";
  var MSG_nodocs = WR+"You have no open document."
  var Timeformat = 12;
  var TimeSep = ":";
  var AM = " am";
  var PM = " pm";
  var Dateformat = "mm/dd/yyyy";
var error=0;
if (documents.length<1) {
  error++;
  alert(MSG_nodocs)
if (error < 1) {
  date_n_time();
function TodayDate()
  var Today = new Date();
  var Day = Today.getDate();
  var Month = Today.getMonth() + 1;
  var Year = Today.getYear();
  var PreMon = ((Month < 10) ? "0" : "");
  var PreDay = ((Day < 10) ? "0" : "");
  if(Year < 999) Year += 1900;
          var theDate = Dateformat.replace(/dd/,PreDay+Day);
          theDate = theDate.replace(/mm/,PreMon+Month);
          theDate = theDate.replace(/d/,Day);
          theDate = theDate.replace(/m/,Month);
          theDate = theDate.replace(/yyyy/,Year);
          theDate = theDate.replace(/yy/,Year.toString().substr(2,2));
          return theDate;
function TodayTime()
  var Today = new Date();
  var Hours = Today.getHours();
  var Minutes = Today.getMinutes();
  var Suffix = "";
  if (Timeformat == 12) {
    if (Hours >= 12 ) {
                              Suffix = PM;
                    } else {
                      Suffix = AM;
                    if (Hours >= 13) {
                              Hours = Hours - 12;
                    if (Hours < 1) {
                              Hours = Hours + 12;
  var PreHour = ((Hours < 10) ? "0" : "");
  var PreMin = ((Minutes < 10) ? "0" : "");
  return PreHour+Hours+TimeSep+PreMin+Minutes+Suffix;
function DateUpdate(Name) {
  var docpath = activeDocument.path.fsName;
  var docname = activeDocument.name.replace(/(.*?)(?:\.([^.]+))?$/,'$1');
  var extension = activeDocument.name.replace(/(.*?)(?:(\.[^.]+))?$/,'$2');
  if (docpath.slice(2,3) == "\\") {
    docsep = "\\";
  } else {
    docsep = ":";
  var content = Name.slice(11);
  var content = content.replace(/\{FILE\}/,docpath+docsep+docname);
  var content = content.replace(/\{FILEPATH\}/,docpath);
  var content = content.replace(/\{FILENAME\}/,docname);
  var content = content.replace(/\{FILEEXT\}/,extension);
  var content = content.replace(/\{DATE\}/,TodayDate());
  var content = content.replace(/\{TIME\}/,TodayTime());
  return content;
function date_n_time()
  if (selection.length == 1) {
    if (selection[0].typename == "TextArtItem" || selection[0].typename == "TextFrame") {
      if (selection[0].name.slice(0,11) == "actualDate:") {
        dateformat = selection[0].name.slice(11);
        Check = false;
        if (AIversion == "10") {
          Check = confirm( MSG_unsetmark );
        } else {
          dateformat = prompt(MSG_editformat, dateformat);
        if(dateformat != "" && Check) {
          selection[0].contents = selection[0].name.slice(11);
          selection[0].name="";
          selection[0].selected = false;
        if(dateformat == "" && !Check) {
          selection[0].name="";
          selection[0].selected = false;
        if(dateformat && dateformat !="" && !Check) {
          selection[0].name="actualDate:"+dateformat;
          selection[0].contents = DateUpdate(selection[0].name);
      } else {
        dateformat = selection[0].contents;
        if(dateformat.search(/\{DATE\}/) == -1 && dateformat.search(/\{TIME\}/) == -1 && dateformat.search(/\{FILE[A-Z]*\}/) == -1) dateformat = format_preset;
        Check = false;
        if (AIversion == "10") {
          Check = confirm( MSG_setmark );
        } else {
          dateformat = prompt(MSG_askformat, dateformat);
        if (dateformat || Check) {
          selection[0].name="actualDate:"+dateformat;
          selection[0].contents = DateUpdate(selection[0].name);
          selection[0].selected = false;
    } else {
      alert ( MSG_notexto );
  } else if (selection.length > 1) {
    alert ( MSG_selectedmany );
  } else {
    if (AIversion == "10") {
      var textArtItems = activeDocument.textArtItems;
      for (var i = 0 ; i < textArtItems.length; i++)
        if (textArtItems[i].name.slice(0,11) == "actualDate:") {
          textArtItems[i].selected = true;
          textArtItems[i].contents = DateUpdate(textArtItems[i].name);
    } else {
      var textFrames = activeDocument.textFrames;
      for (var i = 0 ; i < textFrames.length; i++)
        if (textFrames[i].name.slice(0,11) == "actualDate:") {
          textFrames[i].selected = true;
          textFrames[i].contents = DateUpdate(textFrames[i].name);

Okay, here is the entire script with credit lines.
//////////////////////////////////////////////////////////// english //
// -=> WR-DateAndTime <=-
// A Javascript for Adobe Illustrator
// by Wolfgang Reszel ([email protected])
// Version 0.9 from 22.9.2011
// This script inserts the actual date or the actual time to a
// predefined position in the document.
// To define the position, you'll have to create an textobject and
// execute this script while the object is selected. The whole object
// has to be selected and not words or letters. You can mark more
// objects, if you select each object separate and execute
// the script on it.
// With the placeholders {DATE} and {TIME} you are able to define a
// particular point, where the date or the time should be replaced.
// If there is no placeholder in the textobject
// "{FILENAME}{FILEEXT} ({DATE}, {TIME})" will be used as standard placeholders.
// To update the date and time execute this script without any object
// selected.
// There are some additional placeholders:
//   {FILE}     - complete document-filename with path
//   {FILEPATH} - only the documents filepath
//   {FILENAME} - the filename of the document
//   {FILEEXT}  - the file extension of the document inclusive dot
// On my system this script can't see the path of the document, when
// it was opened directly from windows Explorer (double click).
// In Illustrator CS it is now possible to edit a DateAndTime-Object.
// To enable the english messages and date-format change the "de"
// into "en" in line 90.
// Sorry for my bad english. For any corrections send an email to:
// [email protected]
//////////////////////////////////////////////////////////// Deutsch //
// -=> WR-DateAndTime <=-
// Ein Javascript fuer Adobe Illustrator
// von Wolfgang Reszel ([email protected])
// Version 0.9 vom 30.9.2011
// Dieses Skript fuegt das aktuelle Datum und die aktuelle Uhrzeit an
// eine vorher bestimmte Stelle im Dokument ein.
// Um eine Stelle zu bestimmen, muss man ein Textobjekt erzeugen, es
// markieren und dann dieses Skript aufrufen. Es muss das gesamte Objekt
// ausgewaehlt sein, nicht etwa Buchstaben oder Woerter. Es lassen sich
// nacheinander auch mehrere Objekte als Datum/Uhrzeit markieren.
// Mit den Platzhaltern {DATE} und {TIME} (in geschweiften Klammern)
// kann man bestimmen, wo genau im Text das Datum und die Uhrzeit
// erscheinen soll. Sind die Platzhalter nicht vorhanden, wird
// automatisch "{FILENAME}{FILEEXT} ({DATE} - {TIME})" verwendet.
// Zum Aktualisieren des Datums/Uhrzeit muss man dieses Skript aufrufen
// wenn kein Objekt ausgewaehlt ist.
// Es gibt noch einige zusaetzliche Platzhalter:
//   {FILE}     - kompletter Dateiname mit Pfad
//   {FILEPATH} - nur der Verzeichnispfad des Dokuments
//   {FILENAME} - der Dateiname des Dokuments
//   {FILEEXT}  - die Dateiendung des Dokuments inklusive Punkt
// Auf meinem System kann der Pfad nicht ermittelt werden, wenn das
// Dokument vom Windows Explorer geoeffnet wird (Doppel-Klick).
// InÿIllustrator CSÿkann man nun ein Datum/Uhrzeit-Objekt bearbeiten.
// Um dieses Skript mit deutschen Meldungen und Datumsformat zu
// versehen, muss in Zeile 90 das "en" durch ein "de" ersetzt werden.
// Verbesserungsvorschlaege an: [email protected]
//$.bp();
var language="en";   // "de" fuer Deutsch
var WR="WR-DateAndTime v0.9\n\n";
var AIversion=version.slice(0,2);
if (language == "de") {
  var format_preset = "{FILENAME}{FILEEXT} ({DATE} - {TIME})";
  var MSG_unsetmark = WR+"Dieses Objekt ist als aktuelles Datum/Uhrzeit markiert, soll die Markierung aufgehoben werden?";
  var MSG_setmark = WR+"Soll dieses Textobjekt als aktuelles Datum/Uhrzeit markiert werden?";
  var MSG_askformat = WR+"Soll das Textobjekt als Datum/Uhrzeit formatiert werden? Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
  var MSG_editformat = WR+"Datums-/Uhrzeitformat bearbeiten (Leer = entfernen). Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
  var MSG_notexto = WR+"Kein Textobjekt!";
  var MSG_selectedmany = "Zum Markieren als aktuelles Datum/Uhrzeit darf nur ein Textobjekt ausgew\xE4hlt sein und falls Sie die Daten aktualisieren wollen, darf kein Objekt ausgew\xE4hlt sein.";
  var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet."
  var Timeformat = 24;
  var TimeSep = ":";
  var AM = " am";
  var PM = " pm";
  var Dateformat = "dd.mm.yyyy";
} else {
  var format_preset = "{FILENAME} ({DATE}, {TIME})";
  var MSG_unsetmark = WR+"This object is marked as actual date'n'time, do you want to remove the mark?";
  var MSG_setmark = WR+"Do you want to mark the selected textobject as actual date'n'time?";
  var MSG_askformat = WR+"Do you want to mark the textobject as actual date'n'time? Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
  var MSG_editformat = WR+"Edit date'n'time (empty = remove). Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
  var MSG_notexto = WR+"No textobject!";
  var MSG_selectedmany = "To mark as actual date'n'time, you have to select only one textobject. If you want to update the date'n'time-objects, there must be no object selected.";
  var MSG_nodocs = WR+"You have no open document."
  var Timeformat = 12;
  var TimeSep = ":";
  var AM = " am";
  var PM = " pm";
  var Dateformat = "mm/dd/yyyy";
var error=0;
if (documents.length<1) {
  error++;
  alert(MSG_nodocs)
if (error < 1) {
  date_n_time();
function TodayDate()
  var Today = new Date();
  var Day = Today.getDate();
  var Month = Today.getMonth() + 1;
  var Year = Today.getYear();
  var PreMon = ((Month < 10) ? "0" : "");
  var PreDay = ((Day < 10) ? "0" : "");
  if(Year < 999) Year += 1900;
    var theDate = Dateformat.replace(/dd/,PreDay+Day);
    theDate = theDate.replace(/mm/,PreMon+Month);
    theDate = theDate.replace(/d/,Day);
    theDate = theDate.replace(/m/,Month);
    theDate = theDate.replace(/yyyy/,Year);
    theDate = theDate.replace(/yy/,Year.toString().substr(2,2));
    return theDate;
function TodayTime()
  var Today = new Date();
  var Hours = Today.getHours();
  var Minutes = Today.getMinutes();
  var Suffix = "";
  if (Timeformat == 12) {
    if (Hours >= 12 ) {
            Suffix = PM;
        } else {
          Suffix = AM;
        if (Hours >= 13) {
            Hours = Hours - 12;
        if (Hours < 1) {
            Hours = Hours + 12;
  var PreHour = ((Hours < 10) ? "0" : "");
  var PreMin = ((Minutes < 10) ? "0" : "");
  return PreHour+Hours+TimeSep+PreMin+Minutes+Suffix;
function DateUpdate(Name) {
  var docpath = activeDocument.path.fsName;
  var docname = activeDocument.name.replace(/(.*?)(?:\.([^.]+))?$/,'$1');
  var extension = activeDocument.name.replace(/(.*?)(?:(\.[^.]+))?$/,'$2');
  if (docpath.slice(2,3) == "\\") {
    docsep = "\\";
  } else {
    docsep = ":";
  var content = Name.slice(11);
  var content = content.replace(/\{FILE\}/,docpath+docsep+docname);
  var content = content.replace(/\{FILEPATH\}/,docpath);
  var content = content.replace(/\{FILENAME\}/,docname);
  var content = content.replace(/\{FILEEXT\}/,extension);
  var content = content.replace(/\{DATE\}/,TodayDate());
  var content = content.replace(/\{TIME\}/,TodayTime());
  return content;
function date_n_time()
  if (selection.length == 1) {
    if (selection[0].typename == "TextArtItem" || selection[0].typename == "TextFrame") {
      if (selection[0].name.slice(0,11) == "actualDate:") {
        dateformat = selection[0].name.slice(11);
        Check = false;
        if (AIversion == "10") {
          Check = confirm( MSG_unsetmark );
        } else {
          dateformat = prompt(MSG_editformat, dateformat);
        if(dateformat != "" && Check) {
          selection[0].contents = selection[0].name.slice(11);
          selection[0].name="";
          selection[0].selected = false;
        if(dateformat == "" && !Check) {
          selection[0].name="";
          selection[0].selected = false;
        if(dateformat && dateformat !="" && !Check) {
          selection[0].name="actualDate:"+dateformat;
          selection[0].contents = DateUpdate(selection[0].name);
      } else {
        dateformat = selection[0].contents;
        if(dateformat.search(/\{DATE\}/) == -1 && dateformat.search(/\{TIME\}/) == -1 && dateformat.search(/\{FILE[A-Z]*\}/) == -1) dateformat = format_preset;
        Check = false;
        if (AIversion == "10") {
          Check = confirm( MSG_setmark );
        } else {
          dateformat = prompt(MSG_askformat, dateformat);
        if (dateformat || Check) {
          selection[0].name="actualDate:"+dateformat;
          selection[0].contents = DateUpdate(selection[0].name);
          selection[0].selected = false;
    } else {
      alert ( MSG_notexto );
  } else if (selection.length > 1) {
    alert ( MSG_selectedmany );
  } else {
    if (AIversion == "10") {
      var textArtItems = activeDocument.textArtItems;
      for (var i = 0 ; i < textArtItems.length; i++)
        if (textArtItems[i].name.slice(0,11) == "actualDate:") {
          textArtItems[i].selected = true;
          textArtItems[i].contents = DateUpdate(textArtItems[i].name);
    } else {
      var textFrames = activeDocument.textFrames;
      for (var i = 0 ; i < textFrames.length; i++)
        if (textFrames[i].name.slice(0,11) == "actualDate:") {
          textFrames[i].selected = true;
          textFrames[i].contents = DateUpdate(textFrames[i].name);

Similar Messages

  • After my iphone4S update to 7.0.6, it have a problem that keep searching network then no service show on display. Can't call. I have try check sim card, reset network settings, and restore my iphone. Still not working at all. Need help please.

    After my iphone4S update to 7.0.6, it have a problem that keep searching network then no service show on display. Can't call. I have try check sim card, reset network settings, and restore my iphone. Still not working at all. Need help please.Urgent.TQ

    Izit software or hardware? Confuse:(
    Only can use wifi now.
    Any way thanks guys for ur suggestion:) amishcake and simes

  • Indesign CS5.5 Relink Script needs help

    Hi, I'm trying to relink images in an InDesign CS5.5 file to a different server using a script. This is what I have so far, but when I run the script I get errors and can't relink because "Either the file does not exist, you do not have permission, or the file may be in use by another application". Does anyone know how to make this script work? I'm fairly new to scripting.
    Here is the script I have:
    tell application "Adobe InDesign CS5.5"
              tell document 1
                        set linkList to links
                        set errInfo to "" -- We'll display error if we can't relink an item
                        repeat with x in linkList
                                  if (x's status) is not normal then -- I usually check for any link that has an error
      -- This should only return an AppleScript path with ":" separators
                                            set linkPath to (x's file path) as string
                                            if "Volumes/Calendars_2013 FPO" is in linkPath then
                                                      set AppleScript's text item delimiters to "Volumes/Calendars_2013 FPO"
                                                      set linkPath to (linkPath's text items) -- Create a list of text items
                                                      set AppleScript's text item delimiters to "Volumes/Calendars_2013"
                                                      set linkPath to (linkPath as string) -- Concatenate with new path
                                                      set AppleScript's text item delimiters to "" -- Reset TIDs
                                                      try
      -- Need to make our string (path) into an alias path
      relink x to alias linkPath
                                                                try
      update x -- This can be helpful
                                                                end try
                                                      on error err
      -- We'll store link name if error occurs
                                                                set errInfo to (errInfo & return & x's name)
                                                      end try
                                            end if
                                  end if
                        end repeat
      -- If an error occurs while trying to relink, we'll display it
                        if (count errInfo) > 0 then display dialog ("Can't relink:" & errInfo)
              end tell
    end tell
    --Hector

    I just tried adding collens to the end of the folder path. For some reason the script skipped the relink line. Below is the code with your update. I'm thinking its not finding the images because the script needs to make a list of all the images and choose the one that matches the missing image.
    tell application "Adobe InDesign CS5.5"
              tell document 1
                        set linkList to links
                        set errInfo to "" -- We'll display error if we can't relink an item
                        repeat with x in linkList
                                  if (x's status) is not normal then -- I usually check for any link that has an error
      -- This should only return an AppleScript path with ":" separators
                                            set linkPath to (x's file path) as string
                                            if "Calendars_2013 FPO:" is in linkPath then
                                                      set AppleScript's text item delimiters to "Calendars_2013 FPO:"
                                                      set linkPath to (linkPath's text items) -- Create a list of text items
                                                      set AppleScript's text item delimiters to "Calendars_2013:"
                                                      set linkPath to (linkPath as string) -- Concatenate with new path
                                                      set AppleScript's text item delimiters to "" -- Reset TIDs
                                                      try
      -- Need to make our string (path) into an alias path
      relink x to alias linkPath
                                                                try
      update x -- This can be helpful
                                                                end try
                                                      on error err
      -- We'll store link name if error occurs
                                                                set errInfo to (errInfo & return & x's name)
                                                      end try
                                            end if
                                  end if
                        end repeat
      -- If an error occurs while trying to relink, we'll display it
                        if (count errInfo) > 0 then display dialog ("Can't relink:" & errInfo)
              end tell
    end tell
    --Thanks for you help

  • BB Desktop Manager no longer works with Mac Maverick - Need Help Urgently

    I have been a loyal Blackberry user since the Government of Canada officially began using these cell phones. I feel, however, abandoned by Blackberry (they obviously don't believe that it is easier to retain an existing customer than acquire a new one). I'm using a Blackberry Bold (9900) with a Macbook Pro. Everything was fine until I upgraded my Mac operating system to Maverick; my Blackberry Desktop Manager no longer works, so I cannot sync the content (contacts, calendar) of my phone with my Mac, but that's not the worst of it.
    I recently had a momentary lapse and exceeded the 10 password attempts to access my phone... this accidentally wiped my phone clean... and because Desktop Manager does not work with Mac, I do not have a way to recover my data. Rogers was of no help and had Blackberry updated its desktop software months ago, as it should have, this issue would have been moot. I do not know how or why, but I was able to recover most of my data, but I'm not sure just how up-to-date tha data is and am still going through it, but I'm having issues with some functionality.
    I'm in the US for several months and have suspended my Canadian services. Prior to the wipe, I was able to use wifi on my phone to send and receive emails with no problem.  After the wipe, I can't send emails or bbms.  I checked my blackberry internet service and all email accounts are good to go. BBMs are another issue.  I need help.  Suggestions please. 

    Apple has ceased synchronization with Mavericks. The issue lies with Apple, not with the desktop software. To mitigate the lack of sync capabilities in Mavericks you can sync your contacts and calender on your Mac with the usual suspects (Yahoo, Google). Create a backup (archive) for Contacts and Calender on your Mac first, then create one of those email accouonts that allow syncing. On your 9900 and with BlackBerry provisioning enabled create the new or existing email account. See which email accounts can sync with BB, I know Yahoo is working fine. For Yahoo, get the Yahoo Calender sync (a few bucks one-off payment required), Contacts sync works off the shelf within BB. If you reset the 9900 you should be able to restore all data with BB DTM. Please note that emails you received during the 9900 reset and the date of restore will not be available on the device. You will still not be able to sync contacts/calender over BB DTM. I hope that helps.
    BlackBerry Bold 9900, Blackberry Z10 and BlackBerry PlayBook.

  • Angry birds rio quit working on my ipad.  When I try to start the game, it shuts down completely and goes to the main menu screen.  This started when I downloaded the latest app.  The other angry bird games still work.  I really need help.

    Angry birds rio quit working when I installed the latest app.  I even uninstalled it and started over.  When I try to start the game, it goes back to the main menu.  I need help badly but in simplest of terms so I'll be able to follow.

    Have you tried closing the app completely ? From the home screen (i.e. not with Angry Birds 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Angry Birds app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • My email is not working in lightroom. Need help setting that up.

    Need help setting up my email in lightroom. For some reason it's not connecting.

    Try posting in the Lightroom forum.  People there are more tuned in to the detail working of the application:
    http://forums.adobe.com/community/lightroom?view=discussions

  • Whenever i open safari all the adverts comes on the screen and also youtube doesn't work properly it freeze and after two or three minutes it works fine so please need help

    i am using macbook pro late 13 from few days whenevr i open safari all the adverts comes up and chrome is too slow somthing is wrong with the youtube it get slow when i go on it and after 2 or three minutes it work so i need help i hope yu guys help me

    Adware Removal Guide
    http://www.thesafemac.com/arg/
    YouTube
    1. System Preferences >  Flash Player > Advanced >  Delete  All
         Press the "Delete All" button
         Install Adobe Flash Player.
        http://get.adobe.com/flashplayer/
        Follow the prompts.   Click Safari in the menubar and select “Quit Safari”.
        Restart computer. Relaunch Safari.
    2.  Allow  Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Press " Manage Website Settings" button for more options.
    3. Safari > Preferences > Privacy
        Press the button “ Remove All Website Data”.

  • CS6 Extended 3D functions not working... Need help!

    This is a copy of the system info from CS6:
    Adobe Photoshop Version: 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: AMD CPU Family:15, Model:1, Stepping:0 with MMX, SSE Integer, SSE FP, SSE2, SSE3
    Physical processor count: 4
    Processor speed: 1497 MHz
    Built-in memory: 7659 MB
    Free memory: 4731 MB
    Memory available to Photoshop: 6766 MB
    Memory used by Photoshop: 60 %
    Image tile size: 132K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Normal
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: ATI Technologies Inc.
    Video Card Renderer: AMD Radeon(TM) HD 6620G
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 768, right: 1366
    Video Card Number: 1
    Video Card: AMD Radeon(TM) HD 6620G
    OpenCL Unavailable
    Driver Version: 8.832.0.0
    Driver Date: 20110401000000.000000-000
    Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
    Video Mode: 1366 x 768 x 4294967296 colors
    Video Card Caption: AMD Radeon(TM) HD 6620G
    Video Card Memory: 512 MB
    Video Rect Texture Size: 16384
    Serial number: 92628572386026181117
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
    Temporary file path: C:\Users\Nita\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      C:\, 578.9G, 353.9G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2012/06/05-15:16:32   66.507768   66.507768
       adbeape.dll   Adobe APE 2012/01/25-10:04:55   66.1025012   66.1025012
       AdobeLinguistic.dll   Adobe Linguisitc Library   6.0.0  
       AdobeOwl.dll   Adobe Owl 2012/06/26-12:17:19   4.0.95   66.510504
       AdobePDFL.dll   PDFL 2011/12/12-16:12:37   66.419471   66.419471
       AdobePIP.dll   Adobe Product Improvement Program   6.0.0.1654  
       AdobeXMP.dll   Adobe XMP Core 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPFiles.dll   Adobe XMP Files 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPScript.dll   Adobe XMP Script 2012/02/06-14:56:27   66.145661   66.145661
       adobe_caps.dll   Adobe CAPS   6,0,29,0  
       AGM.dll   AGM 2012/06/05-15:16:32   66.507768   66.507768
       ahclient.dll    AdobeHelp Dynamic Link Library   1,7,0,56  
       aif_core.dll   AIF   3.0   62.490293
       aif_ocl.dll   AIF   3.0   62.490293
       aif_ogl.dll   AIF   3.0   62.490293
       amtlib.dll   AMTLib (64 Bit)   6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00)   1.000000
       ARE.dll   ARE 2012/06/05-15:16:32   66.507768   66.507768
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/12/16-15:10:49   66.26830   66.26830
       AXEDOMCore.dll   AXEDOMCore 2011/12/16-15:10:49   66.26830   66.26830
       Bib.dll   BIB 2012/06/05-15:16:32   66.507768   66.507768
       BIBUtils.dll   BIBUtils 2012/06/05-15:16:32   66.507768   66.507768
       boost_date_time.dll   DVA Product   6.0.0  
       boost_signals.dll   DVA Product   6.0.0  
       boost_system.dll   DVA Product   6.0.0  
       boost_threads.dll   DVA Product   6.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.0.5.19287   2.0.5.19287
       CoolType.dll   CoolType 2012/06/05-15:16:32   66.507768   66.507768
       data_flow.dll   AIF   3.0   62.490293
       dvaaudiodevice.dll   DVA Product   6.0.0  
       dvacore.dll   DVA Product   6.0.0  
       dvamarshal.dll   DVA Product   6.0.0  
       dvamediatypes.dll   DVA Product   6.0.0  
       dvaplayer.dll   DVA Product   6.0.0  
       dvatransport.dll   DVA Product   6.0.0  
       dvaunittesting.dll   DVA Product   6.0.0  
       dynamiclink.dll   DVA Product   6.0.0  
       ExtendScript.dll   ExtendScript 2011/12/14-15:08:46   66.490082   66.490082
       FileInfo.dll   Adobe XMP FileInfo 2012/01/17-15:11:19   66.145433   66.145433
       filter_graph.dll   AIF   3.0   62.490293
       hydra_filters.dll   AIF   3.0   62.490293
       icucnv40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       icudt40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       image_compiler.dll   AIF   3.0   62.490293
       image_flow.dll   AIF   3.0   62.490293
       image_runtime.dll   AIF   3.0   62.490293
       JP2KLib.dll   JP2KLib 2011/12/12-16:12:37   66.236923   66.236923
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2.1.2.1640  
       mediacoreif.dll   DVA Product   6.0.0  
       MPS.dll   MPS 2012/02/03-10:33:13   66.495174   66.495174
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcp100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcr100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS6   CS6  
       Plugin.dll   Adobe Photoshop CS6   CS6  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (64 bit)   3.0.0.383  
       PSArt.dll   Adobe Photoshop CS6   CS6  
       PSViews.dll   Adobe Photoshop CS6   CS6  
       SCCore.dll   ScCore 2011/12/14-15:08:46   66.490082   66.490082
       ScriptUIFlex.dll   ScriptUIFlex 2011/12/14-15:08:46   66.490082   66.490082
       tbb.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   6.0.0.24
       WRServices.dll   WRServices Friday January 27 2012 13:22:12   Build 0.17112   0.17112
       wu3d.dll   U3D Writer   9.3.0.113  
    Required plug-ins:
       3D Studio 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Accented Edges 13.0
       Adaptive Wide Angle 13.0
       ADM 3.11x01
       Angled Strokes 13.0
       Average 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Bas Relief 13.0
       BMP 13.0
       Camera Raw 8.2
       Camera Raw Filter 8.2
       Chalk & Charcoal 13.0
       Charcoal 13.0
       Chrome 13.0
       Cineon 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Clouds 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Collada 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Color Halftone 13.0
       Colored Pencil 13.0
       CompuServe GIF 13.0
       Conté Crayon 13.0
       Craquelure 13.0
       Crop and Straighten Photos 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Crop and Straighten Photos Filter 13.0
       Crosshatch 13.0
       Crystallize 13.0
       Cutout 13.0
       Dark Strokes 13.0
       De-Interlace 13.0
       Dicom 13.0
       Difference Clouds 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Diffuse Glow 13.0
       Displace 13.0
       Dry Brush 13.0
       Eazel Acquire 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Embed Watermark 4.0
       Entropy 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Extrude 13.0
       FastCore Routines 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Fibers 13.0
       Film Grain 13.0
       Filter Gallery 13.0
       Flash 3D 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Fresco 13.0
       Glass 13.0
       Glowing Edges 13.0
       Google Earth 4 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Grain 13.0
       Graphic Pen 13.0
       Halftone Pattern 13.0
       HDRMergeUI 13.0
       IFF Format 13.0
       Ink Outlines 13.0
       JPEG 2000 13.0
       Kurtosis 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Lens Blur 13.0
       Lens Correction 13.0
       Lens Flare 13.0
       Liquify 13.0
       Matlab Operation 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Maximum 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Mean 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Measurement Core 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Median 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Mezzotint 13.0
       Minimum 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       MMXCore Routines 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Mosaic Tiles 13.0
       Multiprocessor Support 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Neon Glow 13.0
       Note Paper 13.0
       NTSC Colors 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Ocean Ripple 13.0
       Oil Paint 13.0
       OpenEXR 13.0
       Paint Daubs 13.0
       Palette Knife 13.0
       Patchwork 13.0
       Paths to Illustrator 13.0
       PCX 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Photocopy 13.0
       Photoshop 3D Engine 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Picture Package Filter 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Pinch 13.0
       Pixar 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Plaster 13.0
       Plastic Wrap 13.0
       PNG 13.0
       Pointillize 13.0
       Polar Coordinates 13.0
       Portable Bit Map 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Poster Edges 13.0
       Radial Blur 13.0
       Radiance 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Range 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Read Watermark 4.0
       Reticulation 13.0
       Ripple 13.0
       Rough Pastels 13.0
       Save for Web 13.0
       ScriptingSupport 13.0.1
       Shear 13.0
       Skewness 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Smart Blur 13.0
       Smudge Stick 13.0
       Solarize 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Spatter 13.0
       Spherize 13.0
       Sponge 13.0
       Sprayed Strokes 13.0
       Stained Glass 13.0
       Stamp 13.0
       Standard Deviation 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Sumi-e 13.0
       Summation 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Targa 13.0
       Texturizer 13.0
       Tiles 13.0
       Torn Edges 13.0
       Twirl 13.0
       U3D 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Underpainting 13.0
       Vanishing Point 13.0
       Variance 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Variations 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Water Paper 13.0
       Watercolor 13.0
       Wave 13.0
       Wavefront|OBJ 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       WIA Support 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       Wind 13.0
       Wireless Bitmap 13.0.1 (13.0.1.2 20130522.r.24 2013/05/22:21:00:00)
       ZigZag 13.0
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
    Installed TWAIN devices: NONE
    I have windows 7 Home Premium Service Pack 1 on an HP Pavilion dv6 Notebook PC Processer is AMD A8-3500M APU with Radeon(tm) HD Graphics 1.5 GHz
    Intstalled memory (RAM) 8.00 GB (7.48 GB usable)
    64-bit Operating System
    I have tried disabling the Catalyst A.I. and restaring PS.  The video card is AMD Radeon (TM) HD 6620G. 
    Nothing I do seems to work.  I can see the 3D menu it's all grayed out and when in the 3D tab under layes, if I try to create a 3D object this is the message I get. "The 3D features require that "Use Graphics Process" is enabled in the Performace preferences. Your video card must meet the minimum requirements and you may need to check that your driver is working correctly.
    I've also done all this, the graphics processer is on, the driver is up to date and says that it is working properly.  Anyone got any suggestions what else I can do?

    Curt, the only way I see catalyst is when I'm in the advance setting for (I guess the viedo card) I see info for gaming, video, display, & more.  All that it will let me do is turn it off or on and I'm really not sure what I need to do to update that driver.  Normally, I just run a window check to be sure the drivers are up to date but I don't know where to look for the driver to even see about updating it.  If you are able to help, I would really appreciate it.  I think I spent about 2 hours yesterday trying to do everything I could think of to fix it.... and I really want to be able to start playing with creating 3d graphics. Also, I just looked up the driver you are talking about, based on the info you are seeing that I posted, do I need to download Catalyst Software Suite
    that includes:
                                 Display Driver ver. 13.152   
                                 OpenCL(tm) Driver ver. 10.0.1268.1
                                   Catalyst Control Center ver. 2013.0830.1943.3358
    Message was edited by: Nita H

  • This thing is not working!! i need help please!!!

    i picked up a ipod nano today figureing that its a pretty good mp3 player for my needs... i get home turn the thing on mess with it for a few mins turn it off plug it in to charge and it still turns on and off so im figureing okay cool ill install my drivers and itunes and start building my playlist well the first issue i get is itunes will not start up it just flat out refuses... to start up i have no idea why the updater worked fine for what i installed off the disk which told me everything was up to date as always i went to apple.com the website to make sure drivers arethe correct ones found out they are not...GREAT!!!.. so i delete the old drivers and install the new ones then i go to update my ipod nano and it says "sorry device notfound" mean while my ipods frozen giveing me the no disconnect symbol it wont even disconnect when i turn off the usb device then it gave me the battery charge warning light then turned right off after freaking out. i then spent a little while redoing my itunes and ipod updaters to where there is no application issues. i kept checking my ipod to see if it was chargeing theres no indicator whats so ever when the ipod nano is turned off of it getting charged like my moms old ipod 20 gig and shes had that thing forever without any issues at all. meanwhile my ipod is a metal electronic light paper weight right now.. if this thing doesn't work when i get up in the afternoon tomorrow form it being connected to a AC adapter like apple says it should work im takeing it back and gonna drop the extra 100 on the 30gig that i know shouldn't have any issues... cause **** this *****!!!
    if any of you can tell me how to get my ipod nano to turn on that would be great let alone how i can get it to update and then export songs to the thing

    Hi,
    Welcome to Apple Discussions
    the
    first issue i get is itunes will not start up it just
    flat out refuses... to start up i have no idea why
    You might want to ask for help in the iTunes for Windows Forum
    the updater worked fine for what i installed off the
    disk which told me everything was up to date as
    always i went to apple.com the website to make sure
    drivers arethe correct ones found out they are
    not...GREAT!!!.. so i delete the old drivers and
    install the new ones
    Sorry, I'm on a Mac so I'm not sure what "drivers" you are referring to.
    You need iTunes and the latest version is 6.0.2.
    You also want the version 1.1 software for the nano.
    Both are available for free from www.apple.com
    then i go to update my ipod nano
    and it says "sorry device notfound" mean while my
    ipods frozen giveing me the no disconnect symbol it
    wont even disconnect when i turn off the usb device
    then it gave me the battery charge warning light then
    turned right off after freaking out.
    Here is a link that may help with the above:
    Symptom
    One or more of the following occurs:
    iPod does not show up in iTunes or as disk in Windows Explorer
    iPod does not show up as disk in Windows Explorer (even though disk mode is enabled on the iPod)
    iTunes and Windows Explorer report the wrong amount of available space on iPod
    No songs appear on the iPod after an apparently successful update from iTunes
    Music copied to mapped network drive instead of iPod
    Then read this link:
    Strange iPod behavior when Windows confuses iPod with network drive
    There's also this:
    Your Windows PC doesn't recognize iPod
    i then spent a
    little while redoing my itunes and ipod updaters to
    where there is no application issues. i kept checking
    my ipod to see if it was chargeing theres no
    indicator whats so ever when the ipod nano is turned
    off of it getting charged like my moms old ipod 20
    gig and shes had that thing forever without any
    issues at all.
    If the nano is charging when it is turned on there is a small icon in the top right of the screen. If it is turned off the icon is large and uses all the screen.
    iPod: About the battery charge status icon
    Another link (sorry to give you so much reading to do):
    iPod's battery doesn't charge
    meanwhile my ipod is a metal
    electronic light paper weight right now.. if this
    thing doesn't work when i get up in the afternoon
    tomorrow form it being connected to a AC adapter like
    apple says it should work im takeing it back and
    gonna drop the extra 100 on the 30gig that i know
    shouldn't have any issues... cause **** this
    if any of you can tell me how to get my ipod nano to
    turn on that would be great let alone how i can get
    it to update and then export songs to the thing
    Hope some of those help.
    Regards,
    Colin R.

  • [AS] Beast of a script needs help converting from Quark 8 to InDesign CS5

    First off, THANK YOU for even reading this post. Here's the dilema. I work in a publishing company that used an AppleScript from Quark 8 to automate our pagination from set text we pull from our sales reps worksheets. About 8 months ago we switched fully to InDesign CS5, but have had to hold onto Quark 8 to be able to keep running our pagination. I'd like to see if the geniuses (yes, I've been trolling these forums looking to solve this myself and seen some great problems fixed) on these forums can help me figure out the proper conversion I would need to be able to leave Quark 8 in the rearview.
    Here's our current code... (I warned you it was a beast)
    set Ad_Props to {¬
         {Ad_Label:"SPREAD – ", Ad_Width:2.495, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"FULL – ", Ad_Width:1.225, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"SPREAD – ", Ad_Width:2.495, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"JUNIOR – ", Ad_Width:0.90625, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/2H – ", Ad_Width:1.225, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/2V – ", Ad_Width:0.5875, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
         {Ad_Label:"1/3V – ", Ad_Width:0.5875, Ad_Height:1.2025, Ad_Text_Angle:90}, ¬
         {Ad_Label:"1/4 – ", Ad_Width:0.5875, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/4 Strip – ", Ad_Width:0.26875, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
         {Ad_Label:"1/8H – ", Ad_Width:0.5875, Ad_Height:0.3675, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/8V – ", Ad_Width:0.26875, Ad_Height:0.785, Ad_Text_Angle:90}, ¬
         {Ad_Label:"Junior (GOLF) – ", Ad_Width:0.8, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/3V (GOLF) – ", Ad_Width:0.375, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
         {Ad_Label:"1/3sq. (GOLF) – ", Ad_Width:0.8, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
         {Ad_Label:"1/6V (GOLF) – ", Ad_Width:0.375, Ad_Height:0.785, Ad_Text_Angle:90}, ¬
         {Ad_Label:"Directory Listing Only – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
         {Ad_Label:"INSERT (# in notes) – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
         {Ad_Label:"Other (See Notes) – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
         {Ad_Label:"------------ – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}}
    set Position_Width to number
    set Position_Width to 11.375
    set Position_Height to number
    set Position_Height to 1.875
    set Jump_Height to number
    set Jump_Height to 0
    set Variable_Count to number
    set Variable_Count to 0
    set Variable_Height to number
    set Variable_Height to (1.875 + (1.62 * Variable_Count))
    set Last_Ad to number
    set Last_Ad to 0
    tell application "QuarkXPress"
         activate
         try
              display dialog "WARNING: This version of 'Dummy Square Maker' runs much slower than the last version, a confirmation will tell you when you are finished. Please be patient." & return & return & "Make sure to have the text box selected" buttons {"Cancel", "Accept"} default button 2 with icon caution
              set ThisBox to object reference of current box
              tell story 1 of ThisBox
                   set (every paragraph where it is return) to ""
                   set style sheet of every text to null
                   set style sheet of every text to "DUMMY TEXTS"
                   repeat with i from 1 to (count of paragraphs)
                        try
                             tell paragraph i
                                  set ThePage to my get_CurrentPage()
                                  try
                                       if it contains " – " then
                                            set style sheet to "AD SIZE"
                                            set Ad_Size to contents
                                            set {This_Width, This_Height, this_angle} to {"", "", ""}
                                            repeat with This_Ad in Ad_Props
                                                 if Ad_Size contains (Ad_Label of This_Ad) then
                                                      set This_Width to Ad_Width of This_Ad
                                                      set This_Height to Ad_Height of This_Ad
                                                      set this_angle to Ad_Text_Angle of This_Ad
                                                      exit repeat
                                                 end if
                                            end repeat
                                            set Ad_Box to my Make_Box(ThePage, {1.875, 10.875, This_Height + 1.875, This_Width + 10.875}, this_angle)
                                            duplicate contents to (end of Ad_Box)
                                       else if it contains "—" then
                                            set style sheet to "AD REP/PLACEMENT"
                                            duplicate contents to (end of Ad_Box)
                                       else if it starts with "©" then
                                            set style sheet to "AD REP/PLACEMENT"
                                            delete (character 1)
                                            duplicate contents to end of Ad_Box
                                            if Position_Width ≤ 19.75 then
                                                 set Jump_Height to Jump_Height + This_Height
                                                 (*_________________This is where Ad Boxes Stack_________________*)
                                                 if (Jump_Height ≤ 1.62) then
                                                      set origin of bounds of Ad_Box to {Position_Height, Position_Width}
                                                      set Position_Height to Position_Height + This_Height
                                                      (*_________________This is where Ad Boxes more right_________________*)
                                                 else
                                                      set Position_Height to Variable_Height
                                                      (*set Position_Width to Position_Width + This_Width + 0.05*)
                                                      set Position_Width to Position_Width + Last_Ad + 0.05
                                                      set origin of bounds of Ad_Box to {Position_Height, Position_Width}
                                                      set Jump_Height to This_Height
                                                      set Position_Height to Variable_Height + This_Height
                                                 end if
                                                 set Last_Ad to This_Width
                                                 (*_________________This is where New Row appears_________________*)
                                            else
                                                 set Position_Width to 11.375
                                                 set Variable_Count to Variable_Count + 1
                                                 set Variable_Height to (1.875 + (1.62 * Variable_Count))
                                                 set Position_Height to Variable_Height
                                                 set origin of bounds of Ad_Box to {Position_Height, Position_Width}
                                                 set Position_Height to Position_Height + This_Height
                                                 set Jump_Height to This_Height
                                                 set Last_Ad to This_Width
                                            end if
                                       else
                                            duplicate contents to (end of Ad_Box)
                                       end if
                                  end try
                             end tell
                        on error errmsg number errnum
                             display dialog "There has been an error " & "[" & i & "] (" & errmsg & " [" & errnum & "])" buttons {"Okay"} default button 1 with icon stop
                        end try
                   end repeat
                   delete contents
                   set style sheet of every text to null
              end tell
              beep 2
              display dialog "Automation Finished" & return & return & "IMPORTANT NOTE: Color your Ad Squares according to Sales Rep, and select them all and 'BRING TO FRONT [F5]', this is VITAL." buttons {"Okay"} default button 1 with icon stop
         on error errmsg number errnum
              beep 3
              if errnum ≠ -128 then
                   beep
                   display dialog errmsg & " [" & errnum & "]" buttons {"OK"} default button 1 with icon stop
              end if
         end try
    end tell
    on Make_Box(ThePage, TheBounds, this_angle)
         local ThePage, TheBounds, this_angle
         tell application "QuarkXPress"
              tell page ThePage of document 1
                   set Ad_Box to make new text box at end with properties {bounds:TheBounds, vertical justification:centered, color:"Rep_Other", shade:100, opacity:10, text angle:this_angle, frame:{style:solid line, color:"Black", shade:60, width:0.1}}
              end tell
         end tell
         (*end tell*)
         return Ad_Box
    end Make_Box
    on get_CurrentPage()
         tell application "QuarkXPress"
              tell document 1
                   return page number of current page
              end tell
         end tell
    end get_CurrentPage

    Hi,
    I think with this, you can already make good progress in your work.
    Good luck!
    global mydocument
    tell application "Adobe InDesign CS5.5"
         set mydocument to active document
         tell mydocument
              set myParaStyle to paragraph style "DUMMY TEXTS"
              tell page 1
                   set TheBounds to {0, 0, 20, 50}
                   set Ad_Box to make text frame
                   tell Ad_Box
                        set geometric bounds to TheBounds
                        set vertical justification of text frame preferences to center align
                        set contents to "This is the contents"
                   end tell
                   set myStory to parent story of Ad_Box
                   set applied paragraph style of every paragraph of myStory to myParaStyle
              end tell
         end tell
    end tell
    Your two handlers then look like this:
    on Make_Box(ThePage, TheBounds, this_angle)
         local ThePage, TheBounds, this_angle
         tell application "Adobe InDesign CS5.5"
              tell page ThePage of mydocument
                   set Ad_Box to make text frame
                   tell Ad_Box
                        set geometric bounds to TheBounds
                        set vertical justification of text frame preferences to center align
                   end tell
              end tell
         end tell
         return Ad_Box
    end Make_Box
    on get_CurrentPage(CurrentTextFrame)
         tell application "Adobe InDesign CS5.5"
              tell mydocument
                   return name of parent page of parent page of CurrentTextFrame
              end tell
         end tell
    end get_CurrentPage
    Shorter version:
    on get_CurrentPage(CurrentTextFrame)
         tell mydocument of application "Adobe InDesign CS5.5"
              return name of parent page of parent page of CurrentTextFrame
         end tell
    end get_CurrentPage
    Ce message a été modifié par: OlivierBerquin

  • Problem with script – NEED HELP

    HELP!!! why isn't the script working?
    on adding folder items to thefolder after receiving theAddedItems
    repeat with eachitem in theAddedItems
    set theSender to "me<[email protected]>"
    set recipCommon to "Files"
    set recipAddress to (choose from list {"User 1", "User 2", "User 3"} with prompt "Select a recipient :") as text
    if result is "User 1" then
    set recipAddress to {"User 1 <[email protected]>"}
    else if result is "User 2" then
    set recipAddress to {"User 2 <[email protected]>"}
    else if result is "User 3" then
    set recipAddress to {"User 3 <[email protected]>", "[email protected]>"}
    end if
    set msgText to " type body copy here "
    tell application "Mail"
    set newmessage to make new outgoing message with properties {content:msgText & return}
    tell newmessage
    set sender to theSender
    tell application "Finder" to set theSubject to name of eachitem
    set subject to theSubject
    repeat with eachRecipient in recipAddress
    make new to recipient at end of to recipients with properties {name:recipCommon, address:eachrecipAddress}
    end repeat
    end tell
    send newmessage
    end tell
    end repeat
    end adding folder items to

    HELP......
    !!!Everything works in the below script except it doesn't send the email?!!!
    on adding folder items to thefolder after receiving theAddedItems
    repeat with eachitem in theAddedItems
    set theSender to "me<[email protected]>"
    set recipCommon to "Files"
    set recipAddress to (choose from list {"User 1", "User 2", "User 3"} with prompt "Select a recipient :") as text
    if result is "User 1" then
    set recipAddress to {"User 1 <[email protected]>"}
    else if result is "User 2" then
    set recipAddress to {"User 2 <[email protected]>"}
    else if result is "User 3" then
    set recipAddress to {"User 3 <[email protected]>", "[email protected]>"}
    end if
    set msgText to " type body copy here "
    tell application "Mail"
    set newmessage to make new outgoing message with properties {content:msgText & return}
    tell newmessage
    set visible to true
    set sender to theSender
    tell application "Finder" to set theSubject to name of eachitem
    set subject to theSubject
    repeat with eachRecipient in recipAddress
    make new to recipient at end of to recipients with properties {name:recipCommon, address:eachRecipient}
    end repeat
    repeat with eachRecipient in recipAddress
    make new to recipient at end of to recipient with properties {name:recipCommon, address:recipAddress}
    set eachRecipient to contents of eachRecipient
    end repeat
    end tell

  • Range Expander not working .. Desperately needed HELP

    I just bought the wireless expander yesterday. At first, i followed the instructions which came with it. As my network is WPA-enabled, i insert the CDrom to start the utility. Everything went well and the utility was able to find my network and the wireless expander. My network had a boosted range after that.  However, after one of my family members accidentally pressed the auto configuration button, everything went haywired.
    I tried to reset the wireless expander and start the utility again. However, this time,  the utility wasn't able to find the wireless expander.I tried it over and over again , to no avail.
    I came to this forum and realized that quite a lot of people are facing the same problems as me. I followed the solutions as stated. I was able to get 2 blue lights lit after that. However, my laptop kept prompting something abt ip (can't remember the exact words) And i can't used the internet at all. I went on the forum and found the solution to it. I did what it says but it's still the same. So i decided to reset the wireless expander and at the same time taking note of the ip problem.
    However, after i reset the wireless expander, whatever i did wasn't able to get the 2 blue lights lit. I have been at this for 6 hrs and on my way to madness.
    Can someone help me out here?
    My Modem : Motorola ( Can't remember the exact model)
    My wireless router : NetGear WGR614 v5
    My wireless expander : Linksys WRE54G v2
    What i did :
    1) I connected the wireless expander to my laptop using an ethernet cable. Thus, getting a lan connection.
    2) I changed the static ip address of it
    IP -- 192.168.1.155
    Subnet mask - 255.255.255.0
    Default gateway -- 192.168.1.1
    3) I was able to access to http://192.168.1.240
    4) I changed the settings
    ok -- here's the problem ..
    When i run cmd --> ipconfig /all --> i get ip: 192.168.1.137
                                                                   subnetmask : 255.255.255.0
                                                            default gateway : 192.168.1.1
    When i went to my wireless router settings it was  IP : 222.164.18.197
                                                                       Subnet mask : 255.255.248.0
                                                                       Default gateway: 222.164.16.1
    I do not know which one to use , so i tried both settings. For the 1st one, everything went fine , until after the power cycle. The blue lights still did not lit up .
    For the 2nd IP , i can't even get the webpage to change my settings.
    I have tried a combination of things. Set the SSID to the same as my wireless router SSID . I have download the firmware and yet when i tried it , all 3 trys were used and nothing happened.
    I have tried doing this over and over again , looking for a step that i might have missed , but i think that i have reached my wit's end..
    SOMEONE PLEASE HELP ME!

    MINdReAdEr, yep you are in trouble with the unit. The WRE54G does a good job but it can be quirky to set up. When I bought mine from Amazon, i went first to the Customer reviews for info and I there found the right way(s) to install the unit. First of all, of course, forget about the CD instructions. Too frustrating when they start to backfire. ************************************ Better ways - got from Amazon (in fact, go there and search for WRE54G and see all review): ************************************ 1. The one below outlines easy installation if your network/wireless router are on the SAME SUBNET AS THE WRE RIGHT OUT OF THE BOX, i.e. 192.168.1.xx 279 of 285 people found the following review helpful: It does what it's supposed to, once you can set it up, August 1, 2004 By Anthony Taylor (Sherman Oaks, CA) - See all my reviews If you're having trouble setting it up, definitely call the 800 number as opposed to going online. I tried with three different people through their website online and none could help. Right before I sent it back I decided to try phone support and it got the expander a reprieve. I've copied some instructions that Y.A. Escalante was kind enough to leave in his review, but corrected and elaborated some of the items based on my experience. I would've given this 4 stars, but I deducted 1 for it not having clear enough instructions with its initial shipping. (Would've saved Linksys some headaches) Here goes: 1-Disable WEP on your Router or AP 2-Hold the auto-configuration button for 30 seconds(if everything goes well both lights on the expander will turn blue) and unplug while still holding button. Plug back in after 10-15 secs. 3-open your Internet explorer browser and type 192.168.1.240 (default ip of expander), a window will pop up. leave the user name blank and put admin as a password (this is default password). 4-make sure that the default gateway and subnet mask settings are identical with your Router or AP,change password on the expander if desired & save settings. (all settings should be correct due to auto configuration) 5-Enable WEP on the expander, once again remember use same settings as in your Router or AP, save settings again. 6-Go to your Router or Ap settings and enable WEP. Bang you're DONE. Enjoy Hope this helps some of you...if not call the 800 number on the box and be patient. ******************************** 2. The one I put together with help from forums and amazon customer reviews applies to cases where the Router and the network are on a DIFFERENT subnet than the WRE out of the box (mine for example is 192.168.0.xx), and also when you want to install the WRE WITHOUT doing anything to the wireless router on your network (I like that!): 5 of 5 people found the following review helpful: WRE54G: as usual w. Linksys product, installation is rough, January 16, 2007 By Roger J. Thomas "WirelessInn" (ZUNI, NM United States) - See all my reviews I am getting to think that I buy Linksys products just because I am getting used to their idiosynchrasis - i.e. the products' installation instructions are basically somehow flawed (even though I am sure they work if one makes a few adjustments to what the manuals say!) I must also say that product reviews by users on Amazon.com are an excellent source of technical info/help. My setup consists of a Satellite (Hughes) internet service with corresponding modem, feeding into a WRT54G Linksys Wireless Router which in turn is connected via cat5 to a Desktop and wirelessly to a Dell Laptop. I have to mention that the range of the WRT54G (a stock v.5 unit) is very good as it is. I want to use the WRE54G to extend range. 0. DO NOTHING to your wireless router (mine is a WRT54G - see above) - leave Router's IP address/channel alone and encryption (WPA or WPE) in place if you are using such protection. That's what I like about those steps: no disruption of the wireless network's settings in use! Also, my wireless laptop is at WRE54G install time in range of the Wireless Router. NOTE: That Laptop can actually be any computer. Preferably however one normally used as wireless unit on the network including the Internet connection>B'Band Modem > Wireless router > and now the WRE54G. 1. Change the IP of that computer/laptop you are using to setup the WRE54G if needed - i.e. if that computer's IP (from the local LAN NIC, not the wireless card) is on another subnet than 192.168.1.xx. Use something like 192.168.1.1 for example. This is necessary to access the WRE54G's internal web screen (default: 192.168.1.240). Disable wireless on the computer you are usng to set up the WRE54G. 2. MAKE SURE that your internet connection DOES NOT at this time do through a proxy - mine normally does (Satellite Internet provider=Direcway/Hughes - proxy server advised/required). You have to dig really deep into Linksys EsyAnswer/KB site to even see that suggestion!! Momentarily disable proxy server in IE > Tools > Internet Options > Connections > LAN settings. I.e. the wired LAN connection you are using to set up the WRE54G must not go thru any TCP/IP proxy. 3. Power up and connect the WRE (I have version 3) to that computer's newly re-IP'd LAN port (the WRE54G comes with a short cat5 cable). So, at this point, BOTH the WRE54G and your LAN connection are on 192.168.1.xx subnets. 4. Just to make sure that a LAN connection has been established, ping the WRE thus connected. Should return satisfactory result. (Again, the computer wireless connection should be disabled at this point) 5. Access the WRE's web screen via 192.168.1.240. Screen should come up. Defaut PW is of course admin at this time. 6. And now we are ready to enter specific information pertaining to your own wireless network, as follows: a. Enter - if necessary - the IP address you want the WRE54G to have on your wireless network - to be on same subnet as Wireless router used for your wireless network. My network is on subnet 192.168.0.xx: I set the WRE54G on IP address 192.168.0.240. b. Same with subnet and gateway c. Check mode (mixed/b or g only) d. SAME CHANNEL as the router e. Enter new SSID and enable/disable broadcast - same settings as Wireless Router's. 7. Now it is time to select/enter Wireless Security settings for the WRE54G: actually exact same settings as your Wireless Router's. 8. Change the WRE54G password while you are at it! Save settings and that's it! Finally unplug the WRE54G from power outlet AND LAN connection to the computer used to set up the Extender; locate/power up the WRE54G somewhere appropriatly a bit away from the laptop, in range of the Wireless Router, and in sight from the wireless laptop for initial testing (just so you can actually see if the blue lights come on: they should in the following sequence - top blue > top red/bottom blue > both blue if everything is OK.) To initially test-drive everything, I placed the WRE54g about 30ft from the Wireless Router and 20ft from the wireless laptop (which I make sure still connects to the Wireless Router.) 9. Now re-enable the wireless connection on the computer used to set up the WRE54G. Experiment with the new connection with the WRE54G. It should kick in as the stronger connection right away (if you are CLOSER to the WRE54G then the router). You'll see that when you are connecting to/using the WRE54G to connect to your Wireless Router, the signal strength is indeed higher. In fact, if you can run NetStumbler (free wireless detection software) and thus run a Site Survey, you'll see that two APs show up, same network SSID (i.e. the Wireless Router and the WRE54G, now considered as an AP itself). Of course the WRE54G will show much stronger signals. 10. Then if all is OK, experiment with placing the WRE54G as suggested otherwise - i.e. at the periphery of the wireless range obtained by just using the Wireless Router. 11. Seems to work so far. I do not otherwise detect loss of signal or b'band speed. This thing does work. I have placed the WRE54G in many different locations and I am truly AMAZED at its range extension potential. NOTE: I assume that in case of presence of signals from BOTH the Wireless Router and the WRE54G at a given location (since both devices are on same channel/SSID/Protection scheme), one might have to reset the wireless connection on the remote(s) laptops (or to reboot) to allow it(them) to pick just one (the stronger of course) connection. I was looking all along for a way to set up the WRE54G without having to go thru the rigamarole of changing other settings elsewhere on the network, using the dreaded Install CD or other cumbersome procedure! As I change my encryption WPA code often, I'll just have to change that info in one more device (besides my WRT54G and the Linksys wireless bridge WET54G - another excellent, not cheap Linksys product which i recommend also and which I use to make my Sat internet service available to another building on my business premises). Simple enough however! Note: you can also use that device to allow a web access to a computer that does not have a wireless card: plug the WRE54G into elect outlet, make sure that the unit is in range of the wireless network, connect a LAN cable from the WRE54G to the card-less computer, and voila, ths computer can get online. **************************************** Hoping this helps! - Roger T

  • OMB Script: Need help to spot what's wrong

    I have been trying to find out why the outer foreach loop in the following OMB script (log follows) doesn't go to the next iteration. It just exits after getting the lineage for the first target table (i.e., stderr has nothing). Same behavior against different modules. I am too new to Tcl to know what debugging tool is at my disposal. Any help will be appreciated:
    set OMBLOG c:/temp/Lineage.tcl.log
    # connect to the OWB repository
    OMBCONNECT xxx/xxx@xxx:1521:xxx USE REPOSITORY 'OWB_REP_OWN';
    # change context to the module
    OMBCC 'xxx/xxx/xxx';
    set tableList {}
    set tableList [OMBLIST TABLES '.*_FINAL']
    set i 1
    foreach tableName $tableList {
    set columnList {}
    set columnList [OMBRETRIEVE TABLE '$tableName' GET COLUMNS]
    set j 1
    foreach columnName $columnList {
    OMBLINEAGE DEPENDENCYTYPE 'DATAFLOW' TABLE '$tableName' COLUMN '$columnName';
    incr j
    incr i
    OMBDISCONNECT;
    The first few lines on the log are:
    OMBLIST TABLES '.*_FINAL'
    AE_FINAL CM_FINAL CO_FINAL DA_FINAL DM_FINAL DP_FINAL DS_FINAL DV_FINAL EG_FINAL EX_FINAL IE_FINAL LB_FINAL LS_FINAL MH_FINAL ML_FINAL PC_FINAL PE_FINAL PP_FINAL PR_FINAL QS_FINAL RELREC_FINAL RS_FINAL SC_FINAL SG_FINAL SS_FINAL SUPPAE_FINAL SUPPDS_FINAL SUPPMH_FINAL SUPPPE_FINAL SUPPQUAL_FINAL SU_FINAL VS_FINAL
    OMBRETRIEVE TABLE 'AE_FINAL' GET COLUMNS
    STUDYID DOMAIN USUBJID AESEQ AEGRPID AEREFID AESPID AETERM AEMODIFY AEDECOD AECAT AESCAT AEOCCUR AEBODSYS AELOC AESEV AESER AEACN AEACNOTH AEREL AERELNST AEPATT AEOUT AESCAN AESCONG AESDISAB AESDTH AESHOSP AESLIFE AESOD AESMIE AECONTRT AETOXGR AESTDTC AEENDTC AESTDY AEENDY AEDUR AEENRF VISITNUM VISIT OCTA_SEQ
    OMBLINEAGE DEPENDENCYTYPE 'DATAFLOW' TABLE 'AE_FINAL' COLUMN 'STUDYID'
    {{COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID} {MAPPING /xxx/xxx_C0402_DEV/AE_FINAL_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_FINAL/STUDYID}} {{ATTRIBUTE /xxx/AE_AE_PM/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{COLUMN /xxx/xxx_C0402_DEV/AE_SOURCE/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{ATTRIBUTE /xxx/AE_AE_PM/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{COLUMN /xxx/xxx_C0402_DEV/AE_SOURCE/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{ATTRIBUTE /xxx/AE_AE_PM/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{COLUMN /xxx/xxx_C0402_DEV/AE_SOURCE/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{COLUMN /xxx/xxx_DEV/AE_SOURCE/PROT} {MAPPING /xxx/xxx_DEV/AE_INTERIM_MAP} {ATTRIBUTE /xxx/AE_AE_PM/PROT}}

    I haven't looked in too much detail, but I think you are missing some brackets. You need to close brackets before you increment the loop. Try:
    foreach columnName $columnList {
    OMBLINEAGE DEPENDENCYTYPE 'DATAFLOW' TABLE '$tableName' COLUMN '$columnName';}
    incr j
    You will need to do the same thing at the other points in your script.

  • Task Scheduling Script - Need help with passing the scheduled command (variables are not being evaluated)

    Hi Everyone,
    I'm trying to get a simple task scheduler script to work for me and can't get the command I need passed to the scheduler to evaluate properly.
    Here's the script:
    ###Create a new task running $Command and execute it Daily at 6am.
    $TaskName = Read-Host 'What would you like this job to be named?'
    $Proto = Read-Host 'What is the protocol? (FTP/FTPS/SFTP)'
    $User = Read-Host 'What is the user name?'
    $Pwd = Read-Host 'What is the password?'
    $Server = Read-Host 'What is the server address?'
    $NetworkDir = Read-Host 'Please input the network location of the file(s) you wish to send. Refer to documentation for more details.'
    $RemoteDir = Read-Host 'Please input the REMOTE directory to which you will upload your files. If there is none please input a slash'
    $Command = 'winscp.com /command "option batch abort" "option confirm off" "open $Proto://$User:$Pwd@$Server" "put $NetworkDir $RemoteDir" "exit"'
    $TaskAction = New-ScheduledTaskAction -Execute "$Command"
    $TaskTrigger = New-ScheduledTaskTrigger -Daily -At 6am
    Register-ScheduledTask -Action $TaskAction -Trigger $Tasktrigger -TaskName "$TaskName" -User "Administrator" -RunLevel Highest
    Write-Host "$TaskName created to run Daily at $TaskStartTime"
    What's messing up is the $Command creation, the command needs to have the quotes around "option blah blah", but if I wrap the whole line in single quotes the variables that are evaluated for the "open blah blah" strings (which also need
    to be inside quotes) and the "put blah blah" string are not being evaluated properly.
    I've dorked about with different bracketing and quoting but can't nail the syntax down, could someone point me in the right direction? My Google-fu seems to be lacking when it comes to nailing down this issue.
    Thanks

    Hmmn, closer. I'm getting this error now:
    + $Command = $tmpl -f  $User, $Pwd, $Server, $NetworkDir, $RemoteDir
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (winscp.com /com...t {4} {5}" exit:String) [], RuntimeException
        + FullyQualifiedErrorId : FormatError
    And the command being added to the new task looks like this:
    winscp.com /command "option batch abort" "option confirm off" "open ($Proto)://($User):($Pwd)@($Server)" "put $NetworkDir $RemoteDir" "exit"
    Here's the current state of the script. I get what you're doing to try to bypass the quotes issue, using an array. I'm just not awesome at this yet sooooooo...
    $TaskName = Read-Host 'What would you like this job to be named?'
    $Proto = Read-Host 'What is the protocol? (FTP/FTPS/SFTP)'
    $User = Read-Host 'What is the user name?'
    $Pwd = Read-Host 'What is the password?'
    $Server = Read-Host 'What is the server address?'
    $NetworkDir = Read-Host 'Please input the network location of the file(s) you wish to send. Refer to documentation for more details.'
    $RemoteDir = Read-Host 'Please input the REMOTE directory to which you will upload your files. If there is none please input a slash'
    $tmpl = 'winscp.com /command "option batch abort" "option confirm off" "open {0}://{1}:{2}@{3}" "put {4} {5}" exit'
    $Command = $tmpl -f $User, $Pwd, $Server, $NetworkDir, $RemoteDir
    $TaskAction = New-ScheduledTaskAction -Execute $Command
    $TaskTrigger = New-ScheduledTaskTrigger -Daily -At 6am
    Register-ScheduledTask -Action $TaskAction -Trigger $Tasktrigger -TaskName "$TaskName" -User "Administrator" -RunLevel Highest
    Write-Host "$TaskName created to run Daily at $TaskStartTime"

  • Unable to get Linksys smart wifi to work...I NEED HELP!

    I am unable to benefit from the additional tools from Smart Wifi for EA3500. I have the the account, the password, but when I login it says you need to associate your router with your system...I've tried myrouter.local, linksyssmartwifi, enter the password and still i get your need to associate your router with your account.  NOT sure what I am doing but all I know is after 8+months of trying various things to get this to work I about to remove it and go back to just a standard router without wireless account garbage that everyone seems to have trouble connecting. My system is fairly new Lenovo only had it maybe 5 months using windows 8.1.  Any help will be most appreciated!  Please give step by step instructions, please don't assume I know computers/routers/networking because if i did i wouldn't have these problems... :-)  Pretend I am 10yrs and you have to be specific and detailed about what,where,how,etc., regarding getting smart wifi tools to work.... No offense to 10 year olds...

    Homegrown619 wrote:
    I am unable to benefit from the additional tools from Smart Wifi for EA3500. I have the the account, the password, but when I login it says you need to associate your router with your system...I've tried myrouter.local, linksyssmartwifi, enter the password and still i get your need to associate your router with your account.  NOT sure what I am doing but all I know is after 8+months of trying various things to get this to work I about to remove it and go back to just a standard router without wireless account garbage that everyone seems to have trouble connecting. My system is fairly new Lenovo only had it maybe 5 months using windows 8.1.  Any help will be most appreciated!  Please give step by step instructions, please don't assume I know computers/routers/networking because if i did i wouldn't have these problems... :-)  Pretend I am 10yrs and you have to be specific and detailed about what,where,how,etc., regarding getting smart wifi tools to work.... No offense to 10 year olds...
    Any progress on this? 

Maybe you are looking for

  • How do I install Lion on a 2nd (SSD) hard drive?

    I installed and formatted a 128 GB solid-state drive (SSD) on my Mac Pro. (My Mac Pro has four drives: a hard drive with Lion, a hard drive with Leopard for a legacy app, a hard drive for Time Machine, and the new SSD.) I went to the app store to dow

  • How do I know it's working?

    Hello there, Trying to do a NetInstall. Basic info of what I can see at the moment: Server Admin- NetBoot has a gray circle next to it and says that NetBook Service is: Not available. NFS is Green Light, DHCP is Red. Nothing listed in Logs or Clients

  • Multiple Systems

    Hello, I'm going to be purchasing an educational copy of Adobe CS5.5 Design Premium in a week or two, but I have a question about the licensing I would like clearing up first. It is my understanding that i'd be able to use the software on two compute

  • What is procedure to make application server for existing server

    Hello Friends, What is procedure to make application server for existing server due to server load and no. of user.. Thanks in advance. Regards, Sachin

  • Edge Shipping Label, same as General Return Label?

    I upgraded my phone via Edge, and in the box with my new phone I was told to send back my old phone with a return label provided, however, it was not included. I called to have another one sent, however, only instructions were sent, not a label. I th