View unanswered posts | View active topics It is currently Sat May 25, 2013 2:11 pm



Post new topic Reply to topic  [ 6 posts ] 
 bbAutoBroam - startup bro@ms; run a bro@m after a delay... 
Author Message
BBAdult
User avatar

Joined: Sat Sep 20, 2008 9:13 pm
Posts: 29
Location: Србија
Reply with quote
Post bbAutoBroam - startup bro@ms; run a bro@m after a delay...
Plugin that automatically runs a list of bro@ms at shell startup, with a delay between bro@ms.
It also brings bbLean 1.17+ @BBCore.label and @BBCore.post functionality to any bb4win shell.

Motivation for making this plugin:

- bbLean 1.16 does not have a startup option and does not support @BBCore.label nor @BBCore.post
- bbLean 1.17.1 has option to run bro@m on startup, but it doesn't work if you call blackbox with -nostartup switch
- On bbLean 1.17.1 you can't set custom delay when you postpone bro@am execution with @BBCore.post
- Running all startup items at once can create a lag

With bbAutoBroam you can:
- choose to either use or ignore shell's -nostartup switch
- prevent running of startup bro@ams by simply holding SHIFT at startup
- space up the execution of startup bro@ams with time interval
- postpone running of any bro@m with custom delay by using @@BBCore.post [<milliseconds>] <bro@m>
- get loading feedback (e.g. by using @script[@@BBCore.label Loading bbNote...|@BBCore.exec bbNote.exe] (keep in mind that @BBCore.label bro@m is available only in bbLean starting from version 1.17, but with this plugin you can have it on any shell by using @@BBCore.label))

Source included.

Enjoy!


Attachments:
File comment: version 0.02 (2012-02-17), with source
bbAutoBroam.zip [20.53 KiB]
Downloaded 115 times


Last edited by bro on Fri Feb 17, 2012 3:40 am, edited 4 times in total.

Wed Feb 08, 2012 12:44 am
Report this post
Profile
Sponsored Links
Google Adsense


BBAdult
User avatar

Joined: Thu Dec 23, 2004 6:47 pm
Posts: 21
Location: The Netherlands
Reply with quote
Post Re: bbAutoBroam - startup bro@ms
Ah! I think that I really would have liked this plugin. Unfortunately it claims to be incompatible with the version of Blackbox that I am using:

XZero450
viewtopic.php?f=3&t=36653


Wed Feb 08, 2012 11:43 am
Report this post
Profile
BBAdult
User avatar

Joined: Sat Sep 20, 2008 9:13 pm
Posts: 29
Location: Србија
Reply with quote
Post Re: bbAutoBroam - startup bro@ms
I forgot to statically link to c++ library... It should work now.
Please try it again.


Wed Feb 08, 2012 5:32 pm
Report this post
Profile
BBAdult
User avatar

Joined: Thu Dec 23, 2004 6:47 pm
Posts: 21
Location: The Netherlands
Reply with quote
Post Re: bbAutoBroam - startup bro@ms
bro wrote:
I forgot to statically link to c++ library... It should work now.
Please try it again.

The plugin works for me now. Thank you very much.
8)


Mon Feb 13, 2012 3:20 pm
Report this post
Profile
BBChild

Joined: Fri Jan 27, 2012 8:37 pm
Posts: 6
Reply with quote
Post Re: bbAutoBroam - startup bro@ms
thx bro! dats what i want =D>


Wed Feb 15, 2012 9:28 pm
Report this post
Profile
BBAdult
User avatar

Joined: Sat Sep 20, 2008 9:13 pm
Posts: 29
Location: Србија
Reply with quote
Post Re: bbAutoBroam - startup bro@ms; run a bro@m after a delay.
Updated!

- Rewritten in C so it takes 10 times less space
- Added: @@BBCore.post [<milliseconds>] bro@m
- Added: @@BBCore.label <text>
- Added: DefaultPostInterval rc setting

Now you can use @@BBCore.post to run a bro@m after some time.

Example 1:
Let's say you used @BBCalendarNextMonth action to move one or more months ahead in bbCalendar plugin and then you had to use @BBCalendarActualMonth to go back to the actual month...
Now you can use @script[@BBCalendarNextMonth | @@BBCore.post 5000 @BBCalendarPreviousMonth] action to move any number of months ahead, and after desired time (5 seconds in this example) bbCalendar will revert to the actual month.

Example 2:
You want to count down from 3 and execute bbNote and show the counting on the toolbar (or any other plugin for showing toolbar messages)?
You would use:
@script[@@BBCore.label 3...|@@BBCore.post 1000 @@BBCore.label 2...|@@BBCore.post 2000 @@BBCore.label 1...|@@BBCore.post 3000 @@BBCore.label Loading bbNote.exe... |@@BBCore.post 4000 @BBCore.exec bbNote.exe...]


Fri Feb 17, 2012 4:19 am
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.