Re: Stub Stack

2015-01-18 Thread J. Landman Gay
On 1/18/2015 1:13 PM, Ralph DiMola wrote: What is the best way to pass data the main stack? The stub stack show a splash screen then does a "Go Stack mainstack.livecode" and then closes itself. I could write text file in the stub and read it in from the main stack, but is there a better way to do

Re: How to access a file on a remote computer

2015-01-18 Thread Brahmanathaswami
I have a number of apps that talk to a server over the LAN I used to always keep this appleScript in a customProp tell application "Finder" mount volume "afp://192.142.103.8/Varuna" as user name "MyName" with password "MyPassword" end tell and either hardwire my user name and password to the

Re: How to access a file on a remote computer

2015-01-18 Thread Kay C Lan
On Mon, Jan 19, 2015 at 11:16 AM, Peter Haworth wrote: > I'm not > using LC 7 yet but I managed to get around that one. > > Pete, thanks for the shell 'mount' pointer. I didn't get it to work first try but I'm sure it will be the solution. What version of LC are you using. I've not done anything

Re: How to access a file on a remote computer

2015-01-18 Thread Peter Haworth
Hi Scott, Thanks for the tip. That's actually where I started with all this. Please bear with me on this somewhat lengthy explanation. I made this player as kind of an iTunes lite so I could just play tracks from my iTunes library without the extra bloat of iTunes. First time it runs, it asks f

DataGrid Event for change of line highlighted?

2015-01-18 Thread JOHN PATTEN
HI All, Is there a built in datagrid event that occurs when the user arrows down in a datagrid list and the row is highlighted? on dataGrid-lineHighlighted do something end dataGrid-lineHighlighted Thank you! ___ use-livecode mailing list use

Re: Image caching not releasing images in 7.0.7 (rc2)

2015-01-18 Thread Richard Maring
SOLVED!! Found that I had an image holder in another card in another stack that held the same source file name as the one that was not being released. Set it to "" and the refresh in the other stack started working again. Even though the other stack was closed, the image cache still new it was t

Re: How to access a file on a remote computer

2015-01-18 Thread Scott Rossi
Hi Pete: Many years ago I ran into path issues with players and (from my notes) wound up with a workaround that involved using the “full” file path like this: set fileName of player 1 to \ "file:///volumes/primary/users/dude/really_long_filename_here.mp3” I also had in my notes to specificall

Re: How to access a file on a remote computer

2015-01-18 Thread Peter Haworth
I'm almost there. The reason I'm looking into this is because I'm setting the filename of a player control to the name of a mp3 file on a remote computer. I thought I had it all working but the player control does not like filenames with an ampersand in them. I tried escaping the ampersand with

Re: Image caching not releasing images in 7.0.7 (rc2)

2015-01-18 Thread Richard Maring
Staring at code so long 1's look like 7's... Sent from my iPhone > On Jan 18, 2015, at 2:35 PM, Richmond wrote: > >> On 18/01/15 21:38, Richard Maring wrote: >> Hi, >> >> The following is built on Windows 8. >> >> I have a referenced image in an image holder that the user can click a >> '

Re: Image caching not releasing images in 7.0.7 (rc2)

2015-01-18 Thread Richmond
On 18/01/15 21:38, Richard Maring wrote: Hi, The following is built on Windows 8. I have a referenced image in an image holder that the user can click a 'Delete' button that deletes the image from the hard drive. The user can then click a button to select a different image from their hard driv

Re: bringing a field of a sub-sub group to the for for editing

2015-01-18 Thread Peter M. Brigham
On Jan 17, 2015, at 10:40 AM, Dr. Hawkins wrote: > I have fields in generated pages which are editable. > > The pages are constructed by placing groups, which in turn all belong to > another (turned out that, at least in the IDE, it is far, far faster to > delete that one group than to loop & del

Re: Re: extracting the thumbnail from digital photos?

2015-01-18 Thread Alejandro Tejada
Hi Malte, After reading this document: http://www.media.mit.edu/pia/Research/deepview/exif.html looks like EXIF Thumbnail data is stored as JPEG or TIFF, being JPEG the most common choice by Digital Camera manufacturers. Hope this helps. Al -- View this message in context: http://runtime-re

Image caching not releasing images in 7.0.7 (rc2)

2015-01-18 Thread Richard Maring
Hi, The following is built on Windows 8. I have a referenced image in an image holder that the user can click a 'Delete' button that deletes the image from the hard drive. The user can then click a button to select a different image from their hard drive to display in the same image holder. The

Re: Re: extracting the thumbnail from digital photos?

2015-01-18 Thread Malte Brill
Hi Richard, how exactly does this only extract the thumbnail portion of a huge (10 MB) photo from disk and use it in an image object? (I guess I should have made myself clearer, I am talking about the thumbnail image that is stored in the EXIF data of the image). My problem is that it takes "fo

acceleratedRendering and transparency

2015-01-18 Thread Ralph DiMola
I have a scrolling field. The list has every other line's backgroundcolor set to (100,100,100)/(125,125,125). The background image is visible behind the field. This was dog slow on some mobile devices. I turned on acceleratedRendering and the field scrolls is as fast as any native coded app. Great!

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Peter Haworth
On Sun, Jan 18, 2015 at 10:50 AM, Ralph DiMola wrote: > Peter, > Is listing these is an enhancement for lcStackBrowser? > It's already there. If you right click a card in the display, there's an option to place a group with subitems that show the available unplaced groups noted as "(Unlinked)"

Stub Stack

2015-01-18 Thread Ralph DiMola
What is the best way to pass data the main stack? The stub stack show a splash screen then does a "Go Stack mainstack.livecode" and then closes itself. I could write text file in the stub and read it in from the main stack, but is there a better way to do this? Thanks Ralph DiMola IT Director Eve

RE: Garbage Collection/Old Data in stack

2015-01-18 Thread Ralph DiMola
Thanks All! You folks are the best. This all makes sense! I ran Peter's script and viola the stack is 9kb. The revUnplacedGroupIDs properties should be documented. What other useful undocumented properties are out there? My philosophy was to create a card just to hold all the groups that I might

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Roger Guay
Aha, that makes sense! Thank you, Scott. Cheers, Roger > On Jan 18, 2015, at 11:13 AM, Scott Rossi wrote: > > I have to ask . . . how does one end up with unplaced groups? > > Once a group has been placed on a card and is then removed from all cards on > which it appeared, it is unplaced.

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Scott Rossi
I have to ask . . . how does one end up with unplaced groups? Once a group has been placed on a card and is then removed from all cards on which it appeared, it is unplaced. The group remains in the stack so it can be used again. Regards, Scott Rossi Creative Director Tactile Media, UX/UI

Re: How to access a file on a remote computer

2015-01-18 Thread Peter Haworth
Thanks Kay and Kee, your suggestions put me on the right track. Kay: there is a mount command available though Terminal but I've never used it so don;t know if it would do what you're suggesting. Pete lcSQL Software Home of lcStackBrowser

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Peter Haworth
Just tried the following script in a button in your Test3 stack file: on mouseUp get the revUnplacedGroupIDs of stack "GolfDay FL" repeat for each line rID in it delete group id rID of stack "GolfDay FL" end repeat end mouseUp The saved the stack. It's now 9kbytes in size. Pete

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Peter Haworth
Hi Ralph, There's an undocumented property of a stack named revUnplacedGroupIDs. See what it shows for your stack You should be able to repeat through the lines in that property and delete the group ids listed in it. Pete lcSQL Software Home of lcStackBrowser

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Roger Guay
I have to ask . . . how does one end up with unplaced groups? Cheers, Roger > On Jan 18, 2015, at 9:19 AM, Scott Rossi wrote: > > There isn’t any list of unplaced groups. The reason I was able to tell the > groups were not placed is because all visible objects had been removed from > the sa

Re: extracting the thumbnail from digital photos?

2015-01-18 Thread Richard Gaskin
Malte Brill wrote: > did anyone of you try to extract a thumbnail image from > digital photos and use those in a liveCode app? Reason I > am asking is that I want to display downsized versions > of digital photos (many, average filesize 10MB) and > sizing those down is not pracicable as things st

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Scott Rossi
There isn’t any list of unplaced groups. The reason I was able to tell the groups were not placed is because all visible objects had been removed from the sample stack. There Go to the Object menu under Place Group to see groups that can be placed on the current card. Anything in the list th

Anyone else notice the progress bar flickering in 7.0.2 rc 1 build 10024

2015-01-18 Thread Shawn Blc
Anyone else notice the progress bar flickering in 7.0.2 rc 1 build 10024 or is it just me? I'm on OSX, compiled a little app for windows and mac, and the progress bar flickers on both. ___ use-livecode mailing list use-livecode@lists.runrev.com Please vis

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Hausser Jacques
Look at item “place groups” in object menu (and to delete groups, don’t use “remove group” but place the group somewhere, select it and edit -> clear). > Le 18 janv. 2015 à 16:19, Dr. Hawkins a écrit : > > On Sat, Jan 17, 2015 at 10:06 PM, Scott Rossi > wrote: > >> You have 20+ unplaced group

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Dr. Hawkins
On Sat, Jan 17, 2015 at 10:06 PM, Scott Rossi wrote: > You have 20+ unplaced groups present in the stack, many of which contain > images, which is why you have 2+ MB in file size. OK, how do we find unplaced objects? I think I have a few megs in my main project. -- Dr. Richard E. Hawkins, E

extracting the thumbnail from digital photos?

2015-01-18 Thread Malte Brill
Hi, did anyone of you try to extract a thumbnail image from digital photos and use those in a liveCode app? Reason I am asking is that I want to display downsized versions of digital photos (many, average filesize 10MB) and sizing those down is not pracicable as things stand atm... Did anybod

Re: How to access a file on a remote computer

2015-01-18 Thread Kay C Lan
Kee, that had me confused and I looked a little deeper. It appears that I've just been lucky in the simple URL way I've been accessing files across my LAN - this is as tested on OS X 10.9.5. The URL method I posted earlier, and the open file for read methods do NOT seem to work unless the actual

Re: Multilingual UI

2015-01-18 Thread Graham Samuel
I very much like Kee's approach, though there is an issue about populating the list of texts for the elements. I was involved in a project (which in fact was never finished) where we had to get all our texts translated from English into a language we (the developers) didn't know, Welsh. So we se