Re: Consumable In App Purchases on Android

2023-08-08 Thread Dan Friedman via use-livecode
Andrew, Thank you for the input. The code snippet you said you are using has mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase. Is that what you are doing? The LC example show that mobileStoreMakePurchase should be handled in the purchaseStateUpdate message after

Re: Variable Watcher disappeared

2023-08-08 Thread Craig Newman via use-livecode
What happens if you set the top of the SE window a bit higher than current? I have a gadget that locates the SE on my portrait monitor on command. I could easily make its top anything I want, and I bet that would display the hidden bottom of the window. Craig > On Aug 8, 2023, at 1:39 PM, Bob

Sorting Arrays

2023-08-08 Thread Bob Sneidar via use-livecode
Has anyone come across a need to sort a numbered array by the values of the different keys? Here you go. Keep in mind that there is no error checking so I have no idea what would happen if you provided a sort key that didn’t exist in the array. on sortNumberedArray @pArrayDataA, pSortKeys

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread matthias rebbe via use-livecode
Hi Dar, just a shot in the dark For some time now Livecode does an adhoc code signing when creating a macOS standalone. So therefore the Xcode command line tools have to be installed. In case you have installed more than one versions of Xcode on your system, did you select in Xcode

Re: Variable Watcher disappeared

2023-08-08 Thread Mark Smith via use-livecode
Bob, glad you were able to fix it. I wonder what caused it in the first place. Martin, an incredible list of ways to get windows back. Thanks for posting!!! Sent from my iPhone > On Aug 8, 2023, at 9:05 PM, Bob Sneidar via use-livecode > wrote: > > Didn’t try that. Too late now, I’m on new

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Dar Scott via use-livecode
I have a clue. I changed the build destination to a drive on my Mac. That seemed to have gotten past that error and I ran into other errors. I guess building expects a drive on my Mac. And my Mac returns a bogus error message. I suggest one of these as an improvement to the build operation:

Re: Variable Watcher disappeared

2023-08-08 Thread Bob Sneidar via use-livecode
Didn’t try that. Too late now, I’m on new prefs, but if it happens again I’ll give it a try. I did drag the window to no effect, but I didn’t try resizing from the top. Bob S On Aug 8, 2023, at 12:13 PM, Craig Newman via use-livecode wrote: What happens if you set the top of the SE window

Re: If you're using the github version of Navigator, please update

2023-08-08 Thread Bernard Devlin via use-livecode
Thanks for reminding me to re-install a copy, Geoff. I've been away from LC development for a year or so, started again using a new machine, and had forgotten how much I like using your tool. I just downloaded v 7.5 RC2 from your Wordpress site, which looks like it's at the cutting edge along

Variable Watcher disappeared

2023-08-08 Thread Bob Sneidar via use-livecode
Hi all. Not sure how I did it but I can no longer see the variables while debugging. The bottom pane has disappeared and nothing I can find can get it back. Any ideas? Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Consumable In App Purchases on Android

2023-08-08 Thread Dan Friedman via use-livecode
Panos, Thank you for the reply. Unfortunately, this isn’t working for me… maybe I’m doing something wrong? Product ID is “1001”. I was able to purchase that product no problem. If I attempt to purchase it again, I get “alreadyEntitled”. In a button I put: on mouseUp

Re: Light Windows programs takes 40 s to load

2023-08-08 Thread Dar Scott via use-livecode
I stopped service Spoolsv. The executable then loaded quickly. It is not possible to delete drivers on that computer. I will set up a different computer with limited printer drivers. I look forward to seeing this resolved. My program does not print. Is there something I can remove in the

Re: Light Windows programs takes 40 s to load

2023-08-08 Thread J. Landman Gay via use-livecode
Removing the print driver or spooler works on the current machine but it will affect any other user who runs the app. We have a steady stream of support tickets from Windows users and a boilerplate response prepared. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Dar Scott via use-livecode
xcode-select -p /Library/Developer/CommandLineTools > On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode > wrote: > > I removed all inclusions. I opted to remove all profiles, probably none. > There are no Copy Files. I’m building for Intel only. > > For PLIST I chose Chose a PLIST and

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Dar Scott via use-livecode
Oh, and I’m building from a network drive. > On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode > wrote: > > xcode-select -p > /Library/Developer/CommandLineTools > >> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode >> wrote: >> >> I removed all inclusions. I opted to remove

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Mark Smith via use-livecode
I get this in response to Xcode-select -p /Applications/Xcode 13.2.app/Contents/Developer > On 8 Aug 2023, at 5:41 pm, Dar Scott via use-livecode > wrote: > > xcode-select -p > /Library/Developer/CommandLineTools > >> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode >> wrote: >>

Re: Variable Watcher disappeared

2023-08-08 Thread Martin Koob via use-livecode
Hi Bob So you can see the Script Editor but you can’t see the variables pane at the bottom? There is a drag handle at the bottom of the Script Editor pane to resize it. Maybe you accidentally dragged that to the bottom hiding the variable pane at the bottom. Even if you did that you should

Re: Variable Watcher disappeared

2023-08-08 Thread Dick Kriesel via use-livecode
Hi, Bob. The bottom pane reappears to show search results, so search for something. — Dick > On Aug 8, 2023, at 9:28 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > Not sure how I did it but I can no longer see the variables while debugging. > The bottom pane has disappeared and

Re: Variable Watcher disappeared

2023-08-08 Thread Bob Sneidar via use-livecode
That was a good suggestion, but alas no cookie. The entire window is visible, but the handle to resize is not visible. The handle for the handlers pane is visible, but is lower than halfway down the window, clueing me into the likelihood that something has gone horribly awry with my script

Re: Variable Watcher disappeared

2023-08-08 Thread Bob Sneidar via use-livecode
Resetting prefs fixed it. Should be a better way than starting from scratch though. Bob S > On Aug 8, 2023, at 10:28 AM, Bob Sneidar wrote: > > That was a good suggestion, but alas no cookie. The entire window is visible, > but the handle to resize is not visible. The handle for the

Color of text of the selected tab of Tab Panel

2023-08-08 Thread Dar Scott via use-livecode
I’m developing on a Mac. In order to change the color of the text on the selected tab of a Tab Panel I had to change backgroundColor. The seems weird. (I’ve been away, so I don’t remember how this should go). However, the .exe on Windows shows that text the same color as on the other tabs. I

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Dar Scott via use-livecode
Thanks, Jacque! That gives me a clue. I will try to get more info on this. However, that note shows how to delete the offending resource using the xattr tool, but I have no app to point it to. LiveCode did not build anything. I’m willing to try some magic values in Standalone Application

Re: If you're using the github version of Navigator, please update

2023-08-08 Thread Geoff Canyon via use-livecode
Thanks for the suggestion, Bernard. Note that in a moment of whimsy I switched development of the documentation from wordpress to wix. So documentation on wordpress stops at version 6. Everything more recent is here: https://gcanyon.wixsite.com/navigator But even that's slightly out of date. I'll

Re: Light Windows programs takes 40 s to load

2023-08-08 Thread Dar Scott via use-livecode
Sure, Panos! Uh, what’s its name? > On Aug 7, 2023, at 11:42 AM, panagiotis m via use-livecode > wrote: > > Hello Dar, > > Could you quit the printer spooler process ( from the task manager or from > Windows CMD) and try again? > > Cheers, > Panos > > On Mon, 7 Aug 2023, 20:38 Dar Scott via

Re: Light Windows programs takes 40 s to load

2023-08-08 Thread panagiotis m via use-livecode
Hello Dar, So, try this: 1. Open Windows Task Manager 2. Search for a process named "Spooler Subsystem app" or just "Print Spooler" 3. Force quit this process Now open your standalone and see if it starts immediately. Cheers, Panos -- On Tue, 8 Aug 2023 at 17:27, Dar Scott via use-livecode <

Re: Light Windows programs takes 40 s to load

2023-08-08 Thread Bob Sneidar via use-livecode
Pardon me if you know this already. Apps that are capable of printing will attempt to connect to the default printer upon launch. Panos is trying to isolate an issue where if the default printer is unresponsive, your app will wait until the process times out before proceeding. In Windows the

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread J. Landman Gay via use-livecode
I built a Mac standalone about 3 weeks ago without issue using an RC version of 9.6.9. I'm still on Monterey though. Do you have any inclusions selected or files in the Copy Files pane of the standalone settings? If so, try building without them and see what happens. -- Jacqueline Landman Gay

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Bob Sneidar via use-livecode
I have, but I don’t do any signing or notarizing. If that happens transparently, then it’s working for me. Bob S > On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode > wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread J. Landman Gay via use-livecode
Signing happens after the app is built and is a manual process, so yours isn't signed /notarized yet. But unsigned apps run on the development machine anyway, so I'd say you built the app successfully. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Mark Smith via use-livecode
I should add I used 9.6.8 on Monterey. > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode > wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > > However, that note shows how to delete the offending resource using the xattr > tool, but I have no

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Dar Scott via use-livecode
I removed all inclusions. I opted to remove all profiles, probably none. There are no Copy Files. I’m building for Intel only. For PLIST I chose Chose a PLIST and then clicked Use None. I set my bundle identifier and have not changed that among my attempts. I left all of the other Version

Re: Consumable In App Purchases on Android

2023-08-08 Thread panagiotis m via use-livecode
Hello Dan, I think Google no longer differentiates between consumables and non-consumables when setting up the in-app product - they are both marked as "In-App Products”. However, in LiveCode, you have to call mobileStoreConsumePurchase pProductID to be able to buy the product again - otherwise

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Mark Smith via use-livecode
Hi Dar, I just built one unsigned and it worked fine. Will you be signing it for distribution in the Mac App store as well? Mark > On 8 Aug 2023, at 2:59 pm, Dar Scott via use-livecode > wrote: > > Thanks, Jacque! > > That gives me a clue. I will try to get more info on this. > >

Re: Light Windows programs takes 40 s to load

2023-08-08 Thread panagiotis m via use-livecode
Hello all, We recently fixed a bug (affecting mainly Windows 11) where the LC installer, the LC IDE and Windows standalones were crashing on startup. It turned out this was caused if some generic printer drivers were installed in the device, and installing the official printer drivers from the

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread panagiotis m via use-livecode
Hello all, The standalone builder does add a signature when building the mac standalone - but an ad hoc one (i.e. it does not use an actual certificate). The error Dar gets happens during the standalone building process. @Dar Could you attach the exact error? Just upload the screenshot somewhere

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread matthias rebbe via use-livecode
Forgot my answer, i just saw your post that your error where caused because of building to a network drive. I had similar problems btw. in the past when building to a dropbox folder or a folder that was synchronized with iCloud. Regards, Matthias > Am 09.08.2023 um 01:13 schrieb

Re: Consumable In App Purchases on Android

2023-08-08 Thread Andrew at MidWest Coast Media via use-livecode
If I’m consuming instantly, this is the code working in my Android/iOS project with comment lines explaining the values being passed in the Android build (note that the product ID values are more specific for Android than iOS): if tPlatform = "android" then put

Re: Color of text of the selected tab of Tab Panel

2023-08-08 Thread Bob Sneidar via use-livecode
Uurgh. I ran into this. It prompted me to create my own custom tab group around the tab widget. I overlayed buttons on the tab graphics, but the tricky part was getting the buttons to resize and reposition when new tabs were added. Bob S > On Aug 8, 2023, at 10:41 AM, Dar Scott via

Rectangles on Windows?

2023-08-08 Thread Dar Scott via use-livecode
I have some rectangles that work just fine in development on my Mac. However, there are problems in my Windows standalone. Not Showing Up Two sets of rectangles are not visible in Windows. One set is opaque and one set is not. The opaque set is made visible or not invisible with a wipe

Re: Color of text of the selected tab of Tab Panel

2023-08-08 Thread Dar Scott via use-livecode
Thanks, Bob! I am quite open to using a different tab control. I might make my own or use another designer's tab control that fits in with the run-of-the-mill GUI. Hmmm, I’ve put some time into this look and feel, but I’m willing to consider a change, so I guess I should look at even exotic