Search found 220 matches

by Martin Koob
Wed Nov 25, 2020 12:27 pm
Forum: Windows
Topic: Moving files to Windows' Recycle Bin in LiveCode -- is it possible?
Replies: 20
Views: 13613

Moving files to Windows' Recycle Bin in LiveCode -- is it possible?

Hi. On the Mac I have a handler that can move a folder to the trash by using an AppleScript that I call with a shell command. I have a custom property of the stack “Scripts" cDeleteMacFolderScript that contains a template script tell application "Finder" delete "**foldertodelete**" end tell Then I h...
by Martin Koob
Mon Jul 13, 2020 2:55 am
Forum: Community Projects
Topic: How do you create installer for a glx application framework based Windows standalone.
Replies: 1
Views: 4764

How do you create installer for a glx application framework based Windows standalone.

I have an app developed using the glx application framework and I am trying to create a Windows installer for it. I am a Mac user and have not tried to create a Windows installer so a bit in the dark here. When I build the application with the glxApplicationPackager it get the following Win32 ___mya...
by Martin Koob
Mon Apr 06, 2020 7:21 pm
Forum: Announcements
Topic: GLX2 script editor released for Revolution
Replies: 62
Views: 95396

Re: GLX2 script editor released for Revolution

Several things that were previously working were fixed until they broke, then refactored until they worked again.
I liked this line. Been there, done that. :D

Looking forward to trying this out. Thanks.

Martin
by Martin Koob
Sun Feb 09, 2020 6:58 pm
Forum: CGIs and the Server
Topic: LC Server returns 'lscgid: execve():/home/myapp/sites/api.myapp.com/cgi-bin/livecode-server: No such file or Directory
Replies: 1
Views: 6243

LC Server returns 'lscgid: execve():/home/myapp/sites/api.myapp.com/cgi-bin/livecode-server: No such file or Directory

I use LiveCode Server for a REST api for a LiveCode application and I am migrating an installation of the api to a new server with a new domain. The API uses Ralf Bitter's wonderful Revigniter framework. https://revigniter.com To to the transfer the site I copied all the files to the new server. The...
by Martin Koob
Thu Jul 11, 2019 2:35 am
Forum: Internet
Topic: Can you cancel tsNet / AWSS3 requests?
Replies: 0
Views: 3595

Can you cancel tsNet / AWSS3 requests?

Hi I am changing from using mergAWSS3 commands to using the new AWSS3 commands in LC 9.0.4. I have two questions about how tsNet and the new AWSS3 commands work together 1. It seems I need to use tsNetGetStatus to monitor progress on uploads and downloads with AWSS3PutObject and AWSS3GetObject. If I...
by Martin Koob
Thu Jun 13, 2019 6:25 pm
Forum: Community Projects
Topic: LC 9.0.4 GLX Mac and Win app - saving standalone errors
Replies: 7
Views: 10241

Re: LC 9.0.4 GLX Mac and Win app - saving standalone errors

@trevor Thanks for the help. I thought I had removed the mergAV inclusion but I found when looking at the inclusions tab that it was still checked.

Once I cleared that the standalone built successfully.

Martin
by Martin Koob
Wed Jun 12, 2019 1:23 am
Forum: Community Projects
Topic: LC 9.0.4 GLX Mac and Win app - saving standalone errors
Replies: 7
Views: 10241

Re: LC 9.0.4 GLX Mac and Win app - saving standalone errors

Hi One step further but another hurdle encountered. I got the build to proceed by making the following changes to the following code in the handler BuildStandalones in the stack glxApplicationProperties . ## Now build standalones if theError is empty then put "glxappLauncher" into theStack put speci...
by Martin Koob
Thu Jun 06, 2019 7:44 pm
Forum: Community Projects
Topic: LC 9.0.4 GLX Mac and Win app - saving standalone errors
Replies: 7
Views: 10241

Re: LC 9.0.4 GLX Mac and Win app - saving standalone errors

I tracked down where the error is generated it is in stack glxapplicationproperties > handler BuildStandalones Line 72 send "revSaveAsStandalone theStack, theOutputFolder" to stack "revSaveAsStandalone" of stack "revStandaloneSettings" In LC 9 there is a stack "revStandaloneSettings" but it does not...
by Martin Koob
Thu Jun 06, 2019 5:14 pm
Forum: Community Projects
Topic: LC 9.0.4 GLX Mac and Win app - saving standalone errors
Replies: 7
Views: 10241

LC 9.0.4 GLX Mac and Win app - saving standalone errors

Hi Now that I can open my app and run it in LC 9.0.5 on my Mac I tried to create a standalone using the GLX application Packager. To do that I need to create the standalone using the GLX Application Properties Plugin. I have followed the steps in the tutorial here: https://revolution.screenstepslive...
by Martin Koob
Thu Jun 06, 2019 4:29 pm
Forum: Community Projects
Topic: Converting LC 6.7.3 App(GLX based) with Data Grids to LC9 - updating the stacks' version required?
Replies: 3
Views: 6275

Re: Converting LC 6.7.3 App(GLX based) with Data Grids to LC9 - updating the stacks' version required?

Hi Trevor The problem kind of resolved itself. After I had walked through the code of the row behaviour of one of my data grids on the first card a couple of times using hard breakpoints then removing the hard breakpoints and saving it the stack loaded fine. I am using lcVCS for version control and ...
by Martin Koob
Thu Jun 06, 2019 4:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: constraining stack's aspect ratio while resizing
Replies: 9
Views: 6099

Re: constraining stack's aspect ratio while resizing

Thanks Hermann.

I will try the placeholder. I was thinking of trying to take a snapshot of the rect of the camera display and put it in an image to use as the placeholder. Not sure if that will work. Will see.

Martin
by Martin Koob
Thu May 30, 2019 10:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: constraining stack's aspect ratio while resizing
Replies: 9
Views: 6099

Re: constraining stack's aspect ratio while resizing

Thanks [-hh] Your suggestion to remove the two lines from mouseDown works --set the liveResizing of this stack to false --> remove this, see the bug described below. --set the resizable of this stack to false --> moved this to a preopenstack handler With just a graphic that is resized in proportion ...
by Martin Koob
Thu May 30, 2019 6:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: constraining stack's aspect ratio while resizing
Replies: 9
Views: 6099

Re: constraining stack's aspect ratio while resizing

Thanks [-hh] that does what I want. One thing though is that if I resize once by dragging the 'resize' button on the bottom right and then try to click that button again to resize it, it does not receive the mouseDown message so I can't resize the stack again on that first attempt. The 'resize' butt...
by Martin Koob
Thu May 30, 2019 5:47 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: constraining stack's aspect ratio while resizing
Replies: 9
Views: 6099

constraining stack's aspect ratio while resizing

I want to have a stack window that has an graphic at a specific aspect ratio and that will maintain the aspect ratio of the image as the stack is being resized. In addition the stack window aspect ratio (with some adjustments) is maintained while the stack is being resized. I can get the image to re...
by Martin Koob
Mon May 27, 2019 7:36 pm
Forum: Community Projects
Topic: Converting LC 6.7.3 App(GLX based) with Data Grids to LC9 - updating the stacks' version required?
Replies: 3
Views: 6275

Converting LC 6.7.3 App(GLX based) with Data Grids to LC9 - updating the stacks' version required?

When I first got my LC 6.7.3 application to run in 9.0.4 the application it threw and error when opening the main stack. The error dialog shows while the application is laying out the second of 2 Data Grid controls. (The first one loaded with no problems. The error occurs in the LayoutControl handle...

Go to advanced search