Re: macOS, is my app active?
Klaus, I have a function that generally works with this AppleScript: function stsGetFrontmostProcess put "tell app `System Events`" & cr & \ "get (the name of every application process whose frontmost is true) as string" & cr & \ "end tell" into tScript replace "`" with quote in tScript do tScript as AppleScript put the result into tResult replace quote with "" in tResult return tResult end stsGetFrontmostProcess Give that a try and see if it works for you. Ken > On Nov 23, 2019, at 6:24 AM, Klaus major-k via use-livecode > wrote: > > Hi friends, > > can we check if our standalone is currently active, means in > the "foreground" or if it is not active? Know what I mean? > If yes, how can we do that? LC? AppleScript? > > I want to alert the user if the app is active, but not if the app > is not active. > > Thanks in advance! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > kl...@major-k.de > > > ___ > 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: macOS, is my app active?
Trevor, your code is written really nice! Thanks for the links and code. JB > On Nov 23, 2019, at 5:24 PM, Trevor DeVore via use-livecode > wrote: > > On Sat, Nov 23, 2019 at 7:09 PM scott--- via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Trevor, >> >> Those directions were awesome! I saw the security warning with the >> AppleScript method. Your extension method avoided it. Thank you. > > > You’re welcome Scott. > > -- > Trevor DeVore > ScreenSteps > ___ > 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: macOS, is my app active?
On Sat, Nov 23, 2019 at 7:09 PM scott--- via use-livecode < use-livecode@lists.runrev.com> wrote: > Trevor, > > Those directions were awesome! I saw the security warning with the > AppleScript method. Your extension method avoided it. Thank you. You’re welcome Scott. -- Trevor DeVore ScreenSteps ___ 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: macOS, is my app active?
Trevor, Those directions were awesome! I saw the security warning with the AppleScript method. Your extension method avoided it. Thank you. — Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email sc...@elementarysoftware.com booth1-800-615-0867 -- > On Nov 23, 2019, at 6:06 AM, Trevor DeVore via use-livecode > wrote: > > On Sat, Nov 23, 2019 at 6:24 AM Klaus major-k via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi friends, >> >> can we check if our standalone is currently active, means in >> the "foreground" or if it is not active? Know what I mean? >> If yes, how can we do that? LC? AppleScript? >> >> I want to alert the user if the app is active, but not if the app >> is not active. >> > > Apple provides API calls to do this and wrapping Objective-C APIs is pretty > straightforward. The APIs you are interested in: > > Get frontmost app: > https://developer.apple.com/documentation/appkit/nsworkspace/1532097-frontmostapplication?language=objc > > Get bundle identifier of frontmost app: > https://developer.apple.com/documentation/appkit/nsrunningapplication/1529140-bundleidentifier?language=objc > > I have a macOS LCB "playground" repo where I test a number of things out > and upload them for others to see. Take a look at > the NSWorkspaceGetFrontmostApplication function: > > https://github.com/trevordevore/lc-macos-toolset/blob/master/NSWorkspace/nsworkspace.lcb#L133 > > You can call it like this: > > ``` > put NSWorkspaceGetFrontmostApplication("bundle id") > ``` > > If I run the function from within LiveCode it returns "com.runrev.livecode". > > If I run the following in the message box and switch to Chrome it returns > "com.google.Chrome": > > ``` > wait 1 second;put NSWorkspaceGetFrontmostApplication("bundle id") > ``` > > So I would think it would do what you want. You would, however, need to > compile the nsworkspace.lcb and load the resulting extension in your app. > Here are some quick instructions in case you want to try: > > 1. Download and unzip repo using "Clone or Download" link found at > https://github.com/trevordevore/lc-macos-toolset > 2. Launch LC 9 and open the Extension Builder (EB) from Tools > Extension > Builder menu. > 3. Click on the folder icon in top right of EB window and select the > ./NSWorkspace/nsworkspace.lcb file. > 4. Click on play button in bottom left of EB window. > 5. Test `wait 1 second;put NSWorkspaceGetFrontmostApplication("bundle id")` > in the message box. It should return a value. > 6. Look in the ./NSWorkspace folder for the module.2.lcm file. This is the > file that can be renamed, added to your application folder, and loaded > using `load extension`. > > Regarding step 6 - If you don't want to store your extension externally to > your application you can also use the "+" button in the EB to install the > extension in your LC environment. Now the extension will load whenever you > launch LC and you can select "NSWorkspace" in the Standalone Builder > Inclusions tab so that the extension is bundled with your executable. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.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: macOS, is my app active?
> Klaus M. wrote: > Still -> execution error It works here in the IDE on MacOS 10.14.6 and 10.15.1 using LC 9.5.0. or LC 8.1.10. (I stopped using unstable LC versions a while ago). Did you try from the IDE? If it is from the standalone only you could also try to use osascript via shell: get shell("osascript " & ) or use "osascript -e " for direct input. Works all here... ___ 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: macOS, is my app active?
That is what I did too! Then I went to each line and deleted the white space until I ended up on the line above, after that I pressed return so the text went to its own line and it reformatted that line properly. This process should be done for each line. JB > On Nov 23, 2019, at 3:42 PM, Klaus major-k via use-livecode > wrote: > > Hi JB, > >> Am 24.11.2019 um 00:27 schrieb JB via use-livecode >> : >> >> Hi Klaus, >> >> I did that and got a error but by reformatting >> the code properly it worked. > > what do you mean by "reformatting"? > I copied this from a TXT file and "pasted unformatted" into my field. > > Still -> execution error > > I suspect this is a permission thing, maybe I need to grant LC, and my later > app, > permissions in the macOS Settings panel. > > So the, little more complex, solution Trevor proposed suddenly looks a lot > more appealing! :-D > >> JB >> ... >>> This is fld "IN" (your snippet): tell application "System Events" set activeApp to name of first application process whose frontmost is true return activeApp end tell on mouseUp do fld "IN" as "applescript" put the result into fld "OUT" end mouseUp yields in fld "OUT": "Livecode-Community" or "LiveCode-Indy" or "LiveCode-Business" > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > kl...@major-k.de > > > ___ > 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: WebP-Tool v103
> JJS wrote: > Ok sorry, i forgot to mention. I'm also on win10-64bit. Did you save the stack to a before using it? If not, it has no path for the binaries, which will be installed in folder "WIN" of your stack's folder... If so, I can't really help as it works here. The stack is very basic LC Script. You could start with checking whether the binaries are written out. The rest is simply using shell() with files written to the temporary folder. ___ 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: macOS, is my app active?
Hi JB, > Am 24.11.2019 um 00:27 schrieb JB via use-livecode > : > > Hi Klaus, > > I did that and got a error but by reformatting > the code properly it worked. what do you mean by "reformatting"? I copied this from a TXT file and "pasted unformatted" into my field. Still -> execution error I suspect this is a permission thing, maybe I need to grant LC, and my later app, permissions in the macOS Settings panel. So the, little more complex, solution Trevor proposed suddenly looks a lot more appealing! :-D > JB > ... >> >>> This is fld "IN" (your snippet): >>> >>> tell application "System Events" >>> set activeApp to name of first application process whose frontmost is true >>> return activeApp >>> end tell >>> >>> on mouseUp >>> do fld "IN" as "applescript" >>> put the result into fld "OUT" >>> end mouseUp >>> >>> yields in fld "OUT": >>> "Livecode-Community" or >>> "LiveCode-Indy" or >>> "LiveCode-Business" Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ 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: macOS, is my app active?
Hi Klaus, I did that and got a error but by reformatting the code properly it worked. JB > On Nov 23, 2019, at 1:04 PM, Klaus major-k via use-livecode > wrote: > > Hallo Hermann, > >> Am 23.11.2019 um 17:16 schrieb hh via use-livecode >> : >> >> MacOS 10.15.1 > > macOS 10.14.6 here, LC 9.5.1 rc1 > >> This is fld "IN" (your snippet): >> >> tell application "System Events" >> set activeApp to name of first application process whose frontmost is true >> return activeApp >> end tell >> >> on mouseUp >> do fld "IN" as "applescript" >> put the result into fld "OUT" >> end mouseUp >> >> yields in fld "OUT": >> "Livecode-Community" or >> "LiveCode-Indy" or >> "LiveCode-Business" > > no, it doesn't unfortunately! > > I wrote (this is in fact in my field 1): >> - >> tell application "System Events" >> set activeApp to name of first application process whose frontmost is >> true >> return activeApp >> end tell >> >> Works fine in the AppleScript Editor, but I get "execution error" when DOing >> this in LC!? > > With DOing I meant of course your above mentioned procedere "on mouseup": > > on mouseUp > do fld 1 as AppleScript > put the result into fld 2 > end mouseUp > > But all I get in field 2 is -> execution error > Clueless... > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > kl...@major-k.de > > > ___ > 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: macOS, is my app active?
Hi Trevor, > Am 23.11.2019 um 17:27 schrieb Trevor DeVore via use-livecode > : > On Sat, Nov 23, 2019 at 8:11 AM Klaus major-k via use-livecode < > use-livecode@lists.runrev.com> wrote: >> wow, lots of infos, thank you very much, but maybe a little overkill for >> me. >> >> It would suffice for me to get this little snippet to work: >> - >> tell application "System Events" >>set activeApp to name of first application process whose frontmost >> is true >>return activeApp >> end tell >> >> Works fine in the AppleScript Editor, but I get "execution error" when >> DOing this in LC!? >> Any hints appreciated! >> >> Thanks a lot! > You’re welcome. I don’t know the solution to your problem with AppleScript. > If you do go the AppleScript route just check that you don’t trigger any > security warnings in later versions of macOS. Maybe that isn’t a big deal > for your app but it is worth checking. I already stored your mail for future use and will surely take a deeper look once I have my current project up and running! > Trevor DeVore Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ 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: WebP-Tool v103
Ok sorry, i forgot to mention. I'm also on win10-64bit. hh via use-livecode schreef op 23 november 2019 12:43:34 CET: >@BR. >There is currently not yet support for mobile (precompiled binaries). >But Android 4.0+ supports the format natively in its browser. See > >https://developers.google.com/speed/webp/faq#which_web_browsers_natively_support_webp > >The way you could do it on desktop (and probably as soon as supported >on mobile): > >You have only webp resources of the images (as custom props) in the >stack. >The binary (could also be installed into temporary folder) converts a >webp image >of the stack as soon as it is called to png (for display), on the fly. >In my stack the needed time for that procedure is displayed above the >image. >After display you can delete the png -- if converting was fast >enough... > >@JJS. >This is most probably the reason for that: >The stack contains only the binaries for 64bit machines. >I tested successfully on a 64bit Win10 machine. > >See the instructions for using the stack on 32bit machines >(this works here, I tested on a 32bit Win7 machine): > >http://forums.livecode.com/viewtopic.php?p=185384#p185384 > >Hope this was the reason and it's fine now. >___ >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 -- Verstuurd vanaf mijn Android apparaat met K-9 Mail. ___ 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: macOS, is my app active?
Hallo Hermann, > Am 23.11.2019 um 17:16 schrieb hh via use-livecode > : > > MacOS 10.15.1 macOS 10.14.6 here, LC 9.5.1 rc1 > This is fld "IN" (your snippet): > > tell application "System Events" > set activeApp to name of first application process whose frontmost is true > return activeApp > end tell > > on mouseUp > do fld "IN" as "applescript" > put the result into fld "OUT" > end mouseUp > > yields in fld "OUT": > "Livecode-Community" or > "LiveCode-Indy" or > "LiveCode-Business" no, it doesn't unfortunately! I wrote (this is in fact in my field 1): > - > tell application "System Events" > set activeApp to name of first application process whose frontmost is > true > return activeApp > end tell > > Works fine in the AppleScript Editor, but I get "execution error" when DOing > this in LC!? With DOing I meant of course your above mentioned procedere "on mouseup": on mouseUp do fld 1 as AppleScript put the result into fld 2 end mouseUp But all I get in field 2 is -> execution error Clueless... Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ 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: Help Wrapping HTMLTidy in LCB
On Sat, Nov 23, 2019 at 10:52 AM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > Is it really worth the work to do that from LCB? In my opinion, yes. If for no other reason then that with each library that is wrapped in LCB I learn what the limitations are in LCB or I learn how to do something that I didn’t know how to do before. There is a lot of code out in the world that we could benefit from in LiveCode. Not all have as nice a command line tool as HTMLTidy. Some don’t have a command line tool at all. Having lots and lots of example of wrapping C, Objective-C, etc. will help more people wrap libraries and contribute to the community in the future. - - Trevor DeVore ScreenSteps > ___ 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: Help Wrapping HTMLTidy in LCB
Is it really worth the work to do that from LCB? A while ago I installed HTML tidy 5.6.0 from here http://binaries.html-tidy.org (the Mac .dmg) Then I copied the binary "tidy" from /usr/local/bin compressed to my stack (=231 KByte). Now I use it from there, running it in the temporary folder via shell(). Works fine (on any 64bit Mac). ___ 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: macOS, is my app active?
On Sat, Nov 23, 2019 at 8:11 AM Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > > wow, lots of infos, thank you very much, but maybe a little overkill for > me. > > It would suffice for me to get this little snippet to work: > - > tell application "System Events" > set activeApp to name of first application process whose frontmost > is true > return activeApp > end tell > > Works fine in the AppleScript Editor, but I get "execution error" when > DOing this in LC!? > Any hints appreciated! > > Thanks a lot! You’re welcome. I don’t know the solution to your problem with AppleScript. If you do go the AppleScript route just check that you don’t trigger any security warnings in later versions of macOS. Maybe that isn’t a big deal for your app but it is worth checking. - - Trevor DeVore > ___ 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: macOS, is my app active?
MacOS 10.15.1 This is fld "IN" (your snippet): tell application "System Events" set activeApp to name of first application process whose frontmost is true return activeApp end tell on mouseUp do fld "IN" as "applescript" put the result into fld "OUT" end mouseUp yields in fld "OUT": "Livecode-Community" or "LiveCode-Indy" or "LiveCode-Business" ___ 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: macOS, is my app active?
Hi Trevor, > Am 23.11.2019 um 15:06 schrieb Trevor DeVore via use-livecode > : > > On Sat, Nov 23, 2019 at 6:24 AM Klaus major-k via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi friends, >> >> can we check if our standalone is currently active, means in >> the "foreground" or if it is not active? Know what I mean? >> If yes, how can we do that? LC? AppleScript? >> >> I want to alert the user if the app is active, but not if the app >> is not active. > Apple provides API calls to do this and wrapping Objective-C APIs is pretty > straightforward. The APIs you are interested in: > ... > Regarding step 6 - If you don't want to store your extension externally to > your application you can also use the "+" button in the EB to install the > extension in your LC environment. Now the extension will load whenever you > launch LC and you can select "NSWorkspace" in the Standalone Builder > Inclusions tab so that the extension is bundled with your executable. > > -- > Trevor DeVore wow, lots of infos, thank you very much, but maybe a little overkill for me. It would suffice for me to get this little snippet to work: - tell application "System Events" set activeApp to name of first application process whose frontmost is true return activeApp end tell Works fine in the AppleScript Editor, but I get "execution error" when DOing this in LC!? Any hints appreciated! Thanks a lot! Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ 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: macOS, is my app active?
On Sat, Nov 23, 2019 at 6:24 AM Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi friends, > > can we check if our standalone is currently active, means in > the "foreground" or if it is not active? Know what I mean? > If yes, how can we do that? LC? AppleScript? > > I want to alert the user if the app is active, but not if the app > is not active. > Apple provides API calls to do this and wrapping Objective-C APIs is pretty straightforward. The APIs you are interested in: Get frontmost app: https://developer.apple.com/documentation/appkit/nsworkspace/1532097-frontmostapplication?language=objc Get bundle identifier of frontmost app: https://developer.apple.com/documentation/appkit/nsrunningapplication/1529140-bundleidentifier?language=objc I have a macOS LCB "playground" repo where I test a number of things out and upload them for others to see. Take a look at the NSWorkspaceGetFrontmostApplication function: https://github.com/trevordevore/lc-macos-toolset/blob/master/NSWorkspace/nsworkspace.lcb#L133 You can call it like this: ``` put NSWorkspaceGetFrontmostApplication("bundle id") ``` If I run the function from within LiveCode it returns "com.runrev.livecode". If I run the following in the message box and switch to Chrome it returns "com.google.Chrome": ``` wait 1 second;put NSWorkspaceGetFrontmostApplication("bundle id") ``` So I would think it would do what you want. You would, however, need to compile the nsworkspace.lcb and load the resulting extension in your app. Here are some quick instructions in case you want to try: 1. Download and unzip repo using "Clone or Download" link found at https://github.com/trevordevore/lc-macos-toolset 2. Launch LC 9 and open the Extension Builder (EB) from Tools > Extension Builder menu. 3. Click on the folder icon in top right of EB window and select the ./NSWorkspace/nsworkspace.lcb file. 4. Click on play button in bottom left of EB window. 5. Test `wait 1 second;put NSWorkspaceGetFrontmostApplication("bundle id")` in the message box. It should return a value. 6. Look in the ./NSWorkspace folder for the module.2.lcm file. This is the file that can be renamed, added to your application folder, and loaded using `load extension`. Regarding step 6 - If you don't want to store your extension externally to your application you can also use the "+" button in the EB to install the extension in your LC environment. Now the extension will load whenever you launch LC and you can select "NSWorkspace" in the Standalone Builder Inclusions tab so that the extension is bundled with your executable. -- Trevor DeVore ScreenSteps www.screensteps.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: macOS, is my app active?
Hi all, > Am 23.11.2019 um 13:24 schrieb Klaus major-k via use-livecode > : > > Hi friends, > > can we check if our standalone is currently active, means in > the "foreground" or if it is not active? Know what I mean? > If yes, how can we do that? LC? AppleScript? > > I want to alert the user if the app is active, but not if the app > is not active. I found this snippet on the net: tell application "System Events" set activeApp to name of first application process whose frontmost is true return activeApp end tell -- Works fine in the AppleScript Editor, but I get "execution error" when DOing this in LC!? Any hints appreciated! Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ 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
macOS, is my app active?
Hi friends, can we check if our standalone is currently active, means in the "foreground" or if it is not active? Know what I mean? If yes, how can we do that? LC? AppleScript? I want to alert the user if the app is active, but not if the app is not active. Thanks in advance! Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ 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: WebP-Tool v103
@BR. There is currently not yet support for mobile (precompiled binaries). But Android 4.0+ supports the format natively in its browser. See https://developers.google.com/speed/webp/faq#which_web_browsers_natively_support_webp The way you could do it on desktop (and probably as soon as supported on mobile): You have only webp resources of the images (as custom props) in the stack. The binary (could also be installed into temporary folder) converts a webp image of the stack as soon as it is called to png (for display), on the fly. In my stack the needed time for that procedure is displayed above the image. After display you can delete the png -- if converting was fast enough... @JJS. This is most probably the reason for that: The stack contains only the binaries for 64bit machines. I tested successfully on a 64bit Win10 machine. See the instructions for using the stack on 32bit machines (this works here, I tested on a 32bit Win7 machine): http://forums.livecode.com/viewtopic.php?p=185384#p185384 Hope this was the reason and it's fine now. ___ 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: WebP-Tool v103
i'm getting these errors: ''C:' is not recognized as an internal or external command, operable program or batch file. and if i import nothing and just choose an image from the dropdown then the following error occurs: line 91 of card 1002: *put h0*fw/fh into w0* Numeric divide by zero Op 23-11-2019 om 02:24 schreef Sannyasin Brahmanathaswami via use-livecode: go stack url ("http://hyperhh.de/xstacks/webP-Tool_v103.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