Assitance with Script
Here’s my situation:
We are presently printing our photographs for court using PowerPoint using the Handout page with two images per page. The problem is the images are small and the Noritsu printer is capable of printing PowerPoint presentations using its printer drivers, but this is not an ideal situation. As we can save our PowerPoint presentation in a JPEG file I want to utilize Photoshop with the application of an action to do batch processing of the files.
To date, I have been unsuccessful in writing and action which will take two different photographs and place them onto a single 8x10 page in a specific orientation. All images are the same file size and format coming from a single file folder. There may be anywhere from 20 to 200 or more images in sequential order which need to be placed two to a page ( photo 1 on top of 8x10 page, photo 2 on bottom of 8x10 page and so on). I have been successful in getting two images on a page in the correct orientation however; I can not get the sequencing to work, which means Photoshop doesn’t understand that images 1 & 2 go on page 1, images 3 & 4 go on page 2 and so on until the end. It is now my understanding from another forum that the only way Photoshop may detect which two files to process is to have a script written to work along with the rest of the action. At this point I am totally clueless on whether this will work let alone on how to write a script.
I’m working with CS4 Extended on Windows XP and upgrading to CS5 Extended soon.
Can anyone offer suggestions or a script (with basic directions) to help me out here?
Have you tried the "Contact Sheet" function? It's under the "File:Automate" menu. It will create documents with multiple images based on the options you choose. You can specify the columns and rows, and you can rotate to fit. It should place the images in order based on their file names, so assuming your files are named the way you want them to show up, it should work.
Similar Messages
-
How to create a new Oracle OSB project automaticaly with script without IDE
Hello,
I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
I'm using Oracle service bus 10.3.1
Thank you for your help.Thank you for your response,
I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
Regards,
Tarik -
Everytime I'm automatically updated past 3.6 my computer is inundated with Script Freezes..especially on the email page of gmail.
This has happened many many times. As far as I can determine these Script Freezes (Says: A script is attempting to write on this page.."Continue"..Stop Script etc) are coming from Internet Explorer (I'm not sure of this) and it's tricky to delete any elements of Internet Explorer. But at any rate my computer freezes up until the Script problem is settled..I check the don't ask me again block..but it does no good.
My real question is: Since things work fine in 3.6...how can I avoid any automatic updates?
Also, why isn't there a Timer Window (or a timer bar)for Firefox?...sometimes I have to wait 5 minutes for it to load! If there was a timer at least I'd know that something is happening and I'd be willing to wait. When it does take forever to load..it seems to help if I delete all Prefetch and temporary files.
Is there a safe way of turning off Internet Explorer temporarily?
Thanks for your help
Matthew
[email protected]I tried this today, and it is working now:
Click Firefox > Options > Options > Advanced ... then Uncheck the option "Use hardware acceleration when available" -
Paragraph Alignment question - is it possible with scripting?
Hello. I am working on a business card template that has a paragraph alignment problem. I have asked in other forums if it was possible, they pointed out that it might be, with scripting.
I need to know if it is, so I can dig further.
Here is the problem: I have a name and title on seperate line that need to be aligned to the right margin (the longest line touches the right margin) but centered above or below themselves. The text box is set to receive a large amount of characters. This is an automated system using InDesign Server so no manual adjustments are being made once the information has been submitted.
Is this possible?Again, I don't know anything about ID Server, but you can try this. Label the text frame 'card' (select the frame, go to Window > Automation > Script label and enter a 'card' -- without the quotes).
try
tf = app.activeDocument.textFrames.item ('card');
p0 = tf.paragraphs[0];
p1 = tf.paragraphs[1];
p0.justification = Justification.rightAlign;
p1.justification = Justification.rightAlign;
p0left = p0.insertionPoints[0].horizontalOffset;
p1left = p1.insertionPoints[0].horizontalOffset;
if (p1left > p0left)
p1.rightIndent = (p1left-p0left)/2
else
p0.rightIndent = (p0left-p1left)/2;
catch(_){}
This one doesn't rely on a selection.
Peter -
EVENTS WITH SCRIPTS not visible
Hi,
I am not able to see the events with scripts in the SHOW drop down.
How can I get the above to have the calculations done?
the version of the designer is 8.0
RegardsHi,
When it displays in the “default Calendar view” ,it shows "Event Permissions" option under EVENTS ribbon, this option can set permissions for a single
event. Click
” List Settings “
option under CANLENDAR ribbon, the "Permissions for this list” option can set permissions for the entire calendar.
When it displays in the "All Events" view, it shows "Shared With" option both
in the ITEMS and LIST ribbon. This option under the ITEMS can set permissions for a single event. This option under the LIST can set permissions for the entire calendar.
Best regards,
Wendy
Wendy Li
TechNet Community Support -
Cursor postion with scripting in Adobe LiveCycle ES
Hi,
I have a textfield that populates editable text when we click pdf preview. when I tab the cursor moves to the end of the pharagraph. we are using some screen readers that reads the text. Our requirement is to bring the cursor at the begining of the text when tabbed.
Is it possibe to bring the cursor at the begining of text with scripting.
please post the steps if possible.
Your help on this would be highly appriciated.
Thanks,
Ramesh Punugubati.Hello Jasmin
The "Results" variable need to declared out of the try and catch block, otherwise it won't be recognized when it comes to "close" at the end.
Here is a modified version of your script.
Greetings,
Yasser
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.Statement;
import java.sql.ResultSet;
import javax.sql.DataSource;
import javax.naming.InitialContext;
import java.sql.CallableStatement;
CallableStatement proc_stmt = null;
InitialContext context = new InitialContext();
Connection connection = ((DataSource)context.lookup("java:/IDP_DS")).getConnection();
proc_stmt = connection.prepareCall("{ call CalculateTotal() }");
ResultSet results;
try
results = proc_stmt.executeQuery();
if (results.next())
patExecContext.setProcessDataStringValue("/process_data/@Total",results.getString(1));
catch(Exception ex)
ex.printStackTrace();
results.close();
proc_stmt.close();
connection.close(); -
Reproducable Error with script SYS.I_PLSCOPE_SIG_IDENTIFIER$
Hi Oracle,
I get an error when running attached script:
The error message is:
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [kqlidchg1], [], [], [], [], [], [], [], [], [], [], []
ORA-00604: error occurred at recursive SQL level 1
ORA-00001: unique constraint (SYS.I_PLSCOPE_SIG_IDENTIFIER$) violated
00603. 00000 - "ORACLE server session terminated by fatal error"
*Cause: An ORACLE server session is in an unrecoverable state.
*Action: Login to ORACLE again so a new server session will be created
DROP SEQUENCE T_TEAM_ID;
DROP SEQUENCE T_COMPANY_ID;
DROP TABLE t_company CASCADE CONSTRAINTS
DROP TABLE t_team CASCADE CONSTRAINTS
CREATE TABLE t_company
id INTEGER NOT NULL ,
name VARCHAR2 (20) NOT NULL
ALTER TABLE t_company
ADD CONSTRAINT PK_company PRIMARY KEY ( id ) ;
CREATE TABLE t_team
id INTEGER NOT NULL ,
company_id INTEGER NOT NULL ,
name VARCHAR2 (20) NOT NULL
ALTER TABLE t_team
ADD CONSTRAINT PK_team PRIMARY KEY ( id ) ;
ALTER TABLE t_team
ADD CONSTRAINT FK_t_team_t_company FOREIGN KEY
company_id
REFERENCES t_company
id
CREATE SEQUENCE T_COMPANY_ID
NOCACHE
ORDER ;
CREATE SEQUENCE T_TEAM_ID
NOCACHE
ORDER ;
CREATE OR REPLACE TRIGGER t_team_BI
BEFORE INSERT ON t_team
FOR EACH ROW
WHEN (NEW.id IS NULL)
BEGIN
SELECT T_TEAM_ID.NEXTVAL INTO :NEW.id FROM DUAL;
END;
CREATE OR REPLACE TRIGGER t_company_BI
BEFORE INSERT ON t_company
FOR EACH ROW
WHEN (NEW.id IS NULL)
BEGIN
SELECT T_COMPANY_ID.NEXTVAL INTO :NEW.id FROM DUAL;
END;
The error is thrown for the CREATE OR REPLACE TRIGGER and also comes up when creating the rest 1st, logging of and logging in again.
As it seems to be a serious error (I'd never expect it to show) and I don't now how to solve it, I wrote you this bug report.
I'm on Win7 Pro and using SQL Developer 3.0.04. Oracle version installed is:
SELECT * FROM V$VERSION
where banner like 'Oracle%';
BANNER
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
Any advise or idea how to solve the error?
Thank you,
BlamaError with script SYS.<...>Using sysdba connections for schemas is strongly discouraged.
Creating tables in the system tablespace that have no relation to the sys and system schemas brings its own set of admin headaches, sysdba should only be used to shutdown or startup an instance.
Or if there is a specific SYS object that needs to have permissions granted that cannot be done via a user with the DBA role privilege (i.e. SYSTEM), that should be the only time a sysdba connection is needed.
Also, beginning with 11g the pl/sql for setting a column with a sequence value can be done directly, no 'select ... into ... from dual;' needed.
begin
:new.<column> := <sequence>.nextval;
end [<trigger name>]; -
[JS CS3] Apply Italics with scripting
There's a keyboard shortcut called "Apply Italics", which by default is [cmd]+[shift]+[i] on Mac, and [ctrl]+[shift]+[i] on Windows. I use it often because it will change text to the correct italic style. For instance text with the style "85 Heavy" will change to "86 Heavy Italic" or "Semibold Display" to "Semibold Display Italic".
Is there any way to access "Apply Italics" with scripting? The action is not available in any menu as far as I know.I made this script which will change all text with the character style "I" into proper italics, and creates corresponding character styles. "I" is just a character style with no properties. It gets applied when I import content into InDesign.
I will end up with styles called "I 37 Thin Condensed Oblique", "I Italic Display" and so on according to the various fonts.
function applyItalic(){ // Finds all text with Character Style "I" applied in the current document and changes it to proper italic character styles
var mySelection = app.selection;
var myDoc = app.activeDocument;
var myRanges = myDoc.stories.everyItem().textStyleRanges.everyItem().getElements(); // gets every textStyleRange in the document;
var italicStyle = myDoc.characterStyles.itemByName ("I"); // this character styles has no attributes;
if (italicStyle == null){
return;
var myRange;
var myFont;
var newStyle;
var newStyleName;
var n;
for (n=0; n<myRanges.length; n++){
myRange = myRanges[n];
if (myRange.appliedCharacterStyle==italicStyle){
app.select(myRange);
app.menuActions.itemByID(119611).invoke(); // apply italics - same as [cmd]+[shift]+[i]
myFont=myRange.appliedFont;
newStyleName="I "+myFont.fontStyleName;
newStyle=myDoc.characterStyles.itemByName(newStyleName); // if the style is created
if (newStyle==null){
newStyle=myDoc.characterStyles.add({name: newStyleName, fontStyle: myFont.fontStyleName}); // if the style does not exist yet
myRange.appliedCharacterStyle=newStyle;
app.select(mySelection); // restores the original selection
applyItalic(); -
Find a text frame on the page with script label
hello to all
I need to create a script to
find a text frame on the page with script label "xxx"
and read its contents into a variable.
The content of the text frame is a number.
thanksHi Roberto,
Welcome to the forum,
This will find the labeled textFrame on the active page.
var myLabel = "Foo", // change to label
myPage = app.properties.activeWindow && app.activeWindow.activePage,
myTextFrames = myPage.textFrames.everyItem().getElements().slice(0),
l = myTextFrames.length,
myVariable
while (l--) {
if (myTextFrames[l].label != myLabel) continue;
myVariable = myTextFrames[l].contents;
break; // presuming there's only one "Foo" labeled frame on the page
// Otherwise you'll nead an array
alert(myVariable)
Trevor -
If Are all the pictures can be enlarged to 160% with script in indesign cs6?
a book is composing ,but the gest feel the picture is too small,all want to enlarged to 160%,
but there is Thousands pictrure, It is could be Achieve with script?
just like thist@喜狼_edny – if you are using my script snippet, there is a undo in one go for the whole action.
Furthermore if used with images anchored, make sure that the anchor settings are appropriate before.
Before:
(The container below is locked and will not scale)
Anchor settings with wrong anchor reference point settings (German UI):
After scaling (new position according to the anchor settings):
Second try with different anchor settings:
After running the script:
Note: images locked or images on locked layers will not be scaled.
This could be expanded. Eg. for images positioned on not visible layers.
Images on the pasteboard etc.pp.…
Uwe -
Problem Running App with Scripting Bridge on MAC OS X TIger
Hi,
I have an application which link with Scripting Bridge Frame work, use XCODE 3.0 and SDK 10.5. I use Scripting Bridge, to control some functionality of ITune from Objective-C. This Application run fine on Leopard and behave as expected. When I Run this application on Tiger this does not load.
Considering that scripting Bridge was first released om Leopard.
Can my Above Application Run on Tiger. If not how do I interface ITune from Objective-C, on both Tiger and Leopard? IS there update which suppose to fix this?
Thanks
Akhileshwebdevcda wrote:
Considering that scripting Bridge was first released om Leopard.
Can my Above Application Run on Tiger.
No.
If not how do I interface ITune from Objective-C, on both Tiger and Leopard? IS there update which suppose to fix this?
There will be no update for old products like Tiger. What there is is all you will ever get. For Tiger, you will have to dig into sending Apple Events to iTunes manually. Or it might be easier to define your Apple Scripts as string resources in your application an execute them via a system() call. -
Creating User Table, User Field ... with Script SQL in C#
Hi every body,
I wonder if we could create a user table, user field ... with script SQL in C#.
Should I use the reference Microsoft.SqlServer.ScriptTask ??
Thank you for your HelpHaifa,
I am not sure where your question is directed. The forum that you have posted your question in is for questions related to the SAP Business One SDK. Are you looking to create new user tables/fields in SAP Business One? If so you can do this either through the SAP Business One SDK interface using Tools > User Defined Fields and/or Tools > User Defined tables.
You can also create metadata objects in Business One programatically using the UserTablesMD and/or UserFields objects.
SAP does not support direct SQL writes to the SAP Business One Db.
HTH,
Eddy -
How can I Reconcile all tables on multiples mappings with scripting????
I have OWB 9.2.0.2.8
I have to reconcile all tables and external tables on multiple mappings.
How can I do it with scripting language, please?
Thanks very much in advance!!!!Good afternoon Claudio,
Should be something like this:
foreach mapName [OMBLIST MAPPINGS] {
puts "Checking $mapName"
foreach tabName [OMBRETRIEVE MAPPING '$mapName' GET TABLE OPERATORS] {
puts "Reconciling $tabName"
OMBRECONCILE TABLE '$tabName' \
TO MAPPING '$mapName' \
OPERATOR '$tabName' \
USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID');
}If you want to alter reconcile and/or matching strategy, check documentation on OMBRECONCILE in the OWB Scripting Reference.
Good luck, Patrick -
Can any body guide me how to create DB with scripts, Here is the scripts
ls -ltrtotal 6952
-rw-r----- 1 oracle oinstall 7061504 Dec 4 11:17 tempControl.ctl
-rw-r----- 1 oracle oinstall 2057 Dec 4 11:17 rmanRestoreDatafiles.sql
-rwxr-xr-x 1 oracle oinstall 948 Dec 4 11:17 PSC01P1.sql
-rwxr-xr-x 1 oracle oinstall 645 Dec 4 11:17 PSC01P1.sh
-rw-r----- 1 oracle oinstall 682 Dec 4 11:17 postScripts.sql
-rw-r----- 1 oracle oinstall 2634 Dec 4 11:17 initPSC01PTemp.ora
-rw-r----- 1 oracle oinstall 2719 Dec 4 11:17 initPSC01PTempOMF.ora
-rw-r----- 1 oracle oinstall 2621 Dec 4 11:17 init.ora
-rw-r----- 1 oracle oinstall 185 Dec 4 11:17 CreateClustDBViews.sql
-rw-r----- 1 oracle oinstall 915 Dec 4 11:17 CloneRmanRestore.sql
-rw-r----- 1 oracle oinstall 1756 Dec 4 11:17 cloneDBCreation.sql
-rw-r----- 1 oracle oinstall 954 Dec 4 11:18 postDBCreation.sqlNone of any script will help u. Followings are the steps to create manually database
Assume you have selected f drive for the same -
1. Choose drive with sufficient disk space
2. create folder (folder_name)
3. create bdump,cdump,oradata,pfile folder in (folder_name) folder
4. open notepad and create pfile as named "init_sidname.ora" with required parameters (check parameters in sample pfile or ask to resend
5. go to os prompt
6. type commands
oradim -new -sid init_sidname.ora -startmode m -pfile (path of init_sidname.ora file with filename)
orapwd file=f:\oracle\ora92\database\pwd_nameoffile.ora password=sysdba entries=3
create a sql script to create database with extention .sql
set oracle_sid=sid_name
sqlplus /nologsql>connect sys as sysdba
password : sysdba
sql> create spfile from pfile=(path of pfile)
(it will create spfile in database folder of ora92 folder)
sql> startup nomount
sql> execute catalog.sql and catproc.sql scripts
your database will be create and can be checked with select commands like
select * from dba_datafiles;
Rajesh thakur -
Safari tries to open video files with script editor!
Help! I can't find a way to change Safari from opening video files online, such as short animations, with script editor. SE can't open the files, so they just can't be viewed since preferences has no place for me to change this weird default. Any ideas?
Here are two examples, one a video clip and one an audio file:
http://shop5.gospelcom.net/epages/AIGUS.storefront/434d2def0141d417272045579e790 659/Product/View/30&2D9&2D019
this one has the link to the clip as a preview about halfway down the page.
http://www.mastersofpediatrics.com/cme/cme2004/lecture16_1.asp
This one has an audio file at the top of the box, it says the audio is 31 mins.
Both of these the computer tried to open with Script Editor.
Thanks, Rachel
Maybe you are looking for
-
How to create a PAL DVD from a NTSC camera
Hi, I have a Canon HF10 which I have bought in the US, so it is a NTSC camera. I am living in Europe, so I would like to create a PAL dvd from the footage which I have recorded. The footage have been shot using 1080/24p and I have imported it into iM
-
I have macbook pro 13" I want to know how to copy files from my mac to the external Toshiba Hard Drive. I can't even delete files from my external hard drive. please help me my macbook HD is almost full and I have to copy my images to the Toshiba HD
-
Just updated to IOS 8.0.2, new problems
I updated my iPad 3 to IOS 8.0.2 as soon as it became available. IOS 8.0 was working fine, I didn't install 8.0.1 because of all the problems, but I couldn't help myself when 8.0.2 became available. I figured Apple couldn't ruin 2 operating systems
-
Fix for the above issue(s)..
Oracle Support has released a new patch (patch # 2062047) as of 03/08 which needs to be run prior to applying MFG Patch G - 2133107. This new patch fixes the issue related to WF_CORE invalidations. However, we still faced post-install issues where in
-
RS partner function to IDoc INVOIC01
We are creating an INVOICE01 IDoc from billing document using output determination. When the IDoc is created it has a partner function RS (= Invoice presented by) but the company name is misspelled. Where is this partner coming from where can I corre