File name used by plug-in for saving the image file.
I have a program that creates a web page that has an object tag with a call to a program and that program delivers a PDF file. When my users want to save that image the name of the image is a random name. Is there any way to make the plug-in, Adobe, use the meta tag Title or any other infromation that my program can provide, as image (file) name to be used for saving the image. (the initial suggested name)? I really appreciate your help.
One option is to rename the file after it's been exported using Windows File I/O API.
Similar Messages
-
After I've changed the file name/format in Finder Aperture can't load/relink to the referenced file anymore. For some reasons I don't like to reimport the file.
As you told, the command "Locate Referenced File" doesn't work, if the filename doen't match exactly. And the filenames should keep their new names.
"Locate Referenced File" will be able to reconnect one file at a time, if you direct Aperture to the matching file in the Loate Referenced File dialog, but it will not be able to recognise the other matching referenced files and to reconnect them all at once with the "Reconnect All" button.
It will be a lot of work to reconnect the one by one. Usually it is much easier to rename the original master files using Metadata > Batch change in Aperture than to try to do that in the Finder. -
ITunes shortens file names. Is it possible to keep the complete file names?
Hello community, this is my first entry. Please consider this, if my expressions aren't clear enough. Would be great to find a solution. I use an external USB 3.0 hard drive formatted as HFS+ (under Windows 8 I use MacDrive Pro to have full read/write access) on my MacBook Pro Retina, which hold all my music files. As long as I import and manage my iTune media files under the Mac OS X version of iTunes everything is fine. But when I boot Windows 8 under Bootcamp - I need this native Window environment for my job - and import regular Audio CDs into iTunes for Windows it cuts all my file names of new imported files. The tags are complete, but the file names aren't. Is there a way to change this behaviour of iTunes for Windows? Perhaps a registry entry or something like this. I look forward for your help. Best
Note from other posts:
The content and format of the cache will and do change from version to version of javaws. It is highly unadvisable to build into you application relying on the location or format.
That being said, for 1.4.2 or 1.5.0, the location was as given: "C:\Documents and Settings\<UserID>\Application Data\Sun\Java\Deployment\cache\javaws", and in long path below that depending on the URL of the resource.
For version 6, the cache is in : "C:\Documents and Settings\<UserID>\Application Data\Sun\Java\Deployment\cache\6.0" and then in a directory below that named "0" thry "63", depending on the hash of the URL of the resource. The name will be completely obscure, there will be one binary index file with "idx" extension, and then the actual resource will be the file of the same name w/o any extension.
/Andy -
Use MDM java Api for saving an image to mdm image table
Hi experts
I want to save an image from web dynpro java to MDM image table using java Api's
Can anyone provide a code snippet .
I am using MDM 7.1 sp6.
Thanks and regards
SureshHello Suresh
Unfortunatly, this is no possible, i mean, to load images to mdm repository through JAVA API.
Sure you can do it directly to database ( but for that you need to do saome investigation)
Here you can found JAVA API classes for MDM:
http://help.sap.com/javadocs/MDM71/
Next two classes are working with BLOBs (pdf, images, video, etc.) in MDM repository:
com.sap.mdm.blobs
com.sap.mdm.blobs.commands
Regards
Kanstantsin chernichenka
Edited by: kanstantsin_ch on Sep 8, 2011 2:36 PM -
ITUNES - Are there disadvantages to using different Apple IDs for inistalling the .app?
ITUNES - Are there disadvantages to using different Apple IDs for inistalling the .app file not overwrite the previous one at itunes?
In my opinion it is best to use one Apple ID on your computer and iPad. Using multiple IDs causes confusion.
I also suggest that each person with their own iOS device have their own unique Apple ID. On the computer create different accounts for each user so that iTunes on each account can be associated with the correct Apple ID. -
I recently upgraded to a new Macbook Air running Lion, from my 2007 white Macbook running Snow Leopard. I had Office for Mac 2004 on the 2007, but had to upgrade to Office for Mac 2011 to be compatible with Lion on the Air. Now when I try to open my documents on the Air that were saved under Office 2004 on the old computer, I get the following message: Word cannot open this document. The document might be in use, the document might not be a valid Word document, or the file name might contain invalid characters (for example,\ /).
Any suggestions? Thank you.Ha,ha,ha.....I figured it out. But for anyone else who's having this problem, it seems that while Office 2004 allowed dates in this format: 00/00/00, Office 2011 doesn't like it at all. I just changed the format in the document names to 00-00-00 and all is well. Documents are opening beautifully!
-
Location/directory used by JRE, for saving the temporary Internet files
Hello sir,
I am working on a project( in JavaFX ) which takes the URL of a streaming FLV video( eg: http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_11810873001_09c01923-00.flv ) as input and plays it in Media Player component.
I have successfully played the streaming video, by taking the aid of sample project, Media Box( http://javafx.com/samples/MediaBox/ ).
Now I am interested in knowing the location/directory, where these temporary Internet files will be downloaded to. Please let me know, the location/directory used by JRE( on both Windows and Linux ) for saving the temporary Internet files. Also let me know, if there is any possibility of changing that location/directory.
Thanks for any help, in advance.
Edited by: prabhakar9885 on Aug 22, 2010 2:29 AMYou should avoid posting the same message multiple times...
By definition, streaming is supposed to play the received movie data on the fly, without intermediary file. Now, it depends on implementation, if that's real streaming, etc., so in practice there might be a temp file, or not.
But this temp location will be, obviously, highly dependent on the current system (even between WinXP and Win7, for example). You can find the answer experimentally, eg. on Windows by using Sysinternals' Process Monitor application (did that to find out where Storage files go), but it is brittle.
I doubt there is (an official) way to know that from within the JavaFX application... -
DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
Hi
DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
Two main
sections:
1)
Perform
write and read operations to and fro different spread sheet files, such that
each file have a single row of 32bits different binary data (analogous to 1D
array) where the left most bit is the MSB. I don’t want to manually enter the
32 bits binary data, I want the data written or read just by opening a file
name saves with the intended data.
2)
And
by using test patterns implemented using the digital pattern generator or build digital data functions or otherwise, I need to
ensure that the
binary data written to a spreadsheet file or any supported file type
then through the NI-USB 6509 is same as the data read.
I’m aware I can’t use the simulated
device to read data written to any port but if the write part of the vi works I
‘m sure the read part will work on the physical device which I’ll buy later.
My Plan
of action
I’ve
created a basic write/read file task and a write/read DAQ task for NI USB 6509
and both combine in a while loop to form a progress VI which I’m confuse of how
to proceed with the implementation.
My
greatest problem is to link both together with the correct functions or operators
such that there are no syntax/execution errors and thus achieve my intended
result.
This
project is one of my many assignments for my master thesis, so please i’ll
appreciate every help as I’m not really efficient with LabVIEW programming but
I prefer it because is fun and interesting if I get to know it.
Currently I’m
practicing with LabVIEW 8.6/NI DAQmx 8.8 Demo versions and NI USB 6509
simulated device.
Please see
the attached file for my novice progress, thanks in
advance for the support
Rgds
Paul
Attachments:
DIO_write_read DAQ from file.vi 17 KBWhat does your file look like? The DAQmx write is expecting a single U32 value, not an array of I64.
Message Edited by vt92 on 09-16-2009 02:42 PM
"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal -
I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been damaged. To create a PDF document, go to the source application then print the document to .pdf" I am going to the source application and printing the document to .pdf yet it's saving the file as a .log file. After reinstalling the software, I initially didn't encounter this problem but on my second and third attempts to convert files to .pdf format, this error message reappeared. How do I resolve this problem?
I have a similar problem which i did not have before...and it exists only in some powerpoint files which i want to print as a pdf file...and i get the same message as above.
the log says the bellow details...what's the problem and how can i resolve it? thanks.
%%[ ProductName: Distiller ]%%
%%[Page: 1]%%
%%[Page: 2]%%
Cambria not found, using Courier.
%%[ Error: invalidfont; OffendingCommand: show ]%%
Stack:
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%% -
Selection of Folder/File name using the same Fun.Module
Please let me know if there is a function module which can fetch folder name/File name from the directory path when f4 option of selection screen field is selected. Currently I am able to get the file name using FM F4_DXFILENAME_4_DYNP but the requirment is like I have to select either folder name or the file name depending on user selection.
Note: Please let me know if there is a single Function module which can get folder name or the file name based on the user selection.i.e, if the user want to select a folder he can select or he can select files in the folder for processingHi sridhar
try this:
PARAMETER : TXT_FILE(100).
AT SELECTION-SCREEN ON VALUE-REQUEST FOR TXT_FILE.
PERFORM GETFILE.
start-of-selection.
PERFORM GETDATA.
FORM GETDATA.
DATA : FILENAME TYPE STRING.
FILENAME = TXT_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = FILENAME
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = IT_UPLOAD
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
FORM GETFILE.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = ' '
DEF_PATH = '.'
MASK = ' '
MODE = ' '
TITLE = ' '
IMPORTING
FILENAME = TXT_FILE
RC =
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
<b>This is a part of my BDC program its working for me u try n reply if it works for u.</b>
regards
vijay -
FM for getting the logical file name
Hi,
is there any FM for getting the logical file name.
Thanks
VikranthHi,
CONSTANTS: c_mask TYPE char9 VALUE ',.,..'.
Pick up the file path from the application server
FORM f1001_browse_appl_file .
DATA: lcl_directory TYPE char128.
lcl_directory = p_direct.
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = lcl_directory
filemask = c_mask
IMPORTING
serverfile = p_f2 " Parameter File
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e000(zmm) WITH text-039.
flg_app = 'X'.
ENDIF.
Then use OPEN DATASET for data reading
Hope this Helps.
Manish
Message was edited by:
Manish Kumar -
How to rename the SharePoint Document Library existing file name using Web service
Hi,
How to rename the SharePoint Document Library existing file name using SharePoint Web service.
Is it possible. How could i do it?
Thanks & Regards
Poomani SankaranHi,
Lists.UpdateListItems Method
would be helpful for your requirement.
Here is a blog with code demo for your reference:
http://blogs.msdn.com/b/knowledgecast/archive/2009/05/20/moss-using-the-list-web-service-to-rename-a-file.aspx
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
How to find the File name using the FTP Adapter
hi all,
how to find the File name using the FTP Adapter with BPEL.
RegardsFound the solution for this.
First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
Thanks for the posts -
How to get file name using File adapter Sync read
Hi All,
I am using SOA 10.1.3.3 and JDEV 10.1.3.3.
I have an async bpel process.
I have to read file name in this process... so i have used file adapter sync read operation.
How can we get the file name with out payload using sync read.
For normal read (Inbound Spec)we have UseHeaders="true" property.
Is there any property for sync read to read the file name.
Please help me
Regards
PavanKumar.M
Edited by: [email protected] on Oct 27, 2009 11:23 PMHi Eric,
The info in the link provided by you is for a normal read.
I need to read he file name using Sync read operation.
Regards
PavanKumar.M -
Problems getting just the file name using an upload component
Hi everyone, I'm using an upload component on my page and I need to get just the name of the image/file in order to store it in a database, I used the code of the tutorial and It works fine on mozilla but the problem comes when I use Internet Explorer because I get the whole path of the image/file and not just the name of it. I believe the browser is the cause of the problem, I already checked the http://jakarta.apache.org/commons/fileupload/, but I don't understand how to use anything, and not even the code of the tutorial works eventhough it is specified in comments:
// some browsers return complete path name, some don't
// make sure we only have the file name
String justFileName = uploadedFileName.substring
( uploadedFileName.lastIndexOf(File.separatorChar) + 1 );If anybody could helpme solve this problem I'd appreciate it so much
Regards
Yes
Message was edited by:
YeseniaLet's walk through the code...
File.separatorChar is the system-dependent default hame-separator charac tor. This field is initialized to contain the first character of the system property file.separator. On UNIX systems, the value of this field is '/'; on Microsoft Windows systems it is '\\'.
String justFileName =
// get the substring of uploadedFileName
// that starts after the last separator (\ or /)
uploadedFileName.substring
uploadedFileName.lastIndexOf(File.separatorChar) + 1
You say that this statement is returning the complete path name, for example:
C:\Documents and Settings\All
Users\Documentos\Mis im��genes\Im��genes de
muestra\Puesta de sol.jpgSo, we can make an assumption that the File.separatorChar must not be \, or else the statement would return Puesta de sol.jpg.
We know that it works for you on Solaris/Mozilla.
We also know that Misha has tested the statement in IE and it works for him.
(And I know that this tutorial was tested by a software engineer and a quality engineer, and it worked for both of them, as well as the tutorial author and a peer).
So, what is different here??????
Can you print out File.separatorChar and see if it is '\\' (I think the first \ is an escape char, that is \\ (escape-escape) is the equivalent of \ (backslash)) or '\'?
When you run it on another machine, how are you deploying it on the other machine? Is it deployed to Solaris and running on Windows?
Have you tested to see if it works on a Windows machine using Mozilla?
Thanks in advance for any light you can shed on the problem.
Maybe you are looking for
-
OS 9 Capture Card disappears in OS X
I recently reformatted my hard drive and reinstalled the original software (9.2.2 & 10.1) so that I could continue to use my Aurora Igniter capture card once I'm back up to 10.4.11. Problem is, the card works perfectly in 9.2.2, but is nowhere to be
-
I have download a song from X factor how do I set it as a ring tone
I have downloaded a song from X factor how do I use it as a ring tone
-
Editing a previously published content item results in no workflow applied
Hi, We have developed numerous workflows, which are configured as default from New menu configurations. We are seeing two issues: 1) Copying an existing content item, the assigned workflow to the New menu is not applied. This is apparently by design
-
Help with a key that popped off!
Hi! I was wondering if someone could help me. My dog jumped up on my lap and ripped my apple key off. How do you get these back in?? It is the apple key to the left of the space bar. Thanks!
-
Agilent 34980A simulation using IVI-drivers in Teststand?
Hello! I am unable to simulate 34980A in TestStand and here are some results based on testing: Agilent 34980A is linked to logical name SampleDmm. Simulate With: Specific Driver. IviStepTypes.seq used with only DMM and Switch steps. Using IviDMM IVI-