Search found 913 matches

by trevordevore
Fri May 11, 2018 2:37 pm
Forum: LiveCode Builder
Topic: CGWindowListCopyWindowInfo, CFArrayRef, NSArray, and __bridge
Replies: 6
Views: 869

CGWindowListCopyWindowInfo, CFArrayRef, NSArray, and __bridge

I'm trying to convert some code that lists all windows in a session on macOS. In order to do that I need to wrap CGWindowListCopyWindowInfo() <https://developer.apple.com/documentation/coregraphics/1455137-cgwindowlistcopywindowinfo?language=objc>. The definition is as follows: CFArrayRef CGWindowLi...
by trevordevore
Fri May 11, 2018 1:05 pm
Forum: LiveCode Builder
Topic: Help with macOS system status bar menu
Replies: 9
Views: 1288

Re: Help with macOS system status bar menu

Thanks for the description @LCMark. I made the change to ObjcRetainedId for an NSError that is used in some other code. I've tried moving my variables into module level vars but LiveCode starts crashing as soon as I do. I'm not sure how to troubleshoot that. Any ideas? Latest source code with non-cr...
by trevordevore
Thu May 03, 2018 3:06 am
Forum: LiveCode Builder
Topic: Help with macOS system status bar menu
Replies: 9
Views: 1288

Re: Help with macOS system status bar menu

No, the external isn't part of the framework. It is just an external that I use. The LCB version is something that could be made available, however.
by trevordevore
Wed May 02, 2018 11:18 pm
Forum: LiveCode Builder
Topic: Help with macOS system status bar menu
Replies: 9
Views: 1288

Re: Help with macOS system status bar menu

Thanks for the link Paul. I actually have an external that creates status bar menus that I use in my apps which has served as a guide as I’ve worked on the LCB code.
by trevordevore
Wed May 02, 2018 8:00 pm
Forum: LiveCode Builder
Topic: Help with macOS system status bar menu
Replies: 9
Views: 1288

Help with macOS system status bar menu

After reviewing the resources shared in the "FFI Help wrapping ObjC" thread I decided to fiddle with creating a status bar menu on macOS. I have been pleasantly surprised a number of times in how helpful the Extension Builder has been in reporting errors. I have it to the point where the image file ...
by trevordevore
Wed Feb 14, 2018 5:41 pm
Forum: Community Projects
Topic: Levure version 0.9.5 released
Replies: 0
Views: 3384

Levure version 0.9.5 released

Howdy folks,

Version 0.9.5 of the Levure framework is now available.

https://github.com/trevordevore/levure/releases
by trevordevore
Wed Feb 14, 2018 5:40 pm
Forum: Talking LiveCode
Topic: Creating installers when packaging a Levure application
Replies: 18
Views: 1394

Re: Creating installers when packaging a Levure application

Version 0.9.5 of Levure has been released which includes the fix for the Inno Setup helper.

https://github.com/trevordevore/levure/releases
by trevordevore
Thu Nov 30, 2017 4:38 pm
Forum: Talking LiveCode
Topic: Creating installers when packaging a Levure application
Replies: 18
Views: 1394

Re: Creating installers when packaging a Levure application

@bhall2001 Have you had a chance to test the updates yet?
by trevordevore
Wed Nov 22, 2017 4:45 pm
Forum: Talking LiveCode
Topic: Creating installers when packaging a Levure application
Replies: 18
Views: 1394

Re: Creating installers when packaging a Levure application

Thanks for the details. I believe I have found the problem. The inno_setup helper should always be outputting the .iss file to the root build folder (e.g. 0.1.1). I always use a particular folder structure in my apps that didn't reveal this bug. Can you do the following to confirm? 1. Replace inno_s...
by trevordevore
Tue Nov 21, 2017 2:15 pm
Forum: Talking LiveCode
Topic: Creating installers when packaging a Levure application
Replies: 18
Views: 1394

Re: Creating installers when packaging a Levure application

It looks like the copy files section isn't set up correctly. Based on where the .iss file is ending up and the fact that it isn't being filled in it looks as though it isn't being processed by the inno_setup helper. Two things - 1) Are you using the latest version of the Levure framework? You can ch...
by trevordevore
Tue Nov 21, 2017 4:18 am
Forum: Talking LiveCode
Topic: Creating installers when packaging a Levure application
Replies: 18
Views: 1394

Re: Creating installers when packaging a Levure application

Without knowing what steps you’ve taken it is hard to say. Did you add an entry to the copy files not section?

https://github.com/trevordevore/levureh ... es-section
by trevordevore
Wed Nov 08, 2017 12:55 am
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 2591

Re: Question to get started with Levure framework

I'm glad you got it working. Here is the PR that I submitted so that the next update to LC 9 includes the fix:

https://github.com/livecode/livecode-ide/pull/1824
by trevordevore
Tue Nov 07, 2017 6:25 pm
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 2591

Re: Question to get started with Levure framework

It sounds like you are going to need to dig in and do some debugging then :)

One idea is to use some answer commands to alert you when the scroller is created and deleted.
by trevordevore
Tue Nov 07, 2017 6:06 pm
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 2591

Re: Question to get started with Levure framework

You shouldn't need to recreate the DataGrid from scratch. You may need to restart the IDE after replacing the file though. I made one change to the gist about 15 minutes ago. Maybe grab it again and see if that addresses the issue. Otherwise I would suggest adding some logging to the script to see i...

Go to advanced search