Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Richard Gaskin
Thanks for posting the stack, Ralph. I love a good mystery. There are unplaced background there: Exit BottomBarG NavScreen1GroupC NavScreen1GroupD NavScreen1GroupE MenuGrp NavScreen1GroupA NavScreen1GroupB LogoG1 BG2G BG3G BG6G BG4G Browser BG5G Back NextG Picker Picker EmailNote -- Richard G

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Scott Rossi
You have 20+ unplaced groups present in the stack, many of which contain images, which is why you have 2+ MB in file size. Not sure if there’s a programmatic way to remove them, but if you place each one and then delete it, you’ll eventually remove them from the stack. Regards, Scott Rossi Cr

RE: iOS provisioning profile and livecode

2015-01-17 Thread Ralph DiMola
Download the certificates(dev and distribution) then click on them and they will install. Then in the Xcode prefs refresh all the provisioning profiles. There is a circle arrow thingy to refresh. Make sure you use the same login credentials as your Apple dev account. They should then be in the iOS

RE: Garbage Collection/Old Data in stack

2015-01-17 Thread Ralph DiMola
There are no objects except for the 1 blank card. I wonder how many other stacks out there are experiencing this creep of orphan object/properties. I just happen to find them because I did not want to redo all my standalone setting for mobile splash pages when creating a stub stack. I just deleted

Re: Multilingual UI

2015-01-17 Thread kee nethery
> On Jan 17, 2015, at 1:54 PM, Ethan Lish wrote: > > Is there a defined approach, tool or general guidance on how best to design & > develop a livecode app to support a multilingual user interface. My approach was, for each text element (button, field), to create a custom property named for

Re: How to access a file on a remote computer

2015-01-17 Thread kee nethery
If the client machine can see the file in the Finder while it sits on the server machine, an easy way to get it’s path is to open Terminal and drag it’s icon into Terminal. Terminal will write out the path. You can copy the path and use it as long as the client can see the server in the Finder.

Re: How to access a file on a remote computer

2015-01-17 Thread Kay C Lan
On Sun, Jan 18, 2015 at 12:19 PM, Dr. Hawkins wrote: > I still end up > with files created by my assistant on my machine being unwritable by me, > and vice versa. > Where on the machine is the file being stored so that it's accessable by both of you? Shared?, Public? One problem can be, if you h

Re: How to access a file on a remote computer

2015-01-17 Thread Dr. Hawkins
On Sat, Jan 17, 2015 at 7:37 PM, Kay C Lan wrote: > Secondly, rather than using localhost you should be using Volumes. > Also, OSX can be downright schizophrenic about the permissions, with conflicting ways of doig things. My macs got added to unix networks, with preexisting groups & users. On

iOS provisioning profile and livecode

2015-01-17 Thread Dr. Hawkins
I can't find coherent and current instructions for the provisioning profile for iOS and livecode. I've renewed my paid iOS developer status. I supposedly have the certificates, and xcode preferences->accounts shows my accounts. Viewing details shows signing identities for iOS development and fo

Re: How to access a file on a remote computer

2015-01-17 Thread Kay C Lan
Pete two things I notice. Firstly as the file path is enclosed in quotes there is no need to %20 the spaces. Secondly, rather than using localhost you should be using Volumes. So for me, using my hometheatre iMac as a test bed, with a 'a SHARED test file.txt' sitting in the Shared folder of the

Re: screen math, stacks, fields, and effective screenRect

2015-01-17 Thread Paul Hibbert
It depends if your stack has a Stack Menu or not, try… put (the top of this stack) - (the effective top of this stack) -- With no Stack Menu =22 with a Stack Menu = 0 Paul > On Jan 17, 2015, at 5:40 PM, Dr. Hawkins wrote: > > On Sat, Jan 17, 2015 at 4:17 PM, Scott Rossi wrote: > >> The d

Re: Storing and saving a setting in a stand alone

2015-01-17 Thread Kay C Lan
On Sun, Jan 18, 2015 at 3:43 AM, Richmond wrote: I can imagine a scenario where somebody uses an app both at work and at > home and for > security reasons carries the app around in their pocket on a USB > flash-drive or an SD card > and wants the data to ride with it. > Not sure that makes sense

Re: App wrapper and error messages

2015-01-17 Thread William Prothero
Andy: Tnx for the links. B, they refer to version 2.5 and I have version 3, which I would have thought fixed this by now. I’ve got a query into the developer, so I’ll see what happens. Best, Bill > On Jan 17, 2015, at 10:36 AM, AndyP wrote: > > Hi Bill, there was a problem with AppWrap

Re: screen math, stacks, fields, and effective screenRect

2015-01-17 Thread Dr. Hawkins
On Sat, Jan 17, 2015 at 4:17 PM, Scott Rossi wrote: > The difference you're seeing is likely due to the height of the stack > including its titlebar versus the height of the card region only of the > stack. > > You might try seeing the entries in the dictionary for localLoc and > globalLoc, used

Re: screen math, stacks, fields, and effective screenRect

2015-01-17 Thread Scott Rossi
The difference you're seeing is likely due to the height of the stack including its titlebar versus the height of the card region only of the stack. You might try seeing the entries in the dictionary for localLoc and globalLoc, used for converting global positions to local, and vice versa. Reg

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Dr. Hawkins
On Sat, Jan 17, 2015 at 3:27 PM, Richard Gaskin wrote: > These orphaned images are making my standalones larger than they should be. >> This is more of a problem for mobile than desktop. I guess it's time for a >> Bug Report. >> > > Maybe. Any unplaced backgrounds in the stack file? > > Did you

screen math, stacks, fields, and effective screenRect

2015-01-17 Thread Dr. Hawkins
I'm trying to figure out screen math to set the top of a helper stack to the top of a field, and the like. The math doesn't seem to make sense. It would *seem* to me that the top of this stack + the top of me should give the top of the field in screen coordinates. But it doesn't So I tried

Re: Extended Log Format or custom?

2015-01-17 Thread Richard Gaskin
Mark Wieder wrote: Saturday, January 17, 2015, 12:13:49 PM, you wrote: Right now most of the log analysis done with these apps is done in other LiveCode-based tools, so it would seem the choice is easily in favor of a custom format optimized for parsing and sorting in LC. But in all fairness

Re: Extended Log Format or custom?

2015-01-17 Thread Mark Wieder
Richard- Saturday, January 17, 2015, 12:13:49 PM, you wrote: > Right now most of the log analysis done with these apps is done in other > LiveCode-based tools, so it would seem the choice is easily in favor of > a custom format optimized for parsing and sorting in LC. > But in all fairness, it's

Re: Storing and saving a setting in a stand alone

2015-01-17 Thread William Prothero
It wouldn’t occur to me to save data within the executable code (UI) area. For my purposes, I’d only save data in a separate file, mysql light db, or online mysql db. Apple has a folder in the Library folder called “Application Support”. That’s where I put preferences, licenses, and stuff that d

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Richard Gaskin
Ralph DiMola wrote: Thank for all the suggestions. Compact did nothing. The properties and images are from long gone cards. They were not rev stack properties. Other properties are for fields and buttons that were on the deleted cards. This stack now has one empty card and it is 2MB. I know I cou

RE: Garbage Collection/Old Data in stack

2015-01-17 Thread Ralph DiMola
Thank for all the suggestions. Compact did nothing. The properties and images are from long gone cards. They were not rev stack properties. Other properties are for fields and buttons that were on the deleted cards. This stack now has one empty card and it is 2MB. I know I could just recreate it bu

Re: Getting the URL out of

2015-01-17 Thread Peter Haworth
I can't resist posting a regex solution. Have to admit I'm not entirely clear about what the OP wants to achieve, but I think it's to get hold of a random URL from an xml file so here goes. lcSQL_GetRegexMatches is a library function I use all the time to find all the matches of a regex in a strin

Multilingual UI

2015-01-17 Thread Ethan Lish
LiveCode Gurus, Is there a defined approach, tool or general guidance on how best to design & develop a livecode app to support a multilingual user interface.  Of course a simple technique would be to centralize all text strings a select the string to present. This assumes a uniform text width

Re: Extended Log Format or custom?

2015-01-17 Thread Dick Kriesel
> On Jan 17, 2015, at 12:13 PM, Richard Gaskin > wrote: > > What would you do? I'd skim through the ELFF doc for something to try. How about using ELFF fields date and time? "Dates are recorded in the format -MM-DD where , MM and DD stand for the numeric year, month and day respecti

How to access a file on a remote computer

2015-01-17 Thread Peter Haworth
Looking for some advice on how to access a file on a remote computer. Both computers in question are on OSX. I'm getting file locations out of a text file on the local computer that look like URLs, e.g. "file://localhost/" with spaces replaced by %20, etc. Although the URL includes "localhost",

Re: Extended Log Format or custom?

2015-01-17 Thread J. Landman Gay
On 1/17/2015 2:13 PM, Richard Gaskin wrote: Right now most of the log analysis done with these apps is done in other LiveCode-based tools, so it would seem the choice is easily in favor of a custom format optimized for parsing and sorting in LC. But in all fairness, it's usually a good move to a

Re: Storing and saving a setting in a stand alone

2015-01-17 Thread Jerry Jensen
On Jan 16, 2015, at 7:22 PM, Richard Gaskin wrote: > Among those who've never used HyperCard, how many people would think of > saving data bound to the UI? Harumph. Programs go in the card reader and data goes on the tape drive. ___ use-livecode mai

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Mark Wieder
Ralph- Saturday, January 17, 2015, 11:11:40 AM, you wrote: > How can I clean up this stack? Are there other orphans in my main stack and > other stacks that I don't know about? Am I missing something here or is > there some stack corruption that has creeped in over time? Did you try compacting t

Re: Storing and saving a setting in a stand alone

2015-01-17 Thread Mark Wieder
Richard- Saturday, January 17, 2015, 11:40:48 AM, you wrote: > Mark Rauterkus wrote: >> Q asked: Among those who've never used HyperCard, how many people would >> think of saving data bound to the UI? >> >> My $.02: LOTS and LOTS of mere mortals. > I can see the attraction to it, esp. in cases w

Extended Log Format or custom?

2015-01-17 Thread Richard Gaskin
I'm adding more extensive logging to some server apps, and it would be helpful to hear your opinions about formats. I'm tempted to use the Extended Log Format commonly used by Apache and many other server apps: http://www.w3.org/TR/WD-logfile.html I like the attraction of being able to say th

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread J. Landman Gay
On 1/17/2015 1:11 PM, Ralph DiMola wrote: I was making a stub stack. I started with my original stack and deleted all the cards except 1. The resulting stack is 3MB. I then deleted all the scripts and objects on the remaining card and still 3MB. I Delete all the scripts from the stack and still 3

Re: Storing and saving a setting in a stand alone

2015-01-17 Thread Richmond
On 17/01/15 21:40, Richard Gaskin wrote: Mark Rauterkus wrote: Q asked: Among those who've never used HyperCard, how many people would think of saving data bound to the UI? My $.02: LOTS and LOTS of mere mortals. I can see the attraction to it, esp. in cases where you're building a quickie a

Re: Storing and saving a setting in a stand alone

2015-01-17 Thread Richard Gaskin
Mark Rauterkus wrote: Q asked: Among those who've never used HyperCard, how many people would think of saving data bound to the UI? My $.02: LOTS and LOTS of mere mortals. I can see the attraction to it, esp. in cases where you're building a quickie ad hoc solution with no vision for later ve

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Richmond
On 17/01/15 21:11, Ralph DiMola wrote: I was making a stub stack. I started with my original stack and deleted all the cards except 1. The resulting stack is 3MB. I then deleted all the scripts and objects on the remaining card and still 3MB. I Delete all the scripts from the stack and still 3MB.

Re: Storing and saving a setting in a stand alone

2015-01-17 Thread Mark Rauterkus
Hi, Q asked: Among those who've never used HyperCard, how many people would think of saving data bound to the UI? My $.02: LOTS and LOTS of mere mortals. -- Ta. Mark Rauterkus mark.rauter...@gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Varsity Boys Swim Coach, Pit

Re: Project Browser... BAAAAD!

2015-01-17 Thread Devin Asay
On Jan 16, 2015, at 8:28 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > On Jan 16, 2015, at 15:42 , Richard Gaskin wrote: > > > >> I don't believe the Project Browser contains any code for saving. > >> Are you using an auto-save plugin? > > > > No in fact I have gotten into the habit of us

Garbage Collection/Old Data in stack

2015-01-17 Thread Ralph DiMola
I was making a stub stack. I started with my original stack and deleted all the cards except 1. The resulting stack is 3MB. I then deleted all the scripts and objects on the remaining card and still 3MB. I Delete all the scripts from the stack and still 3MB. I opened that stack in a text editor and

Re: App wrapper and error messages

2015-01-17 Thread AndyP
Hi Bill, there was a problem with AppWrapper and Mavericks which has probably carried over to Yosemite. http://www.ohanaware.com/support/mavericksCodesign.php - Andy Piddock My software never has bugs. It just develops random fea

Re: App wrapper and error messages

2015-01-17 Thread William Prothero
BTW, I’m on OSX Yosemite and LiveCode V7.0.2(rc1) Bill > On Jan 17, 2015, at 9:57 AM, William Prothero wrote: > > Folks: > I’m using App Wrapper to set up my App for the app store. I get 2 error > messages: > 1. This App is not being sandboxed. > 2. Unable to fix framework “Chromium Embedded Fra

App wrapper and error messages

2015-01-17 Thread William Prothero
Folks: I’m using App Wrapper to set up my App for the app store. I get 2 error messages: 1. This App is not being sandboxed. 2. Unable to fix framework “Chromium Embedded Framework.framework”. In this case, the report screen indicates “broken bundle”. I’m not sure how to sandbox my app. Also, I

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

2015-01-17 Thread Dr. Hawkins
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 & delete). Anyway, some of the fields can be multi-ine, and coul

Re: Find all links in fld

2015-01-17 Thread Peter M. Brigham
On Jan 16, 2015, at 5:29 PM, Shawn Blc wrote: > Here's what I ended up with , with the extra php file (one for the rss, one > to clean up the html a bit [that file was 13 lines long]). Total lines = > 20 lines. > > on mouseUp > set the itemDelimiter to "" > put URL "http://mydomain.com/clean

Re: Find all links in fld

2015-01-17 Thread Peter M. Brigham
How about this: on mouseup put fld "fld1" into tList replace space with cr in tList filter tList with "http*" put tList end mouseup Gives a list of all the URLs in fld 'fld1". Is that what you want? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jan

Re: What icon editor do you use?

2015-01-17 Thread Shawn Blc
I often use: http://iconverticons.com/online/ On Sat, Jan 17, 2015 at 2:39 AM, Richmond wrote: > On 17/01/15 03:08, William Prothero wrote: > >> Folks: >> I’m at a place where I need to make icons for my App. There are a lot of >> icon editors and it seems some are not updated (for windows) t

Re: What icon editor do you use?

2015-01-17 Thread Richmond
On 17/01/15 03:08, William Prothero wrote: Folks: I’m at a place where I need to make icons for my App. There are a lot of icon editors and it seems some are not updated (for windows) to make the larger size icons Win 7 and 8 want. I note an app named Iconian and Sketch, which is free, has a n