Prompt For Document Title as well as file name
Is there script or setting which requires the entry of document title as well as file name upon the saving a document? I understand that I can open document properties prior to saving, but I would prefer to enter the save command and be prompted to enter a doucment's title as well it file name. Thanks.
You can use the Prefix field to include things like "Dr.", and this will appear on the label.
I do not see any automatic way to include Job Title, but if you don't have too many to print you can do a kluge by putting the job title in the first line of the addres, then return, then the real first line. This will print nicely. But is work putting it in.
Similar Messages
-
Using windows. In the past I was able to have the picutres sorted in files and by file name and that is how they showed in the phone or pad. Not long ago one of the itune updates changed so it sorted by date and the the another update changed so it went by file name. Well when I got a new computer and updated itunes it won't load pictures in correct order. Is there an option I'm missing or is this an option that Apple should have for how you want pictures sorted?
SELECT datapoint,
sub_total,
section
FROM report_table
WHERE datapoint IN
(SELECT datapoint
FROM report_table
WHERE section IN ('027', '038', '042', '044', '006', '008', '011', '022', '023')
AND report_name = :selected_report_name
GROUP BY datapoint
HAVING SUM(CASE WHEN section IN ('027', '038', '042', '0440') THEN 1 ELSE 0 END)
<> SUM(CASE WHEN section IN ('008', '011', '022', '023') THEN 1 ELSE 0 END))
ORDER BY datapoint; -
5.5 Issue, no longer saves Project Title, no longer uses file name
I often work in mammoth multi-slide projects and then break them into more reasonable chunks later on, deleting extra slides and saving with a differnt file name. In Captivate 4.0 this automatically updated the Project Title in the Publish Dialog. In 5.5 it retains the old name, even after saving or publishing it. This can lead to over-writing the original project.
In recent days I've discovered a truly bizzare workaround, completely by accident. A colleague was doing some QC and saved slides with completely new names. Although the Project Title wrongly retained the original file name, when I changed it to publish the slide, and then immediately used "Save As..." to save it with the same file name as the Project Title I just published, it finally retained the new name---in other words the Project Title I just published was still there after I closed then opened the file. If I Save As... before publishing it displays the frustrating broken behaviour, and when I tried it on some other files I had renamed it didn't work either... it seems as if the magic is available only on the first Save As... after renaming.
Anyone else seen this? Any better workaround? Can we expect a fix? When?
Thanks.yes i've seen that before. I had a prototype of a project and as it progressed beyond a prototype I started saving and publishing with a new name. But when I publish now it retains the name I used for the prototype, even tho I've published it several times with the new name. Always defaults back to the first name I used. You're not alone in your frustration.
I'll try to test it a little tomorrow to see if your workaround works for me. -
Grep for a particular entry in the file name
Dear all,
I have a folder with following list of files with names like
amg-9876544-M37421-3000282.PDF
amg-9876544-M37408-3000457.PDF
amg-9876544-M37488-3000260.PDF
amg-9876544-M37481-3300063.PDF
amg-9876544-M37454-3000675.PDF
amg-9876544-M37543-3000672.PDF
amg-9876544-M37541-3363000.PDF
amg-9876544-M37528-3000381.PDF
amg-9876544-M37524-3000432.PDF
amg-9876544-M37506-3000352.PDF
amg-9876544-M37500-3021100.PDF
amg-9876544-M37585-3850050.PDF
amg-9876544-M37577-3005105.PDF
amg-9876544-M37565-3000502.PDF
amg-9876544-M37611-3300527.PDF
amg-9876544-M37610-3300150.PDF
amg-9876544-M37607-3300259.PDF
I want to list all the files that has the entry with 33..for ex..file with name amg-9876544-M37607-3300259.PDF after the -.
If I give ls -rlt | grep *33* it lists all the file with entry 33 anywhere in it.I want to grep for files with 33 after that "-" in the file name..
Please suggest
KaiIf the only "-33" is the one you are interested in:
ls -rtl | grep -e -33The "-e" prevents grep(1), et. al., from thinking that "-33" is a command line
switch.
Cheers -
A script for adding the current date to file name?
I am working in Indesign CS3. I frequently save file as PDFs into a designated folder. I was hoping for help in writing a script that would apply the current date to the end of the file name, when saved into this folder. Some days, I save the same file several times, into this folder. I was also hoping there was a way to add a date and version, for example "filename_2.25.11(1).pdf" Is this possible? Can someone help me?
ok, I ended up with this test routine:
on adding folder items to this_folder after receiving added_items
tell application "Finder"
repeat with this in added_items
my checkifopened(this)
display dialog (name of this) as text
end repeat
end tell
end adding folder items to
on checkifopened(this)
set a to POSIX path of (this as alias)
repeat until 1 = 0
## don't like that one because it relies on an error msg ... so
(** try
set b to do shell script "lsof | grep " & quoted form of a
on error
exit repeat
end try**)
##so I use this one
set b to do shell script "lsof"
if b does not contain a then
exit repeat
else
say "still opened"
end if
end repeat
end checkifopened
this is a folder action that tests if the added file is still opened by an application... there is no delay between each test-loop since lsof takes some time to execute...
And after adding a timeout (just in case) to this function the final script looks like this:
on adding folder items to thefolder after receiving added_items
tell application "Finder"
set folderkind to kind of thefolder
set myfiles to every item of thefolder whose name does not contain "#" and kind is not folderkind
repeat with myfile in myfiles
set myfile_datestring to my get_datestring(creation date of myfile)
set myfilename to name of myfile
if (count of every character of myfilename) > 4 and (character -4 of myfilename) as text is "." then
set filestatus to my checkifopened(myfile, 60)
if filestatus = false then
display dialog "timeout on folder action"
else
set tmp to ((characters 1 through -5 of myfilename) & "#" & myfile_datestring & (characters -4 through -1 of myfilename)) as text
set myfilename to my checknamewith_pdfsuffix(tmp, thefolder, false)
set name of myfile to myfilename
end if
end if
end repeat
end tell
end adding folder items to
on get_datestring(mydate)
return year of mydate & "-" & (characters -2 through -1 of (("0" & (month of mydate as integer)) as text)) & "-" & (characters -2 through -1 of (("0" & (day of mydate as integer)) as text)) as text
end get_datestring
on checknamewith_pdfsuffix(n, D, looped)
--check if filename exists in D
-- so if "A File.pdf" exists it names it "A File 1.pdf","A File 2.pdf",...
#n = string of the filename
#D = file reference to the directory to check
#looped = boolean used for recursive loop...
tell application "Finder"
set thefiles to name of every item of (D as alias)
end tell
if thefiles contains n then
if looped = false then
set n to ((characters 1 through -5 of n) & "(1)" & (characters -4 through -1 of n)) as text
my checknamewith_pdfsuffix(n, D, true)
else
set tmp to (last word of ((characters 1 through -5 of n) as text) as integer)
set tmpcount to (count of characters of (tmp as text)) + 5
set tmp to tmp + 1
set n to ((characters 1 through (-1 * tmpcount) of n) & "(" & tmp & ")" & (characters -4 through -1 of n)) as text
my checknamewith_pdfsuffix(n, D, true)
end if
else
return n
end if
end checknamewith_pdfsuffix
on checkifopened(this, mytimeout)
## this file reference
## timeout in seconds
set a to POSIX path of (this as alias)
set startdate to current date
repeat until 1 = 0
## don't like that one because it relies on an error msg ... so
(** try
set b to do shell script "lsof | grep " & quoted form of a
on error
exit repeat
end try**)
##so I use this one
set b to do shell script "lsof"
if b does not contain a then
return true
else if ((current date) - startdate) > mytimeout then
return false
else
##say "still opened"
end if
end repeat
end checkifopened
to use this save this script in /Library/Scripts/Folder Action Scripts
and add this as a folder action to your folder...
The script processes all files inside that folder each time a new files is added... -
Upload document does not have correct file name
I have a procedure that uploads the file in the table with BLOB. We have a DAD entry on our application server as
<Location /pls/excess_admin_qa>
SetHandler pls_handler
Order allow,deny
Allow from All
AllowOverride None
PlsqlDatabaseConnectString 10.125.1.129:1521:sidq02 SIDFormat
PlsqlAuthenticationMode Basic
PlsqlDefaultPage eeq_main
PlsqlDocumentTablename eeq_documents
PlsqlDocumentProcedure eeq_attach_download
# PlsqlAlwaysDescribeProcedure Off
</Location>
and I have another table in my application to connect the table to other ID's.
It used ot work before, but noe it does not work. The file name should have prefix unique id like "F909307841/Blue hills.jpg", instead I get only C:/temp?Bluehills.jpg.
The table structure is
EEQ_DOCUMENTS
NAME VARCHAR2(128 BYTE),
MIME_TYPE VARCHAR2(128 BYTE),
DOC_SIZE NUMBER,
DAD_CHARSET VARCHAR2(128 BYTE),
LAST_UPDATED DATE,
CONTENT_TYPE VARCHAR2(128 BYTE),
CONTENT LONG RAW,
BLOB_CONTENT BLOB
What could have cause this?yshah wrote:
It used ot work before, but noe it does not work. The file name should have prefix unique id like "F909307841/Blue hills.jpg", instead I get only C:/temp?Bluehills.jpg.
What could have cause this?What browser is being used?
For security/privacy reasons recent versions of browsers by default do not send local file path information from File Browse items to the server, nor expose the file path in the control's JavaScript methods. IE6 & IE7 still yield the path in Windows format. IE8+ adopted an irritating approach of replacing the path with a wholly imaginary "C:\fakepath\"—and this monstrosity has sadly had to be enshrined in the HTML5 spec so we're now saddled with this everywhere...
Changing IE's security config setting "Include local directory path when uploading files" enables the path to be exposed, which appears to be the most likely explanation for this.
For more information see:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-March/018980.html
http://blogs.msdn.com/ie/archive/2009/03/20/rtm-platform-changes.aspx
http://developers.whatwg.org/number-state.html#file-upload-state -
Scanning a document but only offer in file names are image options
I am trying to scan a document but my only options in the file names are image file names (.jpeg, bitmat etc...) I tried running the HP fix I found in another forum answer, downloaded and ran it, ran a test scan and saw all sorts of options including pdf. My test scan ran great, and my document scanned in as a .pdf. I then tried to scan again but again my only options were as an image file names. I restarted my PC but still the same issue. I am running windows XP.
In the print dialog of Acrobat choose 'Form fields only'.
-
Numbers repeatedly prompts for document password on every change
When working with a password protected numbers speadsheet stored in iCloud, Numbers suddenly started repeatedly requesting the document's password everytime a change is made to the document. This constant password prompting renders Numbers unusable.
I've intentionally not allowed Keychain to store the documents password for privacy reasons.
I'm using 10.9 on a Mac Mini with Numbers 3.0.1.
Please advise,
Regards,
ZephyrYes it ceases to ask to the password every time a change is made, but that sort of defeats the purpose of protecting the document.
It also seems now that when you select a cell for input, Numbers only takes a single keystroke at a time, as if you hit "1" then hit "enter". Numbers won't allow multiple keystrokes when editing a cell.
I suspect this may have somthing to do with the way iCloud keeps files in Sync. This wasn't an issue until today - worked beautifully until now.
Any advice is greatly appreciated.
Regards,
Zephyr -
Linked content using RH project name for topic title instead of FM file/heading name
Anyone seen this before? (and, yes, for anyone who is interested, the epub of my book should be available once I get this solved)
-Matt
PS: the htm filename is fine, it's just the topic title that's odd.
Message was edited by: mattrsullivanI'm pretty sure that was in reference to setting Topic Title markers...not something I want to do in a 700 page book!
More info: The book processes and validates a clean EPUB if I omit the index, and throws 300+ errors when I include the index.
Via Notepad++. the index shows <section name=(the project name)>, so I imagine it's taking offense at the eleventy-six files with the exact same topic identifier.
Anyone seen this before??
-Matt -
Saving documents via Scripts: Get current file name and set save path/file type
I am writing a script that will:
-Make all layers invisible
-Make a layer named "background" visible
-Delete all the invisible layers
-Save the docment as an EPS file (leaving the original document untouched)
I am new to scripts and so have based my script by copying code from other scripts.
Here is my code:
var doc = app.activeDocument;
var name = doc.name;
var hide = function (){ // hide all layers (based on http://forums.adobe.com/thread/644267)
var L=doc.layers.length;
for (j=0;j<L;j++){ doc.layers[j].visible=false; }
hide();
// loop through all layers
for (var i = 0; i < doc.layers.length; i++) {
// Create the illusrtratorSaveOptions object to set the AI options
var saveOpts = new IllustratorSaveOptions();
// Setting IllustratorSaveOptions properties.
saveOpts.embedLinkedFiles = true;
saveOpts.fontSubsetThreshold = 0.0
saveOpts.pdfCompatible = true
//Set up Variable to access layer name
var currentLayer = app.activeDocument.layers[i];
// Loop through the layers and make the back ground layer visible
if (currentLayer.name == "Background") {
docName = name + currentLayer.name+".eps";
currentLayer.visible = true;
// Delete Invisible Layers (based on http://www.cartotalk.com/index.php?showtopic=7491)
var myDoc=app.activeDocument;
var layerCount=myDoc.layers.length;
for (var ii = layerCount - 1; ii >= 0; ii--) {
var currentLayer = myDoc.layers[ii];
currentLayer.locked = false;
var subCount = currentLayer.layers.length;
for (var ss =subCount -1; ss >= 0; ss--){
var subLayer = currentLayer.layers[ss];
subLayer.locked = false;
if (subLayer.visible == false){
subLayer.visible = true;
subLayer.remove();
if (currentLayer.visible == false){
currentLayer.visible = true;
currentLayer.remove();
// Save Out Document with New Name
var saveName = new File ( doc.path + "/" + docName );
doc.saveAs( saveName, saveOpts );
Everything works fine except:
1) It saves the document with the name AdobeIllustratorBackground as opposed to the name of the document
Also, I am not sure how to tell the script to save as EPS and to specify the save location.
Could some one give me some pointers? Thanks!Thanks! I changed my code to this:
var title = doc.name;
var title = title.substring(0, title.length - 3);
And it now works! (The substring thing removes the .ai extenion).
However, how do I get it to save it as an EPS? (I found this script that saves as PNG, but I am not sure how to adapt it to EPS).
Also, how do I set the file output path?
Thanks for any help that can be offered. -
I use Firefox for work, and one of the intranet pages I use has Word and Excel documents with commas in the file name. When I click on the link to download the file, the download pane flashes open, then closes and the document I am trying to download does nothing.
Try a right-click on the link to the file and use Save Link As... and rename that file to get rid of the comma - like make it a blank space or change the comma to a hyphen.
-
Process multiple files prompts for "save" at every image
Hi, I am trying to use Elements 10 to convert Panasonic RAW files to JPEGs for web use. The batch runs, but prompts for a "save" location at every file. I have reinstalled Elements, reinstalled the Camera RAW update, and have ensured I have ownership of source and destination folders (in Windows 7).
I have tried several folders, set up test folders etc. and nothing seems to work. Does anyone know what I am doing wrong? Its been ayear or so since I did this, but it used to work. TIA.Try selecting all thumbnails in camera raw (left hand thumbnail strip) then click the open image button (bottom right) to open them in PSE Editor. When the images appear in the project bin use:
File >> Process Multiple Files
Use the source dropdown for Opened files
Choose a separate folder for destination
Then set your jpeg quality/size. -
Two issues I think.
One is how a file is specified to print to.
Second is how directories with spaces are allowed, and the detail for allowing spaces in directory or file names.
This is an XP operating system from Windows.
Firefox is the browser.Two issues I think.
One is how a file is specified to print to.
Second is how directories with spaces are allowed, and the detail for allowing spaces in directory or file names.
This is an XP operating system from Windows.
Firefox is the browser. -
Show file name as the title for a photo in Photos app
If my memory is correct in iPhoto when you hovered the cursor over a photo it displayed the title assigned to the photo, but if you had not assigned a title it showed the file name. In Photos app the only way I have found to see the file name is in the info panel. Other wise it only shows untitled when you hover over the photo. You can copy/paste in the info pane but thats a pain if you have hundreds of pics with no title. I only named a few in iPhoto as I preferred to see the file name assigned by the camera. Any one know if it's possible to see file name and not untitled?
See this discussion: Re: Where are photo file names?
Photos does show the filenames only in the Info panel, and if you wrote the filename into the title field as a title, Photos will suppress it. in some cases -
How to set "Title" as "File Name" in iPhoto 5?
iPhoto lets you batch rename the title for your photo library of a given roll. So if you have say "Vacation" you can set title to all the photos in there as Vacation -1 , Vacation -2 etc. etc. But, this is just the title for iphoto database. The actual filename will still be as IMG_xxx.jpg (or whatever is default in your digital camera).
Is there a way to set the Title as File name ?? I already have 1000+ photos iphoto and title is all set as my Roll Name - xx . But it will be great to have file names set as the title too.
I think I can batch rename in Image Capture before downloading the files, but then I have to again import those in iPhoto , so its two step process and inconvenient.
So, does anyone know how to set File name as Title ( you can only do other way around in iPhoto, I think) ? Any script available which can read iPhoto title and set the file name as Title? Thanks.
20 iMac G5 2GHz Mac OS X (10.4.1) Canon S2 ISHi kothrush,
You must rename in the Finder first, before importing into iPhoto.
You cannot do it after importing into iPhoto. Well, you can. You can share export the renamed images to the desktop. Delete the ones in iPhoto, then import the renamed ones back into iPhoto. That's a lot more steps.
Whatever you do, you cannot rename any images in the Finder that are already in the iPhoto Library or iPhoto will lose the link to the images.
Two Apple kbs for you to read
Don't tamper with files in the iPhoto library folder
About the iPhoto Library folder
Lori
Maybe you are looking for
-
Can you use sage on a mac?
Can you use sage accounting software on a MAC?
-
How can you see what data usage was for on the bill? It only shows the date and usage but not the reason for the usage.
-
Trackpad - select and drag of email address in Mail
Looks like the normal select and drag behaves differently in mac mail when you are using the email addresses on the CC and To lines ... In Mac Mail, When I did a reply-all to an email, it placed the person the email was sent to originally in the CC a
-
G4 going to Japan Power Converter Needed?
I am sending a Digital G4 ome to Japan for my exchange student and need to know if power supply will recognize the 100 volt 5o Hz or will I need an adapter. I porbably already know the answer to this one but just wanted to confirm it. Thanks
-
Postscript generated with incorrect orientation
I am trying to print a booklet to a postscript file from InDesign. The booklet is letter-half and 8 pages (5 spreads) with all pages on a portrait orientation. For printer I select Postscript which greys out the ability to pick paper size or orientat