Count selected files, insert appropriate number within filename?

Hi all. Appreciate any help you can provide. I need a script that you can run on a selection of files within a folder and insert the appropriate number of the file, inside the file after the photo ID number.
For example I have a group of photos that are like...
C00013_Filename
C00013_Filename 2
C00013_Filename 3
I would like to select these files and have the script count the number of files from the top down and then insert the correct 2-digit count number after underscore. For example...
C0001301Filename
C0001302Filename 2
C0001303Filename 3
It might even be useful to have the script ask where to start the count, for example if I already have several C00013 images number in a folder the script would ask if I wanted to start the numbering with 3, 4, 5, etc... (since the folder of files may already contain sequentially numbered files).
Thanks in advance!

This should do what you want for up to 99 files at a time:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #FFDDFF;
overflow: auto;">
tell application "Finder"
set fileList to selection
if (length of fileList) is greater than 99 then
display dialog "Select fewer than 100 files" with icon stop
else
set fileNumber to (text returned of (display dialog "Start numbering files at" default answer "1" with icon caution)) as integer
repeat with theFile in fileList
set numberText to fileNumber as text
if length of numberText is 1 then
set numberText to "0" & numberText
end if
set oldName to name of theFile
set newName to (text 1 thru 7 of oldName) & numberText & "_" & (text 8 thru end of oldName)
set name of theFile to newName
set fileNumber to fileNumber + 1
end repeat
end if
end tell </pre>

Similar Messages

  • Error when inserting into dynamically created filename-file

    Howry
    Am am receiving the following error when i am trying to insert into a file that have a dynamic filename (through declared variable, as date etc.).
    I presume it is trying to look for the target file with the same name as the dynamic value passed through by the variable, but cannot find it- can anyone tell me how i can rather create the file as appose to insert into an already created file..?
    Your help in this regard is much appreciated.
    Here is the error:
    ODI-1217: Session SAPO_hlr_suburbs (1577001) fails with return code 7000.
    ODI-1226: Step 6_Ins_final fails after 1 attempt(s).
    ODI-1240: Flow 6_Ins_final fails while performing a Integration operation. This flow loads target table #l_date.unl.
    ODI-1228: Task 6_Ins_final (Integration) fails on the target FILE connection SAPO_HLR_SUBURBS.
    Caused By: java.sql.SQLException: File C:\Files\Gero work\ODI In Files\SAPO_HLR_SUBURBS/2012-01-24 12:06:13.463.unl was not found
         at com.sunopsis.jdbc.driver.file.FileConnection.prepareForWriting(FileConnection.java:339)
         at com.sunopsis.jdbc.driver.file.impl.commands.CommandInsert.execute(CommandInsert.java:50)
         at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
         at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeUpdate(FilePreparedStatement.java:138)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:68)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)

    What operating system are you using?
    The name of your file has the time within it , you cant have a filename with ':' in it on Windows.
    Try using ALPHANUMERIC datatype for the variable and pull the current datetime as a char with something like :
    select to_char( sysdate ,'YYYY-MM_DD HHMISS') from dual

  • How can I insert a number of photos in a numbers doc without the file becoming too large?

    How can I insert a number of photos into a numbers doc without the file becoming too large?

    Use smaller photos.
    Seriously, reduce the file size of the photos in Preview, PhotoShop, iPhoto or other application before inserting tehem into the Numbers document.
    Regards,
    Barry

  • Different row count for select versus insert in XML query

    Hi,
    I encounter a situation where a SELECT * returns a different rows count than an INSERT INTO... (SELECT *) by xmltable join. This makes no sense at all!!!
    In breif, I tried to convert xml data into traditional relational tables. I wrote an xml query to select data from xmltable... I checked row count. When I used "create table as select" that was the same query above, I got correct row count. However when I used "insert into select" that was the same query above, I got the wrong info in the table I just inserted.
    Does any one have any idea what caused this issue? Thanks for your help.

    DUPLICATE post
    count of rows in a schema tables

  • How to auto insert a number array with size of 20 into a named excel file with the positon is from A1 TO A20?i use lv6.1

    can you give me a example vi for it ?thanks a lot!
    how to auto insert a number array with size of 20 into a named excel file  with the positon is from A1 TO A20?i use lv6.1

    You don't need us to give you an example, as the example already comes with LV. Go to Help>>Find Examples and search for "excel". You will find an example called "write table to XL". You should note that the example doesn't do that exactly, because it writes a 2D array from 2 to N.
    You can modify the example by using only one for loop (instead of nested loops) with a 1D array or by going into the Set Cell Value and modifying it to accept a second cell value for the Cell2 terminal and wiring in a 1D array instead of the single string. If you do modify it, be sure to save it under a different name, so you don't overwrite the original.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Applescript to open various files and add info from filename to the file

    Hi guys,
    first time using this forum...
    and first time trying to do a script for apple...
    I figured out how to do simple things... like open files and stuff to text files...  but don't know where to begin:
    I have a directory datalogs...
    within the directory i have multiple text files that have the following format:
    dataXXYYY_Waf2_7_19_11.csv
    dataXXYYY_Waf3_7_19_13.csv
    dataXXYYY_Waf25_7_19_16.csv
    typically 25 files, but sometimes less
    I would like to be able to take each file within the datalogs folder ...
    Scan the file name and look for the number afer Waf
    The number can be anywhere from (single digit) 1 to 25
    I would like to take that value after Waf  and then append a line in the txt file
    the line I would have to add will be 5 rows down and it shoulld say:
    wafer,1 
    the 1 above is the value that was in the file name....
    i.e.
    for the file
    dataXXYYY_Waf25_7_19_16.csv
    before append the file contains random data ... i.e.
    dummyline1
    dummyline2
    dummyline3
    dummyline4
    dummyline5
    dummyline6
    Then after the script...
    the file will be saved with same name:
    dataXXYYY_Waf25_7_19_16.csv
    and the data should look like:
    dummyline1
    dummyline2
    dummyline3
    dummyline4
    wafer,25
    dummyline5
    dummyline6
    any help will be appreciated
    -thanks

    Copy your source folder - named 'datalogs' to your home directory and run this script by copying into a new AppleScript Editor document and pressing Run. 
    I think I've followed your specification, and there will be other ways to do this, but ask if you have questions.  (I have put comments in the code which should explain some of it!)
    There is no error checking, but I have made copies of the original files in the source directory.  (You can comment out the line "duplicate theFile" by prefixing with "--" when you are sure it's working.
    As always, ensure your data is backed-up before proceeding.
    --starts here
    --sets path to datalogs folder
    set theDirectory to (path to home folder as text) & "datalogs"
    set fileNames to {}
    tell application "Finder"
      --gets all the files in the source directory
              set fileList to files of folder theDirectory
      --iterates through the files
              repeat with theFile in fileList
      --makes a duplicate
      duplicate theFile
      --puts the fileName and fileLocation into records in a list of lists
                        set end of fileNames to {fileName:name of theFile, fileLoc:theFile as alias}
              end repeat
      --iterates thru the files
              repeat with theFile in fileNames
      --gets offset of the string "Waf"
                        set WafOffset to offset of "Waf" in (fileName of theFile)
      --trims the name so that it now starts with the character after "Waf"
                        set fileName to text (WafOffset + 3) thru end of fileName of theFile
      --gets offset of the next underscore
                        set UScoreOffset to offset of "_" in fileName
      --stores the desired number by trimming off the end of the file name
                        set fileNumber to text 1 thru (UScoreOffset - 1) of fileName
      --sets up the text to insert by prefixing with "Wafer," and suffixing with return
                        set insertText to "Wafer," & fileNumber & character id 10
      --opens the file with write permission
                        set FileRef to open for access (fileLoc of theFile) with write permission
      --initialise container
                        set fileContents to ""
      --puts first five lines into container
                        repeat 5 times
                                  set fileContents to fileContents & (read FileRef until character id 10)
                        end repeat
      --adds the new text to the container
                        set fileContents to fileContents & insertText
      --adds the rest of the file to the container
                        set fileContents to fileContents & (read FileRef)
      --effectively empties the file
      set eof FileRef to 0
      --writes contents of the container to the file
      write fileContents to FileRef
      --closes the file
      close access FileRef
              end repeat
    end tell
    --ends here

  • Why is my page count always 1 (regardless of number of pages)?

    I just created a new Numbers document. It has 3 pages.
    In the footer I display (page number) of (page count).
    I would expect to see "1 of 3", "2 of 3", "3 of 3".
    What I get is "1 of 1", "2 of 1", "3 of 1".
    What do I have to do to get the page count to count the number of pages?
    Thanks

    Hello. I was searching the boards today, because I was having this same issue.  I couldn't figure out why when I chose Insert, Page Count in the footer, it was always coming up "1" - Yet, Insert, Page Number would be correct.  This is what I would get in footer:
    Page 1 of 1, Page 2 of 1, Page 3 of 1, Page 4 of 1, etc.  Should have been: Page 1 of 5, etc.
    Not finding a "fix" here besides starting troubleshooting with creating a test User Account (which is okay), I decided to do some more troubleshooting first, and I discovered something.
    I found my fix.  I don't know if it's what was happening for you, but this fixed it for me.
    Insert the Page Count from the Menu in the footer.  Make sure the Inspector is open.  Go to the Sheet Section.  In the middle is a Page Options section.  For me, the "continue from previous sheet" was checked.  Instead, I checked the second option "Start at" and chose "1."  That worked for me.
    I started this spreadsheet from a csv document, but I tried starting one from a blank template and "continue..." was also selected.  Seems like it's the default?
    Hope this helps someone else who is having this issue.
    Have a great day!

  • Inserting current pathname and filename into Pages documents?????

    Pages help explicitly says you can put "filenames" and "pathnames" into formatted text fields just as you can put in page numbers and the date. It does NOT tell you how to do this!!! What do I type so that my current pathname appears in pages? Or the current filename of my document?? I am trying to create a template so that filename, pathname, date, and number of pages always appears in the header.

    Well, it is possible to automatically insert the document's filename into the header as I routinely do it in (dare I say) Microsoft Word and Microsoft Excel. I write many documents long and short. For each of them I start with the same template, one that includes the filename and the date "last saved" in the header.
    Those who have an ironclad hierarchy where every file is unambiguously filed into one folder might easily be able to retrieve every file. For me, it is very useful to know the filename of the document I am searching for (as it is on my hardcopy) and to know that it is "sept-mon-rpt-final" and not "sept-mon-rpt-mikes-edits". As my example suggests, the greatest utility of this is for version control.
    I do not want to type my filename into every draft document, I want them to insert themselves in the header in the same manner that Pages inserts the current date. This information, filename and pathname, is in the Mac system. Indeed, there is a reference to it in the Pages documentation.
    In Pages'08 Help - the page titled: "Working with Document Parts" under "using Headers and Footers" it says, "Add headers and footers to give your documents page-by-page identity by showing the date and time, page number, or filename and pathname."
    When you click on the link that says "Using Headers and Footers" you are taken to that page, where it says, "you can put your own text or graphics in a header or footer, and you can use formatted text fields. Formatted text fields allow you to insert text that is automatically updated. For example, inserting the date field shows the current date whenever you open the document. Similarly, page number fields keep track of page numbers as you add or delete pages."
    After this you hit a dead end.

  • Counting zip files issue

    I have an issue in a applescript project counting zip files that are dopped-on. For instance, if I select a zip and a pdf and drop it, my count only says 1. If I select two zip files, same thing, just counts as one. Does this have something to do with the "flattened" structure?
    here is a simple script to repro:
    on open someItems
              set itemCount to (count of someItems) -- the number of items to process
              display dialog "Item Count - " & (itemCount as string)
    end open
    any thoughts? stil researching.

    yes. strange indeed. I tried on a dfferent mac (also 10.8.3) and it works fine... hm. reboot time. ... still odd.

  • File Adapter - special character in Filename

    Hi,
    i have a question concerning file adapter.
    Scenario: we are polling files via file sender adapter (FTP).
    Problem: if the filename contains a special character, an error is thrown with 'The System cannot find the file specified'
    Scope: Special character in filename (not in payload)
    Installed: XI 3.0 SP 19 on Linux
    Questions:
    - what FTP implementation does XI use?
    - What do i have to check/upgrade to unicode?
    - is it an OS problem or an Java problem or a XI problem?
    - or is it not possible copiing files with special characters in filename?
    Thank you very much in advance.
    Michael

    Hi Michael,
    The file/FTP adapter supports both passive and active FTP data connection. You can select the data connection while configuring the adapter.
    The file/FTP adapter follows specification RFC 959. The specification can be found on the Internet under  www.ietf.org/rfc/rfc0959.txt.
    For FAQs about the file/FTP adapter, see SAP Note 821267. Please note that you'll need an account to log in on service.sap.com.
    Question: How are you specifiying the file name? i.e. Are you using placeholders, like ?, *, *.txt, etc ?
    If there's a problem with the filenames, then it should be a problem in the JAVA implementation of the adapter I assume. So you could for instance build your own adapter extension to by-pass that problem.
    Just for your information; I haven't encounter a problem with filenames in other projects.
    Good luck!

  • Creating a PDF-File from a report within a service

    Hello,
    I have to create PDF-Files from a report within a windows service.
    My source is as follows (quick and dirty) using Microsoft Report Viewer 2012
    Imports Microsoft.Reporting.WinForms
    Dim reportViewer1 As New Microsoft.Reporting.WinForms.ReportViewer()
    Dim objRDLC As New Microsoft.Reporting.WinForms.LocalReport()
    reportViewer1.LocalReport.ReportEmbeddedResource = "MyApplication.MyReport.rdlc"
    Dim deviceInfo As String = "<DeviceInfo>" & _
    "<OutputFormat>PDF</OutputFormat>" & _
    "<PageWidth>21cm</PageWidth>" & _
    "<PageHeight>29.7cm</PageHeight>" & _
    "<MarginTop>0.7cm</MarginTop>" & _
    "<MarginLeft>0.7cm</MarginLeft>" & _
    "<MarginRight>0cm</MarginRight>" & _
    "<MarginBottom>0cm</MarginBottom>" & _
    "</DeviceInfo>"
    objRDLC.DataSources.Clear()
    'Fill Report with data
    reportViewer1.LocalReport.DataSources.Clear()
    reportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("dsInfo", dt))
    reportViewer1.RefreshReport()
    'Output Report as File
    Dim byteViewer As Byte() = reportViewer1.LocalReport.Render("PDF", deviceInfo)
    Dim newFile As New FileStream("MyFileName", FileMode.Create)
    newFile.Write(byteViewer, 0, byteViewer.Length)
    newFile.Close()
    'Clean up
    newFile.Dispose()
    objRDLC.DataSources.Clear()
    objRDLC.Dispose()
    reportViewer1.Dispose()
    In most cases everything works fine.
    But the service crashes after some/many reports (e.g. after 270 reports or after 1.400 reports). There is no fix number of reports that causes the service to crash.
    The service crashes with the following error:
    System.ComponentModel.Win32Exception (0x80004005): Fehler beim Erstellen des Fensterhandles.
       bei System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
       bei System.Windows.Forms.Control.CreateHandle()
       bei System.Windows.Forms.Control.get_Handle()
       bei System.Windows.Forms.Control.PointToScreen(Point p)
       bei System.Windows.Forms.ToolStripItem.TranslatePoint(Point fromPoint, ToolStripPointType fromPointType, ToolStripPointType toPointType)
       bei System.Windows.Forms.ToolStripDropDownItem.DropDownDirectionToDropDownBounds(ToolStripDropDownDirection dropDownDirection, Rectangle dropDownBounds)
       bei System.Windows.Forms.ToolStripDropDownItem.GetDropDownBounds(ToolStripDropDownDirection dropDownDirection)
       bei System.Windows.Forms.ToolStripDropDownItem.get_DropDownLocation()
       bei System.Windows.Forms.ToolStripDropDown.GetDropDownBounds(Rectangle suggestedBounds)
       bei System.Windows.Forms.ToolStripDropDown.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.set_Size(Size value)
       bei System.Windows.Forms.ToolStripDropDown.AdjustSize()
       bei System.Windows.Forms.ToolStripOverflow.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.ResumeLayout()
       bei System.Windows.Forms.ToolStrip.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.TextBoxBase.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
       bei System.Windows.Forms.ToolStripControlHost.OnBoundsChanged()
       bei System.Windows.Forms.ToolStripItem.SetBounds(Rectangle bounds)
       bei System.Windows.Forms.ToolStripItem.set_Width(Int32 value)
       bei Microsoft.Reporting.WinForms.ReportToolBar..ctor()
       bei Microsoft.Reporting.WinForms.ReportViewer.InitializeComponent()
       bei Microsoft.Reporting.WinForms.ReportViewer..ctor()
       bei DC5Warteschlange.clsReportTools.Druck(DataTable dt, String Reportname, String ReportDataset, String Drucker, String Format, String Datei)
       bei DC5Warteschlange.clsInfoQueue.Snotiz(String[] CallIDs, String Speicherort)
       bei DC5Warteschlange.Imail.InformationMailSenden(Int32 AID, DataTable& tmpDT)
    Thank you very much....
    Gernot

    Unfortunately, it is not a piece of code that I can send. The SQL would be embedded inside Oracle Reports tool, and you would have the option to save the output of the report in PDF format.
    Once you have the Oracle Report developed, you can execute it from command line prompt and save the output to a pdf file. In your case, the cursor would be embedded inside Oracle Report
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • How to insert a number using ADO or OLEDB by oracle provider

    I create a talbe .
    Create Table A
    (id number(7));
    I use ADO to access the table a;
    _ConnectionPtr pConn=NULL;
    pConn.CreateInstance(__uuidof(Connection));
    _RecordsetPtr pRst=NULL;
    pRst.CreateInstance(__uuidof(Recordset));
    pConn->Provider="OraOLEDB.Oracle.1";
    try
         pConn->Open("","ISVISION","ISVISION",NULL);
         pRst->CursorLocation=adUseClient;
         pRst->Open("A",pConn.GetInterfacePtr(),adOpenStatic,adLockOptimistic,adCmdTable);
         pRst->AddNew();
         pRst->Fields->Item[0L]->Value=100L;
    //It raise a exception,why?
    //If I convert the datetype of "ID" to CHAR(7)
    //and pRst->Fields->Item[0L]->Value=L"100",it is ok.
         pRst->Update();
         pRst->Close();
         pConn->Close();
    catch (_com_error& e)
         MessageBox(e.Description(),"error",MB_OK|MB_ICONWARNING);
         return ;
    if (pConn)
    pConn.Release();
    if (pRst)
    pRst.Release();
    I create a table A。
    create table A
         ID number(7)
    Now ,I use OLE DB to access the table A;
    struct CIsA
         CIsA()
              memset(this, 0, sizeof(*this));
    public:
         DB_NUMERIC m_ID;
         BEGIN_COLUMN_MAP(CIsA)
              COLUMN_ENTRY_PS(1, 7, 0, m_ID)
         END_COLUMN_MAP()
    DEFINE_COMMAND(CIsA, _T("SELECT ID FROM A"))
    CDataSource DataSource;
    HRESULT hrt=DataSource.Open(_T("OraOLEDB.Oracle.1"),NULL,_T("ISVISION"),_T("ISVISION"));
    CSession Session;
    hrt=Session.Open(DataSource);
    CDBPropSet propset(DBPROPSET_ROWSET);
    propset.AddProperty(DBPROP_IRowsetChange, true);
    propset.AddProperty(DBPROP_UPDATABILITY,
         DBPROPVAL_UP_INSERT | DBPROPVAL_UP_CHANGE | DBPROPVAL_UP_DELETE);
    CCommand<CAccessor<CIsA> > Command;
    Command.Open(Session,NULL,&propset);
    tcscpy((TCHAR*)Command.mID.val,_T("1245"));
    Command.m_ID.sign=1;
    hrt=Command.Insert();//It is wrong,why?
    Command.Close();
    Session.Close();
    DataSource.Close();
    In Fact,the two problems is the same. The key of problem is how to insert a number into oracle.
    help me! thank you.

    hi
    create a table something like this.
    create table image(
    Image_Id number(5),
    Image    blob);create a form with the same table and use the following code.
    when-button-pressed trigger.
    read_image_file('c:\image_name.jpg' , 'jpg' , 'image.image');if its correct/helpful please mark it thanks.
    sarah

  • Error message: "Unable to prepare the selected file for editing"

    There is another similar post. <br /><br />I have imported a bunch of Nikon NEF raw files into Lightroom. I can work them without any problem, but when I right-click the image to edit it further in Photoshop CS3. I get this message:<br /><br />i "Lightroom was unable to prepare the selected file <filename.NEF> for editing. It will not be opened."<br /><br />Photoshop has no trouble opening these NEF files by itself, but Lightroom can't hand it them off. Anyone know why this is? Nothing I can find in the help file or elsewhere here.<br /><br />Stan

    Sean, if they are off-line, would any of this Xmp stuff make any difference? Don't they need to be brought On-lie to edit? And where would the Xmp's go with them off-line?
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core, Pentax *ist D
    http://donricklin.blogspot.com/

  • How do I select a field and between selected rows insert auto-incremented numbers?

    I have a spreadsheet in Numbers '09 and I want to number the rows so that I can sort by the original order after I've already sorted by different items. In Excel this is fairly easy, but how do you do this in Numbers? How do I select a series of rows in a column and tell it to automatically insert numbers incremented from one to the total number of rows?
    Thanks,
    Philip

    Hi Philip,
    As an alternative to the method Yvan pointed out, you could use a formula.
    (NOTE: This takes longer to write than to do.
    (CAUTION: Make sure you use Copy/Paste Values to replace the formulas with the calculated numbers before sorting.))
    Choose a column in which to place the numbers.
    In the first non-header cell in the column enter the formula:
       =ROW()
    Select the whole column by clicking its column reference tab.
    Then use command-click to deselect the header cells above the one where you placed the formula.
    With the cell containing the formula and all of the column below it selected, go:
       Insert (menu) > Fill > Fill Down
    The formula will be filled into the rest of the column and the numbers calculated.
    With the cells still selected, COPY, then go Edit > Paste Values.
    This replaces the 'live' formulas with the numbers themselves, and prevents the numbers being recalculated when the rows are sorted.
    Regards,
    Barry

  • Full Path of selected File

    Hi together,
    in our programming project we are facing a problem with
    handling of files.
    Due to the security it is not possible to handle local files
    via flash.
    This is what I figured out by searching via google.
    But is it possible to get just the full path of a user
    selected file?
    Scenario
    The flash file we are using is embedded in a local stand
    alone application,
    i.e. it is not on the server and also not embedded in html,
    php, jsp, ...
    User clicks on a button. A pop-up window displays the
    directory structure.
    User can navigate to a directory within local drive and
    select a file.
    Currently we only get the file name like process.pdf
    But we also want to have the full path like
    C:\Documents\Project1\process.pdf
    So we only need this full-path string. We don't want to do
    anything with the selected file with flash
    How is this possible, to get full file path with flash by
    using flex 3?
    Thanks a lot
    K.K.

    "KalemKutu" <[email protected]> wrote in
    message
    news:gig89e$f1v$[email protected]..
    > Hi together,
    >
    > in our programming project we are facing a problem with
    handling of files.
    > Due to the security it is not possible to handle local
    files via flash.
    > This is what I figured out by searching via google.
    >
    > But is it possible to get just the full path of a user
    selected file?
    >
    >
    Scenario
    > The flash file we are using is embedded in a local stand
    alone
    > application,
    > i.e. it is not on the server and also not embedded in
    html, php, jsp, ...
    >
    > User clicks on a button. A pop-up window displays the
    directory structure.
    > User can navigate to a directory within local drive and
    select a file.
    >
    > Currently we only get the file name like process.pdf
    > But we also want to have the full path like
    > C:\Documents\Project1\process.pdf
    >
    > So we only need this full-path string. We don't want to
    do anything with
    > the
    > selected file with flash
    >
    > How is this possible, to get full file path with flash
    by using flex 3?
    Sounds like you need to be using AIR

Maybe you are looking for

  • Which should I choose: Parallels or Fusion?

    The title pretty much says it all. I need  to do some work on windows; which of the programs is the easiest to use? - Michael D. PS: I am running 10.6.7

  • SPRY Tabbed Panels Twist [literally]

    Here's my question_ I've got the new TabbedPanels Widget running pretty good_ I took and migrated the default to the vertical alignment - so everything is running down the left side of the interface_ I currently have about 10 different tabs with cont

  • Error in packaged application Document Library: for the apex team ?

    Dear team-members, I've installed this application. Looks nice, my compliments. I can make new announcements: it seems possible to underline, or make bullets and so on, but the "format" don't appear in the result: no bullets, no underlining, just ord

  • Suppress the zeros in quantity filed

    Hi friends, in smart forms i need to suppress the zeros in the quantity field. instead of 2.00 EA it should be 2 EA. it should happen only for EA unit of measure. regards, Saravan Raj

  • Any way to upgrade my flash player without installing mcAfee

    any way to upgrade my flash player without installing mcAfee ? I dont want any kind of antiv. programs on my pc. I only want to upgrade my player