[ANN] ssMacWindows 1.1.0

14 messages Options
Embed this post
Permalink
Shao Sean-2

[ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
Just a small update that includes some nice features for game  
developers (and other developers who need these features too)..

- Switch display resolution and colour depth
- Fade the display over a period of time and with any colour

When switching the display resolution the screen automatically fades  
to blue before the switch and then fades out from the blue to show you  
the new resolution.

Resolution switching is also only temporary while your application is  
running (you can restore it automatically in your application or the  
system will automatically do it when your application quits).


The four window transitions have been renamed to be a little more  
clear about what they do (the old command names still work and always  
will).


More information and download link:
< http://www.shaosean.tk/ssMacWindows.html >


Thank you for all your support and if there is something you would  
like to see in a future build, please feel free to contact me off-list  
and I will see what I can do..

-Sean
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Mark Schonewille-3

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
Thanks, Sean. Some of those features are what I have always missed in  
Revolution, such as bouncing in the dock. I'm sure I'll make good use  
of this application.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

On 4 nov 2009, at 22:30, Shao Sean wrote:

> Just a small update that includes some nice features for game  
> developers (and other developers who need these features too)..
>
> - Switch display resolution and colour depth
> - Fade the display over a period of time and with any colour
>
> When switching the display resolution the screen automatically fades  
> to blue before the switch and then fades out from the blue to show  
> you the new resolution.
>
> Resolution switching is also only temporary while your application  
> is running (you can restore it automatically in your application or  
> the system will automatically do it when your application quits).
>
>
> The four window transitions have been renamed to be a little more  
> clear about what they do (the old command names still work and  
> always will).
>
>
> More information and download link:
> < http://www.shaosean.tk/ssMacWindows.html >
>
>
> Thank you for all your support and if there is something you would  
> like to see in a future build, please feel free to contact me off-
> list and I will see what I can do..
>
> -Sean


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Shao Sean-2

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
In reply to this post by Shao Sean-2
Glad you like it Mark, I am having lots of fun learning and writing  
it.. Am already hard at work on the next build (will try to add more  
than two features ;)
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Klaus on-rev

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
In reply to this post by Shao Sean-2
Hi Sean,

> Just a small update that includes some nice features for game  
> developers (and other developers who need these features too)..
> - Switch display resolution and colour depth
> - Fade the display over a period of time and with any colour
> When switching the display resolution the screen automatically fades  
> to blue before the switch and then fades out from the blue to show  
> you the new resolution.
> Resolution switching is also only temporary while your application  
> is running (you can restore it automatically in your application or  
> the system will automatically do it when your application quits).
>
> The four window transitions have been renamed to be a little more  
> clear about what they do (the old command names still work and  
> always will).
>
> More information and download link:
> < http://www.shaosean.tk/ssMacWindows.html >
>
> Thank you for all your support and if there is something you would  
> like to see in a future build, please feel free to contact me off-
> list and I will see what I can do..

not bad for your limited skills! :-D
(Insider joke ;-)

But maybe you could unify the names fo your commands like a prefix  
"ssWin_" or something
so they will not possibly collide with the names of user handlers,  
e.g. I already have a custom
handler named "fadeWindow", know what I mean?

I think now is still time to change this.

Anyway, a wonderful enhancement to Rev, thanks a LOT!

> -Sean

Best

Klaus

--
Klaus Major
http://www.major-k.de
[hidden email]

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Mark Schonewille-3

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
Klaus, Sean,

Please don't use a prefix with an underscore. It messes up my  
beautiful code and required me to type two keys extra. If you keep the  
names of the commands as short as possible, you reduce the total  
number of key presses by millions per year (assuming that RunRev has  
at least thousands of users). If you really need a prefix, just limit  
it so "ss" as you're already doing in the bundle names and some  
command and function names.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

Op 5 nov 2009, om 10:04 heeft Klaus Major het volgende geschreven:

> Hi Sean,
>
>> Just a small update that includes some nice features for game  
>> developers (and other developers who need these features too)..
>> - Switch display resolution and colour depth
>> - Fade the display over a period of time and with any colour
>> When switching the display resolution the screen automatically  
>> fades to blue before the switch and then fades out from the blue to  
>> show you the new resolution.
>> Resolution switching is also only temporary while your application  
>> is running (you can restore it automatically in your application or  
>> the system will automatically do it when your application quits).
>>
>> The four window transitions have been renamed to be a little more  
>> clear about what they do (the old command names still work and  
>> always will).
>>
>> More information and download link:
>> < http://www.shaosean.tk/ssMacWindows.html >
>>
>> Thank you for all your support and if there is something you would  
>> like to see in a future build, please feel free to contact me off-
>> list and I will see what I can do..
>
> not bad for your limited skills! :-D
> (Insider joke ;-)
>
> But maybe you could unify the names fo your commands like a prefix  
> "ssWin_" or something
> so they will not possibly collide with the names of user handlers,  
> e.g. I already have a custom
> handler named "fadeWindow", know what I mean?
>
> I think now is still time to change this.
>
> Anyway, a wonderful enhancement to Rev, thanks a LOT!
>
>> -Sean
>
> Best
>
> Klaus

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Jan Schenkel

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
To each their own coding style of course, but I prefer the prefix-and-underscore approach as it avoids conflicts between libraries from different origins, and allows me to quickly see what library my call is in.

Such clues help compensate for having the memory of a goldfish ;-)

Jan Schenkel
=====
Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


--- On Thu, 11/5/09, Mark Schonewille <[hidden email]> wrote:

> Klaus, Sean,
>
> Please don't use a prefix with an underscore. It messes up
> my beautiful code and required me to type two keys extra. If
> you keep the names of the commands as short as possible, you
> reduce the total number of key presses by millions per year
> (assuming that RunRev has at least thousands of users). If
> you really need a prefix, just limit it so "ss" as you're
> already doing in the bundle names and some command and
> function names.
>
> --
> Best regards,
>
> Mark Schonewille
>


     
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Mark Schonewille-3

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
I'm very much against it. It is soooo not xTalk!

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

Op 5 nov 2009, om 11:57 heeft Jan Schenkel het volgende geschreven:

> To each their own coding style of course, but I prefer the prefix-
> and-underscore approach as it avoids conflicts between libraries  
> from different origins, and allows me to quickly see what library my  
> call is in.
>
> Such clues help compensate for having the memory of a goldfish ;-)
>
> Jan Schenkel
> =====
> Quartam Reports & PDF Library for Revolution
> <http://www.quartam.com>
>

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Jim Ault

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
In reply to this post by Mark Schonewille-3
Just a thought
You could add the optional functionality of a 'hash table' so that an  
author could choose an alias to your library if they wish.
The best speed for your library would be 'aliases off'

Jim Ault
Las Vegas

On Nov 5, 2009, at 2:40 AM, Mark Schonewille wrote:

> Klaus, Sean,
>
> Please don't use a prefix with an underscore. It messes up my  
> beautiful code and required me to type two keys extra. If you keep  
> the names of the commands as short as possible, you reduce the total  
> number of key presses by millions per year (assuming that RunRev has  
> at least thousands of users). If you really need a prefix, just  
> limit it so "ss" as you're already doing in the bundle names and  
> some command and function names.
>
> Mark Schonewille

> Op 5 nov 2009, om 10:04 heeft Klaus Major het volgende geschreven:
>
>> Hi Sean,
>>
>>> Just a small update that includes some nice features for game  
>>> developers (and other developers who need these features too)..
>>> - Switch display resolution and colour depth
>>> - Fade the display over a period of time and with any colour
>>> When switching the display resolution the screen automatically  
>>> fades to blue before the switch and then fades out from the blue  
>>> to show you the new resolution.
>>> Resolution switching is also only temporary while your application  
>>> is running (you can restore it automatically in your application  
>>> or the system will automatically do it when your application quits).
>>>
>>> The four window transitions have been renamed to be a little more  
>>> clear about what they do (the old command names still work and  
>>> always will).
>>>
>>> More information and download link:
>>> < http://www.shaosean.tk/ssMacWindows.html >
>>>
>>> Thank you for all your support and if there is something you would  
>>> like to see in a future build, please feel free to contact me off-
>>> list and I will see what I can do..
>>
>> not bad for your limited skills! :-D
>> (Insider joke ;-)
>>
>> But maybe you could unify the names fo your commands like a prefix  
>> "ssWin_" or something
>> so they will not possibly collide with the names of user handlers,  
>> e.g. I already have a custom
>> handler named "fadeWindow", know what I mean?
>>
>> I think now is still time to change this.
>>
>> Anyway, a wonderful enhancement to Rev, thanks a LOT!
>>
>>> -Sean
>>
>> Best
>>
>> Klaus



_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Shao Sean-2

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
In reply to this post by Shao Sean-2
> But maybe you could unify the names fo your commands like a prefix  
> "ssWin_"

I had thought about doing this.. more to keep people from thinking  
that it was built-in and then wondering why it does not work when they  
go to another computer ;-)  but I choose to make the commands a little  
easier to write.. seeing as it is a really simple matter to add  
additional aliases for the same commands in the external I could add  
"ss" to every command (and still leave the non-prefixed commands in  
there too)..

> "fadeWindow", know what I mean?
Well for this particular command there are now three ways to call it,  
so pick the one that does not collide with your custom command :D
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Jan Schenkel

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
In reply to this post by Mark Schonewille-3
Oh, I totally agree with you in principle; in fact, the one thing AppleScript got right, was the addition of prepositional parameters <http://www.ditchnet.org/wp/2005/09/08/fun-with-applescripts-prepositional-parameters/>

It would be agreat

Quartam Reports & PDF Library for Revolution
 

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


--- On Thu, 11/5/09, Mark Schonewille <[hidden email]> wrote:

> From: Mark Schonewille <[hidden email]>
> Subject: Re: [ANN] ssMacWindows 1.1.0
> To: "How to use Revolution" <[hidden email]>
> Date: Thursday, November 5, 2009, 3:01 AM
> I'm very much against it. It is soooo
> not xTalk!
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Download Strõm Flow Chart Software
> http://flowproject.economy-x-talk.com
>
> Op 5 nov 2009, om 11:57 heeft Jan Schenkel het volgende
> geschreven:
>
> > To each their own coding style of course, but I prefer
> the prefix-and-underscore approach as it avoids conflicts
> between libraries from different origins, and allows me to
> quickly see what library my call is in.
> >
> > Such clues help compensate for having the memory of a
> goldfish ;-)
> >
> > Jan Schenkel
> > =====
> > Quartam Reports & PDF Library for Revolution
> > <http://www.quartam.com>
> >
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Trevor DeVore

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
In reply to this post by Shao Sean-2
On Nov 5, 2009, at 7:13 AM, Shao Sean wrote:

>> "fadeWindow", know what I mean?
> Well for this particular command there are now three ways to call  
> it, so pick the one that does not collide with your custom command :D

Your external command is most likely still in the message path and  
could be called instead of Klaus's. IMO If you want to distribute  
*libraries* (which an external is typically used as) to others in  
Revolution you really should consider a prefix. No, it isn't as pretty  
as the regular syntax but seeing as Revolution has no concept of  
namespaces for custom code library developers don't have a lot of  
options if they don't want their commands interfering with other code.

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Jan Schenkel

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
In reply to this post by Mark Schonewille-3
Oh, I totally agree with you in principle; in fact, the one thing AppleScript got right, was the addition of prepositional parameters <http://www.ditchnet.org/wp/2005/09/08/fun-with-applescripts-prepositional-parameters/>

It would be a great day for xTalk when the RunRev team allows us to add natural syntax to both script and external commands and functions, and offer some sort of namespace protection while they're at it.
But in the meantime, the prefix-and-underscore style works jsut as well now as it did back in the HyperCard days.

Jan Schenkel
=====
Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


--- On Thu, 11/5/09, Mark Schonewille <[hidden email]> wrote:

> From: Mark Schonewille <[hidden email]>
> Subject: Re: [ANN] ssMacWindows 1.1.0
> To: "How to use Revolution" <[hidden email]>
> Date: Thursday, November 5, 2009, 3:01 AM
> I'm very much against it. It is soooo
> not xTalk!
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Download Strõm Flow Chart Software
> http://flowproject.economy-x-talk.com
>
> Op 5 nov 2009, om 11:57 heeft Jan Schenkel het volgende
> geschreven:
>
> > To each their own coding style of course, but I prefer
> the prefix-and-underscore approach as it avoids conflicts
> between libraries from different origins, and allows me to
> quickly see what library my call is in.
> >
> > Such clues help compensate for having the memory of a
> goldfish ;-)
> >
> > Jan Schenkel
> >



_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Shao Sean-2

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
In reply to this post by Shao Sean-2
> Your external command is most likely still in the message path

Where do externals sit in the message path? I always thought they sat  
just before the engine therefore any custom command with the same name  
as the external would run instead of the external code..
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Trevor DeVore

Re: [ANN] ssMacWindows 1.1.0

Reply Threaded More More options
Print post
Permalink
On Nov 5, 2009, at 10:19 AM, Shao Sean wrote:

>> Your external command is most likely still in the message path
>
> Where do externals sit in the message path? I always thought they  
> sat just before the engine therefore any custom command with the  
> same name as the external would run instead of the external code..

An external is attached to a particular stack. In order to make the  
externalCommands and externalFunctions of the stack available to all  
scripts the stack has to be put in use as a library. Wherever the  
library stack sits in the message path is where the externalCommands/
externalFunctions for the external reside.

* If the Revolution IDE is loading an external at launch then the  
external is attached to the home stack.

* When Revolution builds a standalone and you include an external a  
special substack named revExternalLibrary is created. The externals  
your standalone uses are attached to the stack and the stack is put in  
use.

* If the developer is loading an external on their own then you don't  
know which stack/where in the message hierarchy it will appear.

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution