Page 2 of 3

Re: teaser - toolbars (yes, those ones)

Posted: Tue Apr 24, 2012 11:24 pm
by dunbarx
Shaosean.

I guess I need help. I am only using the IDE.

I initially tried keeping the stack and the bundle in the folder they downloaded themselves into. No dice. So I created an external reference within the stack, pointing to the bundle. No dice. I am using a G5 in OS 10.5. Non intel. Is this the issue? If so, I will try it on my 10.6 intel machine at home.

Craig

Re: teaser - toolbars (yes, those ones)

Posted: Tue Apr 24, 2012 11:29 pm
by shaosean
If it does not work with the sample stack and external in the same folder then it does seem to be Intel only so looks like you will have to wait until you get home..

But this does bring up a valid question - is it worth trying to get the external to work on PPC?

Re: teaser - toolbars (yes, those ones)

Posted: Sat Apr 28, 2012 11:38 pm
by shaosean
done.. and with PPC support =^.^=

Configurations tested:
  • RunRev 2.8.1, 10.5.8 PPC
  • RunRev 3.0.0, 10.5.8 PPC
  • RunRev 3.5.0, 10.5.8 PPC
  • RunRev 4.0.0, 10.5.8 PPC
  • RunRev 2.8.1, 10.6.8 Intel
  • RunRev 4.0.0, 10.6.8 Intel
Just the docs left *blargh*

Re: teaser - toolbars (yes, those ones)

Posted: Tue May 01, 2012 9:52 am
by monte
Fantastic!

Re: teaser - toolbars (yes, those ones)

Posted: Tue May 01, 2012 5:36 pm
by jacque
I'm so glad you're back with us again. :) This is very cool.

Re: teaser - toolbars (yes, those ones)

Posted: Wed May 16, 2012 6:48 am
by micmac
Hi there

Is this considerd finished?

Michael

Re: teaser - toolbars (yes, those ones)

Posted: Wed May 16, 2012 9:36 am
by shaosean
micmac wrote:Is this considerd finished?
almost..

Re: teaser - toolbars (yes, those ones)

Posted: Tue Jun 05, 2012 3:15 pm
by Taligent
I was dreaming of a true native feeling to my MacOSX applications for ages.
I can't thank you enough for your work miss Sean.

A few questions remaining (unless I've missed something in this thread) :
- How to change the icons/buttons in the toolbar ? And add scripts in buttons ?
- What will be the rules for using your external in our applications ?

Once again, zillions THANKS.

Re: teaser - toolbars (yes, those ones)

Posted: Tue Jun 05, 2012 4:42 pm
by shaosean
The teaser version did not have support for icons..
The buttons are not Rev objects, so the scripts are done by callbacks..

Re: teaser - toolbars (yes, those ones)

Posted: Sun Jul 08, 2012 3:46 am
by phaworth
Just came across this and love it!

Any further progress on the "what's missing" list you mentioned? I can't figure out how to put my own items onto the toolbar - I set it to be configurable and tried dragging and dropping icons onto it, but the drop wasn't allowed. Also, how do you find out when an item is clicked, or attach a script to it?

Thanks,
Pete
shaosean wrote:
Screen shot 2012-04-22 at 2.23.59 AM.png
Well, my skills are good enough for me to tackle this and get over all the road blocks and headaches that come with coding in Rev and trying to make externals for it.. This is far from being feature complete and it is just a little bit of a teaser for people to play with and to see what they can do with it..

what do i do with it?!
click the "ssSetWindowToolbar" button
click the "ssToolbarSetVisible" button
now you have a very simple little toolbar

if you want it to be able to customizable, click the "ssToolbarSetConfigurableAttribute" button
if you want it to autosave the changes you have made, you will need to click on the "ssToolbarSetAutoSaveAttribute" button before clicking the "ssToolbarSetVisible" button in the steps listed above..

look at the scripts of the buttons to see what to do (please note that some of the comments are out-dated, but you can see the actual code used and it should make sense)
look at the stack script to see how to handle the callbacks and to build your own custom toolbars (yes, those globals are needed and make it all work)..

what are missing
- icon support, just going to take a day or two to support all the possible methods (Rev imported images, images in the application bundle and built-in system icons)
- all of the toolbar and toolbar item events
- modifying toolbar items on a per window basis
- toolbar item attributes

where and how much!!
http://shaosean.tk/runrev/ssMacToolbar/
pricing has not been set, so free feel to throw out some numbers and lets see where it goes..

now what?
play with it, break it, send me feedback, ask me questions, order me pizzas..

Re: teaser - toolbars (yes, those ones)

Posted: Tue Jul 10, 2012 11:16 am
by shaosean
phaworth wrote:I can't figure out how to put my own items onto the toolbar
copy the code that is in the sample stack.. just a small word of warning though, lots of the API names have changed to make more sense..
phaworth wrote:I set it to be configurable and tried dragging and dropping icons onto it, but the drop wasn't allowed.
setting the configurable allows you to bring up the customize sheet and you can drag and drop icons from there (hopefully).. if you are trying to drag and drop Rev icons, it will not work..
phaworth wrote:Also, how do you find out when an item is clicked, or attach a script to it?
scripts are handled in a callback message due to limitations with Rev's external interface..

Re: teaser - toolbars (yes, those ones)

Posted: Tue Jul 10, 2012 11:31 am
by Mark
Hi,

Is it possible to use your own icon resources already?

Kind regards,

Mark

Re: teaser - toolbars (yes, those ones)

Posted: Tue Jul 10, 2012 9:15 pm
by shaosean
Mark wrote:Is it possible to use your own icon resources already?
Not in that teaser version.. But the feature is in the code base now..

Re: teaser - toolbars (yes, those ones)

Posted: Tue Jul 10, 2012 9:47 pm
by Mark
Hi,

That's cool. Am looking forward to it.

Best regards,

Mark

Re: teaser - toolbars (yes, those ones)

Posted: Sun Jul 15, 2012 12:15 am
by monte
Hi Shaosean

Any chance you could contact me at monte@goulding.ws? I can't seem to find an email address for you anywhere and there no PMs here.

Cheers

Monte