Run automatically FLVPlayer
Hi
I'm a FLVPlayer
I want to run automatically after being executed. But now I do not know how to change the code.
Class code is as follows:
package Classes
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.events.NetStatusEvent;
import flash.events.TimerEvent;
import flash.geom.Rectangle;
import flash.media.SoundTransform;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.net.NetStreamAppendBytesAction;
import flash.system.System;
import flash.utils.Timer;
import flash.utils.setTimeout;
dynamic public class VideoPlayer extends MovieClip
public var FirstTimeShow:int=300;//in stop display first ,
public const DEFAULT_VOLUME:Number = 0.6;
public const SMOOTHING:Boolean = true;
private const BUFFER_TIME:Number = 8;
private var ncConnection:NetConnection;
private var nsStream:NetStream;
private var vidDisplay:Video;
private var objInfo:Object;
private var MainTime:Number=0;
private var StreamTime:Number=0;
private var strSource:String = "";
private var CanStart:Boolean=false;
private var TotalTime:Number=0;
private var intLastVolume:Number = 0;
private var CanAutoSeek:Boolean=false;
private var _DisplayMode:Boolean=false;
private var _firstTime:Number=0;
private var EmbedMode:Boolean=false;
private var Started:Boolean=false;
public function VideoPlayer():void
if(stage)
initVideoPlayer();
else
addEventListener(Event.ADDED_TO_STAGE,initVideoPlayer);
private function initVideoPlayer(evt:Event=null):void
removeEventListener(Event.ADDED_TO_STAGE,initVideoPlayer);
PreSettings();
private function PreSettings():void
CanStart=true;
public function Start(address:String,FirstDisplay:Boolean=false,Time:int=3):void
if(CanStart&&!Started)
Started=true;
EmbedMode=false;
intLastVolume=DEFAULT_VOLUME;
strSource=address;
_firstTime=(Time>=0)?Time:StreamTime;
_DisplayMode=FirstDisplay;
MainTime=_firstTime;
Panel.Timeline.AreaFill.Red.width = 1;
Panel.Timeline.AreaFill.Gray.width = 1;
Panel.Timeline.AreaFill.mouseEnabled=false;
Panel.Timeline.AreaFill.mouseChildren=false;
Panel.S.SHandle.buttonMode=true;
Panel.Timeline.Handle.buttonMode=true;
ncConnection=new NetConnection();
ncConnection.connect(null);
nsStream = new NetStream(ncConnection);
nsStream.client = this;
nsStream.soundTransform=new SoundTransform(intLastVolume);
//================================Not Very Important
nsStream.inBufferSeek=true;
nsStream.bufferTime = BUFFER_TIME;
//================================
vidDisplay=new Video();
vidDisplay.attachNetStream(nsStream);
nsStream.play(strSource);
vidDisplay.smoothing = SMOOTHING;
//===============================================ShowAll Placement OF Video
var FirstW:Number=VidContainer.width;
var FirstH:Number=VidContainer.height;
var H:Number=0;
var W:Number=0;
var Width:Number=VidContainer.width;
var Height:Number=VidContainer.height;
if(vidDisplay.width>=vidDisplay.height)
H=FirstH*(Width/FirstW);
W=Width;
if(H>Height)
H=Height;
W=FirstW*(H/FirstH);
else
W=FirstW*(Height/FirstH);
H=Height;
if(W>Height)
W=Width;
H=FirstH*(W/FirstW);
vidDisplay.width=W;
vidDisplay.height=H;
VidContainer.addChild(vidDisplay);
vidDisplay.x=(Width/2)-(W/2);
vidDisplay.y=(Height/2)-(H/2);
//==================================================================================
Panel.S.SHandle.x =((Panel.S.SArea.width-Panel.S.SHandle.width) * intLastVolume);
Panel.S.Red.width = Panel.S.SHandle.x;
Panel.btnPause.IDBTN = "PauseGo";
Panel.btnPlay.IDBTN = "PlayGo";
Panel.btnMute.IDBTN="MuteGo";
Panel.btnUnmute.IDBTN="UnMuteGo";
Panel.btnUnmute.visible = false;
setVolume(intLastVolume);
public function StartBytes(_ns:NetStream,FirstDisplay:Boolean=true,Time:int=-1):void
if(CanStart)
Started=true;
EmbedMode=true;
//@1Comments
private function setVolume(intVolume:Number = 0):void
if(intVolume>=0&&intLastVolume<=1)
var newTransform:SoundTransform=new SoundTransform();
newTransform.volume=intVolume;
nsStream.soundTransform=newTransform;
public function onMetaData(info:Object):void
objInfo = info;
TotalTime=objInfo.duration;
nsStream.pause();
if(!_DisplayMode)
Panel.btnPause.visible = false;
Panel.btnPlay.visible = true;
CanAutoSeek=false;
else
Panel.btnPause.visible = true;
Panel.btnPlay.visible = false;
CanAutoSeek=true;
StartEvents(true);
setTimeout(PlayGo,10);
private function playClicked(evt:MouseEvent):void
if(evt.currentTarget.IDBTN=="PauseGo")
Panel.btnPause.visible = false;
Panel.btnPlay.visible = true;
nsStream.pause();
MainTime=nsStream.time;
StreamTime=nsStream.time;
CanAutoSeek=false;
_DisplayMode=false;
else if(evt.currentTarget.IDBTN=="PlayGo")
Panel.btnPause.visible = true;
Panel.btnPlay.visible = false;
CanAutoSeek=true;
nsStream.seek(MainTime);
nsStream.resume();
_DisplayMode=true;
private function PlayGo():void
if(nsStream!=null)
if(MainTime>0&&MainTime<=TotalTime)MainTime=MainTime;
else MainTime=StreamTime;
nsStream.seek(MainTime);
if(_DisplayMode) nsStream.resume();
Panel.Timeline.Handle.x=(MainTime/TotalTime)*(Panel.Timeline.Area.width-Panel.Timeline.Handle.width);
Panel.Timeline.AreaFill.Red.width = Panel.Timeline.Handle.x;
private function StartEvents(Pos:Boolean):void
if(Pos)
nsStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
if(ncConnection!=null)ncConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
Panel.Timeline.Handle.addEventListener(MouseEvent.MOUSE_DOWN, SeekHandleDrag);
Panel.Timeline.Area.addEventListener(MouseEvent.CLICK, playCustomClicked);
Panel.btnPause.addEventListener(MouseEvent.CLICK, playClicked);
Panel.btnPlay.addEventListener(MouseEvent.CLICK, playClicked);
Panel.btnStop.addEventListener(MouseEvent.CLICK, stopClicked);
Panel.S.SHandle.addEventListener(MouseEvent.MOUSE_DOWN, VolDrag);
Panel.btnMute.addEventListener(MouseEvent.CLICK, UmuteClicked);
Panel.btnUnmute.addEventListener(MouseEvent.CLICK, UmuteClicked);
if(stage)stage.addEventListener( MouseEvent.MOUSE_UP, mouseReleased);
addEventListener(Event.ENTER_FRAME,runtime);
else
if(nsStream)nsStream.removeEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
if(ncConnection!=null)ncConnection.removeEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
Panel.Timeline.Handle.removeEventListener(MouseEvent.MOUSE_DOWN, SeekHandleDrag);
Panel.Timeline.Area.removeEventListener(MouseEvent.CLICK, playCustomClicked);
Panel.btnPause.removeEventListener(MouseEvent.CLICK, playClicked);
Panel.btnPlay.removeEventListener(MouseEvent.CLICK, playClicked);
Panel.btnStop.removeEventListener(MouseEvent.CLICK, stopClicked);
Panel.S.SHandle.removeEventListener(MouseEvent.MOUSE_DOWN, VolDrag);
Panel.btnMute.removeEventListener(MouseEvent.CLICK, UmuteClicked);
Panel.btnUnmute.removeEventListener(MouseEvent.CLICK, UmuteClicked);
if(stage)stage.removeEventListener( MouseEvent.MOUSE_UP, mouseReleased);
removeEventListener(Event.ENTER_FRAME,runtime);
private function netStatusHandler(evt:NetStatusEvent):void
switch (evt.info.code)
case "NetStream.Play.StreamNotFound":
trace("Stream not found! From VideoPlayer");
break;
case "NetStream.Play.Stop":
trace("NetStream.Play.Stop From VideoPlayer");
stopClicked(null);
break;
default:
//trace("Progressing...");
break;
private function runtime(evt:Event):void
var timeStream:Number=nsStream.time;
var h:int=Math.floor(Math.abs(timeStream/3600));
var m:int=Math.floor(Math.abs((timeStream-(h*3600))/60));
var s:int=Math.abs(timeStream-((h*3600)+(m*60)));
Panel.TXT.text=String(h)+" : "+String(m)+" : "+String(s);
if(CanAutoSeek)
Panel.Timeline.Handle.x=(timeStream/TotalTime)*(Panel.Timeline.Area.width-Panel.Timeline.Handle.width);
Panel.Timeline.AreaFill.Red.width = Panel.Timeline.Handle.x;
if(timeStream>=TotalTime)
stopClicked(null);
private function playCustomClicked(evt:MouseEvent):void
if(Panel.mouseX<=Panel.Timeline.Area.width-Panel.Timeline.Handle.width)
CanAutoSeek=false;
nsStream.pause();
Panel.Timeline.Handle.x=Panel.mouseX;
Panel.Timeline.AreaFill.Red.width = Panel.Timeline.Handle.x;
MainTime=(Panel.Timeline.Handle.x/(Panel.Timeline.Area.width-Panel.Timeline.Handle.width))*TotalTime;
StreamTime=MainTime;
nsStream.seek(MainTime);
if(_DisplayMode)nsStream.resume();
CanAutoSeek=true;
else
stopClicked(null);
private function stopClicked(e:MouseEvent):void
Panel.btnPause.visible = false;
Panel.btnPlay.visible = true;
StreamTime=0;
MainTime=0;
nsStream.pause();
nsStream.seek(MainTime);
Panel.Timeline.Handle.x=0;
Panel.Timeline.AreaFill.Red.width = Panel.Timeline.Handle.x;
_DisplayMode=false;
private function UmuteClicked(evt:MouseEvent):void
if(evt.currentTarget.IDBTN=="MuteGo")
intLastVolume=nsStream.soundTransform.volume;
setVolume(0);
Panel.S.SHandle.x = 0;
Panel.S.Red.width = 0;
Panel.btnMute.visible = false;
Panel.btnUnmute.visible = true;
else if(evt.currentTarget.IDBTN=="UnMuteGo")
Panel.S.SHandle.x = (Panel.S.SArea.width-Panel.S.SHandle.width)*intLastVolume;
Panel.S.Red.width = Panel.S.SHandle.x;
Panel.btnMute.visible = true;
Panel.btnUnmute.visible = false;
setVolume(intLastVolume);
private function VolDrag(e:MouseEvent):void
Panel.S.SHandle.startDrag(false, new Rectangle(0, 0, Panel.S.SArea.width-Panel.S.SHandle.width, 0));
stage.addEventListener(MouseEvent.MOUSE_MOVE,moveSound);
private function moveSound(evt:MouseEvent):void
setTimeout(SoundSet,100);
private function SoundSet():void
Panel.S.Red.width = Panel.S.SHandle.x;
var newTransform:SoundTransform=new SoundTransform(Panel.S.SHandle.x/(Panel.S.SArea.width-Panel.S.SHandle.width));
nsStream.soundTransform=newTransform;
private function SeekHandleDrag(e:MouseEvent):void
CanAutoSeek=false;
nsStream.pause();
MainTime=nsStream.time;
StreamTime=nsStream.time;
Panel.Timeline.Handle.startDrag(false,new Rectangle(0,3,Panel.Timeline.Area.width-Panel.Timeline.Handle.width,0));
stage.addEventListener(MouseEvent.MOUSE_MOVE,moveHandleSlider);
private function moveHandleSlider(evt:MouseEvent):void
setTimeout(MovieSeekDrag,50);
private function MovieSeekDrag():void
Panel.Timeline.AreaFill.Red.width = Panel.Timeline.Handle.x;
MainTime=(Panel.Timeline.Handle.x/(Panel.Timeline.Area.width-Panel.Timeline.Handle.width))*TotalTime;
nsStream.seek(MainTime);
private function mouseReleased(e:MouseEvent):void
Panel.S.SHandle.stopDrag();
Panel.Timeline.Handle.stopDrag();
try
stage.removeEventListener(MouseEvent.MOUSE_MOVE,moveSound);
stage.removeEventListener(MouseEvent.MOUSE_MOVE,moveHandleSlider);
catch(Err:Error){}
if(!CanAutoSeek&&_DisplayMode)
CanAutoSeek=true;
nsStream.seek(MainTime);
nsStream.resume();
public function Distructor():void
if(CanStart)
removeEventListener(Event.ADDED_TO_STAGE,initVideoPlayer);
Started=false;
StartEvents(false);
Panel.S.SHandle.stopDrag();
Panel.Timeline.Handle.stopDrag();
if(stage)stage.removeEventListener(MouseEvent.MOUSE_MOVE,moveSound);
if(stage)stage.removeEventListener(MouseEvent.MOUSE_MOVE,moveHandleSlider);
try
nsStream.pause();
nsStream.close();
catch(Err:Error)
try
ncConnection.close();
catch(Err:Error)
try
vidDisplay.clear();
catch(Err:Error)
try
VidContainer.removeChild(vidDisplay);
catch(Err:Error){}
objInfo=null;
MainTime=0;
StreamTime=0;
strSource = "";
TotalTime=0;
intLastVolume = 0;
CanAutoSeek=false;
_DisplayMode=false;
_firstTime=0;
ncConnection=null;
vidDisplay=null;
nsStream=null;
System.gc();
hi
yes i have it
and above code was class
i attached flv file & thx a lot
http://www.dgfhfhhg.com/VideoPlayer.rar
Similar Messages
-
Dunning letters run automatically on a weekly basis
Hi Expert,
Is it possible to make the dunning letters run automatically on a weekly basis? If the answer is yes, then what config do we need to run the report on wekkly basis or what are the steps. Please let me know in very details, because, I am not the SD person.
ThanksOn your Router setup page set the MTU value from AUTO to Manual and change the Size from 1500 to 1350 and click on Save Settings...
-
Making photo gallery run automatically
hi there
i have already created a photogallery for the website below.
http://hitenkajal.co.uk/hk_family.html
Now i will like the photos to run automatically as well as having button to click on. I want this done via as3 as i have quite alot of photos. Can someone help me?
my as3 code:
/* Mouse Click Event
Clicking on the specified symbol instance executes a function in which you can add your own custom code.
Instructions:
1. Add your custom code on a new line after the line that says "// Start your custom code" below.
The code will execute when the symbol instance is clicked.
family1_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family1_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/family.jpg";
family2_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_2);
function fl_MouseClickHandler_2(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family2_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/sheth_family.jpg";
// End your custom code
family3_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_3);
function fl_MouseClickHandler_3(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family3_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/valani_family.jpg";
// End your custom code
family4_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_6);
function fl_MouseClickHandler_6(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family4_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/hiten_brothers.jpg";
// End your custom code
family5_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_5);
function fl_MouseClickHandler_5(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family5_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/the_sisters.jpg";
// End your custom code
family6_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_7);
function fl_MouseClickHandler_7(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family6_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/kajal_baa.jpg";
// End your custom code
family7_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_8);
function fl_MouseClickHandler_8(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family7_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/kajal_sisters.jpg";
// End your custom codewhile the photos are automatically changing, i will like it to fade in and out smoothly. How can i do that?
My AS3 code
import flash.utils.Timer;ode
import flash.events.TimerEvent;
var imgArr:Array=new Array("family.jpg","sheth_family.jpg","valani_family.jpg","hiten_brothers.jpg","the_siste rs.jpg","kajal_baa.jpg","kajal_sisters.jpg");
var path:String="hkimage/largepic/";
var i:int=1;
var timer:Timer=new Timer(7000);
timer.addEventListener(TimerEvent.TIMER,timerfn);
timer.start();
function timerfn(e:TimerEvent):void{
if (i>=imgArr.length) i=0;
familyBkgd.mainLoader.source =path+imgArr[i];
trace(imgArr[i]);
i++;
/* Mouse Click Evente
Clicking on the specified symbol instance executes a function in which you can add your own custom code.
Instructions:
1. Add your custom code on a new line after the line that says "// Start your custom code" below.
The code will execute when the symbol instance is clicked.
family1_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family1_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/family.jpg";
i=0;
family2_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_2);
function fl_MouseClickHandler_2(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family2_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/sheth_family.jpg";
// End your custom code
i=1;
family3_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_3);
function fl_MouseClickHandler_3(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family3_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/valani_family.jpg";
// End your custom code
family4_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_6);
function fl_MouseClickHandler_6(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family4_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/hiten_brothers.jpg";
// End your custom code
family5_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_5);
function fl_MouseClickHandler_5(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family5_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/the_sisters.jpg";
// End your custom code
family6_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_7);
function fl_MouseClickHandler_7(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family6_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/kajal_baa.jpg";
// End your custom code
family7_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_8);
function fl_MouseClickHandler_8(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family7_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/kajal_sisters.jpg";
// End your custom code -
How do I make the plugin run automatically when a photo is imported?
I am trying to write a new plugin where the metadata will be automatically added to the photo when I import the photo in the Lightroom.
How do I make the plugin run automatically when a photo is imported?
Thanks for your help!
Regards,
Prosenjitpsaha84 wrote:
What I want is, when I import a photo in Lightroom the plugin will run and assign the metadata.
As John said, there is no mechanism to receive notification of import. The likely recourse is continuous polling (unless you get very creative..).
You can try optimizing. e.g.: every second (or less), see if the count has changed, if it's gone up, something's been imported, if not then probably not (check anyway once in a while..).
psaha84 wrote:
How do I save the custom metadata with the image file?
Lightroom 5 has the limitation, plugin cannot link the custom metadata fields to XMP file or save them with image file.
So, is there any alternative way to save the custom metadata?
Yeah: Lightroom won't save custom metadata in xmp, nor read it if it's there, so you are pretty much on your own - you can save in a file, but if you save as non-standard sidecar Lr won't attend to it like it will jpg or xmp sidecar. For that reason it's often better to save in a separate dedicated location. You can save in image file itself, e.g. using exiftool if raw file, but that would make me nervous, and of course you'd have to have the logic to read it somewhere too..
Good luck,
Rob -
Genbscript automation - Making genbscript run automatically after compile.
Hello,
Is there any way where we can make the genbscript run as soon as we click on compile. What am doing now is, every time I compile, i run the genbscript seperately.
So I would like to know , is there any method where the genbscript runs automatically as soon as we compile? If so plz let me know.
Thank and Regards,
Abhishek.What version of Siebel are you using? If you are on 8.0, in Siebel Tools go to menu item View and choose Options.
Choose the Scripting tab and enter a value in "Browser script compilation folder".
Or just have a look here:
Using Siebel Tools
http://download.oracle.com/docs/cd/B40099_02/books/UsingTools/UsingToolsTOC.html
Setting Scripting Preferences
http://download.oracle.com/docs/cd/B40099_02/books/UsingTools/UsingTools_ScriptEditors3.html#wp1109335
Axel -
can some one help me making it run automatically and adding slideshowTimer on the codes below
next_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame);
function fl_ClickToGoToNextFrame(event:MouseEvent):void
nextFrame();
previous_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToPreviousFrame);
function fl_ClickToGoToPreviousFrame(event:MouseEvent):void
prevFrame();thank you for your input
however, i am getting error message when i put these codes on:
Symbol 'Symbol 2', Layer 'Layer 3', Frame 1, Line 3 1150: The protected
attribute can only be used on class property definitions. -
Photoshop CS5 - Action is not running automatically while I trying to save PDF to JPG
My Problem in Photoshop CS5: Action is not running automatically while I trying to save PDF to JPG, in the batch process:
Followed following steps:
Opened PDF file
Created new auction (F2)
Flatten image
Save as JPG
Close file
To Run Batch:
Opened Batch dialogue box
Selected set/action name
Source: selected as “Folder”
Directed location using “Choose” button
And no selected any check boxes under the “Choose” button
Clicked “OK”
Now all the PDFs are opened one after another but not execute the selected action. Please help how to resolve for auto run.What is part of the Action?
Could you please post a screenshot with the pertinent Panels visible?
Have you tried using Image Processor or Image Processor Pro instead of Batch? -
The applications on my ipad are running automatically. Please help.
hi the applications on my ipad are running automatically. Can someone help on this. Sometimes words are getting typed automatically and sometimes its switching windows on its own.
After restore my phone this screen came,for my issue i restore 3 times for every time after restore 10-15 min working fine after that again problem start
-
Steps involved in Orcale apps 11i for setting a report to run automatically
I want to run a report automatically every day in oracle apps 11i.
I have created the rdf file using reports 6i and I have registered it in oracle apps. Now i would to like to know what are the procedures involved in setting this report to run automatically.Pls. help.
Thanks in advanceWhen you are submit your concurrent program to run
in At These Times section Go to Schedule Button section...
there you can schedule accordingly -
Error while running Automatic payment
Hello guys,
We are running Automatic payment Programme Previously all the output generated properly,
but from last some days its giving an error "+Device type HPLJIIID does not support page format DINA4"**+Hi,
Check the printer setting in SPAD transaction. You can take the help from your BASIS collegue for the same.
Regards,
SDNer -
Can we schedule FSG reports to run automatically?
Hi Friends,
I am wondering whether we can schedule FSG report to run automatically as standard reports. Thanks.Have a look at the Note:144838.1
Regards
Prashant Pathak -
How to use sinewave to controll my motor run automatically.
Hello
I am now tring to use a waveform(sinwave ) to control my motor run automatically .I am using labview2010 and EPOS50/5. Is there anyone can give me your suggestion? Thanks in advance.The attachment is the program for my epos.
Attachments:
epos and sinewaveform.vi 34 KBPS: My program for epos can work, but I don not know how to combine the sinewave program with the epos program to make motor run automatically.
Thanks your suggestion in advance. -
QMaster doesn't run automatically?
Trying to figure this out... this just started a little while ago where I would have to seemingly run QMaster manually before compressing; otherwise, I would get "Unable to connect to background process"... it wasn't always this way, how do I get Qmaster to run automatically again?
what's odd, is i put an echo in the /etc/rc.d/network script and it's running the exact same command i'm running from the commandline
dhcpcd eth0
When it gets run from the rc.d script it times out, when i run it manually from the commanline it works fine.
When run from the script, this is the output:
Oct 19 10:30:56 localhost dhcpcd[1174]: version 5.2.12 starting
Oct 19 10:30:56 localhost dhcpcd[1174]: eth0: waiting for carrier
Oct 19 10:30:58 localhost kernel: [ 828.176125] bnx2 0000:01:00.0: eth0: NIC Copper Link is Up, 1000 Mbps full duplex
Oct 19 10:30:58 localhost dhcpcd[1174]: eth0: carrier acquired
Oct 19 10:30:58 localhost dhcpcd[1174]: eth0: broadcasting for a lease
Oct 19 10:31:26 localhost dhcpcd[1174]: timed out
When run manually from the commandline, this is the output:
Oct 19 10:31:42 localhost dhcpcd[1187]: version 5.2.12 starting
Oct 19 10:31:42 localhost dhcpcd[1187]: eth0: broadcasting for a lease
Oct 19 10:31:43 localhost dhcpcd[1187]: eth0: offered 177.18.58.191 from 177.18.61.18
Oct 19 10:31:43 localhost dhcpcd[1187]: eth0: acknowledged 177.18.58.191 from 177.18.61.18
Oct 19 10:31:43 localhost dhcpcd[1187]: eth0: checking for 177.18.58.191
Oct 19 10:31:48 localhost dhcpcd[1187]: eth0: leased 177.18.58.191 for 3600 seconds
Oct 19 10:31:48 localhost dhcpcd[1187]: forked to background, child pid 1209
Last edited by jmandawg (2011-10-19 14:52:43) -
BlackBerry Application Loader run automatically
Hello all,
When I start the “BlackBerry® Desktop Manager” the “BlackBerry® Application Loader” is run automatically. It’s a problem if my PC is not connected to INTERNET, since I can’t stop it clicking on “Cancel” and the “BlackBerry® Desktop Manager” become hanged. Therefore, I can’t use my device as an External Modem.
It is happening since I updated the “BlackBerry® Desktop Manager” to Version 5.0.1.37.
I want to configure the “BlackBerry® Desktop Manager” to ask me if I want to run the “BlackBerry® Application Loader”, in a manual way. But I have not found how to do it.
I would appreciate if one of you can help me, please.
Thanks,
L.M.R.R.On your PC > Control Panel > Add/Remove Programs, find Desktop Manager and click on it to CHANGE the setup. Run that. At the end of the run, you will see a couple of settings, one is Check automatiically for updates. Turn that off.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
I would like to write a jsp file that can run in every 5 minutes.
My situation is that jsp file will include some sql statements which
will update a table in MS SQL Server according to some criteria.
The table need to be updated automatically to serve the business purposes.
So, i need a JSP file that can run automatically to serve this purpose.
Hope that some one can give some suggestion to me.
Thanks !import java.util.Date;
import java.sql.*;
public class Test {
public static void main(String[] args) {
Connection conn = null;
String s1 = "";
PreparedStatement stmt = null;
ResultSet rset = null;
while (true) {
System.out.println("The time is "+new Date());
try {
Thread.sleep(5*60*1000);
** place sqlserver to update table here
** example:
** java.util.Properties info = new java.util.Properties();
** info.put ("user", userid);
** info.put ("password", passwd);
** s1 = "jdbc:<database type>:thin:@" + host + ":" + port + ":" + database ;
** DriverManager.registerDriver ( new oracle.jdbc.driver.OracleDriver());
** conn = DriverManager.getConnection (s1,"scott","ctrl");
** s1 = "update table set column = ? where column = ?";
** stmt = conn.prepareStatement(s1);
** stmt.setString(1,var1);
** stmt.setString(2,vat2);
** rset = stmt.executeQuery();
** rset.close();
** stmt.close();
** conn.close();
} catch (Exception exc) {}
Maybe you are looking for
-
Call report from pl-sql routine
I just got started on the report-tool, so, this might be a very basic question, but, would appreciate your response. I have a pl-sql routine registered as a concurrent program. How do I make call to report-builder from this routine. Thxs,
-
Deleting request takes a long time
Hi all, I have a request in ODS that I am deleting and is taking long time, even though its a full upload we store the previous requests. I checked in SM37, the status is Active and in Job log the step is Delete running: ODS object ZORDS, from 51,97
-
Epson Perfection V700 Photo Not Working
Since I successfully downloaded and installed Mavericks, I cannot use my Epson Perfection V700 Photo Scanner. I NEED this updated ASAP as I am in the middle of archiving and updating an online group. Epson do NOT have an upgrade, yet. Does Apple have
-
How can I make Azure blob give me "206 Partial content" for mp4. Getting 200
I want a video for my web-site, so I am using html+JavaScript found on view-source:https://www.airbnb.com/ see id="pretzel-video" and script starting from var video = $("#pretzel-video"); The point is - if I copy html+JavaScript on my web-site, I
-
Hey all, I live in Dallas Texas, and both my wife and I cannot call or receive calls, our phones go in and out of service, is there an outage locally?