Search found 43 matches

by dochawk
Sat Jun 23, 2012 8:36 pm
Forum: Internet
Topic: Guide/leson/docs for web deployment
Replies: 5
Views: 5855

Re: Guide/leson/docs for web deployment

Thanks (that was an answer to a list question of mine . . . ) but is there any documentation from runrev hiding somewhere actually documenting LiveCode Server, and how to program for it/set it up/etc. I find lots & lots of references to it, but the most documentation I can find is the handful of sho...
by dochawk
Sat Jun 23, 2012 6:31 pm
Forum: Internet
Topic: Guide/leson/docs for web deployment
Replies: 5
Views: 5855

Guide/leson/docs for web deployment

Is there some kind of guide, documentation, or lesson set for putting my stacks on the web?

I'm looking, and I can't find anything.

And are web & server the same thing?

thanjs
by dochawk
Fri Jun 08, 2012 2:45 am
Forum: Linux
Topic: Getting an eps into a file
Replies: 5
Views: 6361

Re: Getting an eps into a file

It appears that the eps really hasn't been touched by runrev since metacard, which was unix (not linux) only. It's just never been removed . . .

It requires Display Postscript, something which I really had't heard since the NeXT days . . .

hawk
by dochawk
Thu Jun 07, 2012 5:48 pm
Forum: Linux
Topic: Getting an eps into a file
Replies: 5
Views: 6361

Re: Getting an eps into a file

Livecode bombs instantly with signal 11 when I do that from either the message box, or a button triggering a card script! :cry:
by dochawk
Thu Jun 07, 2012 5:26 pm
Forum: Databases
Topic: tables added to database not visible from other substacks
Replies: 17
Views: 14400

Re: tables added to database not visible from other substack

As that stack is currently set up, anything you do from a substack with a script seems to see everything--but if you type the identical command into the message box, you get a different result. I first encountered this with the script in a substack that isn't in this example. RIght now, I have it wo...
by dochawk
Thu Jun 07, 2012 5:01 pm
Forum: Mac OS
Topic: Getting image to printer & pdf at more than 72 dpi
Replies: 0
Views: 2494

Getting image to printer & pdf at more than 72 dpi

I've run into a roadblock here, which could kill my project completely. Images, even 300dpi png, are getting truncated to 72dpi (screen density) before being sent to the printer or pdf. Is there *any* way to do this within livecode? I suppose this could be done by exporting without them, and then us...
by dochawk
Thu Jun 07, 2012 4:47 pm
Forum: Linux
Topic: Getting an eps into a file
Replies: 5
Views: 6361

Getting an eps into a file

I'm trying to get an eps into a card. I used File->import control. I then have to set to "all file types" as neither all images nor unix files causes eps to show. I get the error An error occurred when trying to import the image file: /home/hawk/petition.1.eps 263,2165,1/home/hawk/petition.1.eps 253...
by dochawk
Tue Jun 05, 2012 1:33 am
Forum: Databases
Topic: tables added to database not visible from other substacks
Replies: 17
Views: 14400

Re: tables added to database not visible from other substack

Hi hawk, Well, not sure what I'm doing different than you but everything looks fine to me. I had to change tDatabasePath to be valid on my computer but after that the outwin field lists both tables each time you put something in to it. I looked at both databases in another program and they both had...
by dochawk
Mon Jun 04, 2012 11:58 pm
Forum: Databases
Topic: tables added to database not visible from other substacks
Replies: 17
Views: 14400

Re: tables added to database not visible from other substack

phaworth wrote: Or perhaps you're using Livecode to create the database?
Pete

This.

These are the two main tables for a client file. I can't even see one long enough to work with the file!

thanks

hawk
by dochawk
Mon Jun 04, 2012 11:57 pm
Forum: Databases
Topic: tables added to database not visible from other substacks
Replies: 17
Views: 14400

Re: tables added to database not visible from other substack

Hi, I'd love to take a look at this but after decompressing either file you attached, I get a corrupted stack file message from Livecode. I've put the raw stack at: dochawk.org/test.120604b.rev I'm on a Mac - maybe those formats aren't compatible with OS X? I hope not; I'm using lion on an iMac :) ...
by dochawk
Mon Jun 04, 2012 10:29 pm
Forum: Databases
Topic: tables added to database not visible from other substacks
Replies: 17
Views: 14400

Re: tables added to database not visible from other substack

OK, I've whittled the stack down to almost nothing , and can still reproduce the behavior. After the stack opens, click the "open cook" button in the t_file_control stack, and it begins single stepping. Step into databaseConnect, and step over all the "ck" commands, which toss to the output window (...
by dochawk
Fri Jun 01, 2012 3:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Comparing two variables that contain string data
Replies: 4
Views: 4991

Re: Comparing two variables that contain string data

try using regexps--pretend and append a "\ *" to the match string to match"0 or more" leading and trailing spaces.

Or

Code: Select all

If char 1 of string =spacey then put char 2 to iq of string into sting
and similarly for the end of the string..
by dochawk
Thu May 31, 2012 1:07 am
Forum: Databases
Topic: tables added to database not visible from other substacks
Replies: 17
Views: 14400

Re: tables added to database not visible from other substack

I have a put "/Users/hawk/dhbk/bk_clients/" into tDatabasePath in openStack for the main stack, and then, again in that stack, on databaseConnect theDB ## Open a connection to the database ## If the database does not already exist it will be created --internal SQLite assumed for the moment; add othe...
by dochawk
Wed May 30, 2012 9:29 pm
Forum: Databases
Topic: tables added to database not visible from other substacks
Replies: 17
Views: 14400

tables added to database not visible from other substacks

This behavior is coming and going, and I've seen it in other contexts, too. Reducing for the sake of complexity . . . Substack "Control" sends "Main" stack a message to open the db. Main opens the db, and uses a routine in its own stack script to setTheDb to the returned access control, storing this...
by dochawk
Mon May 28, 2012 8:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting an eps or pdf behind a card as background
Replies: 0
Views: 1543

Putting an eps or pdf behind a card as background

due to the lack of response to the original question, I'm assuming the answe is that it's impossible to put a .eps or PDF in the background . . . So I'll go to a "second best" version--is there a way to get a png or other image to print at better than 72 dpi? 'm creating an application that fills ou...