Search found 603 matches

by jPV
Mon Mar 25, 2024 6:16 pm
Forum: General programming
Topic: Any way to play sample till the end when quitting program?
Replies: 3
Views: 102

Re: Any way to play sample till the end when quitting program?

I've made own quit function in RNOTunes, which closes all open windows of the program first, and then fades down the music with a SetMusicVolume() loop when the program is seemingly already closed. But I do all this before calling End. If you want to play something after End, you'll have to use some...
by jPV
Mon Mar 25, 2024 4:01 pm
Forum: General programming
Topic: Record desktop screen
Replies: 15
Views: 569

Re: Record desktop screen

@jPV: Thanks for your explainations but i have a error message: "Attempt to modify the active brush!" if i add FreeBrush(desktop_brush) after the WriteAnimFrame(1, desktop_brush) line. Like the brush is named "desktop_brush" so the brush is overwriten on the next loop no? Put En...
by jPV
Mon Mar 25, 2024 9:17 am
Forum: General programming
Topic: Record desktop screen
Replies: 15
Views: 569

Re: Record desktop screen

HideDisplay() Quit=0 frame=0 BeginAnimStream(1, "test.avi", 1920, 1080,#ANMFMT_MJPEG,{FPS=10}) CreateDisplay(2,{Borderless=True, X=1, Y=1, Width=1,height=1}) OpenDisplay(2) Function FrameGrab() desktop_brush = GrabDesktop(Nil) frame=frame+1 SelectBrush(desktop_brush) TextOut(0,0,StrStr(fr...
by jPV
Fri Mar 15, 2024 8:23 am
Forum: General questions
Topic: AVCodec and Emulation...
Replies: 14
Views: 1437

Re: AVCodec and Emulation...

BTW I tryed and putting the muiroyale.hwp in the LoVIew directory seems to solve the issue and also other plugins was loaded so I simply write in the LoView.readme file how to install the plugin and maybe I can put directly the muiroyale.hwp in the LoView.lha file? I understand right? Yea, the plug...
by jPV
Thu Mar 14, 2024 3:45 pm
Forum: General questions
Topic: AVCodec and Emulation...
Replies: 14
Views: 1437

Re: AVCodec and Emulation...

So only wayto solve tnat was to put the mui.royale plugin inthe LoView archive? Or don't enable GlobalPlugins, but require or try to load all plugins you think your program might need. You can replace ExitOnError() with the question mark nowadays to get shorter code for optional things (see Error h...
by jPV
Wed Mar 13, 2024 2:25 pm
Forum: General questions
Topic: AVCodec and Emulation...
Replies: 14
Views: 1437

Re: AVCodec and Emulation...

The main problem was that if I copy the same muiroyale.hwp plugin form libs:Hollywood from LoView main directory it works, but If I left it in LIBS:Hollywood dont...and that wasnt as expectec using GlobalPlugin = True arguiment... So...wheres the problem? My mistake? And also... The above code retu...
by jPV
Tue Mar 12, 2024 7:56 am
Forum: Hollywood bugs
Topic: Hurl2.0 - Error initializing cURL!
Replies: 12
Views: 1725

Re: Hurl2.0 - Error initializing cURL!

The ?LoadPlugin("hurl") work-around doesn't work on it?
by jPV
Tue Mar 12, 2024 7:52 am
Forum: General questions
Topic: AVCodec and Emulation...
Replies: 14
Views: 1437

Re: AVCodec and Emulation...

Hmm... I'm doing @REQUIRE "muiroyale" with all my programs and never had any issues like that. Or actually I'm doing @REQUIRE "muiroyale", {Version=1, Revision=7} mostly... do you happen to have mixed versions of muiroyale.hwp in different directories?
by jPV
Mon Mar 04, 2024 9:51 am
Forum: Hollywood bugs
Topic: Hurl2.0 - Error initializing cURL!
Replies: 12
Views: 1725

Re: Hurl2.0 - Error initializing cURL!

BTW. now I remember that I don't @REQUIRE the hURL plugin in most of my programs, I just load it later or on-demand with LoadPlugin() and handle errors if that fails (#ERR_PLUGINDOUBLET too). In this way programs can work without a (online) TCP/IP stack.
by jPV
Sun Mar 03, 2024 8:23 pm
Forum: Newbie questions
Topic: Missing mouse selection
Replies: 4
Views: 184

Re: Missing mouse selection

matty47 wrote: Sun Mar 03, 2024 1:38 am I have this partial code
Just a quick side-note, please use local variables in functions :) Here's a short explanation/example: https://www.hollywood-mal.com/docs/html ... bals_.html