Re: Build standalone for iOS (8.1.2 RC2) First time- fails, second time it works

2016-12-13 Thread Monte Goulding

> On 14 Dec. 2016, at 2:32 pm, Sannyasin Brahmanathaswami  
> wrote:
> 
> BUT  the main top level loader stack  is getting changes  where dev A will 
> add a few more stack files, Dev B doesn’t have any iOS devices, so he turns 
> off "unchecks" the iOS in the standalone builder and LC of course wants to 
> save and the hash changes…ergo Git says the file was modified.  

They can checkout the current version before pulling changes if their saved 
version is just a temporary thing:

git checkout HEAD somestackfile.livecode

Cheers

Monte
___
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: Build standalone for iOS (8.1.2 RC2) First time- fails, second time it works

2016-12-13 Thread Sannyasin Brahmanathaswami
We are working our new mobile app in git hub. The challenge is that we need to 
use N number of binary files as "views" and at least one loader stack to run 
the build. Even though we have zero code in the stack script and zero code in 
the card script (the app is initialized with a behavior for the card… so that 
we use and external .livecodescript library… 

this is working pretty well, where different developers are the designated SOA 
fo any given module/some.livecode # binary stack  so for example in source we 
many have modules/color-meditation.livecode  and every one know that I am the 
SOA and they never touch it. so updates and merging are painless.

BUT  the main top level loader stack  is getting changes  where dev A will add 
a few more stack files, Dev B doesn’t have any iOS devices, so he turns off 
"unchecks" the iOS in the standalone builder and LC of course wants to save and 
the hash changes…ergo Git says the file was modified.  

Currently were looking at ways to externalize the stack file also to a text 
file in source that can be managed more easily by git and then loader stack 
reads it… so the loader stack will not have anyone fiddling directly with the 
stack files in the LC IDE for that stack… *but*  still there is the issue of 
changes to the standalone builder… i.e. that's the back story… 

So if I have to pull a copy of that stack and I have an iOS device , then I 
check that in the standalone builder and save… *now* I get the "missing ARM"  
error messages.. but when I run it a second time, it goes through. 

So maybe (just maybe) the recipe is that the standalone builder's global props 
are not being updated when the user make changes in the standalone build GUI 
panel until *after* the first attempt to build runs… *then* that process 
updates something in the SA build profile, which is saved… and so now when you 
run the build, it goes through… at least that's how it feels at the moment.

BR

 

On 12/12/16, 9:10 AM, "use-livecode on behalf of Mike Kerner" 
 
wrote:

There is a bug report related to something similar, but I don't know if any
of us have developed a reliable recipe, yet.  For me it's surprising and
almost random when it happens, and I don't uncheck/check

___
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

Pinch and Zoom Browser Widget Content

2016-12-13 Thread Sannyasin Brahmanathaswami
Create browser widget for mobile app
Set remote URL
Web page appears perfect but you cannot pinch snd zoom the content

Go to same URL  on mobile Safari ( iOS ) or Chrome (android) and ypu can pinch 
in and out to zoom or shrink content

How do we get broweer Widget to do that also?
.BR

___
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: Start using remote stack

2016-12-13 Thread Richard Gaskin

J. Landman Gay wrote:

> On 12/13/16 9:43 AM, Richard Gaskin wrote:
>> If a binary stack can be used from memory only, it should not be
>> necessary to write a script-only stack to disk.
>>
>> Such a requirement prevents us from using script-only stacks in
>> secure zero-footprint apps, such as those with the
>> securityPermissions for "disk" turned off.
>>
>> If you haven't filed a bug report I cam do that.
>
> If you have time I'd appreciate it. I've submitted a few reports
> lately and the time it takes to test and set up a test stack is
> not insignificant. I'm also not sure yet whether the issue is
> related to my stack setup or if it's universal everywhere so
> that would need testing too. Right now I'm in a crunch, so if
> you feel like checking it out that'd be great.

I depend heavily on streaming apps and would like to move some parts to 
script-only stacks, so this is important to me.


While setting up a test scenario I discovered a much simpler recipe, 
included in the report I just filed:


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

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Specifying a printer

2016-12-13 Thread dunbarx
The "printerName" gives the currently selected printer, or the default
printer. And is settable. Does this help?

Craig Newman



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Specifying-a-printer-tp4711035p4711040.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: Start using remote stack

2016-12-13 Thread J. Landman Gay

On 12/13/16 9:43 AM, Richard Gaskin wrote:

If a binary stack can be used from memory only, it should not be
necessary to write a script-only stack to disk.

Such a requirement prevents us from using script-only stacks in secure
zero-footprint apps, such as those with the securityPermissions for
"disk" turned off.

If you haven't filed a bug report I cam do that.


If you have time I'd appreciate it. I've submitted a few reports lately 
and the time it takes to test and set up a test stack is not 
insignificant. I'm also not sure yet whether the issue is related to my 
stack setup or if it's universal everywhere so that would need testing 
too. Right now I'm in a crunch, so if you feel like checking it out 
that'd be great.


Otherwise it will have to wait a while until I get freed up.

--
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


Extract iTunes Art in VB

2016-12-13 Thread Dan Friedman
Using the “Controlling iTunes” lesson 
(http://lessons.livecode.com/m/2592/l/126614-controlling-itunes 
), I am able to 
query iTunes and do everything I want.  On the Mac side, I was able to modify 
the appleScript to extract the album cover art for the currently playing song.  
But, I’m having a heck of a time doing this for Windows (VB).  I added this:

Function getAlbumArt()
  Dim tAlbumArt
  tAlbumArt = ""
  getAlbumArt = cStr(iTunesApp.CurrentTrack.Artwork)
End Function

But, I don’t get anything back.

I’ve been fiddling with this for to long now!  Anyone know how to get the album 
cover art for the currently playing song in VB?

-Dan
___
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: Start using remote stack

2016-12-13 Thread J. Landman Gay
Ideally there would be nothing on disk,. But the, main goal was to keep all 
my development and testing handlers out of the working stack. So writing 
the stack to disk isn't horrible though it wasn't my original intention.


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



On December 13, 2016 12:47:28 AM Mark Wieder  wrote:


On 12/12/2016 09:39 PM, J. Landman Gay wrote:

On 12/12/16 11:08 PM, Mike Bonner wrote:

I haven't tried it but, perhaps you could-- put url "
https://www.domain.com/folder/stack.livecodescript"; into url
("binfile:" &
specialfolderpath("temp") & "/thestack.livecodescript"
Then start using it from there.


Hey, it works! Binary or script-only stack both. Clever. :)


But... sputter... I thought you were trying to avoid putting it into a
stack...

--
  Mark Wieder
  ahsoftw...@gmail.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: Start using remote stack

2016-12-13 Thread Richard Gaskin

J. Landman Gay wrote:

> On 12/12/16 11:08 PM, Mike Bonner wrote:
>> I haven't tried it but, perhaps you could-- put url "
>> https://www.domain.com/folder/stack.livecodescript"; into url 
("binfile:" &

>> specialfolderpath("temp") & "/thestack.livecodescript"
>> Then start using it from there.
>
> Hey, it works! Binary or script-only stack both. Clever. :)

If a binary stack can be used from memory only, it should not be 
necessary to write a script-only stack to disk.


Such a requirement prevents us from using script-only stacks in secure 
zero-footprint apps, such as those with the securityPermissions for 
"disk" turned off.


If you haven't filed a bug report I cam do that.

I think it's useful to report any behavioral differences between 
script-only and binary stacks, as they break the cardinal design mandate 
that the only difference be the storage format.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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


Specifying a printer

2016-12-13 Thread Skip Kimpel
Is there a way to hard code a printer to send specific jobs to?  I have a
dedicated label printer that I would like my app to print to if possible.
Can I use "printerName" to set this value?

SKIP KIMPEL
___
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