Problem with bar cfchart, yaxistitle distorts mouseover text
I am having a problem with cfchart bar charts, have searched but not found a solution. If I specify any value for yaxistitle, it distorts the text that appears when you mouseover. If I don't specify yaxistitle, the text in the mouseover "bubble" looks fine. But if I specify *anything* for yaxistitle, it does not.
Here are a couple of snips that show the problem. This one has yaxistitle="US$ million" in the cfchart tag
This one did not have anything for the yaxistitle parameter.
The clients would prefer, and I agree with them, to have "Private Sector" left aligned, above the yaxistitle value and data value. I experimented with the default.xml style file, to no avail.
Suggestions welcome!
- Michael
I've only encountered two instances where the PUT operation failed on certain files. One, the server does not like the particular file type, and two, when the file was open in another program.
Other than that, I could only guess that it may have something else to do with the web server configuration and not DW.
Similar Messages
-
Problem with non iPhone users receiving my text sent pictures. Can I make them smaller files? I know that is possible for email sent pics.
My bad, It was a Verizon problem. When they upgraded my phone they were supposed to remove all blocks on messaging . Found out they did not do this. All messaging now works. Thanks for listening.
-
I am having problems with my droid incredible 2 loading texts and so I thought maybe I had too many saved, I tried to delete some of them and it wont seem to delete either?
Did you pull the battery?
-
Problem with Bar Chart using Date Data
I am trying to make a simple horizontal bar chart as a Gantt chart. I am trying to set the min and max for the X axis but it is acting strangely. As you can see in the screenshot below, I set the min to 1/1/2000 but the chart uses 9/28/2011. Similar problem with the max setting. Am I doing something wrong here? Can anyone duplicate this? Anyone have a solution other than this workaround I am now using (which I assume will break my chart once Apple fixes this problem)?
BadUnit,
I assume Numbers, like me, is confused why you would set min/max limits that do not include the data?
I do get the same result as you when I enter the time range for the chart as 1/1/2000 thru 1/1/2004.
I even tried making a separate table for the chart:
There is definitley a problem.
When I enter, what I think are reasonable, min and max dates for the chart
min = 1/1/2013
max = 12/31/2015
The chart adjusts like this: -
Problem with action script 3 make input text box and button....
Hi every one I am trying to make a family book using "Air for Android" with a simple search engin in the book
air for android only work with AS3,
the search function is to type a person's name and hit submit then go to a specific frame.
have a problem making below code to work in AS3 and hopefully one of you guys can lead me in the right direction to fix the issue.
Currently, I have an input text box and a button. When you type specific words into the input box and then hit the button it sends you to a specific frame.
(it work find in AS2 but not in AS3,)
Here is my current code that is placed on the main timeline, first frame:
stop();
onEnterFrame = function () {
submit.onRelease = function() {
switch (yourname.text) {
case "name1" :
gotoAndStop(2);
break;
case "name2" :
gotoAndStop(3);
break;
My button that checks if the phrase is correct is called "submit" and my input box has an instance of "yourname".
My phrases that will be accepted in the input box are "name1" and "name2" which bring me to two different frames.
Basically, I'm having a problem with making this to work with AS3.you should use the default option in the switch statement
that way yourname contains something not in one of the case statements it will go to the default bit and execute teh code there
function onSubmit(e:MouseEvent):void
switch (yourname.text)
case "name1":
gotoAndStop(2);
break;
case "name2":
gotoAndStop(3);
break;
default:
goToAndStop(you frame you want);
break; -
Run backup and it starts, backs up the services page, the CDR database, the DCD database,the TFTP files dumps them all to the staging area. Then it starts building the archive file at the designated location. It gets one or 2 percent done then errors out, saying that the destination archive is smaller than the staging size. the staging directory is 299 MB and the archive location has 32 gigs of free space. Why does this happen and how do I fix it?
Hi Dave,
Maybe you are hitting this bug;
CSCee43938 Bug Details
Archive file size is less than staging directory
Symptoms:
BARS incorrectly reports file size limits when doing backup making it fail
Conditions:
BARS version 4.0(4) and earlier
Workaround:
First of all verify that the location where the archive is being created has
enough space, i.e. more than the staging directory size as indicated in the
BARS log. In that case, this is a valid message indicating that storage
destination location doesn't have enough space to host the archive file.
If there is enough space, and the message is still displayed, it could be
because of the following:
The problem occurs only when a single file has a size more than 2 GB. This
usually is the CDR database.
Purging old CDR records or deselecting CDR database backup during BARS
configuration can avoid this situation.
Update on 05/28/2004:-
The problem arose because the database size has increased more than 2GB and
BARS is unable to create the archive properly when a single file size is more
than 2 GB. Try to delete the records of the database which are not required and
then do a Backup.
Or this from Tray;
OR it can be a problem with NIC card settings on the destination file server.
Event ID: 50
Event Type: Warning
Event Source: Ftdisk
Description: {Lost Delayed-Write Data} The system was attempting to transfer file data
from buffers to \Device\LanmanRedirector. The write operation failed, and only some of the
data may have been written to the file.
http://support.microsoft.com/default.aspx?scid=kb;en-us;816004
Checked the Link Duplex / Speed on the server to which they were backing up to and it was
set to " Auto Detect ". Changed it to Full / 100 and now the backups work fine.
Hope this helps!
Rob -
SYSDBA - problem with viewing other users package body texts on sys account
Hi,
SQL Dev 1.0.0.15.27 has problem with correct display of other users package body texts on sys account. All bodies have "create or replace" text instead of all pck. bodies text.
I guest it's problem with SYSDBA role. On system account text is displayed correctly. Quest SQL Navigator 5.x has no problem with this. Any ideas ?
Regards,
MMHi Everyone,
Just so I can close the case on this issue, although I was successful in
using CSS to resolve the issue, actually, the issue was not really
resolved. There was (for me) still the problem of rollover images not
working in IE, and if I were ever to get another good night's sleep, I
would need to resolve it -- so I did. Recall me saying earlier about the
sizes being brought in to the javascript code by Dreamweaver? The original
issue with having the size of the small image in the code caused the code
to see the larger image as small also! However, when I deleted those size
attributes' numbers, I failed to delete the words "width" and "height"
along with the double quotes following each. So, while the other browsers
ignored these "blank" attributes within these double quotes, IE apparently
didn't, reading these "blank" values as some very small value, thus
displaying the image in the absolutely smallest size possible! Wow! When I
removed these two blank attributes, my problem went away! Live and learn!
So, to all who were desperately trying to assist me, please accept my
deepest and most sincere apologies. All the while I was blaming IE, I was
the guilty one!!! Shame on me, and thanks for the wonderful responses I
received from the Dreamweaver forum team. I will go and stand in the corner
for 8 hours with my dunce cap on...
Joe Dardard -
Problem with scramb image MULTI DISTORTION COLOR
PROBLEM WITH IMAGE, SOMETIMES ITS DISTORTIONATED, AND SLOW
Are you writing of problems with the image displayed on your screen? Anyway that you can post a screenshot (to make a whole screenshot, hold down the Shift, Command and 3 keys at the same time). Upload your screenshot using the camera icon in the composition bar above.
It would also help to know which model MacBook Pro you have - 15" late 2011, for example.
Clinton -
Hi,
Everytime I go abroad I have problems with my contacts, some people send me messages and I dont receive them. I sent them messages and they are not received either. Their phones and mine show them as sent, but they are never received. Sometimes the text messages sent to arrive in my email about three weeks later. Any ideas how I can resolve this and get back to messaging my friends as normal?
Thanks TBasic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). Try each of these in order until the issue is resolved.
-
Problem with getting word count in TLF text
Hi,
I want to get the word count from my TLF text, but the problem is that I am not being able to handle th case for space.
I am using the findNextWordBoundary property of ParagraphElement as shown below:
private function countWords( para : ParagraphElement ) : void
var wordBoundary:int = 0;
var prevBoundary:int = 0;
while ( wordBoundary != para.findNextWordBoundary( wordBoundary ) )
// If the value is greater than 1, then it's a word, otherwise it's a space.
if ( para.findNextWordBoundary( wordBoundary ) - wordBoundary > 1)
wordCount += 1;
prevBoundary = wordBoundary;
wordBoundary = para.findNextWordBoundary( wordBoundary );
// If the value is greater than 1, then it's a word, otherwise it's a space.
if ( wordBoundary - prevBoundary > 1 )
var s:String = para.getText().substring( prevBoundary, wordBoundary );
lenTotal += s.length;
Now I have 2 issues here:
If my string is for eg: Hi, I am writing in "TLF". And I want to get its word count then
1) Suppose I take the case of the string Hi, . Then para.getText().substring( prevBoundary, wordBoundary ) gives the text as Hi i.e without the comma. Same case for the string "TLF forums" , It treats each " as a single word and not the whole "TLF" as a single word. Why doesn't it compute till spaces, that should be the ideal case. So until we don't give a space it should count the whole thing as a word.
2) So now the problem is I have applied a condition if ( wordBoundary - prevBoundary > 1 ) to check if it is a space i.e. if the diff is <= 1 it is a Space. But if I use this I miss out on single words. Like for eg if I have "Hi, This is a string" ,then 'a' is ignored too.
Now I could have added a check here along with the space check that the string between prevBoundary and wordBoundary is " "(i.e a space), Then also it is a problem as then the single words like a,&,I will be ignored.
So, now I am stuck with this issue and need some help from you guys.
ThanksfindNextWordBoundary is not going to serve your purpose. I'd propose doing something like this:
// didn't test this but something like this - whitespace matches any set of 1 or more white space characters
static const whiteSpaceRegExp:RegExp = /[u0020|u000A|u000D]*/
public static function countWords( para : ParagraphElement ) : void
return para.getText().split(whiteSpaceRegExp).length;
A good list of everything considered whitespace extracted from the unicode space can be found here:
http://sourceforge.net/adobe/tlf/svn/449/tree/trunk/textLayout/src/flashx/textLayout/utils /CharacterUtil.as
In function createWhiteSpaceObject
Hope that helps,
Richard -
Problem with bar chart and conditionals
Hi Experts!
I have a problem doing a chart
My chart is horizontal barchart...and Axis Y there is some accounts of a dimension...
There is two kind of accounts...when value is > 0 then green and < 0 then red and other kind is > 0 red and < 0 green... so each bar is an account but depends of each account it will be green or red. In tables I can do it with conditional format depends of other column...but I can't do it with a chart.
Is possible to do this?
Thanks!!!
I add a picture with my problem: http://imageshack.us/photo/my-images/849/barchart.jpg/Hi,
In 11g in graph properties in the second tab(STYLE)-->Graph Data ..Style and Conditional Formatting-->Conditional Formatting .
You can see all the columns used.
You can select the column and specify the filter condition and select the color for the graph.
You can select for which column you need to have the conditional formatting.
Regards
MuRam -
Master gain problem with Direct Audio Device: distorted sound
Hi everybody,
I'm in a bit of a fix here. I've got an application that plays music. Developped with 1.4.2, got it working.
However, when I run it with the the latest 1.5 release (5.0 update 6), the sound is distorted. More specifically, though I'm not entirely sure, I'd say it's the bass that gets distorted. By "distorted" I mean it's shrieking, scratching instead of... well, sounding.
I'm using the FloatControl.Type.MASTER_GAIN control to change the "volume". Since it's playback, I'm using a SourceDataLine, and that one ain't got no VOLUME control. Now the problem only appears when I'm amplifying the audio data, i.e. when the MASTER_GAIN's value is greater than 0.0 decibel.
Inverstigating a little more, I found out that 1.5 is using the "Direct Audio Device" Mixer as default as opposed to the "Java Sound Audio Engine" used by 1.4.2. If I force the use of the Java Sound Audio Engine with 1.5 (getting the line from the appropriate Mixer), the sound is OK. However, since the application is intended to be cross-platform, I'd prefer not to impose any such specific behaviour (plus the performance of the Direct Audio Device is twice as good).
Tested on Linux version 2.6.11-1.1369_FC4 and Windows NT.
Looked at www.jsresources.org, but didn't find any information specific to this problem.
Bugparade: no hits.
I'd be glad if anyone could help me on this.Nobody ?
It narrowed it down to the following testcode. Please try to run it with Java 1.5 and some compatible audio file (a WAVE file, for instance):
import java.io.*;
import javax.sound.midi.*;
import javax.sound.sampled.*;
import javax.sound.sampled.spi.*;
* @author futt
public class SoundTest {
public static void main(String[] args)
throws Exception
if( args.length != 1 ){
System.err.println("SYNOPSIS: SoundTest [FILE]");
return ;
final File f = new File(args[0]);
AudioFileFormat aff = AudioSystem.getAudioFileFormat(f);
Mixer.Info mymixer = null;
Mixer.Info[] mixers = AudioSystem.getMixerInfo();
for(int ii = mixers.length; --ii >= 0; ){
if( mixers[ii].getName().toLowerCase().indexOf("direct audio device") != -1 ){
mymixer = mixers[ii];
break;
Line.Info info = new DataLine.Info(SourceDataLine.class, aff.getFormat());
SourceDataLine line;
if( mymixer != null ){
Mixer m = AudioSystem.getMixer(mymixer);
if( m != null ){
System.err.println("Using mixer: "+m);
line = (SourceDataLine) m.getLine(info);
else {
System.err.println("Using default mixer");
line = (SourceDataLine) AudioSystem.getLine(info);
System.err.println("Got line: "+line.getClass());
InputStream in = null;
try{
in = new BufferedInputStream(new FileInputStream(f));
line.open( aff.getFormat() );
line.start();
FloatControl fc = (FloatControl) line.getControl(FloatControl.Type.MASTER_GAIN);
fc.setValue(3f);
byte[] buf = new byte[ 1 << 14 ];
for(int read; ! Thread.currentThread().isInterrupted() && (read = in.read(buf)) != -1; ){
line.write(buf, 0, read);
if( ! Thread.currentThread().isInterrupted() ){
line.drain();
line.stop();
catch (Exception x){
x.printStackTrace();
finally {
line.close();
if( in != null ){
try{ in.close(); } catch (IOException iox){}
} -
Problem with existing script, can't get text of item
I'm taking an earlier script and condensing it so that it will only work from one SELECTED folder. I thought it would be simple but i seam to be running into a few issues
This is the error I get
Result:
error "Can’t get last text item of alias \"Images:2012-2013:WK21:Freedom:Freedom_WK21_PSD:\"." number -1728 from last text item of alias "Images:2012-2013:WK21:Freedom:Freedom_WK21_PSD:"
property type_list : {"8BPS"}
property extension_list : {"psd"}
script o
property theseNames : {}
end script
-- empty log file
do shell script "echo 'Files not processed in Photoshop :' > ~/Desktop/LogPhotoshopError.txt"
set noError to true
--at the beginning of the script, ask whether to replace or skip existing files? to apply to all?
--use the result for the if file exists?
display dialog "Should I replace or skip exisiting files?" buttons {"Replace", "Skip (Faster)"} default button 2 with icon 1
set skipFiles to (button returned of the result) is "Skip (Faster)"
--Below is what I removed
--set dtF to paragraphs of (do shell script "ls -F ~/Desktop | grep '/' | cut -d'/' -f1")
--set tc to (count dtF)
--repeat with i from 1 to tc
-- set folderName to item i of dtF --<: is the folder name, no need to use text item delimiters -->":"
-- if folderName does not start with "2_" and folderName does not start with "Hot" and folderName does not start with "Press" and folderName does --not start with "Design" and folderName does not start with "Keywords" and folderName does not start with "Season" and folderName does not
--start with "Sue" and folderName does not start with "Design" then
--Setup list of folders and process details of folders
tell application "Finder" to set folderName to (choose folder with prompt "Select Folder")
set {oldTID, my text item delimiters} to {my text item delimiters, "_WK"}
set FolderEndName to last text item of folderName
set brandName to first text item of folderName
set my text item delimiters to "_PSD"
set weekNumber to first text item of FolderEndName
set my text item delimiters to oldTID
set theFolder to ("Hal 9000:Users:matthew:Desktop:" & folderName)
--set up names to destination folders and create locally based on brand name and week number
set this_local_folder to "Images:2012-2013"
set localWeekFolder to my getFolderPath("WK" & weekNumber, this_local_folder)
set localBrandFolder to my getFolderPath(brandName, localWeekFolder)
set localBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", localBrandFolder)
set localBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", localBrandFolder)
set localBrandFolder_PSD to my getFolderPath(brandName & "_WK" & weekNumber & "_PSD", localBrandFolder)
set this_Network_folder to "DCKGEN:Brands:Zoom:Brand - Zoom:Upload Photos:2013:"
set networkWeekFolder to my getFolderPath("Week" & weekNumber, this_Network_folder)
set networkBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", networkWeekFolder)
set website_images to "DCKGEN:Website_Images:"
--set up names to destination folders and create over Netwrok for FTP collection (based on a mounted drive)
set this_ftp_folder to "Impulse:"
set ftpWeekFolder to my getFolderPath("Week" & weekNumber, this_ftp_folder)
set ftpBrandFolder to my getFolderPath(brandName, ftpWeekFolder)
set ftpBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", ftpBrandFolder)
set ftpBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", ftpBrandFolder)
--taking the folder identify which process it must follow. F R E E D O M W I T H P N G
if brandName is equal to "Freedom" then
try
tell application "Finder" to set o's theseNames to (name of files of alias theFolder whose file type is in the type_list or name extension is in the extension_list)
on error
set o's theseNames to {} -- no psd files or "8BPS"
end try
set numOfNames to (count o's theseNames)
repeat with j from 1 to numOfNames
set thefile to theFolder & ":" & (item j of o's theseNames)
-- F R E E D O M Folder Photoshop Process W I T H P N G
set thisName to (item j of o's theseNames)
tell application "Finder"
set t_ext to name extension of file thefile
if t_ext is not "" then set thisName to text 1 thru -((count t_ext) + 2) of thisName
set b to exists file (localBrandFolder_PSD & thisName & ".psd")
end tell
if not b or (b and not skipFiles) then -- not exists file or file exists and "replace" (continue the rest of the script).
tell application "Adobe Photoshop CS5.1"
-- I remove the command activate, Photoshop stay in background
set ruler units of settings to pixel units
try
open (alias thefile) showing dialogs never
set origName to name of current document
set myOptions to {class:JPEG save options, quality:12}
set myPNGOptions to {class:PNG save options, interlaced:false}
set myPSDOptions to {class:Photoshop save options, embed color profile:true, save layers:true}
tell current document
--If the quick mask mode has been left on then delete the channel Quick Mask
if (quick mask mode) then delete channel ¬
"Quick Mask"
--If the Layer is incorrectly labeled with Original Layer it needs renaming to original Image
if (exists layer "Original Layer") then ¬
tell layer "Original Layer" to set name to "Original Image"
save in (localBrandFolder_PSD & origName) as Photoshop format with options myPSDOptions without copying
(delete layer "Original Image") flatten
resize image resolution 300 resample method none
--sharpen image
filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
save in (ftpBrandFolder_High_Res & name) as JPEG with options myOptions without copying
--Prepare for Low RES by resetting image history
set current history state to history state 3
delete current layer
merge visible layers
resize image width 1020
resize image resolution 300 resample method none
filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
--add save to lowResFolder with same options
save in (networkBrandFolder_Low_Res & name) as PNG with options myPNGOptions without copying
flatten
save in (networkBrandFolder_Low_Res & name) as JPEG with options myOptions without copying
set newFile to file path
set newFile2 to newFile as string -- for testing end of name
if newFile2 ends with "_2.jpg" or newFile2 ends with "_3.jpg" or newFile2 ends with "_4.jpg" or newFile2 ends with "_5.jpg" or newFile2 ends with "_6.jpg" or newFile2 ends with "_7.jpg" or newFile2 ends with "_8.jpg" or newFile2 ends with "_9.jpg" or newFile2 ends with "_10.jpg" or newFile2 ends with "11.jpg" then -- exclude website_images
my duplicateFile(newFile, {ftpBrandFolder_Low_Res})
else
save in (website_images & name) as JPEG with options myOptions without copying
end if
close saving no
end tell
on error
set noError to false
my myLogs(thefile) -- write path to log file in Desktop
try
close saving no --if exists, close current document
end try
end try
end tell
end if
end repeat
--End F R E E D O M W I T H P N G
end if
if not noError then do shell script "/usr/bin/open ~/Desktop/LogPhotoshopError.txt'"
on myLogs(t)
try
do shell script "echo " & (quoted form of t) & ">> ~/Desktop/LogPhotoshopError.txt'"
end try
end myLogs
on duplicateFile(tFile, foldersPath) -- tFile is an alias, foldersPath is a list of folder
tell application "Finder" to repeat with folderPath in foldersPath
with timeout of 200 seconds -- adjust it, error if the copy is longer that 200 seconds
duplicate tFile to folder folderPath with replacing
end timeout
end repeat
end duplicateFile
on getFolderPath(tName, folderPath)
tell application "Finder" to tell folder folderPath
if not (exists folder tName) then
return (make new folder at it with properties {name:tName}) as string
else
return (folder tName) as string
end if
end tell
end getFolderPath
tell application "Finder"
open "Hal 9000:Users:matthew:Desktop:LogPhotoshopError.txt"
end tellI'm getting close or at least I hope this is how it looks now, but appears not pick up the files in the folder?
The result
exists folder "Freedom_WK20_HR" of folder "impulse:Week20:Freedom:"
get folder "Freedom_WK20_HR" of folder "impulse:Week20:Freedom:"
get name of every file of alias (alias "Images:2012-2013:WK20:Freedom:Freedom_WK20_PSD:") whose {"8BPS"} contains file type or {"psd"} contains name extension
open "Hal 9000:Users:matthew:Desktop:LogPhotoshopError.txt"
end tell
--------------------MAIN SCRIPT BELOW__------------------
property type_list : {"8BPS"}
property extension_list : {"psd"}
script o
property theseNames : {}
end script
-- empty log file
do shell script "echo 'Files not processed in Photoshop :' > ~/Desktop/LogPhotoshopError.txt"
set noError to true
--at the beginning of the script, ask whether to replace or skip existing files? to apply to all?
--use the result for the if file exists?
display dialog "Should I replace or skip exisiting files?" buttons {"Replace", "Skip (Faster)"} default button 2 with icon 1
set skipFiles to (button returned of the result) is "Skip (Faster)"
--Setup list of folders and process details of folders
tell application "Finder"
set theFolder to (choose folder with prompt "Select Folder")
set folderName to name of theFolder
set {oldTID, my text item delimiters} to {my text item delimiters, "_WK"}
set FolderEndName to last text item of folderName
set brandName to first text item of folderName
set my text item delimiters to "_PSD"
set weekNumber to first text item of FolderEndName
set my text item delimiters to oldTID
--set up names to destination folders and create locally based on brand name and week number
set this_local_folder to "Images:2012-2013"
set localWeekFolder to my getFolderPath("WK" & weekNumber, this_local_folder)
set localBrandFolder to my getFolderPath(brandName, localWeekFolder)
set localBrandFolder_PSD to my getFolderPath(brandName & "_WK" & weekNumber & "_PSD", localBrandFolder)
set this_Network_folder to "DCKGEN:Brands:Zoom:Brand - Zoom:Upload Photos:2013:"
set networkWeekFolder to my getFolderPath("Week" & weekNumber, this_Network_folder)
set networkBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", networkWeekFolder)
set website_images to "DCKGEN:Website_Images:"
--set up names to destination folders and create over Netwrok for FTP collection (based on a mounted drive)
set this_ftp_folder to "Impulse:"
set ftpWeekFolder to my getFolderPath("Week" & weekNumber, this_ftp_folder)
set ftpBrandFolder to my getFolderPath(brandName, ftpWeekFolder)
set ftpBrandFolder_Low_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", ftpBrandFolder)
set ftpBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", ftpBrandFolder)
--taking the folder identify which process it must follow.
if brandName is equal to "BHS" then
try
tell application "Finder" to set o's theseNames to (name of files of alias theFolder whose file type is in the type_list or name extension is in the extension_list)
on error
set o's theseNames to {} -- no psd files or "8BPS"
end try
set numOfNames to (count o's theseNames)
repeat with j from 1 to numOfNames
set thefile to theFolder & ":" & (item j of o's theseNames)
-- B H S Folder Photoshop Process
set thisName to (item j of o's theseNames)
tell application "Finder"
set t_ext to name extension of file thefile
if t_ext is not "" then set thisName to text 1 thru -((count t_ext) + 2) of thisName
set b to exists file (localBrandFolder_PSD & thisName & ".psd")
end tell
if not b or (b and not skipFiles) then -- not exists file or file exists and "replace" (continue the rest of the script).
tell application "Adobe Photoshop CS5.1"
-- I remove the command activate, Photoshop stay in background
set ruler units of settings to pixel units
try
open (alias thefile) showing dialogs never
set origName to name of current document
set myOptions to {class:JPEG save options, quality:12}
set myPSDOptions to {class:Photoshop save options, embed color profile:true, save layers:true}
tell current document
--If the quick mask mode has been left on then delete the channel Quick Mask
if (quick mask mode) then delete channel ¬
"Quick Mask"
--If the Layer is incorrectly labeled with Original Layer it needs renaming to original Image
if (exists layer "Original Layer") then ¬
tell layer "Original Layer" to set name to "Original Image"
save in (localBrandFolder_PSD & origName) as Photoshop format with options myPSDOptions without copying
(delete layer "Original Image") flatten
resize image resolution 300 resample method none
--sharpen image
filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
save in (ftpBrandFolder_High_Res & name) as JPEG with options myOptions without copying
--Prepare for Low RES by resetting image history
set current history state to history state 3
flatten
resize image width 1348
resize image resolution 300 resample method none
filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
--add save to lowResFolder with same options
save in (networkBrandFolder_Low_Res & name) as JPEG with options myOptions without copying
set newFile to file path
set newFile2 to newFile as string -- for testing end of name
if newFile2 ends with "_2.jpg" or newFile2 ends with "_3.jpg" or newFile2 ends with "_4.jpg" or newFile2 ends with "_5.jpg" or newFile2 ends with "_6.jpg" or newFile2 ends with "_7.jpg" or newFile2 ends with "_8.jpg" or newFile2 ends with "_9.jpg" or newFile2 ends with "_10.jpg" or newFile2 ends with "11.jpg" then -- exclude website_images
my duplicateFile(newFile, {ftpBrandFolder_Low_Res})
else
my duplicateFile(newFile, {ftpBrandFolder_Low_Res, website_images})
end if
close saving no
end tell
on error
set noError to false
my myLogs(thefile) -- write path to log file in Desktop
try
close saving no --if exists, close current document
end try
end try
end tell
end if
end repeat
--End BHS
--taking the folder identify which process it must follow. B U R T O N
else if brandName is equal to "Burton" then
try
tell application "Finder" to set o's theseNames to (name of files of alias theFolder whose file type is in the type_list or name extension is in the extension_list)
on error
set o's theseNames to {} -- no psd files or "8BPS"
end try
set numOfNames to (count o's theseNames)
repeat with j from 1 to numOfNames
set thefile to theFolder & ":" & (item j of o's theseNames)
-- B U R T O N Folder Photoshop Process
set thisName to (item j of o's theseNames)
tell application "Finder"
set t_ext to name extension of file thefile
if t_ext is not "" then set thisName to text 1 thru -((count t_ext) + 2) of thisName
set b to exists file (localBrandFolder_PSD & thisName & ".psd")
end tell
if not b or (b and not skipFiles) then -- not exists file or file exists and "replace" (continue the rest of the script).
tell application "Adobe Photoshop CS5.1"
-- I remove the command activate, Photoshop stay in background
set ruler units of settings to pixel units
try
open (alias thefile) showing dialogs never
set origName to name of current document
set myOptions to {class:JPEG save options, quality:12}
set myPSDOptions to {class:Photoshop save options, embed color profile:true, save layers:true}
tell current document
--If the quick mask mode has been left on then delete the channel Quick Mask
if (quick mask mode) then delete channel ¬
"Quick Mask"
--If the Layer is incorrectly labeled with Original Layer it needs renaming to original Image
if (exists layer "Original Layer") then ¬
tell layer "Original Layer" to set name to "Original Image"
save in (localBrandFolder_PSD & origName) as Photoshop format with options myPSDOptions without copying
(delete layer "Original Image") flatten
resize image resolution 300 resample method none
--sharpen image
filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
save in (ftpBrandFolder_High_Res & name) as JPEG with options myOptions without copying
--Prepare for Low RES by resetting image history
set current history state to history state 3
flatten
resize image width 1020
resize image resolution 300 resample method none
filter current layer using unsharp mask with options {amount:80, radius:3.2, threshold:0}
--add save to lowResFolder with same options
save in (networkBrandFolder_Low_Res & name) as JPEG with options myOptions without copying
set newFile to file path
set newFile2 to newFile as string -- for testing end of name
if newFile2 ends with "_2.jpg" or newFile2 ends with "_3.jpg" or newFile2 ends with "_4.jpg" or newFile2 ends with "_5.jpg" or newFile2 ends with "_6.jpg" or newFile2 ends with "_7.jpg" or newFile2 ends with "_8.jpg" or newFile2 ends with "_9.jpg" or newFile2 ends with "_10.jpg" or newFile2 ends with "11.jpg" then -- exclude website_images
my duplicateFile(newFile, {ftpBrandFolder_Low_Res})
else
my duplicateFile(newFile, {ftpBrandFolder_Low_Res, website_images})
end if
close saving no
end tell
on error
set noError to -
Problem with lower third template & modifying the text...
I'm doing a top 10 type video, & I downloaded this lower third template & I had never used AE before; I figured out how to duplicate it multiple times through the video where appropriate... but when I modify the text on one template it does the same thing to all of them. How do I make them all separate?
Ok, think about what you have done to change the text for moment. You drilled down to a pre-comp or nested comp that contains a text layer. This makes perfect sense. Unfortunately that text pre-comp is also nested in a pre-comp. This means you need to find each of these pre-comps in your project panel and duplicate them there, open the duplicates and then change the text in the duplicates, then replace the original nested comps in the main comp.
I have another observation on your workflow. You've put a bunch of shots and transitions in a single comp which, in effect, tells me that you are using AE as a NLE (editing app). What I would have done is to put every one of your shots that you want to add titles to in a separate comp to simplify each comp. I'd then edit them in a NLE....
The other way I would do this project is to make a comp that is just the needed titles, one comp for each tltle overlay, render the titles with alpha channels, then bring the titles and the original footage into a NLE to edit and add titles.
Building extremely complex compositions with multiple shots in a single comp is usually not a very good idea, even for folks like me that have been doing AE for 20 years. AE is perfect at making shots, lousy at editing sequences so always, and I mean always, try to figure out how you can simplify your project to it's basic elements and build a comp on that. I've had 5 second animations with over a hundred layers, but I've never put 10 or 20 video clips in AE in a single comp and tried to create a sequence. -
Hi Experts,
i am using obiee 11g and i build a report using bar graph view.
here problem is in horizontal axis some of my values are missing alternative values are only showing in.
Bars are showing but labels for that corresponding bars are not displaying .
pls help meIncrease the width of the graph something 1000 or so.
Maybe you are looking for
-
Issue with XSLT For each loop in B2B Mapping
Hi All, I am trying to map the inbound 997 Payload into Headers and Lines Table. I am using the For Each XSLT Construct to map the Loop AK2 of 997 into the 997 Lines Collection. Issue I am facing is that if the Loop AK2 is repeated for 33 times then
-
23" Cinema won't wake when connected to 13" MBP unibody USB ports
My 23" Cinema Display has difficulty waking from sleep when it's connected to either of the USB ports of my 13" MacBook Pro unibody. There are times when it won't come on at all and I have to force a shut down, disconnect the USB cable and restart, w
-
How can I turn off live bookmarks and use other reader
I regret that I checked the option of always using live bookmarks for my RSS feeds. Now I want to use bloglines but when I click the RSS feed to add it to bloglines, live bookmarks pops up and I can't get the feed in order to add it to bloglines. I'm
-
Student transcript from portal as a downloadable pdf format
Hi SAP gurus, we have made a student correspondence for single student trancript using pdf based forms. it works fine in R3 - we create and print correspondence from student file and get it from spool as a downloadable pdf file. Now, In our scenario
-
Dreamweaver CS5 won't open on Windows 7
Hello all. I installed CS5 Web Premium on a Windows 7 machine. Every CS5 application works except for Dreamweaver. I tried replacing, renaming and removing the "updaternotifications.dll" file and the application still won't open. I also disabled the