Put the handlers in the card script of the main stack. When opening the
mainStack the card will receive the messages, but not when the substacks are
opened. The card of the mainStack is not in the message path of the substacks.
Alternately, you can put the same handlers in the substacks stack
Andrew Kluthe wrote:
I'm trying to run some cleanup handlers to delete temporary files
when my standalone exits. I was wanting to now if there was a way
to trap when an application is quit via ending the process abruptly
in the task manager on Windows (in my case 7).
I was hoping the
Yep, and that's no problem either, but I really want to minimize the length
of time these could sit around on a machine between uses.
I am decrypting a sqlite db to an obscure temp folder on launch. I am doing
this in lieu of being able to use something like sqlcipher with livecode
and my sqlite
Yep, totally forgot a subject here after reading over my content. Jeez...
On Fri, Feb 6, 2015 at 2:37 PM, Andrew Kluthe and...@ctech.me wrote:
Hello Ya'll,
I'm trying to run some cleanup handlers to delete temporary files when my
standalone exits. I was wanting to now if there was a way to
Hello Ya'll,
I'm trying to run some cleanup handlers to delete temporary files when my
standalone exits. I was wanting to now if there was a way to trap when an
application is quit via ending the process abruptly in the task manager on
Windows (in my case 7).
I was hoping the shutdownRequest
I am using several Data Grid objects, as tables, in a standalone. When I try to
manually enter data into fields in the data grid object it works alright as
long as the main stack and the substacks are built as a single file, but not
when I try to build the standalone with the substacks as
As mentioned in the past, the easiest way around this is to have a mainstack
that calls your actual application stacks. Password protect the app stacks if
you like to protect the code. That way the app stacks are not actually a part
of the read-only application, they are like support files that
Mark Wieder wrote:
Richard-
Thursday, February 5, 2015, 9:38:56 AM, you wrote:
(as Mark Wieder is probably typing a reply to this as I'm writing
g)
chortle
Was I wrong? :)
Even just in principle?
After all, both you and Kyle are partially to blame for my paranoia:
with all that I've
There are some advantages to using substacks methinks. The monistic
automatically “knows” about the substacks without any extra coding or adding
the stacks to the main stack files property. Also, I am not sure that graphics
loaded in the main stack will be accessible to any stacks that are not
On 2/6/2015 1:38 PM, Bob Sneidar wrote:
Not sure but if you password protect the main stack, aren’t the
substacks inaccessible as well?
Nope. You have to protect each one separately.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software |
On 2/6/2015 12:49 AM, Brahmanathaswami wrote:
If you put any preopenstack, resizestack, close stack etc. script in the
mainstack script.. these will be triggered by the same action in a
substack.
What is the best way to avoid this?
I usually do the thing where you put the open* handlers into
On Fri, Feb 6, 2015 at 12:43 PM, Richard Gaskin ambassa...@fourthworld.com
wrote:
Security is one of those funny areas in life where the more I learn the
more I feel I don't really know much at all, or at least not as much as the
160+ IQ hacker whose botnet is trying to break into my systems.
Force quit is force quit. No way around that. If the OS allowed the app to do
some cleanup, it wouldn’t be forcing anything.
Bob S
On Feb 6, 2015, at 12:37 , Andrew Kluthe and...@ctech.me wrote:
Hello Ya'll,
I'm trying to run some cleanup handlers to delete temporary files when my
I didn’t take it as overreactive. But I have always felt that security measures
should be tempered with the value (or if you like vulnerability) of what is
being secured. You wouldn’t want to institute Fort Knox for example to protect
your piggy bank. Neither would you necessarily need bit
DOH, thats what you said above, though this might be a good time for a
feature request. It would be nice if inclusions were searched for BEFORE
the option to disconnect substacks into seperate stack files, it would make
building splashstack.
On Fri, Feb 6, 2015 at 2:32 PM, Mike Bonner
Unfortunately the singlethreadedness of the engine prohibits any kind of cron
process, which is what you need. You may be able to shell it out though. Not
sure of the syntax, and I would look it up for you, but I wouldn’t want to rob
you of the joys of paging through lots of nonsense to get the
As my stacks are targeting windows only for the moment, cron isnt really an
option here either. I do appreciate the follow up though.
On Fri, Feb 6, 2015 at 3:27 PM, Bob Sneidar bobsnei...@iotecdigital.com
wrote:
Ah what the hell.
Ah k. Yep. There is a behavior script that the datagrid is linked to, i bet
it goes wonky when things are separated. If you put the behavior of
group.. whatever the group is that is your datagrid, and its in the
toplevel of the main stack it says button id 1005 of stack
revDataGridLibrary
Ah k.
it depends
got it... for me it's not about protecting anything..
it's about..eg.
on resizestack x,y
set the rect of some grc to the rect of this card
# and other tricks here relating to dynamic geometry changes...
end resize stack
This gets triggered by a substack that does not have
Yeah, adding another running process seems like the only option I have for
this (if its important enough case to warrant it).
My livecode standalone is actually a launcher and updater for a node-webkit
(http://nwjs.io/) application, so I am already adding extra running
processes to the three
The problem with letting the compiler handle this is that I cannot access the
Data Grid Template stack from the main stack if it is not a part of the engine
file. The standalone setup dialog is somewhat confusing in the sense that it
seems as if it is possible to choose which substack files to
Thanks for pointing me in this direction. I have read this lesson, and I have
also made the data grid templates dud, although there should be no need for it,
as the compiler does include the correct data grid template as a substack. The
problem arises when I choose to move substacks into
Brahmanathaswami wrote:
it depends
got it... for me it's not about protecting anything..
it's about..eg.
on resizestack x,y
set the rect of some grc to the rect of this card
# and other tricks here relating to dynamic geometry changes...
end resize stack
This gets triggered by a
Tore, read this.
http://lessons.runrev.com/m/datagrid/l/7339-what-do-i-need-to-do-to-deploy-a-standalone-with-a-data-grid
Specifically the part of bulding with a datagrid using a splashstack. The
easiest way to get functional datagrids that are parts of seperate stack
files is to incuded a
Right, already doing some of these goodies. Was just looking to round out
my current method by covering all the bases possible. It's not a must have,
just a would-be-nice kinda thing.
On Fri, Feb 6, 2015 at 2:49 PM, Richard Gaskin ambassa...@fourthworld.com
wrote:
Andrew Kluthe wrote:
I'm
Ah what the hell.
http://www.maclife.com/article/columns/terminal_101_creating_cron_jobs
Bob S
On Feb 6, 2015, at 13:24 , Bob Sneidar
bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote:
Unfortunately the singlethreadedness of the engine prohibits any kind of cron
process,
If your concern is that someone might poke around, find, examine the old
data, you could encrypt it before writing it to the temp folder.
Just a thought -
Phil
On 2/6/15 1:29 PM, Andrew Kluthe wrote:
As my stacks are targeting windows only for the moment, cron isnt really an
option here
On Fri, Feb 6, 2015 at 3:40 AM, William Prothero proth...@earthednet.org
wrote:
I expect the splash app model is the way to go.
Only if you never ever plan on deploying to iOS or you don't believe that
OS X's iOSification will get to the point that the same restrictions that
prevent splash
Yeah, sorry for the wasted bandwidth, because there was no subject all the
replies weren't threaded properly so I didn't see a couple of the other
responses - now I see you've basically got it covered.
On Sat, Feb 7, 2015 at 8:25 AM, Andrew Kluthe and...@ctech.me wrote:
I am. ;) It works
There are cron methods in Windows too. Use the AT command in a shell script.
Bob S
On Feb 6, 2015, at 13:29 , Andrew Kluthe
and...@ctech.memailto:and...@ctech.me wrote:
As my stacks are targeting windows only for the moment, cron isnt really an
option here either. I do appreciate the follow
Yeah, the no subject thing was very regrettable. Totally meant to fill it
in, just got a but button happy after I finished my email text. For some
reason, I write my message and then give it a subject to frame it best.
Kind of backwards.
On Fri, Feb 6, 2015 at 6:40 PM, Bob Sneidar
OK, SQLite DB in Valentina Studio I test the following:
SELECT something FROM aTable WHERE anotherThing REGEX '[acdehkiouBW]{4,6}
Test'
works fine, I get the data I'm looking for. Same SQLite DB accessed via LC,
selecting and updating all sorts of tables and columns, no problem until I
run the
Kay:
Thanks for offering your expertise. What I’m thinking is to have a main
application stack. then the user will be able to add stacks to enhance the
software. I’m thinking of a mySQL database that is queried, that lists
available enhancements and their location. The user would get a menu of
Ah, thx richard, but didn't know it was only the main, but it makes sense.
So, if you want to save a substack as a separate stack file, you'd have to
a) set its mainstack property to itself, and b) set the path and filename
you wish to save it to before you save it, otherwise the save as dialog
You have to create a user function for it to work. REGEXP is there in
sqlite, but all it does is refer to a function you create.
From this page:
http://stackoverflow.com/questions/5071601/how-do-i-use-regex-in-a-sqlite-query
is this. If you can figure out how to execute this with revexecutesql
Richard Gaskin:
...break the utility of the archives
True! I was just trying to view those.
Succeeded by selecting the previous message's link and then using Tab
and Enter. (Win 7 Firefox.)
Best wishes,
Curry K.
___
use-livecode mailing list
Thanks Mike, I guess Valentina Studio must include that function
automatically because I certainly didn't add it. Thankfully I've been able
to implement a work around, not as powerful as regex, but it works.
On Sat, Feb 7, 2015 at 12:38 PM, Mike Bonner bonnm...@gmail.com wrote:
You have to
NVM found it. We were just talking about putting preopenstack handlers in the
card script of the main stack so it doesn’t get triggered inadvertently. DOH!
Bob S
On Feb 6, 2015, at 16:56 , Bob Sneidar bobsnei...@iotecdigital.com wrote:
Is there a message that gets sent when a stack is
For simple, small files this could probably be done with livecode alone as
it exists today.
For large file uploads where it would block the entire process while it
uploads, maybe not so much.
I've got high hopes for being able to wrap all kinds of dll's and sdks in
livecode in the future when
Either that or having the possibility to choose which substacks to include in
the application and which substacks to save as individual stacks would help.
Tore
6. feb. 2015 kl. 23.11 skrev Mike Bonner bonnm...@gmail.com:
DOH, thats what you said above, though this might be a good time for
I am. ;) It works pretty good, I was just trying to button up this one
specific pitfall.
On Fri, Feb 6, 2015 at 6:24 PM, Kay C Lan lan.kc.macm...@gmail.com wrote:
On Sat, Feb 7, 2015 at 5:18 AM, Andrew Kluthe and...@ctech.me wrote:
The DB is only about 250 mb, but still too much to do
IC so then the suggestion of encrypting the data before writing it to the HD is
probably a good idea. It’s a simple thing to do:
encrypt theData using aes128 with theSeedValue
put it into theEncData
get empty -- for safe measure
and the seed can be anything you want it to be.
Bob S
On Feb 6,
filename does not seem to be a property of a stack. If you mean the first two
fields in the Stack Properties palette, then yes it is named.
Bob S
On Feb 5, 2015, at 17:00 , Mike Bonner
bonnm...@gmail.commailto:bonnm...@gmail.com wrote:
Silly question, but.. the filename of the stack is set,
set the vis[ible] of stack x to false
??
On 2/6/15 4:56 PM, Bob Sneidar wrote:
Is there a message that gets sent when a stack is hidden? I have a stack that
is getting hidden every time I go to one of it’s substacks. I’ve used the find
command on my scripts to search for “hide stack” or
Yeah, it's pretty similar. I still kind of run the risk of not being able
to tell it when to delete the file as this is going to be a long running
application (one that stays open most of the day, or days? it's a parts
lookup and interchange program) on the users system and I wouldn't be able
to
On Thu, Feb 5, 2015 at 7:02 AM, Graham Samuel livf...@mac.com wrote:
Thanks Jacque, a gold mine of information as usual. But it’s pretty
obscure, isn’t it? All this started for me because I wanted to test if two
numbers were equal, knowing that they probably weren’t exactly equal to the
last
Bob Sneidar wrote:
filename does not seem to be a property of a stack.
The filename is a property of mainstacks. For substacks use the
effective filename.
For stacks that have been newly created, or downloaded over the Web, the
filename will be empty.
--
Richard Gaskin
Fourth World
...break the utility of the archives (see the bottom here):
http://lists.runrev.com/pipermail/use-livecode/2015-February/date.html
Could you please consider adding a title to the next message in an
untitled thread?
Thanks -
--
Richard Gaskin
Fourth World Systems
Software Design and
On Sat, Feb 7, 2015 at 5:18 AM, Andrew Kluthe and...@ctech.me wrote:
The DB is only about 250 mb, but still too much to do anything comfortably
in memory or stored in a custom property on the machines this is intended
to run on (Older machines sitting in dealership maintenance departments).
It stays encrypted on disk, but the file is being obscured away in a random
temp folder *during runtime only* in a decrypted state. ;)
I was just trying to make cleanup on exiting a little more foolproof than I
have it already.
I can't even use lc's built in encryption without hitting out of
Is there a message that gets sent when a stack is hidden? I have a stack that
is getting hidden every time I go to one of it’s substacks. I’ve used the find
command on my scripts to search for “hide stack” or “hide this” but there is no
place this command exists that ought to trigger it. The
Richard Gaskin wrote:
1) If the mainstack is a single card, just put the handler in the card
script.
2) If the mainstack has multiple cards, put the handler in a common
group script.
3) If neither of those are viable in your setup, you could add a check
to make sure the long name of me
I'm already doing this, I've already explained why LC's built in encryption
wont work for me. Nor do I need it to work. Nor do I need further advice on
the rest of my implementation that I didn't come seeking advice on. I've
said several times that I came looking for information on a specific
I think RunRev are being a bit naughty again and not keeping their
user-base informed
. . . whither the HTML5 project?
As Canonical release their Ubuntu phone which uses apps written in HTML5
this becomes even more pressing.
http://www.bbc.com/news/technology-31148661
Richmond.
Not sure if there is aa appropriate message but maybe you could check for
these files on startup and delete them then?
Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html
On Fri, Feb 6,
Hi Brahmanathaswami,
It isn't obligatory to use substacks. You could use two mainstacks
simultaneously. Just make sure to include the additional mainstacks as
files when you build a standalone.
With two mainstacks, the scripts in one stack won't be triggered by
messages from the other. If
I submitted 2 apps on the same day last week. Both apps are identical in every
way except for the data set. One was approved, one was rejected???
Just an FYI on the inconsistency of the review process.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
On Feb 4, 2015, at 6:48 PM, Dr. Hawkins wrote:
Can you give us some estimates (or actual numbers) for:
- Number of objects
Lots.
Lots and lots and lots.
:)
I don't even know how to guess.
Looks like generally 60-200 per page on the main entry stack of 12 cards,
with about 1200
When inserting and selecting BLOB data in an SQLite database, Livecode
applies some sort of encoding/decoding thus ensuring that only Livecode
applications can access it.
In LC 6.6, a new revOpenDatabase option, binary, was provided for SQLite
databases which eliminates the encoding. Personally,
59 matches
Mail list logo