rant
We are, I know, a forgiving lot and my apologies if this offends, but please
don't waste everyone's time asking about something that you can frankly do
yourself. It says more about your attitude to others than anything else.
Bad: Can I reference a png file?
Means: I'm too lazy to try it, so
Tried it as:
put measureText(testText”,templateField) into theTextWidth
Wasn’t expecting it to work and it didn’t but should it have crashed LC?
Would it be a good idea for it to work with the templateField?
All the best
Terry
On 23 Feb 2015, at 07:35, Terence Heaford t.heaf...@icloud.com
Hugh,
Can I use an array to measure the formattedwidth of a png file?
Can LiveCode install more RAM in my computer?
Where is Elvis?
TIA/CYA/EOF,
Curry K.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to
On Sun, Feb 22, 2015 at 11:05 PM, Martin Koob mk...@rogers.com wrote:
I google something like 'regex extract
between two single quotes' then browse the results and try out the regex
statements I find on my source text. I usually find something that works
and learn a little more regex syntax
Hi Hugh,
I still believe that the very first project for every
Livecode newcomer should be a Mail List Reader.
This Mail List Reader
1) Downloads archived mail list from:
http://lists.runrev.com/pipermail/use-livecode/
2) Decompress and displays them in field
3) Store these in a custom
Ha that made me chuckle..
Re
Q.Can I reference a png file?
Surely that depends on how good the quote is?
Q.Can LiveCode install more RAM in my computer?
You bet it can.. answer install more RAM in my computer with OK
Q.Where is Elvis?
Hmm.. is that the same as Where = Elvis is true
My wife is a regular user of Let Me Google That For You: lmgtfy
http://lmgtfy.com/?q=can+I+use+a+livecode+variable+to+store+an+array
It helps ease some of the pain.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to
Nothing should cause LC to crash, so that should be reported as a bug, if you
prefer not to or don't have enough time to report it just let me know and I
would be happy to.
By default the templateField doesn't have the text properties set for textFont
or textSize, however, I found that it can
Keep in mind that a battery that is on the way out will almost always report
charging.
Bob S
On Feb 20, 2015, at 23:59 , Richard Gaskin ambassa...@fourthworld.com wrote:
Peter M. Brigham wrote:
Just out of curiosity, how *would* you do this via shell call or
the equivalent on a
I found this:
http://www.nextofwindows.com/find-out-how-healthy-your-battery-is-on-your-windows-7-laptop/
Bob S
On Feb 20, 2015, at 23:59 , Richard Gaskin
ambassa...@fourthworld.commailto:ambassa...@fourthworld.com wrote:
Peter M. Brigham wrote:
Just out of curiosity, how *would* you do
On Mon, Feb 23, 2015 at 3:11 AM, Peter Haworth p...@lcsql.com wrote:
The purpose is to remember the selectedLines before the most recent click.
Just in case you ever need this for scrolling lists fields that allow non
continguous selections, the selectedLines will not give the correct answer,
On February 23, 2015 5:16:51 AM CST, Terence Heaford t.heaf...@icloud.com
wrote:
Tried it as:
put measureText(testText”,templateField) into theTextWidth
Wasn’t expecting it to work and it didn’t but should it have crashed
LC?
Would it be a good idea for it to work with the templateField?
put replaceText(myVar, \s, space) into myVar
leaves myVar unchanged?
put replaceText(myVar, \s*, space) into myVar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
Also found this but it requires something be installed:
http://www.nirsoft.net/utils/battery_information_view.html
Bob S
On Feb 23, 2015, at 07:53 , Bob Sneidar
bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote:
I found this:
Thanks Kay, noticed that during testing.
On Mon, Feb 23, 2015, 7:36 AM Kay C Lan lan.kc.macm...@gmail.com wrote:
On Mon, Feb 23, 2015 at 3:11 AM, Peter Haworth p...@lcsql.com wrote:
The purpose is to remember the selectedLines before the most recent
click.
Just in case you ever need
try \s+
\s replaces space with space.
\s+ does a greedy replace where it tries to replace as many of the same
token as it can at one time, so it'll grab all the consecutive whitespace
and replace it with space.
On Mon, Feb 23, 2015 at 9:48 AM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:
Hi
Thanks for reminding me of “the”.
Need to test a little more but this seems to work:
function calculateLegFldWidth tText,tFontName,tFontSize
set the textFont of the templateField to tFontName
set the textSize of the templateField to tFontSize
put measureText(tText,the templateField) + 8
Hi all.
In a regex expression, “\s is supposed to work for white space. Hows come
then, given that myVar contains Availability BatteryRechargeTime
BatteryStatus Caption Chemistry”:
put replaceText(myVar, \s, space) into myVar
leaves myVar unchanged?
Bob S
put replaceText(myVar, \s, space) into myVar
leaves myVar unchanged?
Oops, typo; forget my previous post.
Of course, it is \s+, as Mike said.
Best
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,
Okay I think I have found a way to get the battery status. I checked it on my
VM of Windows 7. Your results may vary.
Try shell(WMIC Path Win32_Battery Get Availability”)
Line 3 will contain 2 if the battery is charging, 3 if running on battery, and
I am going to say 1 if the battery is fully
NVM I discovered the regex is “\s+”
Bob S
On Feb 23, 2015, at 08:48 , Bob Sneidar bobsnei...@iotecdigital.com wrote:
Hi all.
In a regex expression, “\s is supposed to work for white space. Hows come
then, given that myVar contains Availability BatteryRechargeTime
BatteryStatus
Thanks Paul.
The problem is, the file types involved are SQLite databases and there is
no standard file extension for them. The most common is .s3db but I've
seen half a dozen other extensions used.
Does the apple event approach not work any more? I thought if you
associated a file with an
Okay so two commands you can use:
shell(WMIC Path Win32_Battery GetAvailability”) will tell you if the battery
is charging or not, and I suspect if you are able to remove the battery, it
will give you something else.
shell(WMIC Path Win32_Battery EstimatedChargeRemaining”) will give you 99 if
I believe also, the contents are uneditable.
Bob S
On Feb 20, 2015, at 06:31 , Dr. Hawkins doch...@gmail.com wrote:
On Thu, Feb 19, 2015 at 7:36 PM, kee nethery k...@kagi.com wrote:
What is PDF/A?
It’s a TLA I’m unfamiliar with.
A PDF variant.
Now would be a good time for me to point out that I created a Login stack that
is modular. You pass either an array of database connection settings, or else
an sqlYoga database object name. It will take care of the rest. If a login
table does not exist in your current database it will create
On 23/02/15 12:57, FlexibleLearning.com wrote:
rant
We are, I know, a forgiving lot and my apologies if this offends, but please
don't waste everyone's time asking about something that you can frankly do
yourself. It says more about your attitude to others than anything else.
Bad: Can I
It appears that when the battery is fully recharged, the Availability is still
2, but the BatteryRechargeTime becomes empty instead of a number. Will that do
it for you?
Bob S
On Feb 23, 2015, at 09:08 , Bob Sneidar
bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote:
Okay I
On 23/02/15 14:59, Curry Kenworthy wrote:
Hugh,
Can I use an array to measure the formattedwidth of a png file?
Can LiveCode install more RAM in my computer?
Where is Elvis?
TIA/CYA/EOF,
Curry K.
What worries me is that when I click on the Documentation icon on the
bar at the top I
Just noticed that LC has a revCommitDatabase and a revRollbackDatabase
command but no command that issues an SQL BEGIN command.
Not a big deal since I always use revExecuteSQL to execute BEGIN, COMMIT,
and ROLLBACK statements but curious as to why there isn't a built in
revLockDatabase command or
Sorry Graham, missed the beginning of this thread so didn't realize that's
where you started. For what it's worth, I'm pretty sure none of my users
have ever printed the manual.
On Mon Feb 23 2015 at 1:01:24 AM Graham Samuel livf...@mac.com wrote:
Hi Peter
Thanks for the thought. Your
I found the following handler on the forum for launching an OSX application
when an associated file is double clicked
on appleEvent pClass,pID
local tFiles
if pClass is aevt and pID is odoc then
request appleEvent data
put it into tFiles ## files OS is requesting your
On Mon, Feb 23, 2015 at 1:00 AM, Graham Samuel livf...@mac.com wrote:
But meanwhile, for my personal knowledge database, I am trying to
understand how to generate a PDF which has exactly the same dimensions as
the object which is being ‘printed’
I currently have this:
-- print
Hi Peter
Thanks for the thought. Your suggestion brings us full circle. We started by
taking screen shots as you suggested (on a Mac, so using cmd-shift-4), but
found that when printed they were a bit fuzzy due to the 72 dpi resolution, so
we were looking of a way to make them sharper. There
Interesting too, because Applescript is a kind of offshoot of HyperTalk. It was
my impression that Applescript was a way to get the whole operating system and
applications to work like Hypercard did. It was a great idea, and is still
incredibly useful, but the severe downside to Applescript is
Just use “there is a file”
Bob S
On Feb 21, 2015, at 09:21 , Graham Samuel
livf...@mac.commailto:livf...@mac.com wrote:
2, When you print to a pdf file and use a name you’ve used before,
the engine doesn’t offer a way of telling the user that this is
so, and offering the option to overwrite
35 matches
Mail list logo