Search found 99 matches

by johnmiller1950
Tue Dec 20, 2016 4:26 pm
Forum: Using Environment Extensions
Topic: PDF file size
Replies: 0
Views: 1587

PDF file size

Hello LiveCode Coders, I am experimenting with different PDF options. The print to PDF function in LiveCode makes a simple two page file that is 2.5 MB. If I use the print command and save to PDF the file is 128 KB. When printed there is only a slight loss of clarity with the smaller file Is there a...
by johnmiller1950
Tue Jan 19, 2016 6:41 pm
Forum: Talking LiveCode
Topic: Identifying Invisible Files & Folders
Replies: 6
Views: 999

Re: Identifying Invisible Files & Folders

OK ! I found it. Issuing the command . . . "put shell("ls -1 -l -O") into fXX" . . . gives me the following list. Now I can use . . . "filter fXX without "*hidden*"" which gives me only the files I want. drwxrwxr-x+ 70 root admin sunlnk 2380 Jan 6 17:02 Applications drwxr-xr-x+ 67 root wheel sunlnk ...
by johnmiller1950
Mon Jan 18, 2016 11:36 pm
Forum: Talking LiveCode
Topic: Identifying Invisible Files & Folders
Replies: 6
Views: 999

Re: Identifying Invisible Files & Folders

Hello Again. Following up on Fred's suggestion. Using "put shell("ls -1 -F") into fXX" outputs . . . Applications/ Library/ Network/ System/ User Guides And Information@ User Information@ Users/ Volumes/ bin/ cores/ dev/ etc@ home/ installer.failurerequests net/ private/ sbin/ tmp@ usr/ var@ The "/"...
by johnmiller1950
Mon Jan 18, 2016 11:26 pm
Forum: Talking LiveCode
Topic: Identifying Invisible Files & Folders
Replies: 6
Views: 999

Re: Identifying Invisible Files & Folders

OK ! Here's my code. I am trying to browse through the directories on my computer without encountering folders and files that are normally "invisible" in the finder. In other words, I am trying to duplicate the "Finder" experience. on getDirectory set the default folder to "//Volumes/Macintoch HD/" ...
by johnmiller1950
Sun Jan 17, 2016 12:16 pm
Forum: Talking LiveCode
Topic: Identifying Invisible Files & Folders
Replies: 6
Views: 999

Identifying Invisible Files & Folders

Greetings All, I am trying to present the user with a list of files and folders contained in the defaultfolder. However, I do NOT want them to see anything that the system identifies as invisible. I filter my list ("filter listXX without ".*") which removes some of the offending items, but there are...
by johnmiller1950
Tue Oct 20, 2015 5:08 pm
Forum: Talking LiveCode
Topic: Determine Location Of Open Apps
Replies: 9
Views: 1294

Re: Determine Location Of Open Apps

Spark out, Over the weekend I decided to do just what you suggested. When my app opens it writes its rect to a text file, and when it closes, it deletes the file. Great minds (???) must think alike. However, it sure seems that livecode should be able to know this info. Thanks for you thoughts and su...
by johnmiller1950
Tue Oct 20, 2015 5:05 pm
Forum: Talking LiveCode
Topic: Determine Location Of Open Apps
Replies: 9
Views: 1294

Re: Determine Location Of Open Apps

This needs to work on both Macs and Windows.
by johnmiller1950
Mon Oct 19, 2015 10:57 am
Forum: Talking LiveCode
Topic: Determine Location Of Open Apps
Replies: 9
Views: 1294

Re: Determine Location Of Open Apps

In this situation, I need to keep them as separate stand alone applications. I was hoping there might be a way to read the openprocesses.
by johnmiller1950
Sun Oct 18, 2015 11:20 pm
Forum: Talking LiveCode
Topic: Determine Location Of Open Apps
Replies: 9
Views: 1294

Re: Determine Location Of Open Apps

Simon, Yes, right now I have two apps, both liveCode. In the future there will be several more, and I want to be able to tell which ones are open and the rect of each app window. In programming mode I can use openprocesses or just refer to the stack, but once I compile them as stand alone apps, I do...
by johnmiller1950
Sun Oct 18, 2015 7:21 pm
Forum: Talking LiveCode
Topic: Determine Location Of Open Apps
Replies: 9
Views: 1294

Determine Location Of Open Apps

Good Afternoon All, I would like to open an app with a very small window and then open a different app that is located very precisely next to the first one. Is there a way to determine the names of all open apps and their corresponding windows using liveCode. I have tried "openProcesses" with no suc...
by johnmiller1950
Thu Mar 05, 2015 9:10 pm
Forum: Android Deployment
Topic: Can't Locate SDK Root
Replies: 5
Views: 1190

Re: Can't Locate SDK Root

Thanks Everybody!

I downloaded all of the extras like Max suggested, and LiveCode is good to go.

LiveCode Forums rock

John
by johnmiller1950
Thu Mar 05, 2015 11:57 am
Forum: Android Deployment
Topic: Can't Locate SDK Root
Replies: 5
Views: 1190

Re: Can't Locate SDK Root

OK! When the android SDK was unzipped, it was automatically written to my developer's folder. It has the name "android-dk-macosx" When I select this folder I get the following message: "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support f...
by johnmiller1950
Wed Mar 04, 2015 1:54 pm
Forum: Android Deployment
Topic: Can't Locate SDK Root
Replies: 5
Views: 1190

Can't Locate SDK Root

I am using LiveCode 7.0.3 under Mavericks. I have set up an AVD, but the AVD Manager writes this file to an invisible folder called ".Android" I used the terminal to show these files in the finder, but when I try to set up "Mobile Support" in the LiveCode preferences, I am forced to use the browser ...
by johnmiller1950
Wed Feb 19, 2014 4:16 pm
Forum: Internet
Topic: Sarah's SMTP Library Problems
Replies: 3
Views: 1483

Re: Sarah's SMTP Library Problems

Mark, Oops! I should know better. I was getting a "bad read" error message stating that a lone CR or LF had been encountered. I am still wading through Sarah's code to see where these might be introduced to the body of my email, but in the meantime, I added code that deletes all lone CR & LF charact...
by johnmiller1950
Fri Feb 14, 2014 6:02 pm
Forum: Internet
Topic: Sarah's SMTP Library Problems
Replies: 3
Views: 1483

Sarah's SMTP Library Problems

Greetings All, I am writing a program that will enable my users to email from within their liveCode app without having to open an email application. In researching this, I ran onto Sarah's SMTP Library which allows me to do what I want with one problem. I can send a regular email, but when I attempt...

Go to advanced search