Hey all, I'm in desperate need of help with some Applescript for use in a program called Midipipe:
http://web.mac.com/nicowald/SubtleSoft/MidiPipe.html
I simply require an Applescript for Midipipe that filters out all OFF notes except for the most recently pressed key, or most recently pressed ON note. So for example, when multiple keys have been pressed, only the most recently pressed key will send an OFF note. I hope that is clear enough, i've had some major issues trying to get this work and my last hope is to hit the forums and find some help . I've posted on some of the audio forums and i'm hoping someone here knows how to code this.
Thanks so much!! . Its for an upcomming show next week so i'm hoping someone can get me in the right direction to solving this.
-Jes
I try to help, but you'll need to apply your brain cells to get it working with what I've already explained (three times with what I offer below). Try something like the following (I am renaming your buttons to ch1,ch2,ch3,ch4,ch5,ch6 so that the same functions can be shared by all buttons..
// this assigns listeners to all 6 buttons
for(var i:uint=1; i<7; i++){
this['ch'+String(i)].addEventListener(MouseEvent.CLICK, fl_ClickToSeekToCuePoint);
// this processes any one of the 6 btns when they are clicked
function fl_ClickToSeekToCuePoint_1(event:MouseEvent):void
var btn = event.currentTarget;
var cuePointInstance:Object = vid.findCuePoint(btn.name);
vid.seek(cuePointInstance.time);
resetButtons(); // this makes all buttons go back to normal
btn.upState = btn.overState; // this makes the clicked button change states
function resetButtons():void {
for(var i:uint=1; i<7; i++){
this['ch'+String(i)].upState = this['ch'+String(i)].hitTestState;
For this to work, your buttons need to have the same artwork in the hit frame as they do in the up frame.
Midipipe For Windows Download. No upcoming events. Midipipe free download. Stay Private and Protected with the Best Firefox Security Extensions The Best Video Software for Windows The 3 Free Microsoft Office. Download MidiPipe for Mac now from Softonic: 100% safe and virus free. More than 139 downloads this month. Download MidiPipe latest version 2018. Good Luck and have fun with this. Midipipe free download - MIDIPipes - Irish/Scottish Bagpipes MIDI Practice Chanter, and many more programs.
Similar Messages
- I have used the so so usefull SubtleSof's MidiPipe to get rid of the 119 CCs parameters limitation in Live. Alongside with the device, I will sugest users to download MidiPipe, and possibly for help screen captures of a dedicated pipe configuration, as well as a snapshot of my live set-up.
- MIDI PORT PROBLEMS HELP! This is a recent problem. In environment when clicking to change port to either RAX on my desktop, V-Stack, and/ or Plogue Bidule, the first 3 ports work fine but anything past port 4, whether that be Bidule 4, Rax 4, etc etc, just clicks to 'Al.
Hi. I need help with adminstrator password for pavilion dv7 with window 7. I don't remember with is the adminstrator password for pavilion dv7 beats audio. Is there anyway you can help me with this? once i enter 3 times is gives me this system disabled code: 52464663.
Hi
Try this Key : 43542265 That should fix your issue
Hope this helps.
***** Click the KUDOS Thumbs UP (Like) on the left to say 'Thanks'*****
****Make it easier for other people to find solutions, by marking my answer 'Accept as Solution'&'Kudos'if it solves your problem.****
-VJ
Although I am an HP Employee, I am speaking for myself and not for HP.I still need help with the Dictionary for my Nokia 6680..
Here's the error message I get when trying to open dictionary..
'Dictionary word information missing. Install word database.'
Can someone please provide me a link the where I could download this dictionary for free?
Thanks!
DON'T HIT KIDS.. THEY HAVE GUNS NOW.oops, im sorry, i didnt realised i've already submitted it
DON'T HIT KIDS.. THEY HAVE GUNS NOW.Hi all,
I'd like to put together a simple script that takes the artist names from a list of tracks in iTunes and copies the text to the start of the Title name, followed by ' - '.
This is because, e.g. on a classical album, I want the artist names to all be 'Classic Collection Gold' but I'd like to keep the artist name contained with the track name. This means when I browse by artist I don't get millions of artists..
I found this script, which does something kinda similar, but I'm new to script writing so not sure how to do it?
So I'd like to change:
Name
Planets: Mars
Artist
Gustav Holst
Ambum:
Simply Classical Gold (Disc 2)
To be:
Gustav Holst - Planets: Mars
Artist
Gustav Holst - Planets: Mars OR BETTER Simply Classical Gold (Disc 2)
Album
Simply Classical Gold (Disc 2)
This script has some ideas in, but I'm not sure how to tweak it..
'Artist - Name Corrector' for iTunes
written by Doug Adams
[email protected]
v1.6 May 17, 2004
-- removed ref to selection
v1.5 April 11 2004
checks if separator string is in name
v1.0 April 2 2004
Get more free AppleScripts and info on writing your own
at Doug's AppleScripts for iTunes
http://www.malcolmadams.com/itunes/
property separator : ' - '
tell application 'iTunes'
if selection is not {} then
set sel to selection
repeat with aTrack in sel
tell aTrack
if (get name) contains separator then
set {artist, name} to my texttolist(get name, separator)
end if
end tell
end repeat
end if
end tell
--
on texttolist(txt, delim)
set saveD to AppleScript's text item delimiters
try
set AppleScript's text item delimiters to {delim}
set theList to every text item of txt
on error errStr number errNum
set AppleScript's text item delimiters to saveD
error errStr number errNum
end try
set AppleScript's text item delimiters to saveD
return (theList)
end texttolist
Message was edited by: ChipstixI'm not sure what that script thinks it's doing, but it's essentially doing nothing, so scrub that and start afresh.
The first thing you need is a way to identify the tracks to change - you don't want to do all tracks in the library (they might have already been munged). A good option is to work on the selected tracks:
tell application 'iTunes'
if selection is not {} then
set sel to selection
You then need to iterate through those items, changing them one-by-one:
repeat with aTrack in sel
Now comes the easy part - build a list of the elements you want (in this case you want the name, artist, and album of each track:
set trackName to name of aTrack
set trackArtist to artist of aTrack
set trackAlbum to album of aTrack
Now you have the information you need, so reset the fields as appropriate:
set name of aTrack to trackArtist & ' - ' & trackName
set artist of aTrack to trackAlbum -- or to trackArtist & ' - ' & trackName, depending on your choice
Now clean up by closing off the repeat and tell blocks:
end repeat
end tell
Putting it all together you get:
tell application 'iTunes'
if selection is not {} then
set sel to selection
repeat with aTrack in sel
set trackName to name of aTrack
set trackArtist to artist of aTrack
set trackAlbum to album of aTrack
set name of aTrack to trackArtist & ' - ' & trackName
set artist of aTrack to trackAlbum -- or to trackArtist & ' - ' & trackName, depending on your choice
end repeat
end tellHello there,
I need help with BPEL project.
i have created a table Employee in Database.
I did create application, BPEL project and connection to the database properly using Database Adapter.
I need to read the records from the database and convert into xml fomat and it should to go approval for BPM worklist.
Can someone please describe me step by step what i need to do.
Thx,
DpsI have created a table in Database with data like Empno,name,salary,comments.
I created Database Connection in jsp page and connecting to BPEL process.
It initiates the process and it goes automatically for approval.
Please refer the code once which i created.
'http://www.w3.org/TR/html4/loose.dtd'>
<%@page import='java.util.Map' %>
<%@page import='com.oracle.bpel.client.Locator' %>
<%@page import='com.oracle.bpel.client.NormalizedMessage' %>
<%@page import='com.oracle.bpel.client.delivery.IDeliveryService' %>
<%@page import='javax.naming.Context' %>
<%@page import='java.util.Hashtable' %>
<%@page import='java.util.HashMap' %>
<%@ page import='java.sql.*'%>
<%@ page import= 'jspprj.DBCon'%>
Invoke CreditRatingService
<%
DBCon dbcon=new DBCon();
Connection conn=dbcon.createConnection();
Statement st=null;
PreparedStatement pstmt=null;
Hashtable env= new Hashtable();
ResultSet rs = null;
Map payload =null;
try
env.put(Context.INITIAL_CONTEXT_FACTORY, 'com.evermind.server.rmi.RMIInitialContextFactory');
env.put(Context.PROVIDER_URL, 'opmn:ormi://localhost:port:home/orabpel');//bpel server
env.put('java.naming.security.principal', 'username');
env.put('java.naming.security.credentials', 'password');//bpel console
Locator locator = new Locator('default','password',env);
IDeliveryService deliveryService =
(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
// construct the normalized message and send to Oracle BPEL Process Manager
NormalizedMessage nm = new NormalizedMessage();
java.util.HashMap map = new HashMap();
st=conn.createStatement();
out.println('connected');
String query1='Select * from EMPLOYEE';
rs=st.executeQuery(query1);
/*reading Data From Database and converting into XML format
so that no need of going to BPEL console and entering the details.
while (rs.next()){
String xml1 = ''+
''+rs.getString(1)+''+
''+rs.getString(2)+''+
''+rs.getString(3)+''+
''+rs.getString(4)+''+
'';
out.println(xml1);
nm.addPart('payload', xml1 );
// EmployeeApprovalProcess is the BPEL process in which human task is implemented
deliveryService.post('EmployeeApprovalProcess', 'initiate', nm);
// payload = res.getPayload();
out.println( 'BPELProcess CreditRatingService executed!
' );
// out.println( 'Credit Rating is ' + payload.get('payload') );
//Incase there is an exception while invoking the first server invoke the second server i.e lsgpas13.
catch(Exception ee) {
//('BPEL Server lsgpas14 invoking error.n'+ee.toString());
%>
Its working fine.And i want it for Bulk approvals.please help me step by step procedure if any other way to implement this.Hi !
I have created an Automator Applescript for a Folder Action to do the following:
When a new video file is moved to the target folder (i.e. Download of Vuze is done), automatically launch the Applescript Action that does the followin g(Applescripted):
1) Using 'run shell script' and FFMPEG on a UNIX command line, determine Width/Height, Framerate, Bitrate
2) Calculate encoding parameters (slightly reduced bitrate, reduced Aspect etc.)
3) Using 'run shell script' with ffmpeg on the command line and the calculated parameters to encode the video file
At the same time, the action is written to a log file so I know if a file is recognized, when encoding started etc.
It works fine if I save this Action as an .app, make an alias on the Desktop and drop video files on it.
It also works fine if I attach the script to a folder as a folder action and drag a video file in there.
However, when I attach the script as a folder action to the Vuze download folder, it encodes only some video files, i.e. if there was a download of 5 files, chances are good that it will not encode 1 or 2 files out of those 5.
If for example a second download finishes while the encoding for the first download is still going on, sometimes the second file starts encoding after the first encode finishes, sometimes it does not, the file does not make the log file at all, i.e. the folder action missed it or the automator action dropped it because it was still encoding. Still, sometimes it happens, sometimes not.
As I need a solution that is 100% accurate, I would like to ask if there are any ideas on how to do this better maybe? As I am not an Applescript Guru, I would need some help to know what works and what doesn't and what the syntax is.
My main idea right now:
Similar to how ffmpegX works with its 'process' application, have a second script (as .app) that receives the files to be encoded from the automator action and puts them in a queue, then proceeds to encode this queue while the main automator action is free to receive the next file.
Writing this second app is quite straightforward (a modified version of my current script) but I have some questions I need help with:
1) How do I call another applescript from within an existing applescript that launches the new applescript in a new process?
2) How do I pass parameters to this new applescript?
3) In case of this 'Queueing' Idea, once I called the external applescript the first time, how do I make sure when I call next time, that I don't open a second instance of this script but rather pass another queue item to the original instance to be processed?
Or in general: Is there a better way to achieve this automatic encoding solution that I have not thought about?
Alternatively:
Does anyone know how to call the 'process' application that comes with the ffmpegX package with the correct parameters to use as a queueing / processing tool?
Thanks!
Joe
Message was edited by: Joe15000
Message was edited by: Joe15000To do this, I created an Automator workflow with an Applescript snippet to change the 'media kind'.
Here is the 'Run Applescript' workflow step code:
on run {input, parameters}
tell application 'iTunes'
set video kind of (item 1 of input) to movie
end tell
return input
end run
Prior to this running, I have an 'Import Files into iTunes' workflow step.
You can switch out 'movie' with: 'TV show', 'music video', or anything in ITLibMediaItemMediaKind.
Good luck,
GlennI was wondering if someone could help me with a simple bit of action script 3. I need to make a movie clip (single_mc) disappear when the user clicks on the mouse (stop_btn). Here's what I have so far.
function setProperty(event:MouseEvent):void
single_mc.alpha=0;
stop_btn.addEventListener(MouseEvent.CLICK, setProperty);
Also I was wonder if you could recommend an Action script 3 book for me. I would like one that is not a training book, but has situations and then the script written out. For example: I click a button and a movie symbol disappears from the stage. I am a graphic artist, that from time to time, needs simple interaction in flash, but cant justify the time to learn the script.
Thanks for your timeuse the snippets panel to help with you with sample code for basic tasks.
function setProperty(event:MouseEvent):void
single_mc.visible=false;
stop_btn.addEventListener(MouseEvent.CLICK, setProperty);I'm desperate and need some help with this simple drag
and drop. Here is the scenario…this animation is for a
kindergarten course. I have 6 different colored teddy bears on the
floor and the bears are to be placed on the middle shelf in the
room, in no particular order. I have the code in place to drag the
bears, and they return to their original location if dropped in the
wrong area. Everything works, except I can't make the bears
stick to the target area. The target area has to be the same for
all 6 bears. Can someone help me out with this?
I have a feeling that the problem has something to do with my
instance names, but I have tried everything I can think of and
cannot get it to work. Is there some way I can post, send, or
attach my .fla file for someone to look at? I'm desperate.
PLEASE HELP!var startX3:Number;
var startY3:Number;
var counter3:Number=0;
vf_A.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
vf_A.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
vf_E.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
vf_E.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
vf_I.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
vf_I.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
vf_O.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
vf_O.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
vf_U.addEventListener(MouseEvent.MOUSE_DOWN, pickUp3);
vf_U.addEventListener(MouseEvent.MOUSE_UP, dropIt3);
function pickUp3(event:MouseEvent):void {
event.target.startDrag(true);
reply2_txt.text=';
event.target.parent.addChild(event.target);
startX2=event.target.x;
startY2=event.target.y;
function dropIt3(event:MouseEvent):void {
event.target.stopDrag();
var myTargetName:String='target'+event.target.name;
var myTarget:DisplayObject=getChildByName(myTargetName);
if (event.target.dropTarget != null &&
event.target.dropTarget.name 'instance112') {
reply2_txt.text='Good Job!';
event.target.removeEventListener(MouseEvent.MOUSE_DOWN,
pickUp3);
event.target.removeEventListener(MouseEvent.MOUSE_UP,
dropIt3);
event.target.buttonMode=false;
event.target.x=myTarget.x;
event.target.y=myTarget.y;
var mySound:Sound = new vowels_NAR_goodjob();
mySound.play();
counter3++;
} else {
reply2_txt.text='Try Again!';
event.target.x=startX2;
event.target.y=startY2;
var mySound2:Sound = new vowel_NAR_nopetryagain();
mySound2.play();
if (counter25) {
reply2_txt.text='Great Job! You did it!';
gotoAndPlay(3300);
vf_A.buttonMode=true;
vf_E.buttonMode=true;
vf_I.buttonMode=true;
vf_O.buttonMode=true;
vf_U.buttonMode=true;I am trying to use a variable for the name of a table but getting errors ..i am sure I am close to the correct form here but something is wrong. I sure would appreciate some help!
DECLARE
ln_month Number;
ln_day Number;
ln_year Number;
ls_year VarChar2(4);
ls_prev_table VarChar2(30);
ls_cur_table VarChar2(30);
ln_prev_year Number;
ls_prev_year VarChar2(4);
ln_prev_month Number;
BEGIN
Select To_Number(To_Char(sysdate, 'MM')) into ln_month from dual;
Select To_Number(To_Char(sysdate, 'DD')) into ln_day from dual;
Select To_Number(To_Char(sysdate, 'YYYY')) into ln_year from dual;
If ln_month = 01 Then
ls_cur_table := 'T_CPRS_FDW_CUR_JAN_ACTUALS';
ls_prev_table := 'T_CPRS_FDW_PREV_DEC_ACTUALS';
ln_prev_year := ln_year - 1;
/***above is where I am trying to use variables for assignement to years and months tables***//// ln_prev_month := 12;
End If;
/*------MORE IF STATEMENTS FOR EACH MONTH ---OF --THE YEAR ..AND its the following 2 variable statements that the compiler doesnt like! */
If ln_day < 20 Then
Delete from :ls_prev_table;
INSERT INTO :ls_prev_table /*(STUFF TO BE INSERTED GOES HERE)*/
HELP PLEASE!
nullHi,
The parser does not under variables directly in dml statements.u need to form a statement and the parse and execute the same..
so the soln is
Declare
lv_stmt varchar2(250);
Begin
lv_stmt := 'Delete from '| |ls_prev_table;
execute immediate lv_stmt;
-- Same is the case with the insert stmt--
End;
This should solve ur problem.
u could also give a direct call like
execute immediate 'Delete from '| |ls_prev_table ;
Note: This statement 'execute immediate' holds good for oracle versions 8.x and above which makes the stmt very simple. For lower version u need to use the dbms_sql package to parse and execute the statement which has a series of statements for the same.
KiranI had an applescripter or create this AppleScript for me a few years back but it appears that he is no longer in business. I can't figure out why it is not working? Any ideas would be most appreciate it.
The point of the script is to extract the information out of an email using Apple's Mail.app and to re-create a new email with each new group and repeat until all on the list have been contacted. See info below for Script and sample email.
-------- Byrd Engineering,LLC (c) 2008
------ http://www.byrdengineering.net
Notes & Software Errata
1. If signature.txt is not located in the ~/Library/Scripts folder the program will not do anything. If the file does not exist Applescript creates it and
then attempts to read it, however it is empty. Therefore the variable assignment is empty as well and Applescript perceives it as an error.
2. To: change the subject, sender name, or disable Mail.app from opening a window each time it composes a message.
Enable the compose mail window
set MyVisible to 'true'
Disable the compose mail window
set MyVisible to 'false'
set MySubject to 'Welcome greeting goes here'
set myname to 'Dr. David Hughes'
3. The get_entry subroutine extracts that data based on the assumption that the delimiter ':' is followed
by two spaces (ascii character 32)
to adjust this value if the format of the email changes, increment or decrease the
property string_ptr: '3' value.
property string_ptr : '3'
property lower_alphabet : 'abcdefghijklmnopqrstuvwxyz'
property upper_alphabet : 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
property white_space : {space, tab, return, ASCII character 10, ASCII character 13}
-- Thanks to Qwerty Denzel on bbs.macscripter.net for adaptation of
-- of Apple's change case of item names.scpt
-- change_case()
-- Called from get_entry()
-- Parameters:
-- this_str - paragraph
-- this_case:
-- UPPER - convert to uppercase
-- lower - convert to lowercase
-- sentence - capitalize the first letter of the string.
-- Title - capitalize the first letter of each word.
on change_case(this_text, this_case)
set new_text to '
if this_case is not in {'UPPER', 'lower', 'Title', 'Sentence'} then
return 'Error: Case must be UPPER, lower, Title or Sentence'
end if
if this_case is 'lower' then
set use_capital to false
else
set use_capital to true
end if
repeat with this_char in this_text
set X to offset of this_char in lower_alphabet
if X is not 0 then
if use_capital then
set new_text to new_text & character X of upper_alphabet as string
if this_case is not 'UPPER' then
set use_capital to false
end if
else
set new_text to new_text & character X of lower_alphabet as string
end if
else
if this_case is 'Title' and this_char is in white_space then
set use_capital to true
end if
set new_text to new_text & this_char as string
end if
end repeat
return new_text
end change_case
-- get_entry()
-- Calls:
-- change_case()
-- Parameters:
-- this_str - paragraph
-- this_case:
-- UPPER - convert to uppercase
-- lower - convert to lowercase
-- sentence - capitalize the first letter of the string.
-- Title - capitalize the first letter of each word.
-- Returns:
-- Data formatted according to case parameter.
on get_entry(this_str, this_case)
-- To avoid error test last character. If last character = ':' then no data, insert 'N/A' else process the entry.
-- If last character of line is ascii char 32 this email message is from Thunderbird client
-- If last character of line is ascii char 58 this email message is from OS X Mail.ap
-- Inserted by Michele Percich 05/02/2010
log (ASCII number of last character of this_str)
if this_str ends with (ASCII character 32) or this_str ends with (ASCII character 58) or this_str ends with (ASCII character 202) then
-- if last character of this_str ends with (ASCII character 32) or last character of this_str ends with (ASCII character 58) then
set token to ' N/A'
set this_case to 'upper'
else
set token to characters ((offset of ASCII character 58 in this_str) + string_ptr) thru -1 of this_str
end if
set token to my change_case(token, this_case)
return token
end get_entry
on getSig()
set SigFilePath to (path to scripts folder as string) & 'signature.txt' as string
set SigFile to open for access SigFilePath
set SigFileContents to (read SigFile)
close access the SigFile
return SigFileContents
end getSig
tell application 'Mail'
set selected_messages to selection
repeat with current_message in selected_messages
set theContent to content of current_message
end repeat
-- Save the orginal delimiters so we can restore them.
set ASTID to AppleScript's text item delimiters
set MySignature to my getSig()
-- Get the number of paragraphs(i.e. lines) in the message.
set LineCount to count paragraphs of theContent
--display dialog 'paragraph =' & LineCount
repeat with i from 1 to LineCount
-- Read a single paragraph
set entry_index to paragraph (i) of theContent
-- We've located the beginning of information block therefore we can reference the remaining data
-- from our current position + N.
if entry_index contains 'New Associate Name:' then
-- New Associate Name
set NewHire to my get_entry(entry_index, 'Title')
-- City remove comment for future use
set tmpRecord to paragraph (i + 1) of theContent as string
set City to my get_entry(tmpRecord, 'Title')
-- Region
set tmpRecord to paragraph (i + 2) of theContent as string
set Region to my get_entry(tmpRecord, 'UPPER')
-- phone
set tmpRecord to paragraph (i + 3) of theContent as string
set NewHirePhone to my get_entry(tmpRecord, 'lower')
-- Recipient Email
set tmpRecord to paragraph (i + 4) of theContent as string
set RecipientEmail to my get_entry(tmpRecord, 'lower')
-- enrollment date
set tmpRecord to paragraph (i + 5) of theContent as string
set startDate to my get_entry(tmpRecord, 'Title')
-- Director
set tmpRecord to paragraph (i + 8) of theContent as string
set Director to my get_entry(tmpRecord, 'Title')
-- Director Phone
set tmpRecord to paragraph (i + 9) of theContent as string
set Director_Phone to my get_entry(tmpRecord, 'lower')
-- Placing Associate
set tmpRecord to paragraph (i + 10) of theContent as string
set Placing_Associate to my get_entry(tmpRecord, 'Title')
-- Placing Associate Phone
set tmpRecord to paragraph (i + 11) of theContent as string
set Placing_Associate_Phone to my get_entry(tmpRecord, 'lower')
-- Executive Director
set tmpRecord to paragraph (i + 12) of theContent as string
set Executive_Director to my get_entry(tmpRecord, 'Title')
-- Executive Director Phone
set tmpRecord to paragraph (i + 13) of theContent as string
set Executive_Director_Phone to my get_entry(tmpRecord, 'lower')
-- Associate
set tmpRecord to paragraph (i + 10) of theContent as string
set Associate to my get_entry(tmpRecord, 'Title')
-- Associate Phone
set tmpRecord to paragraph (i + 11) of theContent as string
set Associate_Phone to my get_entry(tmpRecord, 'Title')
set Sentence0 to NewHire & ',' & (ASCII character 10) & (ASCII character 10)
set Sentence1 to 'I want to welcome you to the team!' & (ASCII character 10) & (ASCII character 10)
set Sentence2 to 'Since becoming a Marketing Associate on ' & startDate & ', I hope you are already off to a great start. This email will help to ensure you have the proper tools and resourses needed to succeed.' & (ASCII character 10) & (ASCII character 10)
set Sentence3 to City & ', ' & Region & ' is a great market in which to build your business, but keep in mind, you can build your business all across North America.' & (ASCII character 10) & (ASCII character 10)
set Sentence4 to 'There are so many people willing to help you succeed. You just need to ask. Here are some contact numbers you can call for support. Be sure to call them and introduce yourself to them.' & (ASCII character 10) & (ASCII character 10)
set Sentence5 to 'The person that recruited you: ' & Placing_Associate & ', ' & Placing_Associate_Phone & (ASCII character 10)
set Sentence6 to 'Your Director: ' & Director & ', ' & Director_Phone & (ASCII character 10)
set Sentence7 to 'Your Executive Director: ' & Executive_Director & ', ' & Executive_Director_Phone & (ASCII character 10)
set Sentence8 to 'Your Executive Director: Dr. David Hughes' & (ASCII character 10)
set MyMessage to Sentence0 & Sentence1 & Sentence2 & Sentence3 & Sentence4 & Sentence5 & Sentence6 & Sentence7 & Sentence8 & MySignature
set WelcomeMessage to make new outgoing message with properties {subject:'Have you seen the latest?!', sender:'David Hughes', content:MyMessage & return, visible:false}
tell WelcomeMessage
make new to recipient at end of to recipients with properties {name:NewHire, address:RecipientEmail}
send WelcomeMessage
end tell
end if
end repeat
end tell
Sample Email:The moderator has edited out the sample email as it would seem you did not anonymise it.
Can you repost it with sensitive information xxxed out? (e.g. [email protected])
You don't say what problem you are getting. A description would help..I just statrted learnind java, and I need some help with this simple program. For some reason everytime I enter my Farenheit value, the Celsius conversion returns as 0.0. Would really appreciate the help. Thanks.
Here's the code:
public class TempConverter
public static void main(String[] args)
double F = Double.parseDouble(args[0]);
System.out.println('Temperature in Farenheit is: ' + F);
double C = 5 / 9;
C *= (F - 32);
System.out.println('Temperature in Celsius is: ' + C);
}double C = 5 / 9This considers '5' and '9' to be integers and does an integer division, discarding the remainder. The result of that division is 0. Trydouble C = 5.0/9.0;
Hello, I�m new to the dev lark and wondered if someone could point me in the right direction.
I have the following (working!) app that lets users press a few buttons instead of typing console commands (please do not be too critical of it, it�s my first work prog).
//DBS File send and Receive app 1.0
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextArea;
import java.applet.Applet;
public class Buttons extends JFrame
public Buttons()
super('DBS 2');
JTextArea myText = new JTextArea ('Welcome to the DBS application.' +
'n' +
'nn1. If you have received an email informing you that the DBS is ready to dowload please press the 'Receive DBS' button.' +
'n' +
'n1. Once this has been Received successfully please press the 'Prep File' button.' +
'nn2. Once the files have been moved to their appropriate locations, please do the 'Load' into PAS.' +
'nn3. Once the 'Load' is complete, do the 'Extract'.' +
'nn4. When the 'Extract' has taken place please press the 'File Shuffle' button.' +
'nn5. When the files have been shuffled, please press the 'Send DBS' Button.' +
'nnJob done.' +
'n', 20,50);
JPanel holdAll = new JPanel();
JPanel topPanel = new JPanel();
JPanel bottomPanel = new JPanel();
JPanel middle1 = new JPanel();
JPanel middle2 = new JPanel();
JPanel middle3 = new JPanel();
topPanel.setLayout(new FlowLayout());
middle1.setLayout(new FlowLayout());
middle2.setLayout(new FlowLayout());
middle3.setLayout(new FlowLayout());
bottomPanel.setLayout(new FlowLayout());
myText.setBackground(new java.awt.Color(0, 0, 0));
myText.setForeground(new java.awt.Color(255,255,255));
myText.setFont(new java.awt.Font('Times',0, 16));
myText.setLineWrap(true);
myText.setWrapStyleWord(true);
holdAll.setLayout(new BorderLayout());
topPanel.setBackground(new java.awt.Color(153, 101, 52));
bottomPanel.setForeground(new java.awt.Color(153, 0, 52));
holdAll.add(topPanel, BorderLayout.CENTER);
topPanel.add(myText, BorderLayout.NORTH);
setSize(700, 600);
setDefaultCloseOperation(EXIT_ON_CLOSE);
getContentPane().add(holdAll, BorderLayout.CENTER);
Container c = getContentPane();
c.setLayout(new FlowLayout());
final JButton receiveDBS = new JButton('Receive DBS'); //marked as final as it is called in an Inner Class later
final JButton filePrep = new JButton('Prep File');
final JButton fileShuffle = new JButton('File Shuffle');
final JButton sendDBS = new JButton('Send DBS');
JButton exitButton = new JButton('Exit');
// JLabel statusbar = new JLabel('Text here');
receiveDBS.setFont(new java.awt.Font('Arial', 0, 25));
filePrep.setFont(new java.awt.Font('Arial', 0, 25));
fileShuffle.setFont(new java.awt.Font('Arial', 0, 25));
sendDBS.setFont(new java.awt.Font('Arial', 0, 25));
exitButton.setBorderPainted ( false );
exitButton.setMargin( new Insets ( 10, 10, 10, 10 ));
exitButton.setToolTipText( 'EXIT Button' );
exitButton.setFont(new java.awt.Font('Arial', 0, 20));
exitButton.setEnabled(true); //Set to (false) to disable
exitButton.setForeground(new java.awt.Color(0, 0, 0));
exitButton.setHorizontalTextPosition(SwingConstants.CENTER); //Don't know what this does
exitButton.setBounds(10, 30, 90, 50); //Don't know what this does
exitButton.setBackground(new java.awt.Color(153, 101, 52));
topPanel.add(receiveDBS);
middle1.add(filePrep);
middle2.add(exitButton);
middle3.add(fileShuffle);
bottomPanel.add(sendDBS);
receiveDBS.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() receiveDBS);
try
Runtime.getRuntime().exec('cmd.exe /c start c:DBSReceiveDBSfile.bat');
catch(Exception e)
System.out.println(e.toString());
e.printStackTrace();
filePrep.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() filePrep);
try
Runtime.getRuntime().exec('cmd.exe /c start c:DBSfilePrep.bat');
catch(Exception e)
System.out.println(e.toString());
e.printStackTrace();
exitButton.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
System.exit(0);
fileShuffle.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() fileShuffle);
try
Runtime.getRuntime().exec('cmd.exe /c start c:DBSfileShuffle.bat');
catch(Exception e)
System.out.println(e.toString());
e.printStackTrace();
sendDBS.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() sendDBS);
try
Runtime.getRuntime().exec('cmd.exe /c start c:DBSsendDBSFile.bat');
catch(Exception e)
System.out.println(e.toString());
e.printStackTrace();
c.add(receiveDBS);
c.add(filePrep);
c.add(fileShuffle);
c.add(sendDBS);
c.add(exitButton);
// c.add(statusbar);
public static void main(String args[])
Buttons xyz = new Buttons();
xyz.setVisible(true);
}What I would like help with is the following�
I would like output to either a JLabel or JTextArea to appear if a file appears on the network. Something along these lines�
If file named nststrace*.* is in [network path] then output �Download successful, please proceed.�
btw I have done my best to search this forum for something similar and had no luck, but I am looking forward to Encephalopathic�s answer as he/she has consistently made me laugh with posted responses (in a good way).
Thanks in advance, Paul.Hospital_Apps_Monkey wrote:
we're starting to get aquainted, but I think 'best friend' could take a while as it is still as hard going as I recall, but I will persevere.Heh, it's not so bad! For example, if I had no idea how to test whether a file exists, I would just scan the big list of classes on the left for names that sound like they might include File operations. Hey look, File! Then I'd look at all of File's methods for something that tests whether it exists or not. Hey, exists! Then if I still couldn't figure out how to use it, I'd do a google search on that particular method.Can't report to ulfric stormcloak. I have a code in Mathscript/matlab and I need to output the array out. One option is my first code,the other option is using a for loop, but I am only getting the last ouput out. I need to get the whole output out.
Any help.
Thanks
Solved!
Go to Solution.
Attachments:
Help with Mathscript_for loop.vi 115 KB
Help with Mathscript_for loop2.vi 84 KBHere's how it should look like.
Message Edited by altenbach on 10-30-2008 05:12 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
MathscriptInFOR.png 15 KBHello. I am hoping you can give me some advice on what to do (or buy) to improve my video editing system. I am a bit of novice when it comes to the technical/hardware end of things and I'm having some issues with my current system.
I working in Adobe CS6 Master Suite on a Windows 7 Ultimate PC. I mainly use Premiere Pro, After Effects, Photoshop, and Audition. I create very complete animations and videos with many layers and effects (via Boris & Red Giant). I also use Skype to record group video calls (with the program Evaer) for a reality T.V. recap show which I also edit with my Adobe suite. However I have two main problems.
When I render out a 20 minute premier pro project (with several HD video layers and effects) it takes almost 13 hours. It seems like this is very long considering my high end components, and set up. For example I run ONLY my OS off an SSD. My programs are on another SSD. The files I use for the video are on another HDD, and I render to another HDD. I was told by keeping all the aspects on separate hard drives it would speed everything up. Is that true? I also am now reading that rendering to a SSD would speed things up. Should I consider changing my workflow/hard drive set up that way?
My other problem is that when I record my Skype group calls of 4 people (with Evaer) to my SSD the audio is always off when I bring it into Premiere. I don't know if this is a problem with Evaer, a codec (it records it as H.264/MPEG-4 AVC Codec. At 1280 X 720 and 30fps), that SSDs auto compress files, or that my system just cant handle it. Plus Soundblaster & Nvida both seem to active as audio features on my system I don't know if that effects anything. Is there any advice any of you have on this issue as well? Perhaps another program to record skype or group calls?
Finally… all that aside. Considering the work I am doing should I just upgrade my system to a better Mobo and graphics card. I see a lot of people are recommending a dual processor work station. If so what is a good motherboard, and processor(s) I should get if I build my own workstation? I have about $4000.00 I could invest in building one if you think would greatly improve my work flow and render times. I also have a quadro k5000 on the way, and id like to be able to use the memory I have already.
I realize I am asking a lot of questions. I would truly appreciate any help, advice or just a point in the right direction. I have included my current system specs below incase that helps with any of my questions. If you have any other questions or need more information just let me know. Thank you again in advance for any help you can provide.
-Eric
MOTHERBOARD:
Gigabyte G1.Assassin http://www.gigabyte.com/products/product-page.aspx?pid=3752#ov
PROCESSOR:
Intel Core i7 X 980
5 HARD DRIVES:
(1) SATA II WD (WD15EADS-00P8B0) 3gb Hard Drive @ 1.5TB
(2) OCZ SATA AGILITY II SSD drives @120GB: http://www.newegg.com/Product/Product.aspx?Item=N82E16820227543
(2) Hitachi 6gb SATA III drives @2TB: http://www.newegg.com/Product/Product.aspx?Item=N82E16822145473
3 DVD/CD/BLUERAY DRIVES:
(1) SATA DVD DRIVE
(1) SATA BlueRay Drive
RAM:
24GIGs of this ram: http://www.newegg.com/Product/Product.aspx?Item=N82E16820145321
GRAPHICS:
(1) NVIDIA GeForce GTX 680 http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-680
SOUND CARD:
NONE DEDICATED: But Onboard Creative Soundblaster X-Fi Digital Audio Processor (20K2) with X-Fi Xtreme Fidelity™ and EAX® AHD 5.0™ Technologies built into MoBo.
PLUS: NVIDIA High Definition Audio
CONTROLLERS:
Microsoft ISATAP Adapter
Intel(R) ICH10R SATA AHCI Controller
Realtek PCI GBE Family Controller
Marvell 91xx SATA 6G Controller
Renesas Electronics USB 3.0 Host Controller
MY HARD DRIVE SETUP:
*I also have a network server which I use to back up files, and access files across my other systems.Eric,
I would hardly call the Quadro card an upgrade to a GTX 680!
Regarding getting more speed from a faster MB / CPU, since you already have a 6-core rig with 24GB of RAM I would think that any gains you would get would not be that dramatic.
Check out your cpu usage (Task manager) and see how busy your cores are during a test render. I am guessing that the Boris and / or Red Giant effects could be jumping your projects from gaining the full multi-core capabilities of the Adobe software.
Regards,
JimHappy Holidays!! All,
I need help with the following issue:
Both target and auxiliary databases are:
Database version is 10.2.0.3 with 2-node RAC db
Servers are MS 2003
Oracle Clusterware 10.2.0.3
Oracle ASM for storage
I have run the rman dup from RAC to a single instance db for a while. This is the first time I ran from RAC to RAC. This auxiliary db was refreshed before and was up for a while and was managed by server control tool. Now I am trying to refresh it with new backup files from production. I did the following as people suggested:
1) shutdown instance in the second node.
2) Startup nomount mode in the first node
3) Run RMAN dup
It failed in the same place with slightly different errors. I pasted error messages at the bottom. I already created a TAR with Oracle but would like to know if anybody has any info related to this. Also I have several questions to ask:
1) Should I stop all services related to Oracle in node-2
2) Should I stop all clustware related services in node-1 except oracleCSServie since ASM uses it?
3) Is there any way I can finish the dup manually from the place I failed? What going to happen if I don't finish the rest of the dup and go ahead with 'alter database open resetlogs'?
4) How do I remove the database from under Server control – I already run 'srvctl remove database -d atlrac' successfully. Is this all?
Thanks a lot for your help and have a great holiday season!!!
First time run:
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script
database dismounted
Oracle instance shut down
connected to auxiliary database (not started)
RMAN-00571:
RMAN-00569: ERROR MESSAGE STACK FOLLOWS
RMAN-00571:
RMAN-03002: failure of Duplicate Db command at 12/21/2009 20:24:47
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-00610: Internal error code
Second time run:
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script
database dismounted
Oracle instance shut down
connected to auxiliary database (not started)
RMAN-00571:
RMAN-00569: ERROR MESSAGE STACK FOLLOWS
RMAN-00571:
RMAN-03002: failure of Duplicate Db command at 12/22/2009 15:53:27
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-03113: end-of-file on communication channel
Shirley1) Should I stop all services related to Oracle in node-2
No, you just need to stop the second instance.
2) Should I stop all clustware related services in node-1 except oracleCSServie since ASM uses it?
No, you don't need to stop anything. Just have the instance startup nomount.
3) Is there any way I can finish the dup manually from the place I failed? What going to happen if I don't finish the rest of the dup and go ahead with 'alter database open resetlogs'?
You have not shown enough information. Did the restore succeed ? Did the recover succeed ? What was it doing when it failed ?
4) How do I remove the database from under Server control – I already run 'srvctl remove database -d atlrac' successfully. Is this all?
Yes, srvctl remove database is all you need. (unless you also want to remove from listener.ora, tnsnames.ora, oratab etc)
Maybe you are looking for
I just installed the latest iTunes update onto my Windows 64-bit computer and now, whenever I try to watch a movie on iTunes it freezes and does not respond. I have to start the task manager and end the program manually. I have unistalled iTunes and
Hello I am new to Macs and bought my iMac a couple of years ago. Since that time, I have not installed any programs and have all of my photos, music, and documents on an external hard drive. Whenever I use my computer, I mainly use iTunes, Safari,a
Hi There, I have a bunch of dropbox folders aliased to my desktop - in Yosemite they display as OSX folders with arrows. In previous versions of OSX, I've been able to apply the Dropbox App icon to better distinguish between dropbox items and OSX fol
Hi all, I want a such user to connect to my SQL Server 2008R2 instance but I wish that: 1) it can't view all database listed, I want that it can see only the database it has the permission 2) it can see only some object in the list for example I want
Hi all, I am working on SFDC scenario. I am able to call the webservice ans get the soap response too. But I am getting the following error : Runtime exception occurred during application mapping com/sap/xi/tf/_MM_SF_To_SAP_CustMas_Rsp_; com.sap.aii.
Single player and multiplayer games. Visitors can win badges and beat challenges and also upload and share their own games. This game is free but the developer accepts your support by letting you pay what you think is fair for the game. No thanks, just take me to the downloads. Included files. Mutilate-a-Doll 2 (Windows.exe) (6 MB). Mutilate-a-Doll 2 (Flash) (1 MB). Support the developer with an additional contribution. $1.00 $2.00 $5.00 $10.00.
If you want to blow milk out your nose, you are at the right place. AddictingGames delivers funny games in massive quantities. Play your way from fart jokes straight to nauseatingly snarky robots, and laugh yourself stupid. Feed your need for funny games!
Knock a loud-mouth jerk as far as you can in Homerun in Berzerkland. Eat scuba divers in Shark Bait. See if you can think your way through I Don�t Even Game.
Test your quiz abilities with the Stupid Tests, The Worlds Easyest Game and the Impossible Quizes. Toast little beach people in Sunburn, start a crap storm in Super Monkey Poop Fight and tear yourself apart in Pursuit of Hat! Ridgid Propress Tool Calibration Job on this page. Spread a little joy in Monkey Go Happy. Unleash awesome damage in Demolition Dude.
And see if you can score some sweet eats in Meal or No Meal! And don�t forget the epic Playlists!
If you want your games pre-packaged for your convenience, we have just the thing. Try out 12 Unbeatable Ninja Games. Or, if you feel nasty, take a swing at 12 Stinky Poo games. Still not convinced? Psp Jikkyou Powerful Pro Yakyuu 2012 Ketteiban Isotope. Maybe you want to attempt to play 15 Dangerous Animal games. But that might be a bit bloody. Try 12 Explosive games and see if destruction clears your head.
Midipipe For Windows Download Windows 10
Whether it�s a playlist about Ninjas, or Hand-Drawn games, you�ll find a collection of super awesomeness that will keep you playing for days! So much more than funny flash games When you have had your fill of funny flash games, Addicting Games delivers epic servings of other game styles to keep the fun dial turned to eleven. Dig stick figure games and notebook games you could have drawn yourself. Solve amazing puzzles and stack gravity blocks for epic wins! Win your freedom in Escape Games. Blast everything you can think of in Shooting Games, and much, much more!