Internationalization - Preferences vs Properties
I keep in my property files the translation on any languages, e.g
locale_en_US.properties
locale_ru_RU.properties
and so on, and it's work OK.
But I read about Preferences API : http://www.onjava.com/lpt/a/1272
"Without the Preferences API, many applications have taken advantage of Java Property files for storing simple data like that accounted for by the Preferences API. In comparison to using Property files, the Preferences API provides a more robust mechanism for organizing the data without introducing complexity. For example, Property files do not provide any easy way to group data hierarchically. This flexibility is built into the Preferences model. Property files are dependent on a file system, which may not exist on every platform with a Java VM, for example a cellular telephone. There is nothing about the Preferences API that depends on a file system. For platforms without a file system, an implementation of java.util.prefs.PreferencesFactory could be developed that stores the data using whatever mechanisms are appropriate for that platform."
OK, and what now? Transfer my translations from property files to another store by Preferences API because it's better?
I didn't see the word "better" in that description of Preferences. Where did you get that from?
Preferences and Properties are different things. Preferences are commonly used to allow an individual user to customize an application. They are commonly used for things that can be changed by the user. That has nothing to do with internationalization.
Of course you could write some code that initially copied your externalized data into a set of Preferences entries, and write a subclass of ResourceBundle that looked in the Preferences, and so on. But I wouldn't do that.
Similar Messages
-
User preferences, community properties caching
Hi,
I would like to know if user preferences, and community property values are cached by ALUI internally or they are retreived from database every time a request is made to retreive these values using IDK API. We have a requirement to retrieve user preference values and act up on them in each portal page. We are trying to evaluate how costly this could be and how it can have impact on response time of the page.
Thanks.To understand better internal caching mechanism it's necessary to realize how portal cache portlets. Take a look on this link: [http://edocs.bea.com/alui/devdoc/docs60/Portlets/Basics/PlumtreeDevDoc_Portlets_Caching.htm]
Class(java version of the portal) responsible for reading this kind of informations is CSPPortletProviderConfig, I think portal will try to read those info every time when cache key is not matched for connected user. -
Internationalization using message.properties
Hello, I have this inputText field, attached to a Long variable in the bean, whenever I type a non-number character and a command makes the page reloads... it shows:
"codigo":Specified value is not a valid number
<h:panelGroup>
<h:inputText id="codigo" styleClass="formInputText" required="true" value="#{cadastroAssessoresUI.codigo}"/>
<h:message for="codigo" showdetail="true" />
</h:panelGroup>I use a message.properties bundle, but I cant make the custom message I need.
javax.faces.component.UIInput.CONVERSION = Erro convertendo campo
javax.faces.component.UIInput.CONVERSION_detail = Wrong data type
javax.faces.convert.LongConverter.CONVERSION_detail = Tipo de dado incoerenteAny clue??
ThanxHi Jan,
Unfortunately at the moment, the answer is no, and attempts to fix it brough up some architectural issues that can not be resolved via a patch.
However, there is a Tech Article and a compponent library in the works which will provide a workaround to this issue. New Technical articles get posted to the forum so keep an eye out or just check the Technical artical section of our web site.
Lark
Creator Team -
Is this how to use a properties file?
Hi:
The following is how I intend to create and read a properties file, please verify for me that the idea is correct.
1. create myProp.properties
2. in myProp, the content is like such:
a=myA
b=myB
c=myC
3. In my application,
FileInputStream in = new FileInputStream(getClass().getResourceAsStream("/myProp.properties"));
Properties p = new Properties();
p.load(in);
String a = p.getProperty("a");
String b = p.getProperty("b");
String c = p.getProperty("c");Thanx!It depends on what youare doing but if you have a set of properties that you are going to always use from one running of the application to the next, they should generally be defined as static finals.
For example, lets say you want a configuration file for an application that holds the user's preferences. You might want something like this:
public class Preferences {
private static final String ALWAYS_ON_TOP = "always on top";
private Properities preferences = new Properties();
static {
//load the file
public boolean setAlwaysOnTop(boolean alwaysOnTop) {
preferences.put(ALWAYS_ON_TOP, String.valueOf(alwaysOnTop));
public boolean getAlwaysOnTop() {
return Boolean.valueOf(preferences.get(ALWAYS_ON_TOP));
public void save() {
/save file
} -
Dialog Boxes - For example Preferences Will Not Fit Screen
I am having a problem with Adobe Version 8 preset dialog boxes being too large for my screen. I also have the same problem in Quicken so it may not be an Adobe problem. In boxes such as Preferences or Properties when opened I can not access the bottom portion of the box. Particularly a problem when what is being hidden is the command button such as OK or SAVE or FINISH or CANCEL. The boxes open in a preset size and I can not modify the box size. Nor can I drag the header bar far enough off the screen to access the bottom command buttons. Use that lovely MS Vista. Might anyone have an idea on where to start? Danke Schoen!
I am using a Sony Vaio laptop. It uses a Generic plug and play monitor.
The screen size is 15 inches. Resolution is 1280 by 800 in true color 32
bit mode. Changing the screen resolution does not affect the problem in any
manner.
Knowing shortcut keys would not help. You can not see the bottom command
buttons, therefore which shortcut key do you use or is one even needed.
If the dialog boxes were resizeable then I would not have a problem. I went
looking for some setting in Version 8.1.5 that would allow me to resize
these boxes but it was like looking for a needle in a haystack.
I am updating to Version 8.1.6 to see if the newer version does anything to
help. And yes I the monitor drivers are all current.
James F. Thoma
. . . at home in the hills of East Tennessee . . . -
Changing System Preference value
Hi
Have been trying to change a keyboard shortcut in the "Expose and Spaces" pane. By default the dashboard shortcut is set to "F12" and I would like to set it to "F8". This would become an option for a user when they have logged in. They could run the script to free up the "F12" shortcut that's in use by another programme. Thought the following code would have worked:
tell application "System Events"
tell process "System Preferences"
set value of pop up button 4 of group 2 of tab group 1 of window "Exposé & Spaces" to "F8"
end tell
end tell
If anyone out there has any clues to get this working I would be grateful. Ideally a "defaults write" shell command would be the preferred route. I'm open to all suggestions.
ThanksHi,
These preferences are scriptable under Leopard via System Events, and although you don't say specifically, I'm assuming that you're running Leopard because you're using Spaces.
The problem is that the default shortcut for Spaces is already set to F8, and if you don't change it to something else first then you can't set the Dashboard shortcut to F8.
This works for me:
tell application "System Events"
tell expose preferences
set properties of show spaces shortcut to {function key:F7}
set properties of dashboard shortcut to {function key:F8}
end tell
end tell
When the script is compiled or run the third line changes to:
set properties of application bindings to {function key:F7}
But F7 continues to work as the shortcut for showing Spaces. A bug, I reckon.
Hope this helps.
H -
Hi friends,
I am create pure E4 RCP Application but E4 support Help, editor and view management, text editors, resource views, preference and properties or not ? and how to support? any other solution ?
i am confusing E3 use or E4 in my application ?
Please help me friend.Ad help: There was a recent thread on this forum where someone reported
that he managed to include the help stuff
Ad text-editors: No not really although the base framework
org.eclipse.text and org.eclipse.jface.text can be used
Ad preference: The core stuff is there but the preference dialog as you
know it from the IDE is not available
I think the biggest amount of work is to get a decent text-editor for
your application. It naturally depends on what text you need to edit if
it is pure ASCII it is trivial, syntax coloring is not a big deal either.
Tom
On 16.07.15 10:50, Lalit Solanki wrote:
> Hi friends,
> I am create pure E4 RCP Application but E4 suppor Help, editor and view
> management, text editors, resource views, preference and properties or
> not ? and how to support? any other solution ?
>
> i am confusing E3 use or E4 in my application ?
>
> Please help me friend. -
Laserjet CP1025nw color, unable to change Print density
Hi,
I need to raise the "Print Density" to 5 (for pcb toner transfer) on my Laserjet
CP1025nw color, but when I open the printer properties I do not have that option
in the device settings tab, despite what is said on the help page of that model.
OS: Windows XP
The printer is on the USB port.
The pilot is: HP LaserJet Professional CP1020 Series + last update
How can I change that setting ?
Please help !!!
Thank you in advance for any help you can bring !
All the best,
This question was solved.
View Solution.From what you describe you want to increase your toner density on your subsequent print jobs. First of all, if you have not, you should uninstall this printer and make sure that the drivers are the most up to date using the website I will link below :
http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&lc=en&dlc=en&product=4052972
Here you should also check for your firmware to be sure that it is up to date.
I would also, both before and after, check under "Printer Preferences" (not properties) and see if there is a way to change the density under the Paper/Quality tab.
Let me know if this helps you out!
-Spencer -
I am new to the world of Acrobat 8 updated to 8.12. I note that many items in the toolbar are greyed out and not usable. How do I make these items usable? Please advise soonest.
XPro/SP3/IE7 4GB PC3200 RAM AMD 4600+CPU A8N-SLI mtherboard
This is the list of greyed-out items:
FILE EDIT
scan All greyed out
scan as except check spelling
save as certified Search
Attach to emai Search Resukts
Revert Preferences
Close
Properties
Print setup
Print
DOCUMENT COMMENTS
Inset pages Add sticky note
Extract pages Show Comments List
Replace pages Print with comments summary
Crop pages Export Comments
Rotate pages Export comments to Word
Optimized scan PDF Export comments to AutoCad
Reduced file size Export comments to Data File
Examine Document
Add Document
FORMS ADVANCED
Edit forms in Acrobat Enable user rights
Run form field regognition pdf optimiser
Distribute form
Highlight form
Clear Forms
WINDOWS
All greyed-out except tile which leads to 2 greyed out itemsPrior versions of Acorbat include a JavaScript attribute for menu items and Toolbar buttons that would let the coder determine if a menu item would be active. For example, the "Properties" option of the menu "File" option would not be active unless a PDF was open, because there are no document properties when no document is opened. So unless there is not a document open that can be processed by the menu option or a Toolbar button, there is no need to have that item active.
Acrobat 8 has introduced "dynamic" menus, or menus that change based on already selected menu or Toolbar selections or actions. For example, AcroForms menu options will not appear until an AcroForm is opened or started in Acrobat. -
Can't keep stable continuous single page view
One day my Acrobat 9 pro mysteriously started to display output in a 2-page view by default. I have changed the view as well as edited preferences (even trying to toggle it by setting preferences as dual page and back to single page continuous to no avail. It seems that if I change view and preference and then save a pdf it will reopen as desired in single page continuous. But as soon as I print to Adobe from Word or download a pdf or tiff, the resulting file opens in dual page. This is a minor hassle but doing it multiple times per day begins to get grating -- I have tried the 'file repair' option and everything else I can think of -- what might I be doing wrong? (I am on a machine with Vista). Thanks -- Scott
(Boy have I had a hard time responding to the reply!)
I still can't get the setting to stick no matter what I do -- setting edit> preferences, file > properties, and view>single page continous. If i save a PDF with it in the single page continuous view it seems to reopen that way. Any PDF I download or create from word comes back in 2-page view. Oh well.
For what it is worth I tried emailing a reply but it bounced back and the for the longest time I have not been able to find a way to post a reply. -
Create new iCal event from contents of mail uses wrong date
I received an email today with an appointment using the date "6/3/2010 at 4PM". Being from the US, it is obvious to me that this meeting should occur on June 3, 2010, but when I attempt to create a new iCal event with this date it creates the event on March 6, 2010. Even more confusing is that when I choose "Show this date in iCal" it highlights March 7, 2010!
My question is:
Shouldn't the system default to a month/day/year date preference everywhere when I've selected US English in the internationalization preferences pane?have a very similar question: is there somewhere an application where I can, when receiving an email, put it into iCal so that I am reminded about it in a week or something?
-
Time is incorrect each morning after Mountain Lion update
Every morning my time on the top status bar is a few hours off. Sometimes it corrects itself within an hour after the computer wakes or I need to do a restart to get the correct time to display. When I try to click the time to display time properties I get the beach ball on hovering over the time. When I launch system preferences the properties are correct but the system preferences shows "Not responding". Anyone else with this issue? Anyone know how to fix it?
Below are teh results from the five steps you recommended above.
Note that these steps were conducted during a time freeze. It's 10:19 am. The clock is currently frozen at 9:31 am.
Step 1
kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
com.avatron.AVExVideo (1.6.5)
com.avatron.AVExFramebuffer (1.6.5)
Step 2
sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfi x|x)/{print $3}'
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
com.WesternDigital.WDSmartWareD
com.wdc.WDDMservice
com.microsoft.office.licensing.helper
com.adobe.versioncueCS3
com.adobe.SwitchBoard
com.adobe.fpsaud
Step 3
launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
com.fiplab.TabForGoogle-Helper
com.puredigitaltechnologies.FlipShareAutoRun
com.zeobit.MacKeeper.Helper
com.intego.virusbarrierexpress.agent
com.google.keystone.user.agent
com.adobe.ARM.df0ab5bbe6f698196fcc21e3c1e66dcb758bd911f4d637272d9d8109
com.adobe.AAM.Scheduler-1.0
Step 4
ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null
/Library/Components:
/Library/Extensions:
/Library/Frameworks:
AECore.framework
AEProfiling.framework
AERegistration.framework
Adobe AIR.framework
AudioMixEngine.framework
Compressor.framework
DivX Toolkit.framework
FxPlug.framework
HPDeviceModel.framework
HPPml.framework
HPServicesInterface.framework
HPSmartPrint.framework
MediaServerAPI.framework
Motion.framework
NyxAudioAnalysis.framework
PluginManager.framework
ProFX.framework
ProMetadataSupport.framework
Qmaster.framework
TSLicense.framework
WesternDigital
cisco-vpnclient.framework
iTunesLibrary.framework
/Library/Input Methods:
/Library/InputManagers:
Smart Crash Reports
/Library/Internet Plug-Ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
AmazonMP3DownloaderPlugin.plugin
ContentUploaderPlugin.plugin
DivXBrowserPlugin.plugin
EPPEX Plugin.plugin
Flash Player.plugin
Flip4Mac WMV Plugin.plugin
Google Earth Web Plug-in.plugin
JavaAppletPlugin.plugin
OfficeLiveBrowserPlugin.plugin
Quartz Composer.webplugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
SharePointBrowserPlugin.plugin
SharePointWebKitPlugin.webplugin
Silverlight.plugin
Yahoo! Installer 3.plugin
flashplayer.xpt
iPhotoPhotocast.plugin
npUpload.xpt
npdivx.xpt
nsIQTScriptablePlugin.xpt
/Library/Keyboard Layouts:
/Library/LaunchAgents:
com.adobe.AAM.Updater-1.0.plist
com.puredigitaltechnologies.FlipShare.AutoRun.plist
/Library/LaunchDaemons:
com.WesternDigital.WDSmartWareD.plist
com.adobe.SwitchBoard.plist
com.adobe.fpsaud.plist
com.adobe.versioncueCS3.plist
com.microsoft.office.licensing.helper.plist
com.wdc.WDDMservice.plist
/Library/PreferencePanes:
3ivxPrefPane.prefPane
Air Display Preferences.prefPane
Apple Qmaster.prefPane
DivX.prefPane
Flash Player.prefPane
Flip4Mac WMV.prefPane
Growl.prefPane
Launchpad-Control-1.prefPane
Launchpad-Control.prefPane
VersionCueCS3.prefPane
/Library/PrivilegedHelperTools:
com.microsoft.office.licensing.helper
/Library/QuickLook:
GBQLGenerator.qlgenerator
iBooksAuthor.qlgenerator
iWork.qlgenerator
/Library/QuickTime:
AppleHDVCodec.component
AppleIntermediateCodec.component
AppleMPEG2Codec.component
AppleProRes422.component
DVCPROHDCodec.component
DVCPROHDMuxer.component
DVCPROHDVideoDigitizer.component
DVCPROHDVideoOutput.component
DVCPROHDVideoOutputClock.component
DVCPROHDVideoOutputCodec.component
DesktopVideoOut.component
DivX Decoder.component
DivX Encoder.component
FCP Uncompressed 422.component
FLV.component
Flip4Mac WMV Advanced.component
Flip4Mac WMV Export.component
Flip4Mac WMV Import.component
IMXCodec.component
LiveType.component
Motion.component
/Library/ScriptingAdditions:
Adobe Unit Types.osax
/Library/Spotlight:
GBSpotlightImporter.mdimporter
Microsoft Office.mdimporter
iBooksAuthor.mdimporter
iWork.mdimporter
/Library/StartupItems:
Qmaster
comapcpcpestart
/etc/mach_init.d:
/etc/mach_init_per_login_session.d:
/etc/mach_init_per_user.d:
com.adobe.SwitchBoard.monitor.plist
Library/Address Book Plug-Ins:
AdiumAddressBookAction_AIM.scpt
AdiumAddressBookAction_ICQ.scpt
AdiumAddressBookAction_Jabber.scpt
AdiumAddressBookAction_MSN.scpt
AdiumAddressBookAction_SMS.scpt
AdiumAddressBookAction_Yahoo.scpt
SkypeABDialer.bundle
SkypeABSMS.bundle
Library/Fonts:
.DS_Store
ACasAltBol
ACasAltBolIta
ACasAltIta
ACasAltReg
ACasAltSem
ACasAltSemIta
ACasBol
ACasBolIta
ACasBolItaOsF
ACasBolOsF
ACasExpBol
ACasExpBolIta
ACasExpIta
ACasExpReg
ACasExpSem
ACasExpSemIta
ACasIta
ACasItaOsF
ACasOrn
ACasReg
ACasRegSC
ACasSem
ACasSemIta
ACasSemItaOsF
ACasSemSC
ACasSwaBolIta
ACasSwaIta
ACasSwaSemIta
ACaslonPro-Bold.otf
ACaslonPro-BoldItalic.otf
ACaslonPro-Italic.otf
ACaslonPro-Regular.otf
ACaslonPro-Semibold.otf
ACaslonPro-SemiboldItalic.otf
AG Book Rounded
AG Book Stencil
AG Old Face
AG Schoolbook
AGATHODA.TTF
AGBooRouBol
AGBooRouBolCn
AGBooRouBolCnOut
AGBooRouBolOut
AGBooRouMed
AGBooRouMedOut
AGBooRouReg
AGBooSte
AGOldFacBol
AGOldFacBolOut
AGOldFacMed
AGOldFacOut
AGOldFacReg
AGOldFacSha
AGSchMed
AGSchMedA
AGSchReg
AGSchRegA
AGaramondPro-Bold.otf
AGaramondPro-BoldItalic.otf
AGaramondPro-Italic.otf
AGaramondPro-Regular.otf
ALCHEM__.TTF
ANGERTH.TTF
ASTRO.TTF
ATEB.TTF
ATEBI.TTF
ATEI.TTF
ATEN.TTF
AacheBol
Aachen
Adobe Caslon
Adobe Caslon Expert
Adobe Wood Type Ornaments 1
AdobeArabic-Bold.otf
AdobeArabic-BoldItalic.otf
AdobeArabic-Italic.otf
AdobeArabic-Regular.otf
AdobeDevanagari-Bold.otf
AdobeDevanagari-BoldItalic.otf
AdobeDevanagari-Italic.otf
AdobeDevanagari-Regular.otf
AdobeFanHeitiStd-Bold.otf
AdobeFangsongStd-Regular.otf
AdobeGothicStd-Bold.otf
AdobeHebrew-Bold.otf
AdobeHebrew-BoldItalic.otf
AdobeHebrew-Italic.otf
AdobeHebrew-Regular.otf
AdobeHeitiStd-Regular.otf
AdobeKaitiStd-Regular.otf
AdobeMingStd-Light.otf
AdobeMyungjoStd-Medium.otf
AdobeNaskh-Medium.otf
AdobeSongStd-Light.otf
AkzidGroBEBol
AkzidGroBEBolCn
AkzidGroBEBolEx
AkzidGroBEBolExIt
AkzidGroBEBolIt
AkzidGroBECn
AkzidGroBEEx
AkzidGroBEIt
AkzidGroBELig
AkzidGroBELigCn
AkzidGroBELigEx
AkzidGroBELigOsF
AkzidGroBEMd
AkzidGroBEMdCn
AkzidGroBEMdCnIt
AkzidGroBEMdEx
AkzidGroBEMdIt
AkzidGroBEReg
AkzidGroBESup
AkzidGroBEXBd
AkzidGroBEXBdCn
AkzidGroBEXBdCnIt
AlberMT
AlberMTIta
AlberMTLig
Albertus MT
Aldus
AldusIta
AldusItaOsF
AldusRom
AldusRomSC
Ameri
AmeriBol
AmeriExtBol
AmeriIta
Americana
Amigo
Amigo.
Anna
AntiqOliBla
AntiqOliBol
AntiqOliBolCon
AntiqOliCom
AntiqOliIta
AntiqOliLig
AntiqOliNor
AntiqOliNorIta
AntiqOliRom
Antique Olive 1
Antique Olive 2
ApollMT
ApollMTExp
ApollMTIta
ApollMTItaExp
ApollMTItaOsF
ApollMTSC
ApollMTSemBol
ApollMTSemBolExp
ApollMTSemBolOsF
Apollo
Arcad
ArcadA
Arcadia
AriadRom
Ariadne
ArnolBoe
Arnold Boecklin
AshleScrMT
Ashley Script
Audio Pi
AudioLHPi
Aurio
AurioBla
AurioBlaIta
AurioBol
AurioBolIta
AurioIta
Auriol
AveniBla
AveniBlaObl
AveniBoo
AveniBooObl
AveniHea
AveniHeaObl
AveniLig
AveniLigObl
AveniMed
AveniMedObl
AveniObl
AveniRom
Avenir 1
Avenir 2
Baker Signet
BakerSig
Banco
Banco.
BarmeBol
BarmeExtBol
BarmeMed
BarmeReg
Barmeno
BaskeBEBol
BaskeBEIta
BaskeBEMed
BaskeBEMedIta
BaskeBEReg
BaskeBooIta
BaskeBooMed
BaskeBooMedIta
BaskeBooReg
BaskeCyrBol
BaskeCyrInc
BaskeCyrUpr
Baskerville Cyrillic
Bauer Bodoni 1
Bauer Bodoni 2
Bauer Bodoni SC+OsF
BauerBodBla
BauerBodBlaCon
BauerBodBlaIta
BauerBodBol
BauerBodBolCon
BauerBodBolIta
BauerBodBolItaOsF
BauerBodBolOsF
BauerBodIta
BauerBodItaOsF
BauerBodRom
BauerBodRomSC
BauhaBol
BauhaDem
BauhaHea
BauhaLig
BauhaMed
Beesk
Bell Centennial
Bell Gothic
BellCenAdd
BellCenBolLis
BellCenBolLisAlt
BellCenNamAndNum
BellCenSubCap
BellGotBla
BellGotBol
BellGotLig
Belle
Bellevue
Belwe
BelweBol
BelweCon
BelweLig
BelweMed
Bembo
Bembo 1
Bembo 2
Bembo Expert
BemboBol
BemboBolExp
BemboBolIta
BemboBolItaExp
BemboBolItaOsF
BemboBolOsF
BemboExp
BemboExtBol
BemboExtBolExp
BemboExtBolIta
BemboExtBolItaExp
BemboExtBolItaOsF
BemboExtBolOsF
BemboIta
BemboItaExp
BemboItaOsF
BemboSC
BemboSem
BemboSemExp
BemboSemIta
BemboSemItaExp
BemboSemItaOsF
BemboSemOsF
BenguGotBol
BenguGotBolObl
BenguGotBoo
BenguGotBooObl
BenguGotHea
BenguGotHeaObl
BenguGotMed
BenguGotMedObl
BerkeBla
BerkeBlaIta
BerkeBol
BerkeBolIta
BerkeBoo
BerkeBooIta
BerkeIta
BerkeMed
BerliBol
BerliBolIta
BerliGroLig
BerliGroMed
BerliIta
BerliRom
Berliner Grotesk
Berling
BernhModBol
BernhModBolIta
BernhModIta
BernhModRom
Bernhard Modern
Berthold Akzidenz Grotesk
Berthold Akzidenz Grotesk Cond
Berthold Akzidenz Grotesk Ext
Berthold Baskerville
Berthold Baskerville Book
Berthold Bodoni Antiqua
Berthold Bodoni Antiqua Cond
Berthold Bodoni Antiqua Expert
Biffo
BiffoMT
Birch
Birch.
BirchStd.otf
Black
Blackoak
BlackoakStd.otf
Block
BlockBECon
BlockBEExtCn
BlockBEExtCnIt
BlockBEHea
BlockBEIta
BlockBEReg
Bodon
BodonBEBol
BodonBEBolCn
BodonBEBolCnIta
BodonBEBolExp
BodonBEBolIta
BodonBEBolItaExp
BodonBEBolItaOsF
BodonBEBolOsF
BodonBECnIta
BodonBECon
BodonBEIta
BodonBEItaExp
BodonBEItaOsF
BodonBELig
BodonBELigExp
BodonBELigIta
BodonBELigItaExp
BodonBELigItaOsF
BodonBELigSC
BodonBEMed
BodonBEMedCn
BodonBEMedCnIta
BodonBEMedExp
BodonBEMedIta
BodonBEMedItaExp
BodonBEMedItaOsF
BodonBEMedSC
BodonBEReg
BodonBERegExp
BodonBERegSC
BodonBol
BodonBolCon
BodonBolIta
BodonBoo
BodonBooIta
BodonIta
BodonOldFacBEBol
BodonOldFacBEBolExp
BodonOldFacBEBolItExp
BodonOldFacBEBolItOsF
BodonOldFacBEBolIta
BodonOldFacBEBolOsF
BodonOldFacBEIta
BodonOldFacBEItaExp
BodonOldFacBEItaSC
BodonOldFacBEMed
BodonOldFacBEMedExp
BodonOldFacBEMedItExp
BodonOldFacBEMedItOsF
BodonOldFacBEMedIta
BodonOldFacBEMedSC
BodonOldFacBEReg
BodonOldFacBERegExp
BodonOldFacBERegSC
BodonPos
BodonPosCom
BodonPosIta
Bodoni 1
Bodoni 2
Bodoni Old Face
Bodoni Old Face Expert
Boton
BotonBol
BotonBolIta
BotonIta
BotonLig
BotonLigIta
BotonMed
BotonMedIta
BotonReg
Boule
Boulevard
Brush Script
BrushScr
BrushScriptStd.otf
BundePiOne
BundePiThr
BundePiTwo
Bundesbahn Pi
CELTIBER.TTF
CHEMSYM.TTF
CIRTH.TTF
CaeciBol
CaeciBolIta
CaeciBolItaOsF
CaeciBolItaSC
CaeciBolOsF
CaeciBolSC
CaeciHea
CaeciHeaIta
CaeciHeaItaOsF
CaeciHeaItaSC
CaeciHeaOsF
CaeciHeaSC
CaeciIta
CaeciItaOsF
CaeciItaSC
CaeciLig
CaeciLigIta
CaeciLigItaOsF
CaeciLigItaSC
CaeciLigOsF
CaeciLigSC
CaeciRom
CaeciRomOsF
CaeciRomSC
CafliScrBol
CafliScrMM
CafliScrMMAlt
CafliScrMMSw
CafliScrReg
Caflisch Script MM
CaflischScript
CalveMT
CalveMTBol
CalveMTLig
Calvert
CandiBol
CandiIta
CandiRom
Candida
CantoMT
CantoMTBol
CantoMTBolIta
CantoMTExtBol
CantoMTExtBolIta
CantoMTIta
CantoMTLig
CantoMTLigIta
CantoMTSemBol
CantoMTSemBolIta
Cantoria 1
Cantoria 2
CaravLHFou
CaravLHOne
CaravLHThr
CaravLHTwo
Caravan Borders
Carol
CarolDfr
Carolina
Carta
Carta.
CascaScr
Cascade
CasloBooBEBol
CasloBooBEBolExp
CasloBooBEBolOsF
CasloBooBEIta
CasloBooBEItaExp
CasloBooBEItaOsF
CasloBooBEMed
CasloBooBEMedExp
CasloBooBEMedSC
CasloBooBEReg
CasloBooBERegExp
CasloBooBERegSC
CasloFivForIta
CasloFivForItaOsF
CasloFivForRom
CasloFivForRomSC
CasloOpeFac
CasloThrIta
CasloThrItaOsF
CasloThrRom
CasloThrRomSC
CasloTwoTweFouBla
CasloTwoTweFouBlaIt
CasloTwoTweFouBol
CasloTwoTweFouBolIt
CasloTwoTweFouBoo
CasloTwoTweFouBooIt
CasloTwoTweFouMed
CasloTwoTweFouMedIt
Caslon 3
Caslon 3 SC+OsF
Caslon 540
Caslon 540 SC+OsF
Caslon Book BE
Caslon Book BE Expert
Caslon Open Face
Ceriph0553.ttf
Ceriph0554.ttf
Ceriph0555.ttf
Ceriph0556.ttf
Ceriph0563.ttf
Ceriph0564.ttf
Ceriph0755.ttf
Ceriph0756.ttf
Ceriph0763.ttf
Ceriph0764.ttf
Ceriph0765.ttf
Ceriph0766.ttf
ChaparralPro-Bold.otf
ChaparralPro-BoldIt.otf
ChaparralPro-Italic.otf
ChaparralPro-Light.otf
ChaparralPro-LightIt.otf
ChaparralPro-Regular.otf
CharlemagneStd-Bold.otf
CharlemagneStd-Regular.otf
Cheq
Cheq.
Classic1065.ttf
Classic1066.ttf
CooperBlackStd-Italic.otf
CooperBlackStd.otf
Copy0855.ttf
Copy0856.ttf
Copy0865.ttf
Copy0866.ttf
Copy0955.ttf
Copy0956.ttf
Copy0965.ttf
Copy0966.ttf
Copy1055.ttf
Copy1056.ttf
Copy1065.ttf
Copy1066.ttf
DSASYMB.TTF
DS_Celtic_Border-1.ttf
EuropPiFou
EuropPiOne
EuropPiThr
EuropPiTwo
European Pi
FF Meta-Hairline
FF Meta-HairlineExpert
FF Meta-HairlineLF
FF Meta-Light
FF Meta-LightExpert
FF Meta-LightLF
FF Meta-Thin
FF Meta-ThinExpert
FF Meta-ThinLF
FF MetaBlack-Caps
FF MetaBlack-CapsExpert
FF MetaBlack-Expert
FF MetaBlack-Italic
FF MetaBlack-ItalicCaps
FF MetaBlack-ItalicCapsExpert
FF MetaBlack-ItalicExpert
FF MetaBlack-Roman
FF MetaBlackLF-Caps
FF MetaBlackLF-Italic
FF MetaBlackLF-ItalicCaps
FF MetaBlackLF-Roman
FF MetaBold-Caps
FF MetaBold-CapsExpert
FF MetaBold-Expert
FF MetaBold-Italic
FF MetaBold-ItalicCaps
FF MetaBold-ItalicCapsExpert
FF MetaBold-ItalicExpert
FF MetaBold-Roman
FF MetaBoldLF-Caps
FF MetaBoldLF-Italic
FF MetaBoldLF-ItalicCaps
FF MetaBoldLF-Roman
FF MetaBook-Caps
FF MetaBook-CapsExpert
FF MetaBook-Expert
FF MetaBook-Italic
FF MetaBook-ItalicCapsExpert
FF MetaBook-ItalicExpert
FF MetaBook-Roman
FF MetaBookLF-Caps
FF MetaBookLF-Italic
FF MetaBookLF-ItalicCaps
FF MetaBookLF-Roman
FF MetaCondBlack-Expert
FF MetaCondBlack-Roman
FF MetaCondBlackLF-Roman
FF MetaCondBold-Expert
FF MetaCondBold-Roman
FF MetaCondBook-Expert
FF MetaCondBook-Roman
FF MetaCondBookLF-Roman
FF MetaCondExtraBold-Expert
FF MetaCondExtraBold-Roman
FF MetaCondExtraBoldLF-Roman
FF MetaCondMedium-Expert
FF MetaCondMedium-Roman
FF MetaCondMediumLF-Roman
FF MetaCondNormal-Expert
FF MetaCondNormal-Roman
FF MetaCondNormalLF-Roman
FF MetaMedium-Caps
FF MetaMedium-CapsExpert
FF MetaMedium-Expert
FF MetaMedium-Italic
FF MetaMedium-ItalicCaps
FF MetaMedium-ItalicCapsExpert
FF MetaMedium-ItalicExpert
FF MetaMedium-Roman
FF MetaMediumLF-Caps
FF MetaMediumLF-Italic
FF MetaMediumLF-ItalicCap
FF MetaMediumLF-Roman
FF MetaNormal-Caps
FF MetaNormal-CapsExpert
FF MetaNormal-Italic
FF MetaNormal-ItalicCaps
FF MetaNormal-ItalicCapsExpert
FF MetaNormal-ItalicExpert
FF MetaNormal-Roman
FF MetaNormalLF-Caps
FF MetaNormalLF-Italic
FF MetaNormalLF-ItalicCaps
FF MetaNormalLF-Roman
FanjLeod.TTF
Fanjofey.ttf
Firstv2p.ttf
GEZODIAC.TTF
GiddyupStd.otf
Header0865.ttf
Header0866.ttf
Header0867.ttf
Header0868.ttf
Header1767.ttf
Header1768.ttf
HelveFra
HelveFraBol
Helvetica Fractions
HoboStd.otf
Hooge0455.ttf
Hooge0456.ttf
Hooge0465.ttf
Hooge0466.ttf
Hooge0553.ttf
Hooge0554.ttf
Hooge0555.ttf
Hooge0556.ttf
Hooge0557.ttf
Hooge0558.ttf
Hooge0563.ttf
Hooge0564.ttf
Hooge0565.ttf
Hooge0566.ttf
Hooge0655.ttf
Hooge0656.ttf
Hooge0665.ttf
Hooge0666.ttf
ITC Anna
ITC Avant Garde Gothic MM
ITC Bauhaus
ITC Beesknees
ITC Benguiat Gothic
ITC Berkeley Oldstyle
ITC Caslon 224
ITC New Baskerville
ITC New Baskerville SC+OsF
ITC Zapf Dingbats
ITCAvaGarMM
ITCAvaGarMMObl
Iso0865.ttf
Iso0866.ttf
Italic0855.ttf
Italic0856.ttf
Italic0865.ttf
Italic0866.ttf
KozGoPr6N-Bold.otf
KozGoPr6N-ExtraLight.otf
KozGoPr6N-Heavy.otf
KozGoPr6N-Light.otf
KozGoPr6N-Medium.otf
KozGoPr6N-Regular.otf
KozGoPro-Bold.otf
KozGoPro-ExtraLight.otf
KozGoPro-Heavy.otf
KozGoPro-Light.otf
KozGoPro-Medium.otf
KozGoPro-Regular.otf
KozMinPr6N-Bold.otf
KozMinPr6N-ExtraLight.otf
KozMinPr6N-Heavy.otf
KozMinPr6N-Light.otf
KozMinPr6N-Medium.otf
KozMinPr6N-Regular.otf
KozMinPro-Bold.otf
KozMinPro-ExtraLight.otf
KozMinPro-Heavy.otf
KozMinPro-Light.otf
KozMinPro-Medium.otf
KozMinPro-Regular.otf
Kroeger0455.ttf
Kroeger0456.ttf
Kroeger0465.ttf
Kroeger0466.ttf
Kroeger0553.ttf
Kroeger0554.ttf
Kroeger0555.ttf
Kroeger0556.ttf
Kroeger0557.ttf
Kroeger0558.ttf
Kroeger0563.ttf
Kroeger0564.ttf
Kroeger0565.ttf
Kroeger0566.ttf
Kroeger0655.ttf
Kroeger0656.ttf
Kroeger0665.ttf
Kroeger0666.ttf
Kroeger0755.ttf
Kroeger0756.ttf
Kroeger0765.ttf
Kroeger0766.ttf
LAstPiOne
LAstPiTwo
LDecPiOne
LDecPiTwo
LHolPiOne
LHolPiThr
LHolPiTwo
Lettau0655.ttf
Lettau0656.ttf
LetterGothicStd-Bold.otf
LetterGothicStd-BoldSlanted.otf
LetterGothicStd-Slanted.otf
LetterGothicStd.otf
Linotype Astrology Pi
Linotype Decoration Pi
Linotype Holiday Pi
LithosPro-Black.otf
LithosPro-Bold.otf
LithosPro-Regular.otf
MesquiteStd.otf
MetaBlaCap
MetaBlaCapExp
MetaBlaExp
MetaBlaIta
MetaBlaItaCap
MetaBlaItaCapExp
MetaBlaItaExp
MetaBlaLFCap
MetaBlaLFIta
MetaBlaLFItaCap
MetaBlaLFRom
MetaBlaRom
MetaBolCap
MetaBolCapExp
MetaBolExp
MetaBolIta
MetaBolItaCap
MetaBolItaCapExp
MetaBolItaExp
MetaBolLFCap
MetaBolLFIta
MetaBolLFItaCap
MetaBolLFRom
MetaBolRom
MetaBooCap
MetaBooCapExp
MetaBooExp
MetaBooIta
MetaBooItaCapExp
MetaBooItaExp
MetaBooLFCap
MetaBooLFIta
MetaBooLFItaCap
MetaBooLFRom
MetaBooRom
MetaConBlaExp
MetaConBlaLFRom
MetaConBlaRom
MetaConBolExp
MetaConBolLFRom
MetaConBooExp
MetaConBooLFRom
MetaConBooRom
MetaConExtBolExp
MetaConExtBolLFRom
MetaConExtBolRom
MetaConMedExp
MetaConMedLFRom
MetaConMedRom
MetaConNorExp
MetaConNorLFRom
MetaConNorRom
MetaHai
MetaHaiExp
MetaHaiLF
MetaLig
MetaLigExp
MetaLigLF
MetaMedCap
MetaMedCapExp
MetaMedExp
MetaMedIta
MetaMedItaCap
MetaMedItaCapExp
MetaMedItaExp
MetaMedLFCap
MetaMedLFIta
MetaMedLFItaCap
MetaMedLFRom
MetaMedRom
MetaNorCap
MetaNorCapExp
MetaNorIta
MetaNorItaCap
MetaNorItaCapExp
MetaNorItaExp
MetaNorLFCap
MetaNorLFIta
MetaNorLFItaCap
MetaNorLFRom
MetaNorRom
MetaThi
MetaThiExp
MetaThiLF
MinionPro-Bold.otf
MinionPro-BoldCn.otf
MinionPro-BoldCnIt.otf
MinionPro-BoldIt.otf
MinionPro-It.otf
MinionPro-Medium.otf
MinionPro-MediumIt.otf
MinionPro-Regular.otf
MinionPro-Semibold.otf
MinionPro-SemiboldIt.otf
Mono0755.ttf
Mono0756.ttf
Mono0765.ttf
Mono0766.ttf
Mono0855.ttf
Mono0856.ttf
Monoeger0555.ttf
Monoeger0556.ttf
Monooge0555.ttf
Monooge0556.ttf
MyriadArabic-Bold.otf
MyriadArabic-BoldIt.otf
MyriadArabic-It.otf
MyriadArabic-Regular.otf
MyriadHebrew-Bold.otf
MyriadHebrew-BoldIt.otf
MyriadHebrew-It.otf
MyriadHebrew-Regular.otf
MyriadPro-Bold.otf
MyriadPro-BoldCond.otf
MyriadPro-BoldCondIt.otf
MyriadPro-BoldIt.otf
MyriadPro-Cond.otf
MyriadPro-CondIt.otf
MyriadPro-It.otf
MyriadPro-Light.otf
MyriadPro-LightIt.otf
MyriadPro-Regular.otf
MyriadPro-Semibold.otf
MyriadPro-SemiboldIt.otf
MyriadStd-Sketch.otf
MyriadStd-Tilt.otf
NANDURIA.TTF
New Aster
New Berolina
NewAst
NewAstBla
NewAstBlaIta
NewAstBol
NewAstBolIta
NewAstIta
NewAstSemBol
NewAstSemBolIta
NewBasBol
NewBasBolIta
NewBasBolItaOsF
NewBasBolSC
NewBasIta
NewBasItaOsF
NewBasRom
NewBasSC
NewBerMT
NewsGothicStd-Bold.otf
NewsGothicStd-BoldOblique.otf
NewsGothicStd-Oblique.otf
NewsGothicStd.otf
NuevaStd-Bold.otf
NuevaStd-BoldCond.otf
NuevaStd-BoldCondItalic.otf
NuevaStd-BoldItalic.otf
NuevaStd-Cond.otf
NuevaStd-CondItalic.otf
NuevaStd-Italic.otf
NuevaStd-Light.otf
NuevaStd-LightItalic.otf
NuevaStd-Regular.otf
OCRAStd.otf
OXFOR___.TTF
Odinson Light.ttf
Odinson Outline.ttf
Odinson.ttf
Og.TTF
OratorStd-Slanted.otf
OratorStd.otf
PICTSWRL.TTF
PMN Caecilia
PMN Caecilia SC
PR-VA___.TTF
PRVIRG__.TTF
PoplarStd.otf
PrestigeEliteStd-Bd.otf
RNSTONE.TTF
RQ.TTF
RosewoodStd-Fill.otf
RosewoodStd-Regular.otf
RyoDispPlusN-Bold.otf
RyoDispPlusN-ExtraBold.otf
RyoDispPlusN-Heavy.otf
RyoDispPlusN-Medium.otf
RyoDispPlusN-SemiBold.otf
RyoGothicPlusN-Bold.otf
RyoGothicPlusN-ExtraLight.otf
RyoGothicPlusN-Heavy.otf
RyoGothicPlusN-Light.otf
RyoGothicPlusN-Medium.otf
RyoGothicPlusN-Regular.otf
RyoGothicPlusN-UltraHeavy.otf
RyoTextPlusN-ExtraLight.otf
RyoTextPlusN-Light.otf
RyoTextPlusN-Medium.otf
RyoTextPlusN-Regular.otf
Schoenecker1055.ttf
Schoenecker1056.ttf
Schoenecker1065.ttf
Schoenecker1066.ttf
Sonat
Sonata
Standard0751.ttf
Standard0752.ttf
Standard0753.ttf
Standard0754.ttf
Standard0755.ttf
Standard0756.ttf
Standard0757.ttf
Standard0758.ttf
Standard0763.ttf
Standard0764.ttf
Standard0765.ttf
Standard0766.ttf
Standard0955.ttf
Standard0956.ttf
Standard0965.ttf
Standard0966.ttf
StencilStd.otf
TektonPro-Bold.otf
TektonPro-BoldCond.otf
TektonPro-BoldExt.otf
TektonPro-BoldObl.otf
TrajanPro-Bold.otf
TrajanPro-Regular.otf
Type0755.ttf
Type0756.ttf
Uni0553.ttf
Uni0554.ttf
Uni0563.ttf
Uni0564.ttf
WarniLHPi
Warning Pi
Widget.ttf
WoodtOrnOne
ZHAYAD.TTF
ZapfDin
elvencommonspeak.ttf
firstv2.ttf
firstv2c.ttf
firstv2e.ttf
firstv2i.ttf
firstv2l.ttf
firstv2s.ttf
fonts.list
fonts.scale
hobbiton.ttf
hobbitonbrushhand.ttf
rune.ttf
spranq_eco_sans_regular.ttf
theban.ttf
Library/Frameworks:
Library/Input Methods:
.localized
Library/Internet Plug-Ins:
EvernoteSafariClipperPlugin.webplugin
Move-Media-Player.plugin
WebEx.plugin
WebEx64.plugin
fbplugin_1_0_1.plugin
Library/Keyboard Layouts:
Library/LaunchAgents:
com.adobe.AAM.Updater-1.0.plist
com.adobe.ARM.df0ab5bbe6f698196fcc21e3c1e66dcb758bd911f4d637272d9d8109.plist
com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.63C4874E-13D5-4636-8449-0CD 184A94F8C.plist
com.apple.FolderActions.enabled.plist
com.apple.FolderActions.folders.plist
com.google.keystone.agent.plist
com.intego.virusbarrierexpress.agent.plist
com.zeobit.MacKeeper.Helper.plist
Library/PreferencePanes:
.localized
MusicManager.prefPane
Step 5
osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
Snagit, iTunesHelper, Mechanical Clock 3D Lite, DiskLed, AirPort Base Station Agent, EEventManager, Snatch Server, EvernoteHelper, GrowlHelperApp, Caffeine, AdobeResourceSynchronizer, Cloud, SpeechSynthesisServer, MouseWizard, Tab for Google+, AirDisplayStatusItem, ScreenCapture, Music Manager, Aquarium Live lite, Dropbox, StatusMenu -
Printout was getting very light. Replaced with original C388A HPoriginal toner cartridge.
Problem remains same. Printing almost blank. Test page/Config page coming out blank.
Adjusted print quality also.No useHi Amygdala14,
Welcome to the HP Forums.
I see from your post that the printer is printing very light and you replaced the toner and are having the same issue.
I will be happy to help you.
Make sure the printer is connected directly to a wall outlet. (don't use a power hub or a surge protector)
Number one cause of toner issues.
Remove the toner from the printer.
Make sure all the orange packing material is removed from the toner.
Roll the toner forward and backward 4-5 times.
Then from the application go to file, print.
Click Properties.
Then from the application go to file, print.
Click Preferences or Properties.
On the Paper/Quality tab make sure EconoMode isn't checked.
Select FastRes 1200 from the Print Quality from the drop down.
Paper type should be set to the proper paper and not set to unspecified.
Try printing again to see if that makes a difference.
I have provided a document to go through the steps to see if it will resolve this issue.
Resolving Print Quality Issues.
Are you using a Genuine HP Toner?
Hope this helps.
Thank you for posting on the HP Forums.
Have a great day.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
How do you set up two sided printing on HP Laser Jet P2055
I just purchased a HP Laser Jet P2055 that advertises automoatic 2 sided printing; however, all of my copies are one-sided and I can't figure out where or how to format the printer to print two sided copies. Any help is appreciated.
Hi,
You need to change the printing preferences of the default printer to print on both sides. When you click on the print icon to print, it will display the print dialog box. Within this dialog box, there will be a button that may say Preferences or Properties...just click that button to display the printing preferences. Once you have this printing preferences window, locate the tab which will have the option that says print on both sides...provide a check mark on it, hit ok and then print. that should work.
Kiko -
My InDesign to PDF script ignores warnings, but I need to change that.
Hello,
I have a script here that converts InDesign Docs to PDF files.
It works fine and was created to make bulk pdf's regardles of missing images.
Now I want to revise it so that it does stop for missing fonts and images.
This script also was built for quark and I can see where I could remove the supress all warnings dialog to remove it for the quark part, but I can't figure out where that warning is in the InDesign part to remove it.
Here is the script: If anyone can help me find out where this line of code is that I could remove, so that the script does stop if there are missing fonts and images, that would be great!!
property Babs_Folder : "Babs PDF Folder"
global deskPath
global PathToFolder
global PathToFolder2
global tempPictures
on open thefiles
tell application "Finder"
activate
set tempPictures to (every item of (get selection)) -- MUST GET BEFORE MAKING FOLDERS
if not (exists folder Babs_Folder) then make new folder with properties {name:Babs_Folder}
set deskPath to desktop as text
set PathToFolder to POSIX path of (deskPath & Babs_Folder)
set PathToFolder2 to deskPath & Babs_Folder & ":"
end tell
my openfiles()
say "Finished"
end open
on openfiles()
try
tell application "Finder"
repeat with LoopFiles in tempPictures
set foundImages to {}
if kind of LoopFiles = "Folder" then
try
set foundImages to files of entire contents of LoopFiles as list
on error
set foundImages to files of entire contents of LoopFiles
end try
else
if kind of LoopFiles is not in {"Volume", "Disk Image", "Application", "Web Internet Location", "Document", "Text Clipping"} then
set end of foundImages to LoopFiles
end if
end if
--set WorkingFile to item i of fileList
repeat with WorkingFile in foundImages
if not ((kind of WorkingFile starts with "Quark") or (kind of WorkingFile starts with "InDesign")) then
activate
display dialog "This file is not an InDesign or Quark document!" buttons "Skipping" default button "Skipping" with icon 0 giving up after 1
else
--Determine whether to use InDesign subroutines or Quark subroutines
if (kind of WorkingFile starts with "InDesign") then -- Process as InDesign
my createInDesignPDF(WorkingFile, PathToFolder2)
else -- Process as Quark
my createQuarkPDF(WorkingFile)
end if
end if
end repeat
end repeat
end tell
on error errmsg
display dialog "OpenFiles." & return & errmsg giving up after 20
end try
end openfiles
on createInDesignPDF(WorkingFile, savePath)
set x to 0
repeat
if x = 0 then
set newpart to ""
else
set newpart to " " & x
end if
tell application "Finder"
set tempname to my add_extension(WorkingFile, newpart, "pdf")
if not (exists file tempname in folder Babs_Folder) then exit repeat
end tell
set x to x + 1
end repeat
tell application "Adobe InDesign CS3"
try
try
set user interaction level of script preferences to never interact
end try
open WorkingFile as alias
delay 2
repeat
if exists document 1 then exit repeat
delay 0.2
end repeat
set theProps to properties of PDF export preset "[Press Quality]"
set newProps to {view PDF:false, crop marks:false, bleed marks:false, color bars:false, registration marks:false} & theProps
set oldProps to properties of PDF export preferences
set properties of PDF export preferences to newProps
export front document format PDF type to (savePath & tempname) without showing options
set properties of PDF export preferences to oldProps
delay 1
tell documents to close saving no
try
set user interaction level of script preferences to interact with all
end try
on error errmsg
display dialog "CreateIndesignPDF." & return & errmsg giving up after 20
end try
end tell
end createInDesignPDF
on createQuarkPDF(WorkingFile)
try
set x to 0
repeat
if x = 0 then
set newpart to ""
else
set newpart to " " & x
end if
tell application "Finder"
set tempname to my add_extension(WorkingFile, newpart, "pdf")
if not (exists file tempname in folder Babs_Folder) then exit repeat
end tell
set x to x + 1
end repeat
tell application "QuarkXPress"
activate
open WorkingFile as alias with Suppress All Warnings
tell application "System Events" to tell process "QuarkXPress"
click menu item "Layout as PDF..." of menu 1 of menu item "Export" of menu 1 of menu bar item "File" of menu bar 1
delay 1
keystroke tempname
delay 1
keystroke "G" using {shift down, command down}
delay 1
keystroke PathToFolder
delay 1
click button "Go" of sheet 1 of window "Export as PDF"
end tell
repeat 2 times
delay 1
activate
tell application "System Events" to tell process "QuarkXPress"
try
if exists button "OK" of window 1 then
click button "OK" of window 1
end if
end try
end tell
end repeat
delay 1
tell application "System Events" to tell process "QuarkXPress"
try
click button "Save" of window "Export as PDF"
end try
end tell
repeat 4 times
delay 1
activate
tell application "System Events" to tell process "QuarkXPress"
try
if exists button "OK" of window 1 then
click button "OK" of window 1
end if
end try
try
if exists button "List Profiles" of window 1 then
click button "Continue" of window 1
end if
end try
end tell
end repeat
delay 2
close front document saving no
end tell
on error errmsg
display dialog "CreateQuarkPDF." & return & errmsg giving up after 20
end try
end createQuarkPDF
on add_extension(WorkingFile, new_part, new_extension)
try
set this_info to info for WorkingFile as alias
set this_name to the name of this_info
set this_extension to the name extension of this_info
if this_extension is missing value then
set the default_name to this_name
else
set the default_name to text 1 thru -((length of this_extension) + 2) of this_name
end if
return (the default_name & new_part & "." & the new_extension)
on error errmsg
display dialog "add extension " & return & errmsg
end try
end add_extension
thanks!!!
babsHello,
OK-I had then blew it... ;-(
I was playing with a combination of removing (commenting out those two try areas you suggested), and that didn't do it on its own. It didn't do anything, it just said finished.
Then I found this in the dictionary ( set alert missing images to true) and added it to the script below. See my changes in Bold.
At one point, I was able to get the missing images dialog box. Then I don't know what happened, I think I tried to turn one of the try areas back on to test it, and then it stopped giving me that dialog box and only the one being asked in that on error errmsg - display dialog "CreateIndesignPDF." & return & errmsg giving up after 20, was showing up.
I commented out what I thought I had changed, but even after compiling and re-saving, I can't seem to get the missing images dialog box to show???
any thoughts?
thanks!!!
babs
property Babs_Folder : "Babs PDF Folder"
global deskPath
global PathToFolder
global PathToFolder2
global tempPictures
on open thefiles
tell application "Finder"
activate
set tempPictures to (every item of (get selection)) -- MUST GET BEFORE MAKING FOLDERS
if not (exists folder Babs_Folder) then make new folder with properties {name:Babs_Folder}
set deskPath to desktop as text
set PathToFolder to POSIX path of (deskPath & Babs_Folder)
set PathToFolder2 to deskPath & Babs_Folder & ":"
end tell
my openfiles()
say "Finished"
end open
on openfiles()
try
tell application "Finder"
repeat with LoopFiles in tempPictures
set foundImages to {}
if kind of LoopFiles = "Folder" then
try
set foundImages to files of entire contents of LoopFiles as list
on error
set foundImages to files of entire contents of LoopFiles
end try
else
if kind of LoopFiles is not in {"Volume", "Disk Image", "Application", "Web Internet Location", "Document", "Text Clipping"} then
set end of foundImages to LoopFiles
end if
end if
--set WorkingFile to item i of fileList
repeat with WorkingFile in foundImages
if not ((kind of WorkingFile starts with "Quark") or (kind of WorkingFile starts with "InDesign")) then
activate
display dialog "This file is not an InDesign or Quark document!" buttons "Skipping" default button "Skipping" with icon 0 giving up after 1
else
--Determine whether to use InDesign subroutines or Quark subroutines
if (kind of WorkingFile starts with "InDesign") then -- Process as InDesign
my createInDesignPDF(WorkingFile, PathToFolder2)
else -- Process as Quark
my createQuarkPDF(WorkingFile)
end if
end if
end repeat
end repeat
end tell
on error errmsg
display dialog "OpenFiles." & return & errmsg giving up after 20
end try
end openfiles
on createInDesignPDF(WorkingFile, savePath)
set x to 0
repeat
if x = 0 then
set newpart to ""
else
set newpart to " " & x
end if
tell application "Finder"
set tempname to my add_extension(WorkingFile, newpart, "pdf")
if not (exists file tempname in folder Babs_Folder) then exit repeat
end tell
set x to x + 1
end repeat
tell application "Adobe InDesign CS3"
try
--try
--set user interaction level of script preferences to never interact
--end try
open WorkingFile as alias
set alert missing images to true
delay 2
repeat
if exists document 1 then exit repeat
delay 0.2
end repeat
set theProps to properties of PDF export preset "[Press Quality]"
set newProps to {view PDF:false, crop marks:false, bleed marks:false, color bars:false, registration marks:false} & theProps
set oldProps to properties of PDF export preferences
set properties of PDF export preferences to newProps
export front document format PDF type to (savePath & tempname) without showing options
set properties of PDF export preferences to oldProps
delay 1
tell documents to close saving no
--try
--set user interaction level of script preferences to interact with all
--end try
on error errmsg
display dialog "CreateIndesignPDF." & return & errmsg giving up after 20
end try
end tell
end createInDesignPDF
on createQuarkPDF(WorkingFile)
try
set x to 0
repeat
if x = 0 then
set newpart to ""
else
set newpart to " " & x
end if
tell application "Finder"
set tempname to my add_extension(WorkingFile, newpart, "pdf")
if not (exists file tempname in folder Babs_Folder) then exit repeat
end tell
set x to x + 1
end repeat
tell application "QuarkXPress"
activate
open WorkingFile as alias with Suppress All Warnings
tell application "System Events" to tell process "QuarkXPress"
click menu item "Layout as PDF..." of menu 1 of menu item "Export" of menu 1 of menu bar item "File" of menu bar 1
delay 1
keystroke tempname
delay 1
keystroke "G" using {shift down, command down}
delay 1
keystroke PathToFolder
delay 1
click button "Go" of sheet 1 of window "Export as PDF"
end tell
repeat 2 times
delay 1
activate
tell application "System Events" to tell process "QuarkXPress"
try
if exists button "OK" of window 1 then
click button "OK" of window 1
end if
end try
end tell
end repeat
delay 1
tell application "System Events" to tell process "QuarkXPress"
try
click button "Save" of window "Export as PDF"
end try
end tell
repeat 4 times
delay 1
activate
tell application "System Events" to tell process "QuarkXPress"
try
if exists button "OK" of window 1 then
click button "OK" of window 1
end if
end try
try
if exists button "List Profiles" of window 1 then
click button "Continue" of window 1
end if
end try
end tell
end repeat
delay 2
close front document saving no
end tell
on error errmsg
display dialog "CreateQuarkPDF." & return & errmsg giving up after 20
end try
end createQuarkPDF
on add_extension(WorkingFile, new_part, new_extension)
try
set this_info to info for WorkingFile as alias
set this_name to the name of this_info
set this_extension to the name extension of this_info
if this_extension is missing value then
set the default_name to this_name
else
set the default_name to text 1 thru -((length of this_extension) + 2) of this_name
end if
return (the default_name & new_part & "." & the new_extension)
on error errmsg
display dialog "add extension " & return & errmsg
end try
end add_extension
Maybe you are looking for
-
Compacting the cache-config.xml for multiple cache-store
Hi, I have a cache-config.xml that has various ReadWriteBackingMaps with different CacheLoader implementations. I was wondering of the best way to compact this xml using the scheme-ref tag, as all I really need is schemes, with different cache stores
-
BADI for Claims search in trade promotion management
Hi Experts, I am enhancing the Claims search in trade promotion management with a custom field. I added a custom field in the search screen of claims. I want to filter the records based on that custom field. The component is BT311S_CSR and the search
-
Catalog group membership not updating
Hi, I am experiencing a problem with my catalog groups. I have just created a new catalog group and added a user account as a member and also removed that user account from another group by logging in as administrator in answers and using settings -
-
Migration to UCM11g: Profile rules get messed up post migration.
Hi, We are trying to migrate from UCM10gR3 to UCM11g. We are facing problems when importing the content archive into ucm11g install. Import failure happens due to wrong set of rules getting applied during the import, i.e. some inconsequential metadat
-
Our Kaspersky Anti-Virus is blocking Firefox 5.0 identifying it as malicious. Firefox message stated that Kaspersky URL Advisory & Kaspersky Virtual Keyboard, 11.0.2.579. If this is not resolved we will have to change to another browser quickly. Have