Fix variable text (File Name) when importing INDD into INDD

More of a fix request than a new feature:
Simply put, the variable text (File Name) shows the file extension when the document is imported into another INDD regardless of the variable text specifications in the originating document. This is unexpected and undesired.
Please see problem description in this thread: http://forums.adobe.com/thread/489492?tstart=0

Seconded. Currently, I don't use this variable in this way, but I can envisage future scenarios where it would be a problem.
And it seems a strange thing to miss out on ... (why would an INDD file behave different?)

Similar Messages

  • Preventing file extensions being added to variable text (File Name)-

    …when one imports one INDD file (v5 or 6) into another. We have the variable text specifications set to exclude file extensions. The .indd does not publish in the originating document.
    We use INDD import and the text variable "File Name" quite a lot.
    TIA-
    -Todd

    I think he's saying that when you open an ID doc, the filename variabe inside can be set to report just the name, but when you import that same doc into another ID doc, the filename variable shows the ".indd" extension.
    EDIT: Yes, that is (stupidly) how it seems to work. No idea how to fix it though. Suspect Adobe has to issue an update.

  • Topic title overwritten with file name when importing html-file

    I have a problem in RH8. When I import a html-file that has a topic title that is different to the file name, RH somehow overwrites the topic title with the file name. The html-files that I need to import into my help project DO have a topic title (with the html tag 'Title') so this is not caused by an empty og non-existing title tag.
    I have searched the forum and found that this was also an issue in RoboHelp 6 and by then fixed in a service pack. I have long ago installed the two service packs to RH8, but I can see in the 'read me' for the service packs, that this has not been dealed with.
    I also have RH 7 installed on my pc, and the problem does not occur in a RH 7 help project.
    Best Regards

    Yes, I am sure I am not mixing up Topic Title and Topic Heading.
    The files are generated in a Access database created by our own developers. We have used this database for generating html-files for our RH-projects for years without any problems.
    Below I have copied the HTML code from one of theese files (with the file name '10001.htm') before importing it into RH8:
    <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
    <html>
    <head>
    <title>
    Agreement
    </title>
    <LINK rel='StyleSheet' href='default.css'>
    </head>
    <body>
    <h1>
    Agreement
    </h1><p>
    An agreement is a written obligation between a project and a contracting party regarding the
    participation in the project, delivery to the project, or transfer of the project&#39;s products
    and services. Please see Vejledning: Aftaler og aftaleparter.
    </p>
    </body>
    </html>
    And after importing it to RH8:
    <?xml version="1.0" encoding="utf-8" ?>
    <!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" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>10001</title>
    <link rel="StyleSheet" href="default.css" type="text/css" />
    </head>
    <body>
    <h1>Agreement</h1>
    <p>An agreement is a written obligation between a project and a contracting
    party regarding the participation in the project, delivery to the project,
    or transfer of the project's products and services. Please see Vejledning:
    Aftaler og aftaleparter.</p>
    </body>
    </html>

  • Identifying text file names and importing on single Excel sheet

    Hey!
    Does anybody can help me with Excel VBA macro code in order to import data from text files into single Excel spread sheet? I want to create User Form where user can select start and end date of interest and macro code will import
    bunch of text files depending on user demands...
    My text files are named: 20130619004948DataLog.txt (meaning: yyyy mm dd hh mm ss). Text file contains recordings for each 15 seconds... It would be great to omit time tail (meaning that user can only specify date). Text files for one day of interest (I have
    text files covering whole year):
    20130619004948DataLog.txt
    20130619014948DataLog.txt
    20130619024948DataLog.txt
    20130619034948DataLog.txt
    20130619044948DataLog.txt
    20130619054948DataLog.txt
    20130619064948DataLog.txt
    20130619074948DataLog.txt
    20130619084948DataLog.txt
    20130619094948DataLog.txt
    20130619104948DataLog.txt
    20130619114948DataLog.txt
    20130619124948DataLog.txt
    20130619134948DataLog.txt
    20130619144948DataLog.txt
    20130619154948DataLog.txt
    20130619164948DataLog.txt
    20130619174948DataLog.txt
    20130619184948DataLog.txt
    20130619194948DataLog.txt
    20130619204948DataLog.txt
    20130619214948DataLog.txt
    20130619224948DataLog.txt
    20130619234948DataLog.txt
    Option Explicit
    Sub SearchFiles()
    Dim file As Variant
    Dim x As Integer
    Dim myWB As Workbook
    Dim WB As Workbook
    Dim newWS As Worksheet
    Dim L As Long, t As Long, i As Long
    Dim StartDateL As String
    Dim EndDateL As String
    Dim bool As Boolean
    bool = False ' to check if other versions are present
    StartDateL = Format(Calendar1, "yyyymmdd")
    EndDateL = Format(Calendar2, "yyyymmdd")
    ' I am using Userform asking user to select the date and time range of interet,
    ' However, I want to use only the date to filter the files having the name with that particular date
    file = Dir("c:\myfolder\") ' folder with all text files
    ' I need assistance with the following part:
    '1) How to filter and select the files between StartDateL and EndDateL_
    '(including files with that dates as well)?
    While (file <> "")
    If InStr(file, StartDateL) > 0 Then 'Not sure if the statements inside parenthesis is correct
    bool = True
    GoTo Line1:
    End If
    file = Dir
    Wend
    Line1:
    If Not bool Then
    file = "c:\myfolder\20130115033100DataLog.txt" 'Just for a test that the code works as intended
    End If
    'This part for the selected text files to be loaded on a single Excel Sheet.
    Set myWB = ThisWorkbook
    Set newWS = Sheets(1)
    L = myWB.Sheets(1).Cells(Rows.Count, "A").End(xlUp).Row
    t = 1
    For x = 1 To UBound(file)
    Workbooks.OpenText Filename:=file(x), DataType:=xlDelimited, Tab:=True, Semicolon:=True, Space:=False, Comma:=False
    Set WB = ActiveWorkbook
    WB.Sheets(1).UsedRange.Copy newWS.Cells(t, 2)
    t = myWB.Sheets(1).Cells(Rows.Count, "B").End(xlUp).Row + 1
    WB.Close False
    Next
    myWB.Sheets(1).Columns(1).Delete
    Application.ScreenUpdating = False
    Rows("1:1").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
    End Sub

    - Make a new Excel file
    - Open the VBA editor
    - Add a Userform
    - Place 2 text boxes and 1 command button on that form
    - Paste all code below into the code module of the form
    - Download this file:
    https://dl.dropboxusercontent.com/u/35239054/FileSearch.cls
    - In the VBA editor press CTRL-M and import that file
    - Save the Excel file in the directory that contain your text files
    - Run the form
    You can format the columns of the sheet as you like, e.g. column E:H should be a number with 5 decimal places. The top row can contain some headings. My code did not affect the formatting or the headings.
    Andreas.
    Option Explicit
    Private Sub UserForm_Initialize()
    'Just a sample
    Me.TextBox1.Value = FormatDateTime(Now, vbGeneralDate)
    Me.TextBox2.Value = FormatDateTime(Now, vbShortDate)
    End Sub
    Private Sub CommandButton1_Click()
    Dim StartDate As Date, EndDate As Date
    Dim FS As New FileSearch
    Dim R As Range
    Dim ThisFile As Variant
    Dim ThisDate As Date
    Dim Data As Variant
    Dim Count As Long
    'Be sure we have 2 dates
    If Not IsDate(Me.TextBox1.Value) Then
    Me.TextBox1.SetFocus
    MsgBox "No start date"
    Exit Sub
    End If
    If Not IsDate(Me.TextBox2.Value) Then
    Me.TextBox2.SetFocus
    MsgBox "No end date"
    Exit Sub
    End If
    'Convert to real dates
    StartDate = CDate(Me.TextBox1.Value)
    EndDate = CDate(Me.TextBox2.Value)
    'Time part given?
    If Fix(EndDate) = EndDate Then
    'No include all files for this day
    EndDate = EndDate + TimeSerial(23, 59, 59)
    End If
    'Correct order?
    If StartDate > EndDate Then
    ThisDate = EndDate
    EndDate = StartDate
    StartDate = ThisDate
    End If
    With FS
    'Same path as our file
    .LookIn = ThisWorkbook.Path
    .FileName = "*DataLog.txt"
    'Search all files sort by file name
    If .Execute(msoSortByFileName, msoSortOrderAscending) = 0 Then
    MsgBox "No data files found in " & .LookIn
    Exit Sub
    End If
    'Clear previous data
    Set R = Range("A2").CurrentRegion
    If R.Row < 2 Then Set R = R.Offset(1)
    R.ClearContents
    'Show the user that we are working
    Application.Cursor = xlWait
    DoEvents
    For Each ThisFile In .FoundFiles
    'Get the date from the file name
    ThisDate = Filename2Date(ThisFile)
    'Between our dates?
    If (ThisDate >= StartDate) And (ThisDate <= EndDate) Then
    'Import at the end of the data
    Set R = Range("A" & Rows.Count).End(xlUp).Offset(1)
    Data = ReadCSV(ThisFile)
    R.Resize(UBound(Data) + 1, UBound(Data, 2) + 1) = Data
    Count = Count + 1
    End If
    Next
    End With
    'Done
    Application.Cursor = xlDefault
    If Count = 0 Then
    MsgBox "No files match your dates"
    Else
    MsgBox Count & " files imported"
    'Hide the form
    Me.Hide
    End If
    End Sub
    Private Function Filename2Date(ByVal Fullname As String) As Date
    'Convert e.g "C:\20130601142648DataLog.txt" to the date "01.06.2013 14:26:48"
    Dim i As Long, j As Long
    i = InStrRev(Fullname, "\")
    If i > 0 Then Fullname = Mid(Fullname, i + 1)
    Fullname = JustNumbers(Fullname)
    If Len(Fullname) <> 14 Then Exit Function
    Filename2Date = _
    DateSerial(Mid(Fullname, 1, 4), Mid(Fullname, 5, 2), Mid(Fullname, 7, 2)) + _
    TimeSerial(Mid(Fullname, 9, 2), Mid(Fullname, 11, 2), Mid(Fullname, 13, 2))
    End Function
    Private Function JustNumbers(ByVal What As String) As String
    'Return only numbers from What (by Rick Rothstein)
    Dim i As Long, j As Long, Digit As String
    For i = 1 To Len(What)
    Digit = Mid$(What, i, 1)
    If Digit Like "#" Then
    j = j + 1
    Mid$(What, j, 1) = Digit
    End If
    Next
    JustNumbers = Left$(What, j)
    End Function
    Private Function ReadCSV(ByVal Fullname As String) As Variant
    'Read a CSV file into an array
    Const LDelim = vbCrLf 'Line delimiter
    Const FDelim = ";" 'Field delimiter
    Dim hFile As Integer
    Dim Buffer As String
    Dim Lines, Line, Data
    Dim i As Long, j As Long
    'Be sure the file exists
    If Dir(Fullname) = "" Then Exit Function
    'Open and read all data
    hFile = FreeFile
    Open Fullname For Binary Access Read As #hFile
    Buffer = Space(LOF(hFile))
    Get #hFile, , Buffer
    Close #hFile
    'Split into lines
    Lines = Split(Buffer, LDelim)
    'Split the first line and prepare the output
    'Note: I assume that all lines have the same number of fields
    Line = Split(Lines(0), FDelim)
    ReDim Data(0 To UBound(Lines), 0 To UBound(Line))
    For i = 0 To UBound(Lines)
    Line = Split(Lines(i), FDelim)
    For j = 0 To UBound(Line)
    'Parse the fields
    If IsDate(Line(j)) Then
    Data(i, j) = CDate(Line(j))
    ElseIf IsNumeric(Line(j)) Then
    Data(i, j) = CDbl(Line(j))
    Else
    Data(i, j) = Line(j)
    End If
    Next
    Next
    ReadCSV = Data
    End Function

  • Incorrect file name when importing pictures from camera

    I am using PE 10 on Mac Snow Leopard.
    When I import pictures from my camera and select "Rename Files" with "Custom Date" + "Shot Date" (any format), the file name includes the custom name correctly, but the date part of the file name is some random date (with a weird year: 1913, 1969). Note the example shown on the Photo Downloader is usually the one used. The shot date in the meta data is usually correct. This appears to be similar to a problem when using the "Create Subfolder" option.
    Any ideas why or a work-around?
    I was using PE 8 and did not have this problem.

    Hi dannrendon2,
    Have you successfully run the PSE10_Hot.dmg file? You will not see any change in PSE10 or PhotoDownloader , it is just for fixing the issue of incorrect date format .
    Please follow all the steps mentioned in KB article link mentioned above. Finally when you installed the updater there would be a message of successful installation .
    If there is a failure in your updating process [In your case it is second attempt of updation, there may be a failure] , uninstall your application , check if there is any residual file in application folder under Elements Organizer or Photoshop Elements (delete them). Now again install PSE10 and try to update PSE10_HotFix.dmg updater. There should be a successfully completed message.
    Thanks,
    Nizam

  • Wrong date in file name when importing in Lightroom 5.0

    When I import files in Lightroom 5.0 and select the rename check box and use a custom template that includes the date (year, month, day) the files import with and incorrect date (not the current date).  The rest of the data in the file name from the custom template is correct.  How can I get the date correct?

    Using the date option when you rename adds the image capture date, not the current system date. I don't think there's a way to add "current date" automatically, though not sure why you'd want to. The vast majority of users who use "date" in their file names want the capture date, not import date.

  • Help in regards to file names when importing to iTunes.

    I recently bought an iPod and I'm dying to use it but at the moment, I can't due to an annoyance I have. I have all my mp3's neatly organized like this: Artist - Song Name.mp3
    The thing is, that's only the file name. I never bothered to modify their ID tags. When I play the songs in iTunes, it sometimes looks like a mess but I didn't mind since I just simply looked for the songs I wanted via the Finder. As you know, to hear tracks on the iPod, you gotta copy your playlist from iTunes so that means that all those tracks with their gibberish names get passed to the iPod. As you can imagine, this is less than convenient as I won't obviously be able to recognize the darn songs. I am further stressed due to the huge amount of songs I have and since it wasn't until recently that I switched to Mac (best decision ever...), I have a huge library of songs that were never identified on my PC. All I did was basically typed in the artist name followed by the song title.
    I browsed through some sites in hopes of finding something that would help me but I have to admit, I barely understand just what I am exactly looking for.
    I would really appreciate your help in any way possible, I'd really like to enjoy my iPod as soon as possible.

    check if this app an help you: http://www.tuneupmedia.com/index.php.
    JGG

  • Omit Photoshop file names when importing layers

    Is there a way to prevent Premiere from adding the name of the photoshop file to each layer imported? When I import a layer, it uses this format layername/filename.ext.
    Then, when I try to make a sequence from that layer, it uses the filename part of the clip name instead of the layer name. I'd like to just have the layer name in the bin.

    No...the actual filename given to the audio file eg "ultraviolet - U2 (Achtung Baby).mp3
    thanks

  • Where do RAW image file go when importing images into iPhoto?

    I've imported images from my camera card into iPhoto but I want to have access to the RAW files format. I was given the option of erasing the data from the card after import but luckily I opted to not erase because I can't seem to find the RAW images on the computer. Does iPhoto not import RAW image files? I want the RAW file format for obvious reasons.

    By default all imported photos are copied into the iPhoto library. To edit them in an external editor check the box in the iPhoto preferences to use RAW with external editors or export the photo with kind = original
    LN

  • When importing photos with iBooks Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the imported photo?

    When importing photos with the iBooks Author Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the corresponding imported photo? I have 4,800 stills to import and can't imagine it's necessary to copy and paste the description for each.

    As always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc.
    http://www.apple.com/feedback/ibooks-author.html
    As for AS, I'm not sure anyone has sniffed iBA's dictionary yet...google is you friend for hot prospects, I'm sure

  • Files Renamed when importing to LR4 and now can't find them in LR3

    Help!  What should I do???
    Yesterday I installed LR 4 Beta.  I had a folder with 300 images in it on LR 3, obviously all files had names.  I imported these photos into LR4 to work with LR4 and they were renamed in the process.  Now in my LR3 folder, all the files still have there old names and the "missing photo ?" and I assume that's because the name has been changed and LR3 can't find them.  Any thoughts on an easy fix?
    Thanks,
    Matthew Kraus

    Thanks so much for helping me with this.
    I must admit, I didn't pay too much attention when importing this "test"
    group of photos to LR4, therein lies my problem.  Now that I look at the
    import settings that were used:
    1. Files were not added or copied, they were "moved" to a new location and
    also renamed.
    2. Files were renamed starting with "264" using my regular import template.
    Listed below are the first 10 photos with their original LR3 and he
    changed LR4 names.
    1201_001 changed to 1201_264-2
    1201_002 changed to 1201_265-2
    1201_003 changed to 1201_266-2
    1201_004 changed to 1201_267-2
    1201_005-Edit-Edit changed to 1201_268-2
    1201_005-Edit changed to 1201_269-2
    1201_005-Edit changed to 1201_270-2
    1201_005-Edit-Edit-2 changed to 1201_271-2
    I have a back up of my images on an EHD from several days ago which has the
    original file names, but this backup only has 203 of the 268 images I
    imported yesterday and are renamed.
    Thanks again,
    Matthew Kraus
    2012/1/11 Dorin Nicolaescu-Musteață <[email protected]>
       Re: Files Renamed when importing to LR4 and now can't find them in LR3 created by Dorin
    Nicolaescu-Musteață <http://forums.adobe.com/people/dorin_nicolaescu> in *Photoshop
    Lightroom* - View the full discussion<http://forums.adobe.com/message/4132062#4132062>

  • Download data to Fixed Length Text File

    Can anyone share the sample code on how to download data into fixed length text file and place the file in the server directory?

    One way i would advice is to declare a text variable and move values using offset.
    Eg:
      move: <struc>-fld1 to l_text(8),
            <struc>-fld2 to l_text+8(3),
            <struc>-fld3 to l_text+11(15).
      transfer l_text to <file>.
    Try this approch and see the result.
    Kind Regards
    Eswar

  • Same file name when downloading new pics

    The prev camera I had (Sony Cyber shot/Steady Shot?)always kept dynamic file numbers/names however now have Nikon D90 and now if do search on a file number now get numerous pics under same file name as new camera restarts at same number all the time.
    Is there an easy way to deal with this. I would really not want to have to rename all files as soon as I download them. That can be over 300 pics at a time.
    Any help would be greatly appreciated! Thanks!

    When I say file name I mean the name/number that appears under the pic in iphoto.
    Yes that is the file name
    Do most people leave these numbers or change them, do you know?
    Most people leave it - some preprocess all photos and assign meaningful file names and then import
    I know you can assign words to them and then retrieve them by calling up all pics associated with that word(s).
    You can assign a title (which can optionally be used as the file name when you export photos), a description, keywords, and a rating
    Do you have any other hints for me? Do you use the Mangler software you referred to in the prev post?
    Normally I do not modify the file names - if I get photos from someone else I usually use name mangler to identify the source (which I could do with keywords but for photos that are not mine I prefer having the file name show the source) - once in a while I will change some but normally I just import directly from the camera and ignore the file name
    LN

  • Indesign CS4 "forgets" file name when saving as Postcript file.

    Like the title says Indesign CS4 "forgets" file name when saving as Postcript file.
    Example:
    I open up indesign CS4 and open up a file called "test5". Then I go to the print menu and save it as a postscript file. Once the save as dialog box comes up it wont say "test5" but it uses whatever file name I used last time I created a PDF. 
    I want indesign to recognize that when I create a postscript file that I want it to be named the same way as my file that is open at that moment. Changing the file name every time is not bad when they are called "test5" etc but here at this company we use super long file names and it's a pain to change it every time.
    Funny thing: Some machines here do it the way in the example but other machines will do it the correct way by using the same name in the save as box.
    Any suggestions on how to fix this? If something is not clear just ask!

    How about this - it's a workaround, I can't change ID or your system.
    I'm big on EXACT filenames also, case and space sensative. Do a "Save As" before printing - the file name should be correct and highlighted, ctrl+c copy, escape/cancel the Save As. Paste in the filename during the Save as Postscript File.

  • File name not importing into iPhoto

    I keep my photos on an external disk and import them from that disk into iPhoto. When I import, sometimes the file name is imported into the caption field and sometimes it does not.
    Any ideas why? I have search for others posts but can't find any. I did check the permissions of the files representing both results and the permissions are the same.

    What is displayed in the title field under the thumbnails?
    Have you tried selecting the offending photos, going to the Photos->Batch Change menu and selecting Title to File Name option?
    Click to view full size

Maybe you are looking for