FieldFormatter: Sample preview

2013-10-04 Thread FlexibleLearning
For those who asked, a preview is available here:

www.flexiblelearning.com/fieldformatter

Best regards,

Hugh Senior
FLCo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[UPDATE] Free 'Clearview' desktop clock v2.0 with Calendar

2012-10-28 Thread FlexibleLearning
As requested, the 'Clearview' Clock now includes a dropdown Calendar...


Screenshots and download at www.FlexibleLearning.com/freeclock


Available for Windows, Macs and Linuxi - 100% free - 100% recycled
electrons.


"Tempus fugit sed gravitatis sugit..."


Hugh Senior
FLCo
The home of:
- ChartMaker www.FlexibleLearning.com/chartmaker
- DatePicker www.FlexibleLearning.com/datepicker
- The Scripter's Scrapbook www.FlexibleLearning.com/ssbk


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Scripter's Scrapbook query [Win7/4.6]

2011-04-03 Thread FlexibleLearning
If you are using the Scripter's Scrapbook as a plugin with LiveCode v4.6 and
Windows 7, would you please contact me off-list at
admin(at)FlexibleLearning.com

Thank you.

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker free update

2011-04-04 Thread FlexibleLearning
We are pleased to announce a free update for ChartMaker 2.1 [build 46]. If
you have version 2.0, there is a discounted upgrade path available that
includes  all the other new features such as PDF printing, max/min ranges
and bi-color toned backgrounds.

What's New?
In the Library, we now have...
- Scatter charts
- Linear regression Trend Lines with optional stats information
- 3D Drop Shadows and
- The lifting of the 100x100 iOS chart size restriction.

In the Wizard, we now have...
- Cell editing and alternating row color options
- Personal color palettes
- 'Quick-Pick' color names menus
- A new disclosure-style layout and
- A new Playground for you to try out and investigate.


Details with preview images are at
http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm

To download the new version, click 'Check for Updates...' in the software.

For a free 30-day trial, go to http://www.flexiblelearning.com/chartmaker

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker Update Release

2011-04-05 Thread FlexibleLearning
If you downloaded a copy of the recent ChartMaker 2.1 update, please check
for and download a correction issued today by clicking 'Check for
updates...' in the software. It remedies problems when cell editing in the
Utility Wizard. This is obviously a free update for licence holders and we
apologize for any inconvenience caused.

Alternatively, go to
www.FlexibleLearning.com/chartmaker/versioning/whatsnew.htm to see details
and previews of the new release and download a copy from there. It includes
a free 30-day trial and there is a discounted upgrade path.

If you have version 2.0, the 'Check for updates...' will download an html
link to the new website location for you. Just follow the breadcrumbs!


Regards,

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Tab key

2011-04-05 Thread FlexibleLearning
Hi Yves,

I think this was a problem on Mac OS X with the first release of 4.6,
quickly remedied by an update to 4.6.1.

I think.

Hugh Senior
FLCo



Hello,

I have a fld (simple table of 2 columns with 2 tabstops values)

the tabkey to go to the next cell doesn't work anymore

I've made no changes in the fld, but since the upgrade of LC, it doesn't
work 

Can you help me ?



Greetings.

Yves COPPE
yvesco...@skynet.be


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Omegabundle 2011 for LiveCode

2011-04-19 Thread FlexibleLearning

This is a great bundle deal with a range of the most popular LiveCode
products included. I am delighted that RunRev is supporting it!

Hugh Senior
FLCo
OmegaBundle for LiveCode 2011 at www.omegabundle.com



On Mon, 18 Apr 2011, Lynn Fredricks wrote...


Hello all,

Runtime Revolution has thrown in their support to the Omegabundle 2011 for
LiveCode offers!

>> check it out: http://www.omegabundle.com/

Omegabundle 2011 for LiveCode (new user) includes LiveCode Pro/Commercial
(your choice of desktop + one mobile platform) plus the following:

*A $500 discount coupon towards RunRevLive.11 Developer Conference, held
April 26-29 2011 in San Jose, California. RunRevLive.11 has over 40 sessions
of valuable presentations and lessons.

* Animation Engine 4. Powerful LiveCode library for rendering animation
through Livecode apps built for the desktop and for iPhone. Sold separately
for $79.00.
* SQL Yoga. Makes developing data-driven solutions easy by tranforming
database complexities into common LiveCode processes. Sold separately for
$199.
* Flexible Learning ChartMaker. A fully featured cross-platform library
solution designed to create professional charts in your own work. Sold
separately for $79.00.
* ASG DataGrid Helper. A complete set of tools for rapidly creating
professional business layouts and data grids for the desktop and for iPhone.
Sold separately for $49.
* .com Solutions FmPro Migrator Platinum Edition. Migrates FileMaker and
Access to MySQL, Oracle, Access, SQL Server, Sybase, DB2, OpenBase,
PostgreSQL, FrontBase, SQLite and Valentina and Convert interfaces to
LiveCode. Sold separately for $600.
* tm tools. Tactile Media pro interface building tools for LiveCode,
including tm color, tm gradient, tm audio, tm guage, tm numeric, tm align.
Sold separately for $226.
* Aspen Icon Set. 80 professionally designed, cross platform compatible
icons for your applications. Sold separately for $179.00.
* Valentina Office Server Unlimited. Advanced database and reports server
based on the ultra fast columnar database engine Valentina. Sold separately
for $1499.
* Franklin 3D Game Engine. Multi-platform cross-platform 3D engine for
games, simulations and 3D apps. Sold Separately for $299.
* Flexible Learning Scripter's Scrapbook. A knowledge rich resource for
collecting code resources and accessing years of shared resources of
LiveCode professional developers. Sold separately for $79.00.
* Valentina ADK+ for LiveCode. Embedded local ultra fast analytical database
for LiveCode on Windows, Mac OS X and Linux. Sold separately for $399.00.

You can get this bundle WITH LiveCode Pro for $499, or without LiveCode for
$399. This makes it a great option if you already have LiveCode!

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Free LiveCode eBook and The Scripter's Scrapbook

2011-04-20 Thread FlexibleLearning

A great contribution. Well done, Scott!

For a way to store these pearls of wisdom, add the full content, the file or
a link to it use The Scripter's Scrapbook... It's free to try out and
contains a starter-kit of over 270 examples of code, links, web resources,
tutorials, gotchas and how-to's that you can keep, modify, delete, add to
and organize to best suit you.

http://www.FlexibleLearning.com/ssbk

or

http://www.runrev.com/store/product/scripters-scrapbook-1-0-0/


An article is also available at
http://livecodejournal.com/features/scripters-scrapbook.html


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: RunRev Application

2011-04-24 Thread FlexibleLearning
Hi Warren,

This is for Windows, but the same principle should work on a Mac also.


>From The Scripter's Scrapbook (www.ssbk.co.uk):

Detecting a second instance of an application under Windows.

You create a 'known' file on the system disk somewhere and open it with a
lock - if the file isn't there or isn't locked, it means the engine isn't
currently running.

"The lock is owned by the currently running instance of the engine and is
there just in case the running instance 'goes away' without deleting the
file. On Windows, locks are always cleaned up when an application quits - so
a second instance of an engine can always detect if there is already an
instance running by first checking for existence and then trying to delete
the file if present - if the delete succeeds it means the owning instance
has indeed 'gone away'.

"IIRC, at present the lock is just implemented via keeping an open file
handle with a given share-mode - although, just keeping the file open would
probably suffice now that I come to think of it (all files opened by an
application are also implicitly closed on exit).

"Anyway, the idea behind the 'lock' idea is that it ensures you can (without
fail) detect if there is a running instance - even if a previous instance
has left its identifying file behind by mistake."


--
Sample by FLCo for Revolution...

on startUp
  local dummy
  put specialFolderPath(35) &"/myAppDummy" into dummy
  if there is a file dummy then
delete file dummy
if the result is not empty then
  answer "2nd Instance" with "QUIT"
  quit
end if
  end if
  open file dummy
end startUp

on closeStack
  local dummy
  put specialFolderPath(35) &"/myAppDummy" into dummy
  delete file dummy
end closeStack

--

On Sun, 24 Apr 2011 11:55:46 Warren Kuhl wrote:

Is there a way to prevent multiple occurrences of a RunRev application to
open?

Thanks,
Warren


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to generate user passwords

2011-04-28 Thread FlexibleLearning
> Your function generates very random strings which might be too random for
a user to remember on their own.

Just a playful idea...

on mouseUp
  put passwordPhrase()
end mouseUp

function passwordPhrase
  return w1() && w2() && w3() && w4() && w5()
end passwordPhrase

function w1
  return item random(4) of "All,None of the,Some,Several"
end w1

function w2
  return item random(4) of "roads,streets,motorways,buses"
end w2

function w3
  return item random(4) of "frequently,often,sometimes,occasionally"
end w3

function w4
  return item random(4) of "go to,pass by,avoid,congest"
end w4

function w5
  return item random(4) of "Rome,Paris,London,New York"
end w5


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker update released

2011-05-03 Thread FlexibleLearning
ChartMaker for LiveCode
Version 2.1 build 47

A maintenance update is now available. It is free for all 2.1 registered
users and a discounted price is available to version 2.0 users. Click the
'Check for updates' link in the software. There is a 30-day free trial if
you do not yet have a licence.

http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm


What's New in build 47

Trend Line improvements
. The trend information can now be retrieved from any displayed trend line.
See CMgetTrendInfo in the documentation for details.
. Each trend line now includes a tooltip of the associated trend
information.
. Trend lines now display as expected when all values are the same.
. Null values are now averaged from the other values. If the values cannot
be resolved, no trend line is drawn.
. Single point trend lines no longer throw an error. They are simply not
drawn.

Pie Chart improvements
. Pie charts now resolve rounding errors and handle null values.

Color Scheme improvements
. Custom color schemes may now be defined in external text files.  See
ColorScheme in the documentation for details.


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Livecode Crashes with Image Source Set to a URL

2011-05-19 Thread FlexibleLearning
Hi Ray,

Just a suggestion...

on mouseUp
   lock messages
   go next card
   put the short name of this cd into fld "CardName"
   --| Add this line...
   get flushEvents("all")
   --| And this for completeness...
   unlock messages
end mouseUp

Does it solve your problem?

You are also not unlocking messages, which (techincally) is a "good thing to
do" unless there is a good reason not to do so.


Hugh Senior
FLCo




Ray Horsley  wrote:


I've created a simple stack of 3 cards with Prev and Next buttons to
navigate through them.  Each card has a single field with a single character
whose imageSource is set to a URL, for example:

http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20
Bank/06%20Math%20QTI%20with%20GUIDs%20and%2096dpi%20PNG/Grade%2007Math-51/im
ages/mml1616474.png

To make sure no other handlers are running unnecessarily I've written the
button scripts as:

on mouseUp
   lock messages
   go next card
   put the short name of this cd into fld "CardName"
end mouseUp

Nonetheless, if you repeatedly click either the Prev or Next button rapidly
Livecode will crash (quit unexpectedly and without warning).  In some cases
the stack file itself becomes coruppted and can not be re-opened.


(I'd love to share this tiny stack with anybody who's interested.  Please
let me know.)

Any ideas anybody?

Thanks,

Ray


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Livecode Crashes with Image Source Set to a URL

2011-05-19 Thread FlexibleLearning
Ray

I cannot crash your stack. Works fine. Windows XP w/4.5.2 in the mc IDE.

Am suspecting either the version or (heaven forfend) the LC IDE.

Why use a url-based imgSrc? Why not store the imgs in a substack instead?

If you have to fequently update the imgs, can you 'start using' a url-based
stack of the required img references on launch so it's in cache instead?

Hugh Senior
FLCo



Ray wrote:

Please take a look if you have a minute.  I can't get anything to keep
Livecode from totaling crashing with this rather simple stack.  Even if I
had some way of knowing when the imageSource's URL has finished downloading
I could disable buttons so requests don't seemingly back up and crash
Livecode.

Thanks,

Ray


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker update available

2011-05-24 Thread FlexibleLearning

A maintenance update for ChartMaker 2.1 has been released, but a problem
with the 'Check for Updates' feature has been identified for which we
apologize.


If you get an error message when you click to check for updates, you can
either download the update direct here...
  www.FlexibleLearning.com/chartmaker/downloads/ChartMaker21.zip

or you can correct your copy using the help sheet available here...
  www.FlexibleLearning.com/chartmaker/cmrc/CM2.1_CheckForUpdates.pdf


This is a free update if you have a v2.1 licence. If you are using v2.0,
there is a discounted upgrade path when you register the new version.

If you have any problems at all, do please contact me.


With best regards,

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: custom stack resize control

2011-05-28 Thread FlexibleLearning
Try the reSizeStack utility at http://www.flexiblelearning.com/xtalk.htm

Hugh Senior
FLCo



Todd Geist wrote...

Hello,

I have a stack with a custom title bar, that I created (no stack controls) .
I need to create a resize control to go in the lower right. I have seen this
done before but I can't find any examples. Can any one point me at a good
example?

Thanks

Todd


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker video tutorials

2011-05-29 Thread FlexibleLearning
ChartMaker Screencasts

Five short video tutorials have been uploaded to the ChartMaker support
site...

http://www.flexiblelearning.com/chartmaker/cmrc/

Designed to give a short overview of the whole process, they cover
Installing the stacks, The Toolbar, Creating and Saving Charts, Output to
File and Clipboard, and Applying the Syntax.

Although the videos are Windows-presented, the content is equally applicable
to Macs of course.

If anyone would like to create their own video about their use of
ChartMaker, I would love to include it on the site. Just get in touch!

With best regards,

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: eBooks and LiveCode

2011-06-02 Thread FlexibleLearning
Absolutely agree with you, Steve. I wrote 'HyperManuscript' back in 1986 in
conjunction with Roehampton Institute here in the UK. Far too much before
its time, though.

The problem now is one of critical mass... As you and Andre both point out,
there are now a couple of entrenched standards so the choices are [1]
support the existing standards, [2] launch an alternative, or [3] support
the standards but extended to support LC-specific functionality/features.
Whichever schema is used, LC will be up against the existing market supply.
I suspect Amazon will be giving away their e-book hardware within the next
12-18 months; money is not in hardware but the software/services that use
it. Cloud delivery to multiple platforms avoids this hardware problem but to
make any impact at all, an LC app would have to enter the market with a
substantial library of titles (several thousands) or it will be seen and
reviewed as a niche-minnow if it is seen at all.

And then there is HTML5, of course.

Hugh Senior
FLCo



From: "stgoldb...@aol.com" 
Subject: eBooks and LiveCode


Regarding the question of whether LiveCode could be suitable for publishers
who want to create interactive eBooks, I agree that such books would not be
published in epub or amz format, but how about an eBook created with
LiveCode as a pure LiveCode standalone that could be read in the cloud?
Then, it would be accessible through Macintosh, Windows, and eReaders such
as iPad that communicate with the Internet.  The question is one of
typesetting and laying out the book so that it looks professional (Scott
Rossi quality!?) and also would have a means to discourage pirating.  The
advantage of considering LiveCode is the vast flexibility that it would have
in introducing interactivity within the book.  LiveCode's potential for this
presently seems to exceed that of current means of creating eBooks (such as
using Quark Express for the Blio Reader).  There is a growing emphasis on
creating eBooks that are not merely electronic versions of print books, but
books that have something
 extra, the inclusion of interactivity in the form of hyperlinks, audio, and
movies.  Could LiveCode be a significant contributor to this?
Steve Goldberg




From: Andre Garzia 
Subject: Re: eBooks and LiveCode

eBooks these days basically mean one of the following file formats:

* PDF
* mobi
* nook
* ePub


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker video tutorials available

2011-06-08 Thread FlexibleLearning

Two additional video tutorials have been released for ChartMaker covering
how to use the Chart Restorer and how to print charts to PDF by scripting.
Go to the dedicated support center at
www.FlexibleLearning.com/chartmaker/cmrc.


All tutorials are also available on YouTube at
www.youtube.com/watch?v=pBJXhfUo_Yg


To see what ChartMaker can do for you and get a free 30-day trial, go to
www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm and click the
link to download the plugin.


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LIVECODE running in LION

2011-06-08 Thread FlexibleLearning

Rule of Thumb: "Never buy anything with a zero on the end."

:)

Hugh Senior
FLCo



Colin Holgate wrote

My last attempt to install Lion resulted in a drive that is so unhappy that
I can't even format it using Terminal. DiskWarrior makes a little chuckling
sound when I try to use it to see the drive, and Disk Utility has no clue
either.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Building Metacard

2011-06-11 Thread FlexibleLearning
See the instruction pdf file (MC Insall Guide for LC) that I uploaded to the
MetaCard group at http://tech.groups.yahoo.com/group/MC_IDE/. It is still
valid, despite referring to v4.5!


Hugh Senior
FLCo


From: Richmond asked

Somewhere down the line I mislaid my Metacard constructed with the aid
of Jacque's excellent
stack and MC 2.5 on my macMini G4. So I tired to do that again with LC
4.5-dp-4 and ended up
with something called Metacard but in fact really being almost
completely LC; so, obviously not
really working very well at present.

Richmond.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker on YouTube

2011-06-12 Thread FlexibleLearning
ChartMaker4LC

A new channel for ChartMaker for LiveCode with easy-access video tutorials
is now available on YouTube at www.youtube.com/user/ChartMaker4LC

The 'HowTo' Topics currently covered include...

- How to install ChartMaker
- The Toolbar in ChartMaker
- How to Create and Save in ChartMaker
- Designing Output in ChartMaker
- How to Apply Syntax in ChartMaker
- Restoring Charts in ChartMaker
- How to Print To PDF in ChartMaker

Click the 'Subscribe' button to be kept informed as new material is added.

More information, support, What's New and the free trial download at
www.FlexibleLearning.com/chartmaker


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Rotated text quality

2011-06-14 Thread FlexibleLearning
Manipulating an external png behaves differently to manipulating a
screenshot.

- If I import a transparent png of rotated text and reduce the dimensions,
the printed result retains the increased pixel density and gives a crisp
result.

- If I export a screenshot of the same text at 3x font size to a var, set
the png data of a new image to var, rotate the img at best quality and
reduce the dimensions, the printed result is still 72dpi.

Is there a way to increase pixel density using screenshots? Anyone get an
example of how they do it? Have fought this for ages to no avail!

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: nuther new newbie nuisance

2011-06-15 Thread FlexibleLearning
Importing images and/or using imageSource will make a very big stack!

It is often better to set the fileName of an image to an externally stored
jpg, gif or png...

eg: set the filename of image 1 to "bird1.jpg"


If you have a lot of images, you could keep them in a folder then use a
relative path instead...

eg. set the filename of image 1 to "./myAppImages/bird1.jpg"

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker update

2011-06-17 Thread FlexibleLearning
ChartMaker for LiveCode
Version 2.1 build 49

A maintenance update is now available. It is free for all 2.1 registered
users and a discounted price is available to version 2.0 users. Click the
'Check for updates' link in the software. There is a 30-day free trial if
you do not yet have a licence.

http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm


What's New in build 49

Trend Line improvements
• Two new chart styles.
• DropShadows can now be applied to all chart types.
• Improved axis labelling for smaller grid-based charts.
• Graduated tint borders give a more polished look.
• The Utility window now remembers its set-up and position between sessions.


Video tutorials
Are available on the support site at
http://www.flexiblelearning.com/chartmaker/cmrc and on YouTube at
http://www.youtube.com/user/ChartMaker4LC. All are bite-sized for easy
digestion!


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: ChartMaker server-side

2011-06-18 Thread FlexibleLearning
Hi Pierre,

Have you tried it? I don't do anything server-side so cannot advise you
specifically. Since it is a library of LiveCode with no other dependencies,
it should be compatible with any LiveCode implementation. The only
requirementis that the graphic be drawn to the first available topStack.

If a server-side ChartMaker has legs, contact me off-list and we can pursue
the implementation.

Best regards

Hugh Senior
FLCo



On Fri, 17 Jun 2011, Pierre Sahores wrote

Hi Hugh,

Thanks for this announcement. Is it or will it be soon, ways to use your
library on the server-side (irev based, fore coming announced protected
stacks support for LC-Server) just alike dedicated libs does under the PHP
platform ?

Best regards,

Pierre


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: ChartMaker axis dates

2011-06-18 Thread FlexibleLearning
Hi Andy,

Currently you pass the required text to be displayed, so the conversion
would be done by your app before feeding the values as a parameter to
ChartMaker. However, I will certainly look into handling date conversion
within the ChartMaker engine as an option.

Best regards,

Hugh Senior
FLCo


On Fri, 17 Jun 2011, Andy Henshaw wrote:

Hi Hugh,

Is is possible to have an x-axis of dates using chartmaker?

I use chartsengine at the moment,  but it would be good to have a choice for
each app.  At the moment I can just send a series of data with the x axis
data in 'seconds' and chartsengine converts these to dates,  and spaces them
appropriately even if for example the first entry was on day 1,  the 2nd on
day 10, 3rd on day 12 etc.  The engine just puts the correct spacing into
the line chart.

Is this also possible with chartsengine or would I need to convert the
seconds to dates,  and work out the data so each x axis item was the same
number of days apart?  I tried the demo and this was the only thing that
stopped me buying there and then.

Thanks

Andy


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Non-Blocking Modal (was: Visual Effect comand)

2011-06-28 Thread FlexibleLearning
This undocumented feature is especially useful for displaying a progress bar
in a modal window.

Hugh Senior
FLCo

> Looks like the show and hide commands allow you to name a stack, but
there's
> no way to specify that the stack should be modal, which is what I need.  I
> thought about trying "go invisible stackname as modal" followed by the
show
> command but I think the script would stop execution at the go command so
the
> show would never happen until after I return from the modal stack.

Actually, Pete, you found the one way to create a *non-modal* modal... it's
a way I've used many times to show a modal progress bar that does not block
script execution:

 put "Before"
 go invisible stack "MyModal" as modal
 set visible of stack "MyModal" to true
 put "After"

--> Puts "Before", opens the modal, then immediately puts "After" into the
message box, and the modal is still open

So perhaps it *would* work for you after all...

Ken


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: a color picker widget?

2011-07-07 Thread FlexibleLearning
On Jul 6, 2011, at 11:58 PM, Slava Paperno wrote:

> Is there a color-picker widget that I could insert into my stack? I want
the
> user to be able to choose a color. I know I can simply display a graphic
> with a color wheel and tell the user to click (and test the color under
the
> mouse), but a conventional interface for choosing a color would be best...

Ken suggested...

> answer color
> put it into tRGB


Note that you can also specify the picker's initial display color to avoid
the default of black...

answer color with myRGBTriplet
put it into tRGB

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: getting from exe to Livecode

2011-07-11 Thread FlexibleLearning
Try...

on mouseUp
  answer file "Select a Standalone..."
  if it is "cancel" or it = "" then exit to top
  put url ("binfile:"&it) into tStack
  repeat forever
-- there's more than one stackfile in there which is interesting
put offset("#!/bin/sh",char 10 to -1 of tStack) into tOff
if tOff = 0 then exit repeat
put char tOff+9 to -1 of tStack into tStack
  end repeat
  ask file "Name the Stack..."
  if it is "cancel" or it = "" then exit to top
  set the fileType to "RevoRSTK"
  put tStack into url ("binfile:"&it)
  answer "Conversion finished" with "OK"
end mouseUp

>From the Scripter's Scrapbook

Hugh Senior
FLCo



Alistair Campbell wrote:

Hi,

I have just discovered, after numerous changes of my operating system
(finally settled on Ubuntu) for various reasons, that I have deleted (doh!)
my latest version of an application that I was working on. I did do backups
and archive and all the rest but these files were worked on in a rush and I
obviously forgot to put them where they needed to be for capture (damn and
blast). I usually also print out a hard copy of the scripts that I am
writing but, wouldn't you know it, I didn't do that this time.

I do, however, have a windows exe file of the last version which I (happily
enough) emailed to a student to use in his project. I bet you can see where
this is going. Can anyone tell me whether there is a straightforward (not
necessarily simple) way of reverse engineering the exe file so that I can
get at the scripts?

cheers

Alistair Campbell
Townsville 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: getting from exe to Livecode

2011-07-12 Thread FlexibleLearning
You could try asking RunRev if they can reverse-engineer your exe. It used
to be a service offered 'in extreemis'.

Hugh Senior
FLCo

On 7/11/11 7:37 PM, Chipp Walters wrote:
> If that works, please PURCHASE Scripter's Scrapbook! (Even if it doesn't
you
> should still purchase it as it has a ton of GREAT scripts!)

Jacqueline wrote:
>I'm afraid the extraction method in the script has been obsolete for
>some years, so it won't work any more. That's no reflection on SS by any
>means, though.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Lion: 10 Things that Bug Me

2011-07-22 Thread FlexibleLearning
I read this and thought of all the posts here...

http://www.tuaw.com/2011/07/20/lion-ten-things-that-bug-me/


Hugh Senior
FLCo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


AW: Tahoma Font

2011-07-27 Thread FlexibleLearning
I use Tahoma on Macs and Win and have never had a problem. Tends to be the
default unless missing; failing Tahoma I use Verdana 11pt.

Hugh Senior
FLCo


Tiemo Hollmann wrote:

When I started with revolution Tahoma was the default font of all objects
and I didn't cared about it at that time. I am now using Tahoma since years
without any problems on windows and Mac, though I have learned that Tahoma
isn't a standard font on Mac and is supposed to be substituted (what never
made any problems in my apps). On windows systems Tahoma is a standard font
up to today as far as I know, or did I miss anything?
Tiemo

> -Urspr?ngliche Nachricht-
> Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
> boun...@lists.runrev.com] Im Auftrag von Camm
> Gesendet: Dienstag, 26. Juli 2011 22:30
> An: use-livecode@lists.runrev.com
> Betreff: Tahoma Font
>
> Tahoma font will not work in standalone unless its run in Windows 95 or 98
> compatibility mode?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Money Script

2011-08-08 Thread FlexibleLearning
Mark Wieder's script, adjusted to optionally support an arbitrary currency
sign...

on mouseUp
  put fNumericToMoney (fld "Value",fld "Sign") into fld "currency"
end mouseUp


function fNumericToMoney pNumeric,pSign
  local tMoney
  local x

  -- leading dollar sign and two digits for cents
  if pSign="" then put "$" into pSign
  put format(pSign&"%.2f", pNumeric) into tMoney
  -- add the commas as necessary
  -- 4 is to ensure we don't get a comma before the dollar sign
  -- 6 here is skipping over the first three digits, the period, and the
cents
  repeat with x=length(tMoney)-6 to 4 step -3
-- +1 to skip over the dollar sign
put comma before char x+1 of tMoney
  end repeat
  return tMoney
end fNumericToMoney


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Money Script

2011-08-08 Thread FlexibleLearning
This also handles negative values...


Mark Wieder's script, adjusted to optionally support an arbitrary currency
sign...

on mouseUp
  put fNumericToMoney (fld "Value",fld "Sign") into fld "currency"
end mouseUp


function fNumericToMoney pNumeric,pSign
  local tMoney
  local x

  -- leading dollar sign and two digits for cents
  if pSign="" then put "$" into pSign
  put pNumeric<0 into isNeg
  put abs(pNumeric) into pNumeric
  put format(pSign&"%.2f", pNumeric) into tMoney
  -- add the commas as necessary
  -- 4 is to ensure we don't get a comma before the dollar sign
  -- 6 here is skipping over the first three digits, the period, and the
cents
  repeat with x=length(tMoney)-6 to 4 step -3
-- +1 to skip over the dollar sign
put comma before char x+1 of tMoney
  end repeat
  if isNeg then put "-" before tMoney
  return tMoney
end fNumericToMoney


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Cursor woes

2011-08-11 Thread FlexibleLearning
Looks like 2 issues here. First getting the cursor to stick; second getting
the correct cursor display.

Lock/Unlock cursor should resolve the first; importing and using your own
cursor image should resolve the second.

local cHand=999100
local cArrow=999101

on mouseEnter
  if "button" is word 1 of the target then
set the cursor to cHand
  else set the cursor to cArrow
  lock cursor
end mouseEnter

on mouseLeave
  unlock cursor
  pass mouseLeave
end mouseLeave


Hugh Senior
FLCo


Chip Thomas wrote:

Having some trouble changing the cursor, and hope someone can help shed some
light on the topic.

I have a "mouseEnter" script on the main card that checks if the target is a
"button".  If it's a button, it sets the cursor to hand.  If not, it sets it
to arrow.

I've tried implementing this in two different projects.

One project is a launcher system where the standalone just launches a
separate main stack file.  The cursor script is on the card of this stack
file.  In this project, I don't get any cursor changes except when in the
development environment.

The second project is just a regular standalone with the cursor script on
the main card of the standalone.  I do get a cursor change, but I get a
watch rather than a hand.

Argh!  Any help would be much appreciated.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Mediocre Britain

2011-08-28 Thread FlexibleLearning
After 20+ years in secondary school, don't even get me started. With you,
Richmond, 100%. Which is why I left.

Hugh Senior
FLCo



Richmond Mathewson wrote:

http://www.bbc.co.uk/news/uk-14683133

doesn't frankly surprise me; after all "Being British" is all about dumbing
down things to the lowest common denominator; education, over-regulation
(after all, if 5% of the population are morons the government must screw
up everybody's life by regulating things to protect the morons from
themselves: maybe the morons should be told "you are morons, get off
your fat, supplementary-benefit-fed bottoms and start getting your
brains working).

I have just been looking at a series of letters written to my younger
son from his erstwhile school mates at his school in Fife, Scotland;
filled with basic spelling errors and grammar problems (these kids were
11 at the time); most of them being monoglot English speakers, a few
spoke Fife-Scots at home. My sons, who have  English and Bulgarian as
mother tongues, and are both fluent in German, don't make those sort of
spelling errors in any of their 3 dominant languages.

If sschool kids cannot spell in their school language how on earth can
one expect them to get their programming syntax right, let alone the odd
nested FOR . . . NEXT loop?

My younger son starts at Salem on the 10th; as the highest scholarship
holder:

http://www.salem-net.de/

I wonder why I'm not sending him to school in Britain?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Default Button

2011-09-02 Thread FlexibleLearning
'Default' determines the button's visual appearance, and on some platforms
the change in border will grow the button dimensions a bit.

It's behavior should be up to the designer, by Enter and/or Return key
stroke, EnterInField and/or ReturnInField key stroke, or indeed none.

I have never relied on the engine to trap the default button activation
because it only works when nothing else is focussed.

Hugh Senior
FLCo


Perte wrote:

Thanks everyone.

Jacque, Like you I'm currently using a returnKey handler for the card that
sends mouseUp to the button to get round this.

Craig, If I "put the defaultbutton of this card", I get the correct output.
 Also, I'm not seeing anything in the dictionary about the button changing
size - is that in the defaultButton entry?

Mark, maybe the difference between what you did and what I have is that I
have 3 field controls on the card in addition to the default Button.  Each
of the field controls has lockText set to true and traversalOn set to false.
 Thing is, the dictionary says the default button behavior only works if
there is no active control on the card, but it doesn't define what an active
control is so I don't know if the way I defined the field controls qualifies
them as being inactive or not.

I'm getting the behavior I want by using the card level returnKey handler
but wondering whether I should enter a bug report about this. There doesn't
seem any point in defining a button as the default button unless it acts as
defined in the dictionary, but it would be good to know what qualifies as an
"active control" before reporting it as a bug.

Pete


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Wherefore revPropertyPalette

2011-09-06 Thread FlexibleLearning
The persistent mis-use of this word REALLY annoys me!

'Wherefore' is 'Why' in modern parlance, and not (nor has ever been)
'where'.

Back to your normal browsing.

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Named Parameters

2012-05-05 Thread FlexibleLearning
ChartMaker uses the 'keyValue pairs' syntax (in the form "Key=Value"), of
which any, some or all can be passed as parameters like this...

get CMBarChart("ChartSize=500,300","Values=[list of
values]","Categories=[list of categories]")


The app first applies all the defaults in an internal array. It then parses
any specified keyValue parameters to update the array that is then used to
create the chart. The keyValues are finally stored in the chart for later
use. Once the app's initial parsing scheme is written is it relatively
straightforward to modify it with new keyValue pairs.

The advantage of this method is that the order of the parameters is
irrelevant and their contents can be optionally passed as variables for
coding simplicity...

get CMBarChart(tChartSize,tValues,tCategories)


The main downside of passing parameters is the engine's limits on total
parameter string length. If too much data is passed, the engine simply
truncates the data to the maximum length it can handle.

If the amount of data does exceed the engine's parameter-passing limit, then
the data elements have to be iteratively set directly (e.g. set the uValues
of group "Chart1" to [a very large dataset]). I personally find this a more
cumbersome syntax than the keyValue syntax but it does mean there are
limits. For ChartMaker, the limits are about 15,000 data points (depending
on overall string length, of course).

ChartMaker is available from www.FlexibleLearning.com/chartmaker


Hugh Senior
FLCo



Peter Haworth wrote:

I seem to recall somewhere in the dim distant past that some languages have
a syntax where function and procedure calls can have named parameters
rather than positional ones.

function doIT p1,p2,p3,p4,p5,p6,p7,p8,p9,p10
..
..
end doIT

put doIT("abc",p3="xyz", p10="def") into tVar

When functions have a large number of possible parameters but not all of
them are required, this is a great way to avoid having to count commas in
the calls to them.

I don;t think LC has any such syntax built in but wondering if anyone has
tried to implement something similar?

Pete
lcSQL Software 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Parameter string length (was Named Parameters)

2012-05-05 Thread FlexibleLearning
For most practical purposes LiveCode handles what is required. I suspect
that any limits may depend on and be subject to the amount of on-board RAM
as ChartMaker here easily handles uint2 (64Kb) but not uint4 (4Gb).

In short, we need clarification from Edinburgh.

Hugh Senior
FLCo

www.FlexibleLearning.com/chartmaker


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Parameter string length (was Named Parameters)

2012-05-06 Thread FlexibleLearning
For clarity, my observation about truncated data refers to engine limits on
the data passed, not the length of the line...

parseThis my4gigData

would most likely truncate the contents of my4gigData.

There is no specified limit that I can determine, hence my suggestion that
it may be memory dependent.

Hugh Senior
FLCo


Hugh Senior wrote:
> For most practical purposes LiveCode handles what is required. I suspect
> that any limits may depend on and be subject to the amount of on-board RAM
> as ChartMaker here easily handles uint2 (64Kb) but not uint4 (4Gb).
>
> In short, we need clarification from Edinburgh.

I believe all the relevant limits have been provided in the User Guide -
see section 2.2.9, "LiveCode Memory Limits".


--
  Richard Gaskin
  Fourth World


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker 2.1 update (build 57)

2012-05-15 Thread FlexibleLearning
ChartMaker for LiveCode
www.FlexibleLearning.com/chartmaker


BUILD 57 has just been released, including support for vertical and
horizontal 'Marker Pen' lines as alternative origins for visual referencing,
as well as 'Aim' or 'Goal' lines in any line or scatter chart. As an
improvement to the syntax window, you can now include or omit empty
parameters depending on whether you want to see what additional display
options are available

This is a maintenance update and is free for all registered 2.1 users. A
30-day free trial is available if you do not yet have ChartMaker.

www.FlexibleLearning.com/chartmaker/versioning/whatsnew.htm

Marker Lines
Vertical and horizontal 'marker pen' lines can now be displayed in any Line
or Scatter chart for visual referencing. You can align the marker lines
using either absolute positions by number, or relative positions by
percentage. They can also be used to indicate an alternative origin.
Additional parameters include the color, width and blend. The documentation
has been updated with 4 new parameter names: MarkerLineH, MarkerLineV,
MarkerLineBlend and MarkerLineWidth. The Utility has been updated with
Marker Line options so you can try it and see the syntax.

Aim Lines
You can now display dashed 'aim' or 'goal' lines by specifying the first and
last data points. To show both a Trend and an Aim line, ensure the first
series has no data gaps and include a second series that includes only the
first and last values. The documentation has been updated and a new 'Trend
Lines' sample is built into the Utility so you can try it and see the
syntax.


www.FlexibleLearning.com/chartmaker/downloads/ChartMaker21.zip

Available from the software by clicking 'Check for updates...' or from the
links above or from the LiveCode store.


Enjoy!

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker: Resource Centre support update

2012-05-20 Thread FlexibleLearning
ChartMaker's 'Resource Centre' support website has been updated.


- A new Playground stack has been added

ChartMaker Playground #10
How to include Horizontal and/or Vertical Marker Lines. Requires Build 57,
the most recent release.

Available from www.FlexibleLearning.com/chartmaker/cmrc



- ChartMaker's Documentation Archive has been updated

This specifically affects the full documentation downloads for Builds 47-48,
49, 55, 56 and 57. These complement archives of Build Release Notes
available separately...

Available from www.FlexibleLearning.com/chartmaker/cmrc



A free ChartMaker 30-day trial is available from
www.FlexibleLearning.com/chartmaker


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Beta Testers needed

2012-05-24 Thread FlexibleLearning
flcCalendar is a popup palette that accurately supports and returns dates
from January 1 AD.

It needs road-testing both in terms of the UI and its implementation by the
User.

If you have an interest, please get in touch.


Thank you.

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: flcCalendar date formats (was: Beta Testers needed)

2012-05-24 Thread FlexibleLearning
It could easily do so if that is important to you.

Let me know off-list the specific format/s you need.

Hugh Senior
FLCo



william humphrey wrote:

Does it return date in SQL format? -mm-dd ?

> On 24 mei 2012, at 23:04, FlexibleLearning wrote:
>
> > flcCalendar is a popup palette that accurately supports and returns
dates
> > from January 1 AD.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


flcCalendar algorithms (was: Beta Testers needed)

2012-05-24 Thread FlexibleLearning
Yes there are, Mark, but those I have found needed massaging to not only
accurately calculate the day-of-week from a julian number but also display
the changeover month with the missing days.

Hugh Senior
FLCo



Mark Schonewille wrote:

Hi Hugh,

There are algorithms around for perpetual calendars. Would it be an idea to
use such an algorithm for your palette?

--
Best regards,

Mark Schonewille


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Save vs SaveAs (was Re: Upgrade to Lion)

2012-05-28 Thread FlexibleLearning
Very nicely explained, Igor. As a grumpy old man with fossilised tendencies
I appreciate the explanataion of my own occasional work-flow irritations and
frustrations, and why my father (who only started using computers aged 70)
always seemed to have issues with document archiving despite being a phD
scientist of some note. I once made the mistake of trying to explain the
'grand-father system' to him. Typically he adopted not a 3-level but an
almost infinite-level of document archiving. Unravelling his hard-drive was
a challenge.

So I agree with you... New kids on the block do (sometimes) know better and
Apple seems to have made a better mouse-trap.

Hugh Senior
FLCo


Igor wrote:


--
Understanding Old "Save + Save As..." x New "Autosave Versions + Duplicate"

--

When I first upgraded to Lion, I, too, became irritated and grumpy about the
lack of a "Save As..." command. After many years of using a certain
workflow, it becomes mechanical, intuitive, second-nature, part of you. I
could not seem to understand WHY oh WHY did Apple have to change one of the
basic methodologies for using documents in computers, which had over the
years become entrenched in our computer culture, and in our minds.

As much as I tried, I could not get my head around this new way of working.
It seemed more cumbersome and clumsy than the old one. Until one day, quite
by accident, I found an article on the web explaining the rationale of it
all. I wanted to post a link to the article here, but try as I might, I
can't find it anymore - I seem to be running low on Google juice today...

So, as a poor alternative, I'll try to post my own version of that
explanation, hoping that it may help others.

THE PROBLEM

[...snip...]


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Blacklist script (was: on-rev hacked)

2012-06-04 Thread FlexibleLearning
I can confirm that the 5G-Blacklist .httaccess script really works. It
stopped all but a handful of nasties overnight and dead in their tracks. The
only ones that get through are requests for any unspecified .php files, most
likely due to my syntax ignorance.

Can someone correct this or give me an appropriate line to block ALL .php
file requests?

 RedirectMatch 403 /(contac|fpw|install|pingserver|register)\.php$
 RedirectMatch 403 /index.php
 RedirectMatch 403 /setup.php

Many thanks,

Hugh Senior
FLCo



> http://perishablepress.com/5g-blacklist-2012/
>
> is of use for you and other?s.  This solution was mentioned on the list
> last year by Andre, if i remember right. I am using that since then in
> the hope it prevents my account from being hacked.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


HiliteColor reset

2012-06-11 Thread FlexibleLearning
How does one re-set the hiliteColor to the default?

Docs say set to empty, but I just get a compile error.

Anyone?

Hugh Senior
FLCo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[OT] Databases in song

2012-06-11 Thread FlexibleLearning
I just HAVE to share this with you all...

http://sevenweeks.org/post/24683042649/seven-databases-in-song-this-was-so-m
uch-fun-to

Enjoy!

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Password protecting a data file... how to cope with forgotten password?

2012-06-12 Thread FlexibleLearning
One way that comes to mind is to store the data in a password-encrypted
stack (data is then gibberish) that also needs their password to be viewed
or a master password that you can use if they send you the data stack. Fee
chargeable. :)

Hugh Senior
FLCo



On Jun 12, 2012, at 10:44 AM, Dr. Hawkins wrote:

> On Tue, Jun 12, 2012 at 8:41 AM, Tereza Snyder  wrote:
>> The application I?m working on needs to store possibly confidential
client info on the user?s hard drive. It's asking for an optional password.
(The password is optional because it?s up to the user whether they want the
extra protection). If they DO input a password, and subsequently forget it,
how can I provide a non-internet-based mechanism for retrieving or resetting
the password?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Seeking a navigation system among 200 individual / card DB

2012-06-13 Thread FlexibleLearning
If you can conceive it, LC will do it. For a simple search, I'd implement a
dynamic search field where the keyUp is trapped and the matching cards are
marked. The more you type, the fewer the marked cards. Maybe also a dropdown
menu with standard queries so, for example, all those in a particular class
are marked, then a substack has a field for printing.

Just a coupla ideas.

Hugh Senior
FLCo



Mark Rauterkus wrote

I am searching for a "navigation system" for my >200 card camp
attendance project. Pointers welcome.

I'll have 150 to 200 cards in a database of people (camper kids in
summer school, volunteers, staff). Each card has its card name set to
the person's name. Contact info, attendance, performance notes on the
main card in a main stack for each person.

One day I'd love to store the data elsewhere and have it run on iPhone
and Android, but first things first.

I'm wondering how to set up a navigation system for finding an
individual -- but also taking class role calls.

Popup buttons might get too crowded with too many names.

Should I do individual dynamic palettes on their own card(s) in sub-stacks?

Wondering.


--
Ta.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[TIPS] Mouse-wheel field scrolling

2012-06-17 Thread FlexibleLearning
Sometimes the tips posted here may be a bit intimidating to folks who are
new to LiveCode, so here is a Back-to-Basics one.

A simple stack or card script handler to help smooth field scrolling with
the mouse-wheel...


--| If you already have a rawkeyDown handler in a field, make sure the last
--| line is "pass rawkeyDown" so it is activated higher up the message path
--| in your card or stack script.

on rawkeyDown tKey
  constant numOfLines=5 --| Increase/decrease this number as required
  if "field" is word 1 of the target then
put (the effective textHeight of the target)*numOfLines into tInc
if tKey=65309 then
set the scroll of (the target to the scroll of the target) - tInc
else if tKey=65308 then
set the scroll of (the target to the scroll of the target) + tInc
else pass rawkeydown
  end if
end rawkeyDown


To keep track of all your script goodies, try The Scripter's Scrapbook to
build up your own useful coding reminders, tips, tricks and references. You
can get a 30-day free copy here...

www.ssbk.co.uk


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


is evaluation order defined, and evaluation of conditionals

2012-06-25 Thread FlexibleLearning
There is a difference between logical and string comparisons.

A logical comparison using 'and/or' will exit as soon as 'false' is
encountered.
A string comparison using '=' (or 'is') or '<>' (or 'is not') will evaluate
both components.

Try func1()= func2() instead.

Hugh Senior
FLCo


> on mouseUp
>  local tFoo
>  put func1() and func2() into tFoo
> end mouseUp
>
> function func1
> return "false"
> end func1
>
> function func2
>put "func2 was called"
>return "true"
> end func2
>
> In this example, func2() IS NOT called.
> If func1 returns "true" instead, func2() IS called.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


flcDatePicker: Preview

2012-07-07 Thread FlexibleLearning
flcDatePicker

The pre-release version of flcDatePicker is available for final beta testing
on Mac OS, Windows and Linux. We obviously want this to meet needs and be a
robust solution so if you would like to test its functionality along with
the accompanying Utility and Playground, and give your feedback, please get
in touch. If there is a demand for an iOS version beyond that already
available with the DatePicker, we can look into providing one.

For those who already use ChartMaker, the syntax system is the same.

Some of the key features:
- offer basic or advanced features.
- respond dynamically to palette events in your own program.
- custom date formatting plus 7 standard formats
- select and de-select dates using a simple 'Click On, Click Off' mouse
click.
- show Day and Month names in the native language.
- supply and obtain dates in virtually any standard or aribitrary format.
- provide full control over enabled and disabled dates and days.
- optionally limit the selection of calendars between any two dates.
- support Single, Multiple and Range date selections.
- attach memos to specific days and dates for reference.
- revert the date selection at any time.
- show the number of selected dates with dropdown access to them.
- support for historical years.

Preview screenshots have been uploaded here:

http://www.flexiblelearning.com/datepicker/datepickerpreview.html


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Modeless screens on Windows (SOLVED!!!)

2012-07-14 Thread FlexibleLearning
Coming in late on this thread, Peter, but would setting the 'title' of the
stack to SPACE resolve the problem until a fix is available?

Hugh Senior
FLCo

-- Original message


On Jul 11, 2012, at 2:35 PM, Peter Haworth wrote:

> Ken - you nailed it, thank you so much
>
> I had the text size set to medium (125%).  I changed it to small (100%),
> re-logged in and the title appeared.  Just to be double sure, I went back
> to medium text size and the title disappeared again.  I will be sure to
> mention this problem somewhere in the docs for the product.

I've seen 'larger than 100%' fonts cause problems in a lot of different
windows dev apps - I'm glad you found the problem!

> Surely this is a Windows bug?  Even with the text size at medium, the
title
> appears if the stack is top-level, just not when it's modeless.  Be that
as
> it may, I can now get on with my life.

Not sure why it would not show when modeless, so if you haven't logged a bug
in RQCC, I'd suggest logging it.

Ken Ray
Sons of Thunder Software, Inc.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Modeless screens on Windows (SOLVED!!!)

2012-07-15 Thread FlexibleLearning
Hi Peter,

My suggestion was for a consistent title display irrespective of text size,
but the only consistent title available is blank (visually by using a space)
until a bug fix is implemented. On Windows, a modeless window has no title,
but I appreciate that this is iOS with different expectations so probably
best to ignore the idea!

Hugh Senior
FLCo


On Sun, 15 Jul 2012 Peter Haworth wrote:

Hi Hugh,
Not sure I'm understanding that.  I have a title for the stack but it's not
being displayed when it should so setting the title to space would have the
same effect I think?
Pete
lcSQL Software <http://www.lcsql.com>



On Sat, Jul 14, 2012 at 9:09 PM, FlexibleLearning <
ad...@flexiblelearning.com> wrote:

> Coming in late on this thread, Peter, but would setting the 'title' of the
> stack to SPACE resolve the problem until a fix is available?
>
> Hugh Senior
> FLCo
>
> -- Original message
>
>
> On Jul 11, 2012, at 2:35 PM, Peter Haworth wrote:
>
> > Ken - you nailed it, thank you so much
> >
> > I had the text size set to medium (125%).  I changed it to small (100%),
> > re-logged in and the title appeared.  Just to be double sure, I went
back
> > to medium text size and the title disappeared again.  I will be sure to
> > mention this problem somewhere in the docs for the product.
>
> I've seen 'larger than 100%' fonts cause problems in a lot of different
> windows dev apps - I'm glad you found the problem!
>
> > Surely this is a Windows bug?  Even with the text size at medium, the
> title
> > appears if the stack is top-level, just not when it's modeless.  Be that
> as
> > it may, I can now get on with my life.
>
> Not sure why it would not show when modeless, so if you haven't logged a
> bug
> in RQCC, I'd suggest logging it.
>
> Ken Ray
> Sons of Thunder Software, Inc.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Junior App Developer

2012-07-16 Thread FlexibleLearning
Hi Jamie

Thank you for talking with me. I have been involved in LiveCode both as
software writer and consultant since about 1995 (then called MetaCard) and
am the author of ChartMaker and The Scripter's Scrapbook.
www.FlexibleLearning.com has examples of educational software that I have
written.

I am listed on LiveCode's developers website
http://www.runrev.com/support/consultants/the-flexible-learning-company/

I have written for the LiveCode Newsletter
http://runrev.com/newsletter/february/issue104/newsletter2.php

ChartMaker
http://runrev.com/newsletter/july/issue96/newsletter1.php

The Scripter's Scrapbook
http://runrev.com/newsletter/july/issue97/newsletter3.php

I would be interested in supporting your LiveCode team and certainly have
the background and experience, preferably working from my own office here in
Surrey, either on specific project development work or as a source of help.

If I can be of service, let me know.

With best regards,

Hugh Senior
The Flexible Learning Company
T: 01483.27 87 27




-- Original message

Date: Mon, 16 Jul 2012 11:38:07 +0100
From: Jamie Stuart 
To: How to use LiveCode 
Subject: Junior App Developer
Message-ID: 
Content-Type: text/plain; charset=windows-1252

EuroTalk are looking for a sharp, bright and enthusiastic Junior App
Developer. We want you to help us in our mission to build the best
educational apps in the world.

For the past 20 years we have produced language learning software, selling
millions of copies worldwide. We are expanding into the broader educational
market, with an inital focus of making maths apps for young children. See:
http://itun.es/iPF4Tv

This is a permanent full-time position at our Fulham offices. Your role will
be:

? Developing cross-platform mobile apps using the LiveCode platform.
? Working from a highly structured written specification document.
? Liasing with content authors and graphic designers.
? Providing input on the UI design and UX of apps.

To fit well in the role, you have the following qualities:

? Exerience of mobile app development (Web, Android or iOS).
? LiveCode experience is beneficial but not required.
? A fast learner, highly self motivated and capable of taking
responsibility for self development.
? An understanding of the need for usable and aesthetically pleasing
interface design.
? You must be capable of demonstrating conceptual programming ideas.

If you have any of these as an added bonus, that?s fantastic:

? An app that you have contributed towards.
? Design and Photoshop skills.
? Experience working with XML.
Expect a great working environment, the latest Apple kit to work with and
the chance to be at the cutting edge of the software industry.

Interested? Please send your CV and a covering letter detailing your
experience relevant to the role to:
j...@eurotalk.com


Jamie, CMSNISO, EuroTalk


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Junior App Developer (FlexibleLearning)

2012-07-16 Thread FlexibleLearning
Ever have "one of those days"?

My apologies with deep embarrassments to the list.

Hugh Senior
FLCo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Storing data on iOS

2012-07-26 Thread FlexibleLearning

For those who have gone before those who have gone before...

What sort of files does Apple allow to be downloaded? 'text' only files?
Defined by type of file (video, pdf etc)? Is there such a list?

I think I have established that 'executable' files will be rejected (i.e.
stack files) which is a real pain because I have a desktop app that would
ideally launch stack files from a home page index of modules. If this is the
case, what about a 'definition text file' that the app use to create the
stack on demand?

(This is, of course, apart from plists, licences,
XcodeVersion+iOSversion+LCversion combinations, submission processes etc.
Whatever happened to 'programming for the rest of us'!)

Hugh 'Wanting to grow roses instead of programming' Senior
FLCo


-Original Message-
Date: Wed, 25 Jul 2012 13:39:43 -0500
From: "J. Landman Gay" 
To: LiveCode Mailing List 
Subject: Storing data on iOS
Message-ID: <50103d6f.3030...@hyperactivesw.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

For those who have gone before me:

I have some files that are downloaded from a server and stored on the
device. The files will be updated periodically. I don't want to download
them repeatedly unless they've changed.

Apple says not to store data in the documents folder if it can be
retrieved from elsewhere. That makes me think I should keep it in the
cache folder. But I'd rather it was backed up so the user doesn't need
an internet connection if they want to use the app and the cache has
been wiped.

Where would you store the files?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


ChartMaker and the London Olympics

2012-07-27 Thread FlexibleLearning

For you all, with my compliments as we are hosting the event here in
Blighty, your own Olympics Medal Table in LiveCode Just update your
chosen countries as the results come in!


The screenshot:
http://www.flexiblelearning.com/CMolympics/CMolympics_2012.png

The stack: http://www.flexiblelearning.com/CMolympics/CMolympics_2012.zip


You will need ChartMaker to generate the graphics, and it's free to try for
30 days.


With best regards,

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


ChartMaker and the London Olympics: Update

2012-07-28 Thread FlexibleLearning

As a result of various off-line messages (for which I thank you), the sample
stack has been turned into a ChartMaker masterClass with even more
functionality and features. Feel free to grab a copy.

Aspects covered:
- Sorting and manipulating user field data
- Putting a stack 'in use'
- Defining charts by Series
- Transposing charts
- Updating charts


For you all, with my compliments as we are hosting the event here in
Blighty, your own Olympics Medal Table in LiveCode Just update your
chosen countries as the results come in!


The screenshot:
http://www.flexiblelearning.com/CMolympics/CMolympics_2012.png

The stack:
http://www.flexiblelearning.com/CMolympics/CMolympics_2012.zip

ChartMaker:
http://www.flexiblelearning.com/chartmaker


You will need ChartMaker to generate the graphics, and it's free to try for
30 days.


With best regards,

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Amazon opportunities for apps

2012-07-28 Thread FlexibleLearning
Amazon seem keen to get developpers on board...
http://www.reuters.com/article/2012/07/25/net-us-amazon-developers-idUSBRE86
O1II20120725

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] DatePicker for LiveCode

2012-08-13 Thread FlexibleLearning

Now available at http://www.flexiblelearning.com/datepicker

About...

DatePicker for LiveCode is a cross-platform plug-in library solution for Mac
OS, Linux and Windows, designed to handle date selection and validation as
well as webpage calendars in your own work. Single, multiple or date ranges,
disabled days and dates, memos, calendar limits, even early-date historal
accuracy are all supported. Best of all you can give it virtually any human
readable date and it will understand what you mean. Dates are returned in 7
standard formats, and you can define your own custom date format if you need
to.

Because it is non-blocking, work-flow is uninterrupted and all your other
controls remain accessible. And thanks to the range of callbacks, your app
can interact with palette events and user actions as they happen. It
automatically displays in the local language, 2 popup styles are available
and I think it pretty much covers everything you could want.

It comes with DatePicker Utility, a point and click palette that uses
DatePicker to create ad-hoc popups along with the required syntax for you.
If you use 'ChartMaker for LiveCode', the syntax is handled in the same
flexible and straightforward way, default settings are applied if you omit
anything or if it cannot understand, and it will always try to correctly
interpret the data you supply.

Easy-access documentation is full of How To's and help along with the
complete syntax guide and examples for everything. And there is an unlocked
Playground stack with sample implementations for you to hack into,
investigate and play with.

DatePicker for LiveCode is an appropriate solution if you want to...

. Offer different levels of functionality
. Select dates using a simple 'Click On, Click Off'
. Support a local language interface
. Supply and obtain dates in any date format
. Provide full control over disabled dates
. Limit date selections between any two dates
. Support Single, Multiple and Range date selections
. Include dated memos for reference
. Revert the date selection at any time
. Show the selected dates with dropdown access
. Respond dynamically to user actions and popup events
. Support historical years with both Julian and Gregorian systems

Usage...
DatePicker is free to try for 30 days and the licence is for unlimited
personal and commercial use.

Requirements...
.LiveCode version 3.5 or later, 4.5.2 or later recommended


The shop is now open!


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] DatePicker for LiveCode

2012-08-15 Thread FlexibleLearning
Certainly you can. In addition to the 7 built-in 'standard' formats, you can
define your own 'custom' date format as an arbitrary 8th format including
any literal text if you wish for all chosen dates. The built-in sql format
is -mm-dd.

www.FlexibleLearning.com/datepicker


Hugh Senior
FLCo


william humphrey wrote:

Nice. In addition to local language and copying what is in the system can
you also tell it to always use a particular format for the return of date?
Say the SQL date -mm-dd


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] DatePicker for LiveCode

2012-08-16 Thread FlexibleLearning
What sort of timepicker is needed? I'd have thought it quite straightforward
using 3 option menus to specify a single time in HH:MM:SS ... unless you
have other ideas?

Hugh Senior
FLCo



Alex wrote:

DatePicker looks very nice; I plan to start using it soon (I'm working
on an application that uses dates, and have dropped my own calendar
stack and I am re-designing the application to take advantage of the
better features of DatePicker :-)

Any chance there will be a TimePicker coming soon ?

Thanks
-- Alex.


On 16/08/2012 07:49, FlexibleLearning wrote:
> Certainly you can. In addition to the 7 built-in 'standard' formats, you
can
> define your own 'custom' date format as an arbitrary 8th format including
> any literal text if you wish for all chosen dates. The built-in sql format
> is -mm-dd.
>
> www.FlexibleLearning.com/datepicker
>
>
> Hugh Senior
> FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Suggestion for RunRev...

2012-08-19 Thread FlexibleLearning
I know what you mean... so much 'good stuff' gets posted it's difficult to
organise it all.

I use The Scripter's Scrapbook for this with a couple of entries dedicated
to 'useful links'...

www.ssbk.co.uk

Might be worth your while checking it out while Edinburgh ponders your
suggestion.

Hugh Senior
FLCo



Paul Dupuis wrote:

There have been so many Announcement [ANN]  postings about
developer-oriented plug-ins for LiveCode to either the "Developer" or
"Use" Lists or even the "Using Externals and Plugins" forum topic in
recent months. All of these look like very useful tools for developers.

I may not be alone in not having the time to look at every one when they
are announced. And, while I try to file some of the announcements away
for later reference, I received a LOT of email and letting it pile up is
not always practical. However, when I am developing new software, there
are time when access to one of these many tools or plugins would have
been very helpful - IF I had remembered it.

My suggestion: Could RunRev please establish a simple database on the
RunRev.com web site where developer's of these tools can submit and
entry for them. Just a name, description, and URL for more information
at a minimum would be helpful. A screenshot, author information, and a
few more fields would polish it up nicely. The page serves both as a
resource to existing developers and as marketing to potential customer
illustrating the richness of the LiveCode community. Of course
appropriate legal disclaimers can apply.

Such a research page would make finding and using such tools easier than
hunting through mailing list archives or search through forum posts. The
resource is also complementary to the Add-Ons in the RunRev store,
illustrating a larger availability of both free and commercial tools
sold by independent suppliers as well as RunRev.

So how about it?

--
Paul Dupuis
Cofounder
Researchware, Inc.
http://www.researchware.com/


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] DatePicker update

2012-08-25 Thread FlexibleLearning
Now available at:
http://www.flexiblelearning.com/datepicker
http://www.runrev.com/store/product/datepicker-for-livecode/


Update
25 August 2012

The DatePicker popup can now be optionally opened as a modal for situations
where you need a blocking display, or when you want to use the popup from a
modal window.


About...

DatePicker for LiveCode is a cross-platform plug-in library solution for Mac
OS, Linux and Windows, designed to handle date selection and validation as
well as webpage calendars in your own work. Single, multiple or date ranges,
disabled days and dates, memos, calendar limits, even early-date historal
accuracy are all supported. Best of all you can give it virtually any human
readable date and it will understand what you mean. Dates are returned in 7
standard formats, and you can define your own custom date format if you need
to.

Because it is non-blocking, work-flow is uninterrupted and all your other
controls remain accessible. And thanks to the range of callbacks, your app
can interact with palette events and user actions as they happen. It
automatically displays in the local language, 2 popup styles are available
and I think it pretty much covers everything you could want.

It comes with DatePicker Utility, a point and click palette that uses
DatePicker to create ad-hoc popups along with the required syntax for you.
If you use 'ChartMaker for LiveCode', the syntax is handled in the same
flexible and straightforward way, default settings are applied if you omit
anything or if it cannot understand, and it will always try to correctly
interpret the data you supply.

Easy-access documentation is full of How To's and help along with the
complete syntax guide and examples for everything. And there is an unlocked
Playground stack with sample implementations for you to hack into,
investigate and play with.

DatePicker for LiveCode is an appropriate solution if you want to...

. Offer different levels of functionality
. Select dates using a simple 'Click On, Click Off'
. Support a local language interface
. Supply and obtain dates in any date format
. Provide full control over disabled dates
. Limit date selections between any two dates
. Support Single, Multiple and Range date selections
. Include dated memos for reference
. Revert the date selection at any time
. Show the selected dates with dropdown access
. Respond dynamically to user actions and popup events
. Support historical years with both Julian and Gregorian systems

Usage...
DatePicker is free to try for 30 days and the licence is for unlimited
personal and commercial use.

Requirements...
.LiveCode version 3.5 or later, 4.5.2 or later recommended


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


DatePicker: Installation instructions

2012-08-29 Thread FlexibleLearning
The installation instructions (inadvertantly omitted) are now included in
the download.

Copies are available from the DatePicker resource center if you need them...

www.FlexibleLearning.com/datepicker/dprc


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: DatePicker: Installation instructions

2012-08-29 Thread FlexibleLearning
No need to re-register each time you deploy. Once the stack is registered it
can be embedded with no further action...

set the mainStack of stack "flcDatePicker" to "myAppsMainStack"

The original will still be in the plugins folder or whever you have stored
it.

Best regards,

Hugh Senior
FLCo


Andrew Kluthe wrote:

Hacked together my own installation method. :) Not as easy to upgrade
it as a substack of my application loader, but it makes using it
throughout all my farm programs easy as pie.

Once, it is registered and unlocked can I just save that registered
copy of the stack and use it where I need it or do I need to register
each time I include it as a substack?

On Wed, Aug 29, 2012 at 6:33 AM, FlexibleLearning
 wrote:
> The installation instructions (inadvertantly omitted) are now included in
> the download.
>
> Copies are available from the DatePicker resource center if you need
them...
>
> www.FlexibleLearning.com/datepicker/dprc
>
>
> Hugh Senior
> FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


So you think your password is long enough?

2012-09-02 Thread FlexibleLearning
A tip from Microsoft...

http://support.microsoft.com/kb/276304



Hugh Senior
FLCo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: DatePicker Version from the RunrevStore

2012-09-03 Thread FlexibleLearning
SN is sent manually. The confirmation email from the Store should say this.
I will check with Heather.

With best regards,

Hugh Senior
FLCo



-- Original message

Hi,

I did purchase DatePickert today from the store and received download
details in my store account, but no SN and
no information if the sn creation has to be done manually.

Did anyone else already purchase DatePicker from the Runrev Store? And if
so, how was the SN sent.
Immediately after the purchase or was it sent manually by Flexible Learning?

Regards,

Matthias


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] Datepicker free update

2012-09-03 Thread FlexibleLearning
Build 29 released

This is a free update...

- Accented characters now display as expected in webpage calendars.
- Webpage calendar auto-launch is now optional.


www.FlexibleLearning.com/datepicker
or
http://www.runrev.com/store/product/datepicker-for-livecode/


Hugh Senior
FLCo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


ChartMaker 3: Release testers please

2012-09-04 Thread FlexibleLearning
If you an an existing ChartMaker user (preferably with Linux and with a good
knowledge of ChartMaker's capabilities), and are able to look for any last
minute glitches, do get in touch. This is a 'hunt and destroy' mission!

Many thanks,

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker version 3

2012-09-16 Thread FlexibleLearning
ChartMaker v3

Delighted to announce this upgrade. Lots of new and improved goodies for
you...

- Optimized scaling so you can 'zoom in' on the data
- Horizontal spacing so you can manage label display
- Independent trend lines so multiple series can be individually handled
- Improved control over Aim lines
- Draggable marker lines by your users
- Improved smoothing
- Improved popup 'Help'
- Built-in access to online Help sheets
- Fully indexed documentation
- A dozen glitch fixes
- 4 new Playgrounds

Further information with preview images at
www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm

The new version is available from www.runrev.com/store/product/chartmaker

or direct from www.flexiblelearning.com/chartmaker with website support and
resources.


If you already have a licence for v2.1, choose the upgrade option (you will
need your old licence key) for a discounted price.

If you are still using v2, now would be a good time to get up-to-date.
Sorry, your discount path has now expired.

If you do not yet have ChartMaker, use it free for 30 days to see what it
can do for you.


With best regards,

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


FlexibleLearning apologises...

2012-09-20 Thread FlexibleLearning
Mail is down here...

It seems that any mail sent to flexibleLearning.com is being trashed by the
ISP server, with no error or bounceback.

If you have been trying to reach me, I have not responded because I am not
getting any emails.

I am trying to resolve the problem with the ISP and it has been escallated.

Meanwhile, any urgent mail can be sent to flexiblelearn...@tiscali.co.uk
(this seems to work) until the problem is sorted out.


With best regards,

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[UPDATE] Free 'Clearview' desktop clock v1.2

2012-10-06 Thread FlexibleLearning
As requested by the community:

- Linux build is available
- Multiple monitors are now supported
- Location is restored on re-launch
- 'About' is now a systemWindow so should not be hidden behind other windows

Download at www.FlexibleLearning.com/freeclock


With best regards,

Hugh Senior
FLCo
The home of:
- ChartMaker www.FlexibleLearning.com/chartmaker
- DatePicker www.FlexibleLearning.com/datepicker
- The Scripter's Scrapbook  www.FlexibleLearning.com/ssbk


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


test

2011-10-24 Thread FlexibleLearning
testing. pls move on.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


ChartMaker: User Experiences

2011-10-24 Thread FlexibleLearning
ChartMaker is a fast and small footprint library utility for LiveCode. The
website now has a 'User Experiences' page of articles at
www.FlexibleLearning.com/chartmaker/myexperience including how it deploys on
iOS, thanks to the contributors.

If you have used ChartMaker, do please contact me to publish your
experiences, any tips or why it suited your project. Sharing your experience
and insights really does help other people as well as providing a window on
your own work!

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker update released

2011-10-24 Thread FlexibleLearning
ChartMaker for LiveCode
Version 2.1 build 55

A maintenance update is now available. It is free for all 2.1 registered
users and a discounted price is available to version 2.0 users. Click the
'Check for updates' link in the software. There is a 30-day free trial if
you do not yet have a licence.

Release notes:
http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm

Download link:
http://www.flexiblelearning.com/chartmaker/downloads/ChartMaker21.zip

What's New in build 55?
. Added Xformat
ChartMaker can now not only convert and display your Categories in any
date-time format of your choice, but also automatically apply any arbitrary
increment if needed.
How do I investigate Xformat?
- There is a new 'Category Display' section with an Xformat wizard in the
Utility.
- There is a sample chart built into the Utility.
- There are full details in the documentation.

Improvements
. Added SetUp preferences
. The Utility now refreshes the chart window layered on top.
. Legends: Percentages are now only shown for Pie charts.
. 2D graphics will now display a dropShadow.
. The graduated border introduced in build 49 now requires LC4.5 build 1080
or later, otherwise a solid border is applied.
. Scrolling the Utility data table now refreshes any changed Cell field
values.


Video tutorials
Are available on the support site at
http://www.flexiblelearning.com/chartmaker/cmrc and on YouTube at
http://www.youtube.com/user/ChartMaker4LC. All are bite-sized for easy
digestion!


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Mac app icons

2011-10-30 Thread FlexibleLearning
Can anyone point me in the right direction, please?

Using 10.6.8 on a MacMini with LC4.5.2

The standalone icns icon set is not being copied
(contents:Resources:Standalone.icns is zero KB) but no build error is
reported.

Using IcoFX software that automatically generates a 1bit set for Mac icns.
Images included are:
32bit: 128, 48, 32, 16
8bit: 48, 32, 16
4bit: 48, 32 16
1bit: 48, 32, 16

I have tried restarting and zipping/unzipping to force a Finder refresh
I have tried omitting the 32bit 128
I have even tried an icns file that used to work before I got a MacMini

The Windows ico version displays fine.

What am I doing wrong?

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Mac app icons

2011-10-30 Thread FlexibleLearning
Ouch, damn and drat... But thank you for confirming I am not alone!

I tried replacing the dud Standalone.icns with one from another app that
does display correctly. Still not working.

So far the client has not complained but I suspect it is only a matter of
time.

If ANYONE has tracked this down, do please share with group!

Hugh Senior
FLCo



Phil Jimmieson wrote:

The same thing happens to me with one of my OS X apps. LiveCode always
produces a zero length icns file for that app. I've never been able to track
it down. I always end up manually replacing the dud Standalone.icns with a
working version that I keep handy.

Sent from my iPhone


On 30 Oct 2011, at 08:45, FlexibleLearning 
wrote:

> Can anyone point me in the right direction, please?
>
> Using 10.6.8 on a MacMini with LC4.5.2
>
> The standalone icns icon set is not being copied
> (contents:Resources:Standalone.icns is zero KB) but no build error is
> reported.
>
> Using IcoFX software that automatically generates a 1bit set for Mac icns.
> Images included are:
> 32bit: 128, 48, 32, 16
> 8bit: 48, 32, 16
> 4bit: 48, 32 16
> 1bit: 48, 32, 16
>
> I have tried restarting and zipping/unzipping to force a Finder refresh
> I have tried omitting the 32bit 128
> I have even tried an icns file that used to work before I got a MacMini
>
> The Windows ico version displays fine.
>
> What am I doing wrong?
>
> Hugh Senior
> FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: iOS forcing interface rotation

2011-11-10 Thread FlexibleLearning
Did anyone figure how to do this? I need exactly the same thing: All stack
windows are landscape, except 1 which must be portrait.

How do we force an orientation change without requiring the user to
physically rotate the device?

Hugh Senior
FLCo



On Tue Aug 2 09:23:51 CDT 2011 Scott Morrow wrote:

 I am working with an iOS UI that allows portrait and landscape rotation on
one card but requires that the UI be presented in portrait on all other
cards. no matter what the actual device rotation is.  The problem arises
when leaving the card that allows landscape and going to a card that
requires portrait.  If the user navigates to a "portrait only" card with
device already in landscape, the UI is skewed.  Is there a way to force the
auto-rotation without requiring the user to physically rotate the device?
(I had hoped perhaps some trickery with mobileSetAllowedOrientations and
mobileLockOrientation /mobileUnlockOrientation.)

TIA,

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email scott at elementarysoftware.com
--



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


mouse within oval filled area

2011-11-12 Thread FlexibleLearning
Has anyone worked out how to test if the mouseLoc is within the filled area
of an oval graphic (defined by startAngle and arcAngle)? I was thinking
polar coordinates, but this assumes a circle and a fixed radius which is not
necessarily the case. A btter math brain than mine is needed!

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: mouse within oval filled area

2011-11-12 Thread FlexibleLearning
Indeed, John, but not a unique object identifier if more than one grc uses
the same color. I think I am back to polar coordinates (unfortunately).

The current engine behaviour is painfully inconsistent with other controls
whose transparency is immune from mouse events.

Hugh Senior
FLCo


John Dixon wrote:

> Use the mouseColor ?


Original message:

> Has anyone worked out how to test if the mouseLoc is within the filled
area
> of an oval graphic (defined by startAngle and arcAngle)? I was thinking
> polar coordinates, but this assumes a circle and a fixed radius which is
not
> necessarily the case. A btter math brain than mine is needed!
>
> Hugh Senior
> FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: mouse within oval filled area: A solution using geometry

2011-11-13 Thread FlexibleLearning
For those who do not have LC5 or AE (ideas already suggested), here is a
solution to detect whether a point is within the filled area of an oval
graphic using polar geometry. It is offered as a starting point for a more
compact solution.

on mouseUp
  --| Syntax: isWithinSegment(long ID,point)
  put isWithinSegment(the long id of grc "myOval",the mouseLoc)
end mouseUp

function isWithinSegment pGrc.obj,pLoc
  --| pGrc.obj is the long id of the graphic
  --| pLoc is a point expressed as x,y
  --| Returned value is "TRUE" or "FALSE"

  if word 1 of pGrc.obj <> "graphic" then return ""
  if the style of pGrc.obj <> "oval" then return ""

  put the startAngle of pGrc.obj into tSA
  put the arcAngle of pGrc.obj into tAA
  put the width of pGrc.obj into W
  put the height of pGrc.obj into H
  put item 1 of the loc of pGrc.obj into objX
  put item 2 of the loc of pGrc.obj into objY
  put item 1 of pLoc into pointX
  put item 2 of pLoc into pointY

  --| Get the point's relative coordinates...
  put pointX - objX into x
  put pointY - objY into y

  if y=0 then
--| Handle the exceptions...
if x>0 then put 0 into tAngle
else put 180 into tAngle
  else
put atan ((x*H)/(y*W)) into tAngle
--| Convert from radians to degrees...
put (tAngle * 180 / pi) into tAngle
--| Adjust the angle according to the quadrant...
put (tAngle MOD 180)+90 into tAngle
if y>0 then add 180 to tAngle
  end if

  return (tAngle>= tSA) AND (tAngle<=tSA+tAA)

end isWithinSegment


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] ChartMaker 2.1 update (build 56)

2011-11-19 Thread FlexibleLearning
ChartMaker for LiveCode
www.FlexibleLearning.com/chartmaker


BUILD 56 just released, including support for drill-down charts.

www.FlexibleLearning.com/chartmaker/versioning/whatsnew.htm

ChartMaker can now retieve the specific details of any bar, column, line or
pie slice to support more detailed user-interactivity such as drill-down or
drill-up charts, your own look-up information, or any other application you
need based on a specific display result. A new Playground is included in the
download called 'Interactive data' with coded examples and the built-in
documentation has been updated with implementation details.

This is a maintenance update and is free for all registered 2.1 users.

www.FlexibleLearning.com/chartmaker/downloads/ChartMaker21.zip

Available from the software by clicking 'Check for updates...' or from the
links above or from the LiveCode store.


Enjoy!

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Excel tip with LC equivalent: Value comparison

2011-11-27 Thread FlexibleLearning

I have an Excel speadsheet that is kinda self-checking in that 3 cells
display the same value if I have made no data entry errors.

How to determine if cells A1, B1 and C1 are the same value...

Put this in cell D1 to display 'TRUE' or 'FALSE':

=IF(A1=B1,IF(B1=C1,TRUE,FALSE),FALSE)

Bonus feature
How to colorize cell D1 with green for 'TRUE' and red for 'FALSE' for visual
feedback.

Use the 'Format' menu to select 'Conditional Formatting...' and apply these
2 rules:

Cell Value + is equal to + TRUE
Use the 'Format...' button to select 'Font' with a green color, and
'Patterns' with the same green for cell shading (effectively 'hides' the
text).

Click 'Add>>', and then

Cell Value + is equal to + FALSE
Use the 'Format...' button to select 'Font' with a red color, and 'Patterns'
with the same red for cell shading (effectively 'hides' the text).

Finally click OK.


LiveCode equivalent:

if (fld "A1"=fld "B1") AND (fld "B1"=fld "C1") then
  set the backcolor of fld "D1" to "green"
else set the backColor of fld "D1" to "red"
set the opaque of fld "D1" to true


Little triumphs, big joy  :)

Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Ask dialogs with unicode prompts

2011-11-30 Thread FlexibleLearning
The docs say that the ability to provide formatted text for the 'Ask' and
'Answer' dialog prompts was introduced in version 2.0.

I am presenting an html string for use in both dialogs like this by way of
example...

   ask "Please try again!" - This does not display as
expected

   ask password "Please try again!" - This does not
display as expected

   answer "Please try again!" - This displays as expected


So the 'ask' is broken and looks like it has never worked correctly (going
back to v2.3, the earliest I have). Also in need of 'repair' are the 'ask
file' and 'ask folder' dialogs.


Does anyone apply unicode like this? How do you cope? Do you create your own
dialogs?


Hugh Senior
FLCo






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Ask dialogs with unicode prompts

2011-11-30 Thread FlexibleLearning
Pls ignore this. I was not in the LC IDE which *does* display formatted text
in the 'Ask' dialog.

Slap wrist.

Hugh Senior
FLCo


Original msg:
The docs say that the ability to provide formatted text for the 'Ask' and
'Answer' dialog prompts was introduced in version 2.0.

I am presenting an html string for use in both dialogs like this by way of
example...

   ask "Please try again!" - This does not display as
expected

   ask password "Please try again!" - This does not
display as expected

   answer "Please try again!" - This displays as expected


So the 'ask' is broken and looks like it has never worked correctly (going
back to v2.3, the earliest I have). Also in need of 'repair' are the 'ask
file' and 'ask folder' dialogs.


Does anyone apply unicode like this? How do you cope? Do you create your own
dialogs?






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Resource for finding LiveCode Developers ?

2011-11-30 Thread FlexibleLearning
tf

Try www.runrev.com and select "Consultants" from the "Support" menu.

Hugh Senior
FLCo


Original message:

All,

Where is the best place to find LiveCode developers for a off-site contract
project ? My Google-fu is failing me. Is there a site that exists currently
where someone can see a list of developers that are available for hire ? A
search on elance.com, odesk.com, careers.stackoverflow.com, and the runrev
forums came up dry. Any suggestions would be helpful.

(ps. if you are a developer, feel free to send me an email off-list)

-tf


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: printing rotated text

2011-12-02 Thread FlexibleLearning
Up to 4.6.2, you get increased image resolution if you import an image and
scale it down, but not if you take a snapshot and scale it down.

I did bug-report this anomoly ages ago. Maybe they fixed increased res on
snapshots in 5.0 (not tried yet).

Hugh Senior
FLCo



Ben Rubinstein wrote

Can I just confirm that there's no way to print high-quality rotated text
from
LC?  For use on screen one can put text in a field, take a snapshot, and
rotate that - which is fine if you don't need editing; but of course in
print
that comes out lo-res.

Is there any way, if I want most of the text in one orientation but a small
amount at 90? to it, to do better than the same technique and accept that
the
rotated text will print at lower resolution?

TIA,

Ben


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: printing rotated text

2011-12-02 Thread FlexibleLearning
Unless you know different, this doesn't work. The snapshot option remains at
72dpi after scaling. The only way seems to be scaling an import an image
from an external image file.

Hugh Senior
FLCo


David Epstein wrote:

Create the field with fontsize 4 times what your want, take a snapshot,
rotate, paste, and?reduce the image's width and length to 25% of the
original .


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[TIP] Multiple screen management

2011-12-07 Thread FlexibleLearning
A useful handler when working with multiple monitors...

on mouseUp
  --| Which monitor is this stack on?
  put activeScreen()
end mouseUp

function activeScreen
  --| Return the number of the monitor for the loc of the stack
  if num of lines of the screenRects = 1 then return 1
  put item 1 of the loc of this stack into xOff
  repeat with n = 1 to num of lines of the screenRects
put line n of the screenRects into thisRect
if (xOff >= item 1 of thisRect) AND (xOff <= item 3 of thisRect) then
return n
  end repeat
  --| Failsafe...
  return 1
end activeScreen


Hugh Senior
FLCo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: characters lost pasting from Word To LiveCode field

2011-12-14 Thread FlexibleLearning
This scriptlet looks like a means of ensuring that accented and unicode
characters in plain text format transfer between platforms to me rather than
a bridge between text editors.

Hugh Senior
FLCo



On Dec 13, 2011, at 9:02 PM, J. Landman Gay wrote:

> On 12/13/11 5:09 PM, Sieg Lindstrom wrote:
>
>> I'll say up front the details of text encoding are not my strong suit.
With
>> earlier versions (RunRev 4.x and earlier), I'd sometimes have to write
>> special routines to search and replace certain characters from the pasted
>> text. For example, the em-dash, "?" (chartonum 209), which after pasting
>> from Word was seen by RunRev as two characters (a two-byte character?),
>> numtochar of 32 followed by numtochar of 20 so I wrote a routine to just
>> search and replace to numToChar of 209. My new problem is that with
LiveCode
>> 5.0x (I just upgraded to 5.02), the em-dash if pasted from a Word file
>> instantly disappears from the text.
>
> Someone once posted a function to the list that translates Word text to
useable LiveCode text. I saved it but haven't ever tried it. I wish I'd also
recorded who wrote it:
>
> function revText theText
>   return unidecode(uniencode(theText,"utf8"))
> end revText
>
> Use that on the clipboard contents and see if it does what you need.
>

No workie Jacque. From word I get empty. From Textedit I get ??? If I put
just the clipboardData from Word I get nothing. If I put the clipboardData
from Textedit I get an emDash. Bottom line: Microsoft does not play well
with Livecode's clipboard. Other apps are fine.

Bob


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Independent Progress Bar

2011-12-14 Thread FlexibleLearning
If you mean an indeterminate progress indicator then yes, use an animated
gif with the judicious use of repeatCount (-1 to start and 0 to stop).

If you want a modal progress bar that works independently (as in
non-blocking) then open the modal invisible first and increment your own bar
as required.

Both will 'stall' if LC is performing a blocking and time-consuming
operation unless it is returning a trappable value (such as a 'bites
downloaded' callback) that you can use.

Hugh Senior
FLCo


Original message:

Hi all. I know this has been discussed in length in the past, but I cannot
remember what the conclusion was. Does anyone have/know about an independent
progress bar/wheel that can be used with Livecode, that will function
independently even when Livecode is running a script? I know I could kludge
it myself if I had control over the scripts I am running, but I do not.

One script is Trevor's sqlYoga which is locked, and also I am opening an SQL
database remotely, and it takes a few seconds sometimes to have that return
control. What is needed is an addon dialog created in some version of C that
we can call on to display a progress bar/spinner, but I am not sure if
anyone has made such a thing.

Seems like a really good addition to Livecode, but I don't think we are
going to see something like that soon.

Bob


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Scripter's Scrapbook (was arrowkey)

2011-12-21 Thread FlexibleLearning

A reminder that the Scripter's Scrapbook is designed to do exactly this...

www.ssbk.co.uk

or

http://www.runrev.com/store/product/scripters-scrapbook-1-0-0/

And if you want a 'Socks' category, you can have that too!

Hugh Senior
FLCo


On Dec 20, 2011, at 7:04 AM, Mike Bonner wrote:

> I saw the other input for this problem, I'm thinking that checking
> "keysdown()" for the arrow keycodes would be a more reliable solution
> depending on your needs.
>
> I swear I keep learning new things on this list and in the forums. Luckily
> I have a horrible memory so I get the bonus of relearning the same thing
> over and over!

Yeah, me too -- as one of my patients once said to me, "I have a mind like a
steel sieve." I save lots of tips from this list in a stack I've made, and
thank God for LC's find command Wish it worked for socks. (Anyone seen a
sort of a brownish-greenish one, medium, almost new?)

-- Peter

Peter M. Brigham



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: is among the words AND find words

2011-12-21 Thread FlexibleLearning
An alternative approach:

Assuming that the phrase "now is the time, for all good men" is in fld 1,
then this button script

on mouseUp
  put findWord(fld 1,"time")
end mouseUp

function findWord pContent,pStr
  if pStr is among the tokens of pContent then
return num of words of char 1 to offset(pStr,pContent) of pContent
  else return 0
end findWord

reurns 4 as expected. Similarly for 'time-bomb' and other variants.

Hugh Senior
FLCo




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: is among the words AND find words

2011-12-22 Thread FlexibleLearning
Aha. So we are now only testing 'exist', and not the word number? Since I've
already written this, I'll post it anyway...

The problem (as always when this topic is raised) is the definition of a
'word', as indicated by the additional inclusion of 'token' in the language,
and thus the definition of 'punctuation'. I believe LC inherited the
definition of a 'word' from HyperCard for compatibility.

Is $10 one word or two?
Is my_Var one word or two?
Is half-baked one word or two?
Do the same rules apply across non-English languages? And unicode langauges?

Perhaps there is no single definition and some modifiers are needed such as
'strict'...

on mouseUp
  put findWord(fld 1,"men","strict")
end mouseUp

function findWord pContent,pStr,pRule
  if pRule="strict" then
put COMMA"E&TAB&CR&":;'." into tPunctuation
  else
--| Adjust according to requirements...
put COMMA"E&TAB&CR&":;'.^&*()_-+={}[]@~#<>/|\!?" into tPunctuation
  end if
  repeat for each char L in tPunctuation
replace L with SPACE in pContent
  end repeat
  if pStr is among the words of pContent then
return num of words of char 1 to offset(pStr,pContent) of pContent
  else return 0
end findWord


Hugh Senior
FLCo


Jim Hurley wrote:

Strike most of my last message. It appears that most of the function can be
replaced with an examination of the entire text (dah)  as in:

put tWord is among the tokens of tList into tTest
return tTest

This tests the whole text; it is not necessary to test each string
containing  the word individually.

But remove the quotes and periods first.

Jim



> Thanks to all for their help with this. I learned a new key word in
"token".
>
> So far the function below handles everything reasonable I have thrown at
it, including finding "time" in the less than reasonable  text in field 1:
>
>   "Now is timely the timeless time.-for, all good."
>
> on mouseUp
>   put field 1 into tText
>   put theWordIsAmongTheWords("time", tText) into msg box --returns true
> end mouseUp
>
> function theWordIsAmongTheWords tWord, tList
>   --The quote and period are irrelevant to the test for the word, so
delete them.
>   replace quote with "" in tList
>   replace "." with "" in tList
>   put empty into tNums
>
>   --Collect all the strings that wordOffset would find.
>   repeat
>  put wordOffset(tWord,tList, last item of tNums) into tNum
>  if tNum = 0 then exit repeat
>  put the last item of tNums + tNum & comma after tNums
>   end repeat
>
>   --Test each of these strings aginst the word being tested.
>   --With the quotes and periods gone, the tokens of sting found work well.
>   repeat for each item tWordNum in tNums
>  put word tWordNum of tList into tTestWord
>  if tWord is among the tokens of tTestWord then return true
>   end repeat
>
>   --If all the tests fail, then return false
>   return false
> end theWordIsAmongTheWords
>


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Point at which speaking is stopped?

2011-12-26 Thread FlexibleLearning
I do not believe this is available, nor can I think of a reliable way to
determine the stop point. Unless the 'reading' is converted to an audio file
(which probably does not suit your purposes or you would be already
implementing one) and the use of callbacks is implemented.

You may have to apply the selectedText and rely on the User's judgement.

Hugh Senior
FLCo



James Hurley wrote:

If one executes a "revStopSpeach", is it possible to learn the point
in the text where the speaking was stopped?

Jim


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


  1   2   >