teaser - toolbars (yes, those ones)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9660
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: teaser - toolbars (yes, those ones)
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
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)
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?
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)
done.. and with PPC support =^.^=
Configurations tested:
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
Re: teaser - toolbars (yes, those ones)
Fantastic!
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
-
- VIP Livecode Opensource Backer
- Posts: 7235
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: teaser - toolbars (yes, those ones)
I'm so glad you're back with us again. This is very cool.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: teaser - toolbars (yes, those ones)
Hi there
Is this considerd finished?
Michael
Is this considerd finished?
Michael
Re: teaser - toolbars (yes, those ones)
almost..micmac wrote:Is this considerd finished?
Re: teaser - toolbars (yes, those ones)
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.
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)
The teaser version did not have support for icons..
The buttons are not Rev objects, so the scripts are done by callbacks..
The buttons are not Rev objects, so the scripts are done by callbacks..
Re: teaser - toolbars (yes, those ones)
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
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: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)
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 can't figure out how to put my own items onto the toolbar
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:I set it to be configurable and tried dragging and dropping icons onto it, but the drop wasn't allowed.
scripts are handled in a callback message due to limitations with Rev's external interface..phaworth wrote:Also, how do you find out when an item is clicked, or attach a script to it?
Re: teaser - toolbars (yes, those ones)
Hi,
Is it possible to use your own icon resources already?
Kind regards,
Mark
Is it possible to use your own icon resources already?
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: teaser - toolbars (yes, those ones)
Not in that teaser version.. But the feature is in the code base now..Mark wrote:Is it possible to use your own icon resources already?
Re: teaser - toolbars (yes, those ones)
Hi,
That's cool. Am looking forward to it.
Best regards,
Mark
That's cool. Am looking forward to it.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: teaser - toolbars (yes, those ones)
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
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
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/