Override filename in cfmail
Hello all,
Is it possible to overwrite the name of an attachment in
cfmail using a certain cfmailparam property or something? The files
are stored on disk with an unique identifier as filename, but as
soon as I would like to send them via cfmail the file should have
its original filename. I wonder if this is possible and if so how.
Thanks in advance,
Frank
Feature removed in Pages 5.
Pages '09 should still be in your Applications/iWork folder.
Trash/archive Pages 5 after Exporting any Pages 5 docs to Pages '09 files.
Then rate/review Pages 5 in the App Store.
Peter
Similar Messages
-
Changing the override file via command line arguments
Is there a way to change name of the file Coherence uses to override coherence-config.xml via a command line argument? I'd like to specify different override filenames in different environments.
I get the message that:
2006-02-13 16:53:27.699 Tangosol Coherence 3.0.1/317 <D5> (thread=main, member=n/a): Optional configuration file "/home/noah/tools/tangosol-config/tangosol-coherence-override-dev.xml" is not specified
I specified the following as the startup:
java -Dtangosol.coherence.override=/home/noah/tools/tangosol-config/tangosol-coherence-override-dev.xml -Dtangosol.coherence.log.level=5 -classpath /home/ncohen/tools/tangosol-config:/home/noah/tools/tangosol/lib/coherence.jar com.tangosol.net.CacheFactory
Where the tangosol-config directory contains my override file tangosol-coherence-override-dev.xml
If I change the name of the override file solely in the cmd prompt, it doesn't find any of them. It just gives me the optional configuration file ..... is not specified. How does one go about fixing this? Thx.
Message was edited by:
noah -
Using override feature under SpringDM server
Hello
I'm trying to use Coherence 3.4.2 under SpringDM server, but have problems with override feature.
Coherence is used as an OSGi bundle and I provide override filename via the corresponding system property. Spring DM server uses Thread Context Class Loader (TCCL) to provide dependencies to bundles, but it looks like Coherence doesn't use TCCL to find overrides file. At the same time it uses TCCL when looking for other resources (cache configs etc). I tried to de-compile coherence classes and I see that this is true - TCCL is not used when looking for overrides file.
Isn't it fixed in 3.5? If not, could you please fix this? Is there other way of using overrides under dmserver?
Thanks,
Andrew KlochkovHi Andrew,
I am not familiar with OSGi so much, so I don't know how much what I write applies to an OSGi container.
But in a J(2)EE container the problem with Thread context class loaders is that multiple threads may have different class-loaders, each with different things in the class loader.
E.g. let's look at the case where you deployed Coherence the server-classpath because you have multiple application which would want to use it sharing a single node. If you used the thread context class loader to resolve the cluster configuration (not cache or invocation services but cluster-wide stuff), you would most likely get unpredictable results, because the thread-context class loader is the J(2)EE module class loader for which it processes a request. If you initialized the cluster from the thread context class-loader, and that depends on which particular application initialized the cluster. The correct solution in this case is to use the server-wide class-loader which is the same class-loader which loaded the Coherence libraries.
If you wanted to scope cluster node configuration to a single application and have multiple cluster nodes within the JVM, then you would deploy the Coherence libraries within the application itself, and then Coherence libraries would be loaded by the application-specific class-loader and that class-loader would see your application-specific config files. But in that case you would have the overhead of multiple nodes in a single JVM.
I don't know how much that applies to an OSGi container.
Best regards,
Robert -
I am trying to setup network deployment of CS3 in our office. We are about 60 users and the longest part of setting up a new user is CS 3 Install. I want to get this automated so I can run it as a script with my netinstall.
I have read through the adobe documentaiton which seems to have all the info in it. I have gone through all the steps and have manged to get it to run the install but it alway s errors out with End Adobe Setup. Exit code: 6. After that error then I am back to square one and every time I try rerun the install I get End Adobe Setup. Exit code: 7
I have had a browse around the internet and it seem quite a common problem, but all the info I can find relates to windows installs. It seems there is not much diffrance between the windows and mac side in terms of commands to run so I have got as far as I can now.
I have noticed that when i run the install I the installer creates a folder in my /Library/Application Support/Adobe/Installers/ this folder is a seems to be a reandom genrated number and in it, it dumps a setup.app file and some subfolders. It then goes onto to create a folder called /Library/Application Support/Adobe/Installers/R1 which it seem to either move or compile the data from the first folder into.
When this is done the script errors out. I have noticed that setup.app does not show up it's icon correctly and will not run. It's like the file has erred in the copying process.
Has any one had any luck with setting this up and have any ideas on how to fix my issue.
ThanksTBH, the biggest problem you are going to face is not the initial installation but the running of all the software patches afterwards. With a disk image of the CS3 disks, install will complete in about 10-15 minutes. Upgrades OTOH may take up to an hour to complete (especially if you forget you're babysitting one) with numerous points where user intervention is required. Also, you need to run the upgrade check from within Adobe Acrobat or Acrobat won't get upgraded.
I had a long treatise on how to make a working CS3 silent install posted on here at one point, but it was apparently misplaced in the recent Forum Fiasco er, Upgrade... Luckily, I took a text clipping of it and saved it. Hopefully it is helpful...
BTW, another way to fix error code 7's... flush the contents of /Library/Applications Support/Adobe/Installers. I had a session in there that I apparently failed to delete correctly resulting in more error 7 misery.
Failing that, the only other way I have been successful in clearing inexplicable error 7's is to do an install using the GUI and then immediately uninstall, again using the GUI. Hopefully that will clear up any lingering weirdness.
And my final problem that caused the other 2-3 hours of failures? Somehow OS X had appended an invisible ".xml" to the end of my application.xml.override filename. (My own damn fault, didn't realize I hadn't disabled the damnable "hide extensions instead of deleting them" feature on this machine.)
FWIW, here's my full successful recipe (in my example I'm only installing IDCS3, btw):
# Create a folder called CS3 Install at the top level of your startup drive.
# Copy the entire "Applications" DVD into /CS3 Install/ -- it makes a folder called Adobe CS3 Design Premium with your installer goodies.
# Create a file in called /CS3 Install/install-idcs3-only.xml duplicated from the template in /CS3\ Install/Adobe\ CS3\ Design\ Premium/deployment/install.xml . Customize as necessary for your particular needs--since I only want IDCS3, I deleted everything except the Creative Suite and InDesign payloads from the list of installables in here.
# Create /CS3 Install/Adobe CS3 Design Premium/payloads/AdobeDesignSuitePremiumen_US_Volume/application.xml.override from the supplied template in the KB, normalizing all double-quotes, and inserting your serial number with no dashes.
# Make sure ALL web browsers and IM clients have been quit.
Finally, in Terminal, run:
sudo /CS3\ Install/Adobe\ CS3\ Design\ Premium/Setup.app/Contents/MacOS/Setup --mode=silent --deploymentFile="/CS3 Install/install-idcs3-only.xml"
which should exit with Error code 0 (ie, Successful install). -
CFMail breaks up attachments filename with non ASCII
Hi CF-Devs out there!
My problem is, that when attaching files via cfmailparam - no
matter if inline or not - and using a filename that contains or a
non 7bit-ASCII character or a simple space, the filename is not
displayed correctly in Outlook nor Thunderbird. I am sure that this
topic has been discussed here earlier but I really don't find any
topic when using the Forum Search function... so please help anyway
:) I am still using CFMX 6.1 :(
My code is the following:
<cfmailparam type="#variables.attachments
.getContentType()#"
file="#variables.attachments.getFilename()#"
disposition="#this.dispositionType(variables.attachments
.isInline())#"
contentID = "#variables.attachments.getCid()#">
When I revise the generated email code then I find the
following:
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename*2=nger.csv;
filename*0*=UTF-8''emailempf; filename*1*=%c3%a4
Content-ID: <DEE13419-D022-9396-C8A4DF2AAAA7C4EF>
You can see that the filename (emailempfänger.csv)
breaks up into several pieces which according to
RFC 2231 is a
valid format but obviously is not interpreted correctly by e.g.
Outlook. Or am I missing something else?
I would appreciate your help. Thanks in advance.
BuergermeisterThe filename you used does not contain any non 7bit ASCII
character. The problem only occurs if I use characters like
"ä","ö","ü" but even [space] does provoke the error.
The variables hold the following values (you can see them in
the source posted, too):
1) variables.attachments.getContentType() :
application/octet-stream
2) variables.attachments.getFilename() :
[AbsoluteFilePath]/emailempfänger.csv
3) this.dispositionType(variables.attachments.isInline()) :
attachment
4) variables.attachments.getCid():
DEE13419-D022-9396-C8A4DF2AAAA7C4EF
Cheers! -
I'm currently trying to apply a fix to the firefox browser (version 23.0.1) on over 250 computers. Setting default webpages, disabling annoying prompts like the default browser and importing bookmarks, and erasing the history on shutdown, or startup. This is very easily done modifying the pref.js file, but I will not edit that file, it's out of the question. Another FF update will erase or overwrite all of my modifications.
I run a computer lab in the university that is locked down using a Net Support School console. You don't need to look that up. Basically all websites are restricted except the ones the ones I whitelist. The websites we use have extensive API's for JS, CSS, Java, PHP, etc... We utilize technology in order for students to use graphing calculators, video's, and taking module test from these white-listed websites, like Pearson, or Aleks. Now with that said, cookies, and stored profile history become a problem, and on some day's up to 25% of the students using the computers need their entire history deleted in order for a page to load. I think I fixed this problem permanently by whitelisting backend sites importing plugins, and API's etc, that I found from the developers console. Whatever. What I've learned from all of this is that Firefox can be very customizable utilizing the "...\Mozilla Firefox\mozilla.cfg" and the "...\Mozilla Firefox\defaults\prefs\all-companyname.js" (or custom.js) The problem, is no matter what I try I can't get these to work. The closest I got was here:
http://www.intrntpirate.com/?p=615
Again, even that ^^ didn't work. I followed these directions to a "T". What is wrong with the above information provided in the link? Why is firefox making harder and harder for us to optimize it for massive deployments across a corporation and a university? I'm not going to do any fancy hacks to avoid the main issue. I need mozilla.cfg, and the all-companyname.js, and the override.ini files to work, if and only if they are still relevant.
These are what my files look like so far:
name: all-lmc.js<br />
location: C:\Program Files (x86)\Mozilla Firefox\defaults\pref\<br />
pref("general.config.filename", "mozilla.cfg");<br />
pref("browser.startup.homepage", "https://(some url)");<br />
name: override.ini<br />
location: C:\Program Files (x86)\Mozilla Firefox\<br />
[XRE]<br />
EnableProfileMigrator=false<br />
<br />
name: mozilla.cfg<br />
location: C:\Program Files (x86)\Mozilla Firefox\<br />
//<br />
lockPref("privacy.sanitize.sanitizeOnShutdown", true);<br />
lockPref("privacy.sanitize.promptOnSanitize", false);<br />
lockPref("browser.shell.checkDefaultBrowser", false);<br />
lockPref("toolkit.telemetry.enabled", false);<br />
lockPref("toolkit.telemetry.prompted", 2);<br />
lockPref("toolkit.telemetry.rejected", true);
I've tried using, and not using, the automatic mozilla configurator. I've tried changing lockPref to pref. Nothing works. Not the override.ini, not the all-lmc.js, and not the mozilla.cfg. I've wasted hours reading through blogs of experts telling us to modify files that don't exist, or beating around the bush. I'm done researching. If you have the answer or want to help me figure this out just remember to keep it simple. Please. I ultimately want to package all the config files, with a how to, in a zip folder onto our shared drive. To have FF customized and ready to deploy to different departments across campus.Thanks very much for your help, but I'm still overlooking something. I double checked to make sure that I did not have a hidden .txt file extention. I then decided to abandon the lock on preferences idea until I get it working. I converted my mozilla.cfg file back to plain text. I made sure I do not have an extra blank line at the end of each file. The syntax looks good, as far as I can tell. I'll copy and paste what I have so far. Did I have the file locations correct posted above? Also, if you feel i can delete some lines of text in my mozilla.cfg file I'll be happy to do so.
mozilla.cfg
<pre><nowiki>//
pref("privacy.sanitize.sanitizeOnShutdown", true);
pref("privacy.sanitize.promptOnSanitize", false);
pref("browser.rights.override", true);
pref(“app.update.auto”, false);
pref(“extensions.blocklist.enabled”, false);
pref(“extensions.shownselectionUI”, true);
pref(“browser.shell.checkDefaultBrowser”, false);
pref(“toolkit.telemetry.enabled”, false);
pref(“toolkit.telemetry.prompted”, 2);
pref(“toolkit.telemetry.rejected”, true);
pref(“app.update.auto”, false);
pref(“browser.download.useDownloadDir”, true);
pref(“browser.search.update”, false);
pref(“signon.autofillForms”, false);
pref(“signon.rememberSignons”, false);
pref(“browser.download.manager.scanWhenDone”, true);
pref(“browser.formfill.enable”, false);
pref(“xpinstall.enabled”, true);</nowiki></pre>
channel-prefs.js
pref("app.update.channel", "release");
override.ini
[XRE]
EnableProfileMigrator=false
all-lmc.js
pref("general.config.filename", "mozilla.cfg");
defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://bbc.co.uk");
Again, thank you very much for your time. Do I create my own browserconfig.properties, and firefox.js? Also, I forgot to mention I'm running Windows 8. -
Specify filename in OSB File Trasport Business Service
Hi All,
Is it possible to specify the complete filename in OSB File Transport Business Service?
the default behavior allows me to specify the prefix and suffix only, is it possible to override and specify the complete filename?
Thanks,
TalSpecifying the filename for outbound FTP transport in OSB the thread discusses with FTP BS and same would apply for File BS
Manoj -
Mass update to FILENAME field in S_DATASET authorization object
We are migrating to a new fileserver with a new hostname, and so I've been asked to update about 1900 instances of the S_DATASET authorization object for the new FILENAME value. I'd like to do this programmatically if possible.
What I've learned so far is that I need to update the value in table USR12, but the value is encoded. When I look at the table in SE16, I do not see the encoded value field. The value does show in UST12, but I'm told this is an unreliable table.
So I'd like to know..
1. How can I look at the value if not in SE16?
2. Is there an API I can use to encode/decode the value? If not, where is the specification on how to build it?
If this is better addressed in a different forum, which one should I try next?
Thanks,
DanHi there,
Okay I started a few tests and made a bit of progress, but am running into the problem that if I don't check the authority first using the FM and want to test what happens when the user is not authorized, then the bugger dumps (as expected and mentioned in the note)...
But the behaviour as you have described:
>
> Path Saveflag Fs_noread Fs_nowrite Fs_Brgru
> =============================================================
> * X X DUMY
> /temp/FI/.. X X DUMY
> /temp/FI X FIFI
>
... is correct, and I found something interesting in the F1 on the spth-path field which explains this.
> Caution:
> - If you enter paths generically in the table SPTH, the most precise specification counts.
> - If you select the no-read or no-write fields in the table SPTH, this overrides the authorization group.
So, the DUMY is not needed as the check does not use it in those cases, and "/temp/FI/.." is anyway more specific than "*" so the system would have used it for DUMY anyway. But that is irrelevant... because if the begru field is empty in the FM, then the check is not performed.
So, the only check which is effective to protect the path, is:
Path Saveflag Fs_noread Fs_nowrite Fs_Brgru
=============================================================
/temp/FI X FIFI
... and the "fs_noread" and "fs_nowrite" flags should be understood as "no protectable authority to read" and "no protectable authority to write" and not the activity field which the authority is being checked against. This is coming from the S_DATASET check (which is already known at that time to the function module).
Using these flags, you can leave the entries in the table without having to delete them if you want to turn them off and on temporarily. Perhaps an "active / inactive" switch would have been clearer...
form CHECK_PERMISSION using ISPTH_HEAD type SPTH
MODE type CLIKE
SUBRC type SY-SUBRC.
data: ACTIVITY like AUTHB-ACTVT.
SUBRC = 0.
case MODE.
when 'R'.
ACTIVITY = '03'.
when 'W'.
ACTIVITY = '02'.
when 'D'.
ACTIVITY = '02'.
endcase.
if ISPTH_HEAD-FS_BRGRU <> SPACE. "Here it is... for BEGRU checks there must be a value...
authority-check object 'S_PATH'
id 'FS_BRGRU' field ISPTH_HEAD-FS_BRGRU
id 'ACTVT' field ACTIVITY.
if SY-SUBRC <> 0.
SUBRC = 3.
endif.
endif.
endform.
Cheers,
Julius -
Pass filename as a variable to a swf file
I want to pass a variable which will represent a filename to
a swf file from a hypertext link in an HTML document.
When the user clicks on the link which has
?variablename=filename_to_use appended to a "normal" link to a
page,
this variablename will be passed to the swf file.
I've already created this target swf file to have an
actionscript with a FLVPlayComponent with the filename hard-coded
in the actionscript. I want the actionscript to use the variable
representing the filename_to_use that was passed to from the URL
line.
The following is the actionscript that plays the flv file
taken from the Flash Help: Creating an Application with an
FLVComponent
ORIGINAL VERSION:
import mx.video.*;
this.attachMovie("FLVPlayback", "my_FLVPlybk", 10,
{width:320, height:240, x:100, y:100});
my_FLVPlybk.skin = "file:///install_drive|/Program
Files/Macromedia/Flash
8/en/Configuration/Skins/ClearOverPlaySeekMute.swf"
my_FLVPlybk.contentPath = "
http://www.helpexamples.com/flash/video/water.flv";
VERSION USING THE FILENAME FROM THE PASSED VARIABLE INSTEAD
OF WATER.FLV
import mx.video.*;
this.attachMovie("FLVPlayback", "my_FLVPlybk", 10,
{width:320, height:240, x:100, y:100});
my_FLVPlybk.skin = "file:///install_drive|/Program
Files/Macromedia/Flash
8/en/Configuration/Skins/ClearOverPlaySeekMute.swf"
my_FLVPlybk.contentPath = "
http://www.helpexamples.com/flash/video/variable";
I currently can play videos with this actionscript at my
school website but must make a separate swf for each video.
I want to be able to have one swf file that will play which
video was passed from the link in the HTML page.
I am using HTML page to lower the bandwidth so that users
won't have to load a swf file to see curricular material and then
perhaps choose a video on the topic.
http://www.wearekennedy.com/kent/whatsup.htm
click the link to the Spring curriculum map with resources
and then click on e.g. The_Food_Web video
Thank you,
Kevin Kent
Educator, John F. Kennedy H.S., Bronx, NYYou can use Liskov substitution/polymorphism:
DROP TYPE DEMO_T2
DROP TYPE DEMO_T1
DROP TYPE DEMO_ST
CREATE TYPE DEMO_ST AS OBJECT
( ID NUMBER,
MEMBER PROCEDURE THIS_PROC)
NOT FINAL NOT INSTANTIABLE
CREATE TYPE DEMO_T1 UNDER DEMO_ST
( OVERRIDING MEMBER PROCEDURE THIS_PROC )
CREATE TYPE DEMO_T2 UNDER DEMO_ST
( OVERRIDING MEMBER PROCEDURE THIS_PROC )
CREATE TYPE BODY DEMO_T1 AS
OVERRIDING MEMBER PROCEDURE THIS_PROC AS
BEGIN
DBMS_OUTPUT.PUT_LINE('DEMO_T1');
END;
END;
CREATE TYPE BODY DEMO_T2 AS
OVERRIDING MEMBER PROCEDURE THIS_PROC AS
BEGIN
DBMS_OUTPUT.PUT_LINE('DEMO_T2');
END;
END;
CREATE OR REPLACE PROCEDURE DEMO_PRC ( P_OBJ DEMO_ST) AS
V_OBJ DEMO_ST := P_OBJ;
BEGIN
V_OBJ.THIS_PROC;
END;
-- TAKES AN OBJECT, NOT A PROCEDURE PER SE
-- BUT ALLOWS THE PROCEDURE TO BE PASSED WRAPPED IN AN
-- OBJECT
BEGIN
DEMO_PRC( DEMO_T1(1) );
DEMO_PRC( DEMO_T2(1) );
END;
DEMO_T1
DEMO_T2I believe that this is superior to the passing of function wrapped procedures as arguments because it is according to the intention of object orientation, whereas wrapping a procedure in a function is contrarty to the principles of good functional programming. Good practise in functional programming is to return a single strongly typed result, and produce no side effects. Since the procedure wrapped in a function is a procedure, it therefore implicitly have side effects. -
How to send a 'filename' and a byte representation of a file
Hey
I have this very simpel program, the logic is.. Client sends a file to a server which stores the file... VERY SIMPEL!
But what i wanna do is to send the filename as well, so the server can name the file dynamically based on the source file received
My code looks like this now..
Server code
* To change this template, choose Tools | Templates
* and open the template in the editor.
package serverreceivefile;
import java.io.*;
import java.net.*;
* @author Maul
public class ServerReceiveFile {
* @param args the command line arguments
public static void main(String[] args) throws IOException {
System.out.println("Server is starting../");
//Create a server socket that listens for incoming connection
//request on port 10000
ServerSocket ss = new ServerSocket(10000);
while(true){
// Listen for incoming connection requests from client
// programs, establish a connection, and return a Socket
// object that represents this connection.
Socket s = ss.accept();
System.out.println("Accepting connection.../");
// Start a thread to handle connection
new ServerThread(s).start();
class ServerThread extends Thread{
private Socket s;
ServerThread(Socket s){
this.s = s;
@Override
public void run(){
BufferedInputStream bs = null;
BufferedOutputStream bos = null;
try {
// Create an input stream reader that chains to the socket's
// byte-oriented input stream. The input stream reader
// converts bytes read from the socket to characters. The
// conversion is based on the platform's default character
// set.
bs = new BufferedInputStream(s.getInputStream());
bos = new BufferedOutputStream(new FileOutputStream("filecopy.txt"));
int i = 0;
while((i = bs.read()) != -1){
bos.write(i);
bs.close();
bos.close();
s.close();
} catch (IOException ie){
System.exit(0);
}Client code
* To change this template, choose Tools | Templates
* and open the template in the editor.
package serverclientsendfile;
import java.io.*;
import java.net.*;
* @author Maul
public class ServerClientSendFile {
* @param args the command line arguments
public static void main(String[] args) throws FileNotFoundException
String host = "localhost";
BufferedInputStream bis = new BufferedInputStream(new FileInputStream(
"file.txt"));
Socket s = null;
try {
s = new Socket(InetAddress.getByName(host), 10000);
// Create an input stream reader that chains to the socket's
// byte-oriented input stream. The input stream reader
// converts bytes read from the socket to characters. The
// conversion is based on the platform's default character
// set.
BufferedOutputStream bos = new BufferedOutputStream(s.getOutputStream());
int c;
while((c = bis.read()) != -1){
bos.write(c);
bis.close();
bos.close();
} catch (IOException ie){
}As you can see the server 'hard codes' the filename of the received file from the client..Hi DJHingapus,
If you don't want to build a dialog scenario between client and server, you may use a fixed length header which holds the name of the file to send. The stream will be composed with the header immediately followed by the binaries of the file. -
I am trying to listen to a internet radio station that I used to listen to before and now I get an error that reads: "Cannot open file. Verify that the filename and path are correct and try again". I have other friends who listen to the station with no problems and I wonder why can't I listen to it.
I am opening the browser in Rosetta mode and I am using Windows Media Player 9 for mac. I have tried everything and dont know where else to ask.
Thanks!Hi and Welcome to the Community!
Sadly, based on your report, there are more questions than answers...there are many things that could meet the criteria as you have stated it:
Your actual email account credentials
Your BIS account credentials
Your BBID account credentials
Your device lock password
From what you have reported, I cannot tell which of these might actually be your issue...so I'll make a few guesses, from which hopefully you'll be able to find what you need:
If the problem is with your email account credentials, then contact the service provider of that email account.
If the problem is your BIS account credentials, then contact your mobile service provider.
If the problem is your BBID credentials, then refer:
http://supportforums.blackberry.com/t5/BlackBerry-World/How-to-regain-access-to-your-BBID/td-p/25467...
If the issue is your device lock password, then there is no hope -- there is no "master" nor "override" password to unlock your device...only the user-created device lock password can do so. Failing that, your BB will wipe totally clean and you will have to start over.
Hopefully, this information will be of use to you.
Cheers, and Good Luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Turn Off Distiller Prompting for Filename on MAC like you already can on windows.
I've posted about this before, but with no useful reaction. There is a documented feature in the Windows Distiller, that would be just as useful on mac, but doesn't exist there. In the Adobe documentation, it's called "Turn Off Prompting for Filename".
In short, I'd like a way to stop the MAC distiller from showing dialogs that are not needed when controlling it externally, when the options 'ask for pdf file destination' and 'view pdf when using distiller' are turned on by the user, like this is already possible in windows.
Below is a copy of my original post, with more details.
Distiller brings up dialog while running from applescript
Arnt Witteveen - 06:08am Dec 19, 2005 Pacific
Hi,
I've read DistillerAPIReference.pdf (and DistillerParameters.pdf) from the developer documentation, and I have not found a way to do what I need: 'override' the distiller setting to ask for the destination filename and to open the pdf in acrobat when it's done. On windows, this does not seem to be a problem, it's documented under "Distiller API for Windows", in the paragraph "How to Turn Off Prompting for Filename". Even better, when sending the command line "/V /O outfile.pdf /J joboptionsfile inputfile" using DM_CMDLINE and WM_COPYDATA, it doesn't seem to bring up the dialog or open it, which is just what I need (even though I see no reason why it doesn't).
On Mac however, there is no such thing (in fact, the documentation for controlling distiller in this way on mac is very short: 5 mostly empty pages, explaning only that you can start and stop it and pass it a file to distill).
So, how do I stop the mac distiller from showing dialogs that are not needed when controlling it externally, when the options 'ask for pdf file destination' and 'view pdf when using distiller' are turned on by the user?sorry, but the 2880x1800 is hardware; in fact what makes non-optimized sites look (relativly) ugly is that to upscale the graphics to the apparent resolution of everything else each pixel is represented by 4 pixels, and as you know being in graphics, upscaling pictures is generally results in ugly.
Back to my point, there's no software to make the display lose 75% of its pixels; you'll either have to use another machine and/or wait for sites to optomize their graphics for the retina displays...which may or may never happen depending on the sites awareness/closeness with Apple's technology -
How do I get the Filename after uploading
Howdy friends, here's the problem:
I allow users to upload images on a previous page using
CFFile. On the following action page, I want to be able to send an
email telling the site owner about the new file uploads.
The problem is that what I get instead of the filename is:
D:\TEMP\wwwroot-tmp\neotmp43652.tmp
However, the correct File appears to be uploaded.
So what do I do to obtain the correct filename?
And here's the code:
<cfmail to="[email protected]"
from="#FORM.Address#"
subject="Add my photos please">
Attention:
I have uploaded the following pictures:
<cfif #FORM.FileName1# GT ''>
#FORM.FileName1#
#Form.Description1#
</cfif>
Thank you,
#FORM.Name#
</cfmail>
<cfif #FORM.FileName1# NEQ ''>
<cffile action="upload" filefield="form.filename1"
destination="D:\Hosting\mysite\NewGallery\"
nameconflict="overwrite">
</cfif>Its in cffile.clientFile. Check out
http://livedocs.macromedia.com/coldfusion/5.0/CFML_Reference/Tags20.htm#1098492
for all the cffile variables available after an upload.
After your cffile, do a <CFDUMP VAR=#cffile#> to see
all the goodies. -
Schema name not present on filename for "Save Package Spec and Body"
In versions previous to 3.0 EA, the filename defaulted to schema.object.sql when using the "Save Package Spec and Body" on the right click of the package/body. This appears to have disappeared. Also, it now defaults to the .PLS ext/type, which I prefer to save them as .SQL (which i can override, but it would be nice in the file type dropdown). Also, I had posted a suggestion about the actual file not including the schema name prefixing the object name when using the "Save Package Spec and Body". i.e. it does create or replace package reader_package instead of what it should be doing which is create or replace package schema.reader_package
Would be nice indeed having the real name as default, and all supported PL/SQL types (as in the preferences) in the extensions dropdown.
As for the schema name inside, I reckon that would do damage for more users than it would do good for others. But a preference would be best of course.
K. -
Specifying the filename for outbound FTP transport in OSB
I want an OSB based service that will send via FTP a file with a specific name to a remote ftp location.
It appears OSB can't do this because the FTP transport on a business service only allows you to specify the prefix and suffix and then generates a big long file name for the midlle parts.
Does someone know how to override this and specify the name that you want teh remote file name to be called?mdsrobbins wrote:
Your response was helpful but being new to OSB I'm still not quite there because I want to pass a "variable" to the file name. Now given I want to ftp a CSV file I've specified a proxy messaging service in an MFL format behind a jms queue. The business service underlying this is the ftp service again using the MFL format. This all works but in the message flow I for the proxy I can't seem to get access to a user defined property which contains the filename which I could then pull out and stuff into the "filename" header as suggested above.
Doe anyone have any ideas how I can get access to a filename property from a JMS message?From what i understand
JMSQ--- JMS PRoxy (MFL)----Pipeline ----->BS (MFL/FTP)---FTP server
So you would like to set the filename that is contained the JMS message custom headers?. While creating your JMS Proxy you have to follow these steps
1) While creating JMS Proxy in Transport Configuration page select Get All Headers =Yes
2) If file name is set as user defined property in JMS message then use $Header in you pipeline/message flow. This variable will hold your user defined properties. If the user defined property is part of JMS message then use $body.
thanks
Manoj
Maybe you are looking for
-
Need Help For iMac G5 Stuck On Grey Screen Or Apple Logo No Spinning Gear!
Hello everyone i'm new here and i'm new for using iMac for some reason i was trying to clean or to fresh installation the iMac that my brother gave it to me that he bought it into the flea market without the original disk on it! when i erase the Maci
-
I recently got a new ipod touch. My old ipod nano is synced to a mac computer at my mom's work. And my new ipod is synced to my pc computer at home. Is there a way i can get the songs from my old ipod to my new one?
-
Put iView UNDER Detailed Navigation on certain pages
Hey guys, anyone have a hint on this?? I want to have some pages (some - not all where an iView is displayed under the Detailed Navigation iView. I have tried to put the standard DTN iView onto the page together with the rest of the content but this
-
Multiple Database configurations with Hibernate and caching
Hi, I am building an webservice app which has 2 different DBs( Oracle and DB2). Please let me know whats the best way of designing the hibernate layer to access both the DBs ; I have some cross reference tables in both of them. I am planning to creat
-
Debugging PL/SQL procedures with JDeveloper ?
Hi, does anyone know if it is possible to debug PL/SQL procedures and packages with JDeveloper ? I'm using a 9.0.1.2.0 database but JDeveloper returns the error "The target VB_TEST could not be started because the database version does not support de