teaser - toolbars (yes, those ones)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
teaser - toolbars (yes, those ones)
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..
Last edited by shaosean on Tue Apr 24, 2012 10:08 am, edited 1 time in total.
Re: teaser - toolbars (yes, those ones)
Hi,
This is cool. Is this going to be cross platform?
Kind regards,
Mark
This is cool. Is this going to be cross platform?
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)
Hi shaosean
This project deserve many more positive responces than 1
It is real welcomed that you do this.
Thanks
Mic
This project deserve many more positive responces than 1
It is real welcomed that you do this.
Thanks
Mic
Re: teaser - toolbars (yes, those ones)
Hi shaosean,
thank you for linking to your external. It is amazing. It gives a true native feeling to an app for MacOSX.
It worked well for what I tested.
Kind regards
Bernd
PS where do I send the pizzas
the forum would only let me upload the pizzas zipped. Then they acquire a distinct digital taste which is not palatable at all. Maybe we need a new section of the forum for pizza delivery...
thank you for linking to your external. It is amazing. It gives a true native feeling to an app for MacOSX.
It worked well for what I tested.
Kind regards
Bernd
PS where do I send the pizzas

the forum would only let me upload the pizzas zipped. Then they acquire a distinct digital taste which is not palatable at all. Maybe we need a new section of the forum for pizza delivery...
Re: teaser - toolbars (yes, those ones)
Would be awesome wouldn't it.. Of course, it would have been awesome to have this built in to Rev..Is this going to be cross platform?
This is the project that got me started in externals.. That and lots of bellyaching to Malte (thanks for listening and telling me to "write it")It is real welcomed that you do this.
Just because Windows users are used to ugly apps, doesn't mean us Mac users have to have ugly apps tooIt gives a true native feeling to an app for MacOSX

That is a space saving feature that allows you to send two pizzas in the space of onethe forum would only let me upload the pizzas zipped

Re: teaser - toolbars (yes, those ones)
Shaosean
My copy cannot run. It appears that the external that comes with your download is not being recognized. I set the external reference of the stack to the bundle but still, no dice. Put it into the plugins folder, restarted LC. Any advice?
Craig
My copy cannot run. It appears that the external that comes with your download is not being recognized. I set the external reference of the stack to the bundle but still, no dice. Put it into the plugins folder, restarted LC. Any advice?
Craig
Re: teaser - toolbars (yes, those ones)
Hi Craig,
did you update the "Externals.text" file?
...
SS_Mac_Toolbar,ssmactoolbar.bundle
...
Best
Klaus
did you update the "Externals.text" file?
...
SS_Mac_Toolbar,ssmactoolbar.bundle
...
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 10053
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: teaser - toolbars (yes, those ones)
Sean -
Glad to see you back in the game, and with what looks like your best external yet! Well done.
Glad to see you back in the game, and with what looks like your best external yet! Well done.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: teaser - toolbars (yes, those ones)
Klaus,
Hmmm. I have two dozen of these, several for each of v3, v3.5, v4, v4.5
But none for v.5 or v5.5.
And how does one update a text file?
Thanks,
Craig
Hmmm. I have two dozen of these, several for each of v3, v3.5, v4, v4.5
But none for v.5 or v5.5.
And how does one update a text file?
Thanks,
Craig
Re: teaser - toolbars (yes, those ones)
Hi Craig,
where did you put the external?
It should go into the folder "Externals" in your "User Extensions" folder,
that you can define in the preferences "Files and memory".
Create this folder if not present.
In order to make LiveCode find and load all your "custom" externals you need
to put a simple text file into that folder "Externals" named "externals.txt"!
Content:
...
Seans_cool_toolbar_stuff,sstoolbarmac.bundle
...
This is the content of my "externals.txt" file:
EnhancedQTExternal,EnhancedQTExternal.bundle
ssmactoolbar,ssmactoolbar.bundle
Best
Klaus
where did you put the external?
It should go into the folder "Externals" in your "User Extensions" folder,
that you can define in the preferences "Files and memory".
Create this folder if not present.
In order to make LiveCode find and load all your "custom" externals you need
to put a simple text file into that folder "Externals" named "externals.txt"!
Content:
...
Seans_cool_toolbar_stuff,sstoolbarmac.bundle
...
This is the content of my "externals.txt" file:
EnhancedQTExternal,EnhancedQTExternal.bundle
ssmactoolbar,ssmactoolbar.bundle
Best
Klaus
Re: teaser - toolbars (yes, those ones)
As usual, when Sean gets near a computer something awesome happens.
Re: teaser - toolbars (yes, those ones)
Are you trying to run the sample stack? If so, just leave the external and the stack in the same folder and it will find it.. If you are trying to install it to use in your own application you will need to properly install it in the Externals folder in your user extensions folder (preference setting in Rev/LC).. The external needs to be placed in a few locations and a text file needs to be created/updated for the standalone builder to recognize it (don't worry, when the external is ready for prime-time everything will be automatically installed)..dunbarx wrote:My copy cannot run. It appears that the external that comes with your download is not being recognized. I set the external reference of the stack to the bundle but still, no dice. Put it into the plugins folder, restarted LC. Any advice?
Copy the external to all these folders
<user extensions>/Externals/
<user extensions>/Runtime/Mac OS X/PowerPC-32/Externals/
<user extensions>/Runtime/Mac OS X/Universal/Externals/
<user extensions>/Runtime/Mac OS X/x86-32/Externals/
now, in each of those folders there should be a text file called "Externals.txt" (if not, just create it) and add the following line to it:
Code: Select all
ssMacToolbar,sstmacoolbar.bundle
item 1 is the name that will be displayed in the standalone builder
item 2 is the actual file name of the external
if you are still having issues, contact me directly and i will see about helping you out
ps.. based on the settings in Xcode, this may be Intel only and for 10.5 or greater, will need to test before the final release so we can get some requirements listed..
Re: teaser - toolbars (yes, those ones)
i wish the judge would see it that way toomwieder wrote:As usual, when Sean gets near a computer something awesome happens.
