Re: Remote debugger

2017-03-04 Thread Sannyasin Brahmanathaswami via use-livecode
Never mind… went thru the whole process again. on android → force stop the app 
and then the IDE says the debugging session closed.

Awesome I found an obscure bug or rather difference

binfile://someAppPath/Unicode.txt  into myNewText

works on iOS and Mac OSX

but not on android

only 1 slash allowed.. 

binfile:/someAppPath/Unicode.txt  into myNewText #now works everywhere

This is a great step forward! Thank you Monte for the hard work!

BR

 

On 3/4/17, 8:37 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami via 
use-livecode"  wrote:

So far, so good; but I could "escape out" -- my app is locked upon the 
phone, (because I'm in the script editor no doubt) app and IDE on my desktop is 
locked. There was no way to return to development and look at the source.. I 
had to quit my main stack and start it again… on the phone I went to 
settings/Apps/SivaSiva -- force stop…did not have to quit LC though…

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Remote debugger

2017-03-04 Thread Sannyasin Brahmanathaswami via use-livecode
Eureka! I got it working on Andrioid 
--TSNet, check
--internet, check
--remote debugger, check
--internet permissions, check
-- manually set gRevDevelopment to true 
 (in msg box) # confirmed it is false even when checked in the IDE (weird)
-- set break point in a script
--  plug in Nexus5 with USB… 
-- build standalone
-- run: Yes! I'm asked if I want to run the debug session. I found where there 
is a problem  on android in a script that runs just fine on iOS and OSX desktop)

So far, so good; but I could "escape out" -- my app is locked upon the phone, 
(because I'm in the script editor no doubt) app and IDE on my desktop is 
locked. There was no way to return to development and look at the source.. I 
had to quit my main stack and start it again… on the phone I went to 
settings/Apps/SivaSiva -- force stop…did not have to quit LC though… 

Svasti Astu, Be Well 
Brahmanathaswami

www.himalayanacademy.com

 

On 3/4/17, 2:54 PM, "use-livecode on behalf of Mike Kerner via use-livecode" 
 wrote:

I have it working on ios, but I have found several bugs with it.  It's the
first try...



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Can you test: Send Back in 9 dp5 is broken

2017-03-04 Thread Sannyasin Brahmanathaswami via use-livecode
Can you test this

-- open  a card in Stack A with many groups on it.
-- set select grouped object to true in the ID tool bar "Select Grouped"
-- select an object # mine is corrupted graphic whose gradient keeps gettins 
"wacked" but the IDE.
-- delete it
-- go to another stack B # mine is a stack where I keep graphics with gradients 
to paste back in after LC breaks them.
-- select a graphic object;
-- copy it
-- go back to stack A
-- paste the graphic..
-- with that graphic selected. click cmd - [  to set it back
expect: graphic should drop back just one layer from the top.
result: all groups on the card disappeared!




Svasti Astu, Be Well
Brahmanathaswami
www.himalayanacademy.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Script Profiler

2017-03-04 Thread Ralph DiMola via use-livecode
Both the Remote Debugger and Script Profiler are exciting. There's only one
of me so I went for the script profiler first. Looked at the LC lesson and
it seemed simple enough... Enable, do some stuff in your stack and the
disable. I did that and the Profiler screen pops up but it's empty. Am I
missing something? How do I set the message/handler level to be profiled?
Say I want to see how long it takes to resize the stack. I first profile the
script in the resizestack handler but not any deeper. I then see that one of
the handlers called in the resizestack hander takes too long so now I want
to profile just that handler.

Has anybody got this working?

Thanks

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Remote debugger

2017-03-04 Thread Mike Kerner via use-livecode
I have it working on ios, but I have found several bugs with it.  It's the
first try...

On Sat, Mar 4, 2017 at 5:35 PM, Dave Kilroy via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks Jacque - but I’m not convinced that’s it - I set that (for android)
> plus Internet, Remote Debugger - and have tried various combinations of
> including and not including tsNet - and have rebooted by mac and router …
> but I don’t think I tried making wifi required for iOS, will try that in
> the morning
>
> One thing I am suspicious of however is gRevDevelopment - when I look at
> my menu sections in the IDE I can see it’s set, but when I check in the
> message box it show false - if I set it to true (via the message box or in
> code) then I can get the message box to report it as true, and it shows in
> the menus as true - but if I then save and quit and relaunch LiveCode it
> again shows true in the menus but reports as false via the message box! So
> I guess it’s likely that each time I build for iOS/Android its going out
> with gRevDevelopment set to false
>
> And what is extra weird is that this behaviour of the gRevDevelopment not
> having much/any relationship to the settings in the IDE’s menus is the same
> in earlier version of LC 8, 7 and even 6
>
> I obviously don’t understand what gRevDevelopment does!
>
>
>
> > Looks like you fell into the same trap I did. You have to enable
> > internet permissions on Android. Not sure about iOS but you might try
> > making WiFi mandatory.
> >
> > --
> > Jacqueline Landman Gay | [hidden email] <
> http://runtime-revolution.278305.n4.nabble.com/user/
> SendEmail.jtp?type=node=4712827=0>
> > HyperActive Software   | http://www.hyperactivesw.com <
> http://www.hyperactivesw.com/>
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-03-04 Thread Tom Glod via use-livecode
this discussion has been very useful on many fronts.  I'm going to have
fewer nightmares about security.

On Fri, Mar 3, 2017 at 1:00 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It looks like the encrypt command is already using this method if the
> "with salt" arguement is provided? At least the encrypted result starts
> with "salted" and at least part of the salt value.
>
> Bob S
>
>
> > On Mar 1, 2017, at 07:37 , Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Peter. Very informative thank you. In the example,
> >
> > [protected form] = [salt] + protect([protection func], [salt] +
> [credential]);
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
*Tom Glod*

CEO @ *MakeShyft R.D.A* - www.makeshyft.com



Developer of *U.M.P* - www.IamUMP.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: UI design problem

2017-03-04 Thread Dr. Hawkins via use-livecode
On Sat, Mar 4, 2017 at 2:04 PM, tbodine via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dr. Hawkins via use-livecode wrote
> > pass mousedown
>
>
Err, no I didn't :)


But my though would be after pasting, to move the image control (slider,
group, whatever) to the top level, and to hide it while printing.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ouch: the beginning of the end

2017-03-04 Thread Dr. Hawkins via use-livecode
On Sat, Mar 4, 2017 at 2:05 AM, Lagi Pittas via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If You HAVE tom use the ACTUAL government PDF and be pixel perfect then how
> can you be printing anything of any type out as a pdf
> whether with eps or any changed fields - maybe I haen't read all the posts
> but am I missing something?
>

Overlaying the output fields on top of the eps.  When viewed/printed, it
looks like the original has been typed upon.


>
> Can you explain in 1 place without assuming anything in the least amount of
> words what the workflow is what you want to input what you want to get out
> and where does the eps fit into this - if you are suppose to use THE
> mandated pdf.
>

I break it into pieces, rather than using the whole page, as parts repeat.

I've tossed together a video showing this at
dochawkbk.com/eps_example.720.mov.

I suppose a widget that could display an eps would do on-screen (but then
again, for on-screen a 72dpi image will do), but that wouldn't solve the
print to pdf issue (but as I mentioned elsewhere, I think that only takes
one line of code.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: UI design problem

2017-03-04 Thread Tom Glod via use-livecode
ahhh

how do you know if the user wants to move the image or the text?

maybe use a modifier key to help you differentiate between what the user
wants to grab.

 if controlKey() is down then ...

or maybe give a hotkey to select either text or image. and maybe a red
border around the selection while its selected so that the user knows what
is selected?

On Sat, Mar 4, 2017 at 5:04 PM, tbodine via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dr. Hawkins via use-livecode wrote
> > pass mousedown
>
> "Pass mousedown" doesn't work here. (Message does not travel down to the
> image control below the field.)
> I used a send "mousedown" which does travel through, but what doesn't work
> then is the "grab image 'blah'" line in the mousedown handler attached to
> the image.  The same mousedown handler works fine to grab the image when I
> click directly on the image control.
>
> Tom
>
>
>
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/UI-design-problem-tp4712829p4712832.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
*Tom Glod*

CEO @ *MakeShyft R.D.A* - www.makeshyft.com



Developer of *U.M.P* - www.IamUMP.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Remote debugger

2017-03-04 Thread Dave Kilroy via use-livecode
Thanks Jacque - but I’m not convinced that’s it - I set that (for android) plus 
Internet, Remote Debugger - and have tried various combinations of including 
and not including tsNet - and have rebooted by mac and router … but I don’t 
think I tried making wifi required for iOS, will try that in the morning

One thing I am suspicious of however is gRevDevelopment - when I look at my 
menu sections in the IDE I can see it’s set, but when I check in the message 
box it show false - if I set it to true (via the message box or in code) then I 
can get the message box to report it as true, and it shows in the menus as true 
- but if I then save and quit and relaunch LiveCode it again shows true in the 
menus but reports as false via the message box! So I guess it’s likely that 
each time I build for iOS/Android its going out with gRevDevelopment set to 
false

And what is extra weird is that this behaviour of the gRevDevelopment not 
having much/any relationship to the settings in the IDE’s menus is the same in 
earlier version of LC 8, 7 and even 6

I obviously don’t understand what gRevDevelopment does!



> Looks like you fell into the same trap I did. You have to enable 
> internet permissions on Android. Not sure about iOS but you might try 
> making WiFi mandatory. 
> 
> -- 
> Jacqueline Landman Gay | [hidden email] 
> 
>  
> HyperActive Software   | http://www.hyperactivesw.com 
> 
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: UI design problem

2017-03-04 Thread Jonathan Lynch via use-livecode
The message would pass up the message path, to the group that owns both 
targets. That is where you would place the script to decide which object to 
move.

The following code will help you know which object was clicked:

Put word 1 of the target into tObjectType
If tObjectType = "field" then
-- do whatever you want with the field
Else if tObjectType = "image" then
-- do whatever with the image
End if 


Sent from my iPhone

> On Mar 4, 2017, at 5:04 PM, tbodine via use-livecode 
>  wrote:
> 
> Dr. Hawkins via use-livecode wrote
>> pass mousedown
> 
> "Pass mousedown" doesn't work here. (Message does not travel down to the
> image control below the field.)
> I used a send "mousedown" which does travel through, but what doesn't work
> then is the "grab image 'blah'" line in the mousedown handler attached to
> the image.  The same mousedown handler works fine to grab the image when I
> click directly on the image control. 
> 
> Tom
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/UI-design-problem-tp4712829p4712832.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: UI design problem

2017-03-04 Thread tbodine via use-livecode
Dr. Hawkins via use-livecode wrote
> pass mousedown

"Pass mousedown" doesn't work here. (Message does not travel down to the
image control below the field.)
I used a send "mousedown" which does travel through, but what doesn't work
then is the "grab image 'blah'" line in the mousedown handler attached to
the image.  The same mousedown handler works fine to grab the image when I
click directly on the image control. 

Tom



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/UI-design-problem-tp4712829p4712832.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ouch: the beginning of the end

2017-03-04 Thread Paul Dupuis via use-livecode
On 3/4/2017 3:10 PM, Dr. Hawkins via use-livecode wrote:
> On Fri, Mar 3, 2017 at 8:10 PM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> What is this XPDF viewer you speak of? Not showing up in the LC dictionary.
>
> a unix pdf display program.
>
>

XPDF is not a "unix pdf display program" - it is a LiveCode supported
external (like the revZip or revXML libraries) for opening, display, and
extracting content from PDFs. It can extract text or image content, all
or just portions, and a lot more. It is for LiveCode Business License
holders, so it is not available for the open source or Indy editions.

It does not write PDFs - you have LiveCode's built in print to PDF for
that. It just reads, displays, and extract content from PDFs. It is
supported on Windows and OSX. It is available in LC 8 and 9



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: UI design problem

2017-03-04 Thread Tom Glod via use-livecode
the solution is simple . look up how to pass messages, it is easy and
made for in situations such as this.

pass mousedown

On Sat, Mar 4, 2017 at 3:52 PM, tbodine via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Livecoders.
>
> I am hoping you'll have some ideas for solving a UI design/coding problem.
> My app lets users create simple presentation screens, one per card. The
> user
> can import a picture and add a headline (text field) to the card.  And
> since
> the user will sometimes want the text to be over the image, the text field
> is always the top layer.
>
> The problem is the text field often blocks the user from grabbing and
> moving
> the image control below. (Both the field and image are meant to be
> movable.)
>
> My many attempts to solve this have wandered into "rat's nest" territory,
> so
> I'm hoping some of you will know a simple way to pass a mousedown from a
> text field to an image control.
>
> Thanks!
> Tom B.
>
>
>
>
>
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/UI-design-problem-tp4712829.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
*Tom Glod*

CEO @ *MakeShyft R.D.A* - www.makeshyft.com



Developer of *U.M.P* - www.IamUMP.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


UI design problem

2017-03-04 Thread tbodine via use-livecode
Hi Livecoders.

I am hoping you'll have some ideas for solving a UI design/coding problem.
My app lets users create simple presentation screens, one per card. The user
can import a picture and add a headline (text field) to the card.  And since
the user will sometimes want the text to be over the image, the text field
is always the top layer.

The problem is the text field often blocks the user from grabbing and moving
the image control below. (Both the field and image are meant to be movable.)

My many attempts to solve this have wandered into "rat's nest" territory, so
I'm hoping some of you will know a simple way to pass a mousedown from a
text field to an image control.

Thanks!
Tom B.





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/UI-design-problem-tp4712829.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revZip functions, compressing and extracting folder for transfer

2017-03-04 Thread Phil Davis via use-livecode
Here is a sanitized version of a simple zip library stack I use in 
projects. It keeps me from having to get down into the nuts and bolts 
every time I want to zip a file:


   https://www.dropbox.com/s/t8z27p8cy5ir1v9/libZip.livecode?dl=0

HTH -
Phil Davis


On 3/4/17 9:25 AM, Matt Maier via use-livecode wrote:

Is there an overview or tutorial on how to use the revZip functions?

Do I have to use each individual function to manually describe the process
of creating and using a zip archive?

Like, to create the archive, do I have to write my own code to open it,
repeat for each file and/or each folder, find and specify the name and
contents and format of each file, then close it, then remember to delete it
later...or is there a command somewhere that just takes a folder and
returns a zipped version of that folder?

The same question for extracting an archive. Do I have to open it,
enumerate the files, repeat for each file and/or folder, figure out that
file's name, contents, and format, copy the file to an appropriate new
file, then close it, then remember to delete it later...or is there a
command that just takes a *.zip and returns an extracted folder?

I already spent a couple hours trying various combinations of quotes around
the parameters to add something to an archive before I figured out put the
data into the URL as a binfile manually. Then this morning I ran across a
different revZip function to add a file directly, instead of raw data,
which I guess is what I was doing. So it would be nice to find out that
there's already a function that does all of the obvious zip archive stuff
automatically and correctly.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



--
Phil Davis

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Remote debugger

2017-03-04 Thread J. Landman Gay via use-livecode

On 3/4/17 1:58 PM, Dave Kilroy via use-livecode wrote:

Nope I can’t get this working in iOS or Android :( however it does fire in the 
iOS simulator

http://quality.livecode.com/show_bug.cgi?id=19367


Looks like you fell into the same trap I did. You have to enable 
internet permissions on Android. Not sure about iOS but you might try 
making WiFi mandatory.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: ouch: the beginning of the end

2017-03-04 Thread Dr. Hawkins via use-livecode
On Fri, Mar 3, 2017 at 8:10 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> What is this XPDF viewer you speak of? Not showing up in the LC dictionary.


a unix pdf display program.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ouch: the beginning of the end

2017-03-04 Thread Dr. Hawkins via use-livecode
On Fri, Mar 3, 2017 at 8:07 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> err... are the forms already created? Or are you trying to create the
> forms from scratch programaticaly? If the former, I wrote an application
> that does just that. I first create a fillable form, then (for OS other
> than OS X) I create an FDF file using a simple one liner Javascript command
> and then add an Open File action that imports data from that fdf file.
> Otherwise (for OS X using Acrobat) I use Applescript to tell Javascript to
> fill the form.
>


I've considered such an approach, but
1)  It shouldn't be that much work,
2)  it takes something external
3)  it takes different approaches on different platforms
4)  it means that I'm counting on something *after* my customer modifies
the supposed output to create the actual output.
5) Some of what I need to do generates the forms on the fly, with the same
block repeated with different information.  In some cases, I have a block
such as the entries on the second page at
http://www.uscourts.gov/file/18734/download .  The same page could repeat
thirty times or more with 3-10 entries per page, with each "block" on each
page linking to a separate SQL entry.




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Remote debugger

2017-03-04 Thread Dave Kilroy via use-livecode
Nope I can’t get this working in iOS or Android :( however it does fire in the 
iOS simulator

http://quality.livecode.com/show_bug.cgi?id=19367


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: revZip functions, compressing and extracting folder for transfer

2017-03-04 Thread J. Landman Gay via use-livecode

On 3/4/17 11:25 AM, Matt Maier via use-livecode wrote:

Is there an overview or tutorial on how to use the revZip functions?


Under the Help menu, choose Sample Stacks and search for "revZip". There 
are a couple of stacks there. Also under the Help menu, choose 
Tutorials. There is one lesson on using revZip.


I think there used to be a sample stack included inside the Mac app 
bundle, or inside the Windows app folder, but I don't see it now in LC 
9. It may be in an older version.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


revZip functions, compressing and extracting folder for transfer

2017-03-04 Thread Matt Maier via use-livecode
Is there an overview or tutorial on how to use the revZip functions?

Do I have to use each individual function to manually describe the process
of creating and using a zip archive?

Like, to create the archive, do I have to write my own code to open it,
repeat for each file and/or each folder, find and specify the name and
contents and format of each file, then close it, then remember to delete it
later...or is there a command somewhere that just takes a folder and
returns a zipped version of that folder?

The same question for extracting an archive. Do I have to open it,
enumerate the files, repeat for each file and/or folder, figure out that
file's name, contents, and format, copy the file to an appropriate new
file, then close it, then remember to delete it later...or is there a
command that just takes a *.zip and returns an extracted folder?

I already spent a couple hours trying various combinations of quotes around
the parameters to add something to an archive before I figured out put the
data into the URL as a binfile manually. Then this morning I ran across a
different revZip function to add a file directly, instead of raw data,
which I guess is what I was doing. So it would be nice to find out that
there's already a function that does all of the obvious zip archive stuff
automatically and correctly.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Remote debugger

2017-03-04 Thread Sannyasin Brahmanathaswami via use-livecode
J. Landman Gay wrote:

So far, all I've found is the blog post:



Thanks.

Seems easier for android because you can run test to the device on a tethered 
phone, but I can't do that with iPHone (or can we?) you can only test in the 
simulator….which doesn't always seem to behave exactly as it does on the phone 
itself. 

9 dp5 looks good but is breaking gradients in  some of my graphic objects and 
corrupting the graphic completely..well that was happening before… it went away 
in 8.1.3 but is back now in 9…



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: ouch: the beginning of the end

2017-03-04 Thread Paul Dupuis via use-livecode
On 3/3/2017 11:10 PM, Bob Sneidar via use-livecode wrote:
> What is this XPDF viewer you speak of? Not showing up in the LC dictionary. 
>
> Bob S


Available only with Business License and for a while it was missing from
the Dictionary, but you can find it in LC 8.1.3 or the latest 9.0 dp
builds. Just type XPDF into the search box for the Livecode script
dictionary. It is an external for accessing PDFs.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ouch: the beginning of the end

2017-03-04 Thread Lagi Pittas via use-livecode
Maybe I'm being dense here but

If You HAVE tom use the ACTUAL government PDF and be pixel perfect then how
can you be printing anything of any type out as a pdf
whether with eps or any changed fields - maybe I haen't read all the posts
but am I missing something?

Can you explain in 1 place without assuming anything in the least amount of
words what the workflow is what you want to input what you want to get out
and where does the eps fit into this - if you are suppose to use THE
mandated pdf.

I really want to understand the problem - other than government
bureaucracy/incomptence/stupidity - take your pick

Regards Lagi

Regards lagi

On 3 March 2017 at 22:20, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Fri, Mar 3, 2017 at 1:29 PM, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > So the XPDF viewer lets you grab the text from PDFs, the formattedRect
> > of any selected Text, and the page (or ant portion of the rendered page)
> > as an Image in addition to just viewing a PDF
> >
>
> I have *absolutely* no use for the text, unless I'm completely replacing
> the pdf with fields.
>
> I don't need a reproduction of the PDF in livecode; I already have tools
> for that.  I need the pdf itself.
>
> AFAIK, it is impossible to take text from a pdf of unknown creation source
> (or possibly pieced together by different editors) and maintain the exact
> spacing.  Just for openers, I find font sizes that were apparently, say,
> 6.2, or line heights of 12.2, or that it three lines were generated with
> the Mxyzptlk font that some employee happened to have on his computer and
> he thought would be nice for that part.
>
> A clerk or secretary printing the government version and my version on
> acetate sheets to see if they line up to the pixel is an actual concern I
> have to face (yes, there are folks with that much time on their hands).  In
> the early 90s, I dropped this project (then in SuperCard 1.5) when the
> clerk at the time told me that we would have to be exact *to the pixel* of
> the new scanners they had coming in (which, to this date, have not
> happened).
>
>
> > I assume the issue that you view EPS as high resolution for the purposes
> > of printing the PDF form back out with your layered fields filled in.
> >
> > You can grad what ever resolution of a PDF page you want with XPDF. You
> > set the scaling to say 400% and then get the page image and scale the
> > image to 25% and you have a image at normal size but at 4x screen
> > resolution. Want more resolution, set the PDF scale to 800% and fetch
> > the page image. Have a super high resolution printer - keep scaling!
> >
>
> Except that I have a fairly tight size limits on uploaded files, and
> arbitrarily large files will trample that fast on a 100 page pdf.
>
>
> >
> > It seems to me XPDF is capable of doing everything you need to do.
> >
> > If the forms have labels for the fields, such as:
> >
> > Name: [space on the pdf to type or write a name]
> >
> > Nope; don't need that at all.
>
> My software generates rules on how the contents of each field depends on
> others.  I need to be laying my own fields in software, with the names I
> give them (you don't think the government would remain all that consistent
> between documents, do you? :)  besides, they don't define most of the names
> I need anyway).
>
> What I need is to be able to use an eps or a pdf as a display object, and
> to export a pdf with that object.
>
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode