Re: LC 9.6.2RC fix for tabs still a problem for Big Sur

2020-11-25 Thread Bill Vlahos via use-livecode
I figured out the problem. Even though I set the backgroundColor of the stack 
to empty, I also needed to set the backgroundColor of my stub application to 
empty too.

Regards,
Bill

> On Nov 25, 2020, at 2:28 PM, Bill Vlahos via use-livecode 
>  wrote:
> 
> My application is a standalone stub that opens a stack.
> 
> If I open the stack in the IDE, the tabs look correct. If my application 
> opens the stack, the tabs have the artifact that the selected tab is white 
> text on a white background. Strange.
> 
> If I create a standalone with tabs they look correct in both the IDE and the 
> standalone.
> 
> I don’t know what would be different when my application opens the stack.
> 
> Thanks for any suggestions.
> 
> Bill Vlahos
> ___
> 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


LC 9.6.2RC fix for tabs still a problem for Big Sur

2020-11-25 Thread Bill Vlahos via use-livecode
My application is a standalone stub that opens a stack.

If I open the stack in the IDE, the tabs look correct. If my application opens 
the stack, the tabs have the artifact that the selected tab is white text on a 
white background. Strange.

If I create a standalone with tabs they look correct in both the IDE and the 
standalone.

I don’t know what would be different when my application opens the stack.

Thanks for any suggestions.

Bill Vlahos
___
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


Mac inclusions. Is there one for file changed?

2020-11-20 Thread Bill Vlahos via use-livecode
Where can I find documentation on the inclusions?

I’m looking to see if there is an option to mark the traffic light icon that a 
file hasn’t needs to be saved?

I have a feeling it exists but I don’t see how to find out.

Thank you,
Bill Vlahos
___
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


Windows shell command with path

2020-11-18 Thread Bill Vlahos via use-livecode
I want to issue a command line prompt to a program in “Program Files 
(x86)\AppFolder\MyApp”.

When I go to the command line my path is already “C:\Windows\System32> which is 
too deep. I have to cd .. twice to get to Program Files (x86)\etc.

If I issue the shell command to “C:\Program Files (x86)\etc. it can’t find the 
path.

How can I issue the shell command to an application in the Program Files 
(x86)\AppFolder\MyApp”?

Thanks,
Bill
___
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


Publishing Mac Apps

2020-11-16 Thread Bill Vlahos via use-livecode
If I want to distribute Mac apps should I get a $99 Apple Developer account and 
Notarize them? I don’t anticipate putting apps in the Apple App Store?

Are there other considerations or options to avoid problems as Apple continues 
to enforce more restrictions?

Thanks,
Bill Vlahos
___
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: Enabling "About MyApp"

2020-11-16 Thread Bill Vlahos via use-livecode
This seems to be a bug in 9.6.1 for MacOS. Add a case statement for just 
“About”. The case statement for “About MyApp” won’t be recognized.

Thanks to Elanor at LiveCode for pointing this out.

Regards,
Bill Vlahos

> On Nov 15, 2020, at 11:56 AM, Bill Vlahos via use-livecode 
>  wrote:
> 
> I have a app that has the About as the last item in the Help menu.
> 
> It works in the Windows build but not in the Mac build (MacOS 10.14.6). It 
> worked in previous versions. I don’t see anything wrong.
> 
> The symptoms on the Mac is that the About item is in the correct place but 
> the script is not run when selected.
> 
> LiveCode 9.6.1 Indy.
> 
> Not sure why the script isn’t run.
> 
> Any suggestions?
> 
> Bill Vlahos
> 
>> On May 11, 2020, at 4:40 PM, Richard Gaskin via use-livecode 
>>  wrote:
>> 
>> GEORGE WOOD wrote:
>> 
>>> How can I activate the "About MyApp" under the Apple menu?
>> 
>> On other OSes the "About" item is usually the last item in the Help menu.  
>> If you put your About item there, you'll find that when LC automatically 
>> translates its menu objects for the Mac menu bar it'll move your About item 
>> to the application menu.
>> 
>> In fact, a similar thing happens with "Preferences". On most platforms it's 
>> the last item in the Edit menu, and when you put a "Preferences" item there 
>> the automatic menu bar change that LC does will put it in the application 
>> menu as well, below About.
>> 
>> -- 
>> 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
> 
> 
> ___
> 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: Enabling "About MyApp"

2020-11-15 Thread Bill Vlahos via use-livecode
I have a app that has the About as the last item in the Help menu.

It works in the Windows build but not in the Mac build (MacOS 10.14.6). It 
worked in previous versions. I don’t see anything wrong.

The symptoms on the Mac is that the About item is in the correct place but the 
script is not run when selected.

LiveCode 9.6.1 Indy.

Not sure why the script isn’t run.

Any suggestions?

Bill Vlahos

> On May 11, 2020, at 4:40 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> GEORGE WOOD wrote:
> 
> > How can I activate the "About MyApp" under the Apple menu?
> 
> On other OSes the "About" item is usually the last item in the Help menu.  If 
> you put your About item there, you'll find that when LC automatically 
> translates its menu objects for the Mac menu bar it'll move your About item 
> to the application menu.
> 
> In fact, a similar thing happens with "Preferences". On most platforms it's 
> the last item in the Edit menu, and when you put a "Preferences" item there 
> the automatic menu bar change that LC does will put it in the application 
> menu as well, below About.
> 
> -- 
> 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


___
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: Compress/Decompress Inclustion?

2020-10-12 Thread Bill Vlahos via use-livecode
Once I close and remove from memory my template stack, I still see File 
Selector in the Project Browser but nowhere else in the IDE so I’m not sure how 
to remove it.

Even though I don’t create a standalone, the checkboxes for Macintosh, Windows, 
and Linux were checked. I unchecked the boxes and saved the template stack but 
the File Selector stack still gets opened when I open my template stack even 
after I quit and restart LiveCode.

I figure something must be opening it or referencing it in my template stack 
but I can’t find it.

Regarding the original aim of this email thread…I’ve isolated the problem to 
encryption/decryption as done in early versions of LiveCode such as 4.6 and 
later version such as 9.6. Trying to decrypt files saved in early versions of 
LiveCode with a modern version of LiveCode fails and vice versa.

I made a support ticket to LiveCode support on this.

Thank you,
Bill

> On Oct 11, 2020, at 7:54 PM, J. Landman Gay  wrote:
> 
> Since it's a LiveCode stack, I'm not surprised it doesn't go away when you 
> remove your own stack. Once it's in memory it would stay there. If it bothers 
> you, you can close and remove it from memory separately.
> 
> But I'm not sure why it would show up in the first place. The only reference 
> I know of is in standalone settings, where it's a checkbox in the Linux pane 
> indicating you want to add it to the standalone. I suppose you could check to 
> see if that's selected, but if you aren't building for Linux then it 
> shouldn't apply. Are you running on a Linux machine? Does the template stack 
> ask the user to select any files?
> 
> 
> On October 11, 2020 7:37:14 PM Bill Vlahos  > wrote:
> 
>> When I open LiveCode and open any other stacks, the File Selector stack does 
>> not show in the Project Browser.
>> 
>> If I open my template stack in LiveCode, the File Selector shows in the 
>> Project Browser. I have substacks but File Selector is not one of them and 
>> doesn’t show up when I show substacks.
>> If I then Close and Remove from Memory my template stack, the File Selector 
>> stack still shows in the Project Browser.
>> 
>> It is like my template stack is calling or referencing the File Selector 
>> stack but I don’t see anything like Start Using...
>> 
>> Bill
>> 
>>> On Oct 9, 2020, at 11:04 PM, J. Landman Gay  
>>> wrote:
>>> 
>>> I believe that's the file selector used on Linux. It isn't usually shown. 
>>> Does it survive a restart?
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com 
>>>  >> >
>>> HyperActive Software | http://www.hyperactivesw.com 
>>>  >> >
> 
> 
> --
> 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


Compress/Decompress Inclustion?

2020-10-06 Thread Bill Vlahos via use-livecode
In InfoWallet I store attachments as encrypted and compressed files on disk.

When I build InfoWallet in LiveCode 9.6.1 and attempt to decompress and decrypt 
the file, I get an error that the data is not compressed. The file is 
definitely compressed.

I’m manually selecting inclusions. Do I need to add compress and decompress as 
an Inclusion? If so, which Inclusion would it be?

Here is the error:
Executing at 2:45:53 PM on Saturday, October 3, 2020
Type: decompress: string is not compressed data
Object: button 'ViewA' of card 'Records' of stack 'Bill Vlahos.ifw'
Line: put decompress(vFile) into vFile
Line Num: 16
Hint: mouseUp


Thanks,
Bill Vlahos
___
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


vCard save file format binfile or file?

2020-05-31 Thread Bill Vlahos via use-livecode
If I just use URL file to save vCard files I will get different results on 
Windows vs Macintosh regarding CRLF. VCard files are text files.

The vCard standard requires CRLF as the line format regardless of which 
platform the data is being written in. LiveCode using the URL file command will 
write the file differently on Windows compared to Mac or Linux.

I can build the variable for the vCard and use CRLF instead of RETURN for line 
endings.

If I write the file using URL binfile format will it still be a text file that 
other programs can read?

Thanks,
Bill
___
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: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Bill Vlahos via use-livecode
The LiveCode Dictionary states:
When generating a messageDigest for a string, it is a good idea to encode it to 
binary data using the textEncode <> function. Otherwise, the messageDigest 
could be different, depending on the platform <> on which your application is 
running.

However, I tried their example in the Dictionary but it still gives different 
values on Macintosh vs. Windows:
put textEncode("My very large data", "UTF-8") into tOriginal
put messageDigest(tOriginal, "SHA3-256") into tChecksum

Why would the platform calculate the hashes differently?
Why did older versions of LiveCode calculate it the same?

Regards,
Bill Vlahos

> On Apr 19, 2020, at 2:15 PM, Brian Milby via use-livecode 
>  wrote:
> 
> Try this:
> 
> put 0 into x;put binaryDecode("h32",the md5digest of "LiveCode",x);put x
> 
> You will get the same on both platforms.
> 
> On Sun, Apr 19, 2020 at 5:13 PM Bill Vlahos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Well earlier versions of LiveCode gave the same results on Mac and Windows.
>> 
>> Bill
>> 
>>> On Apr 19, 2020, at 1:51 PM, matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> I think this is, because Mac uses Mac Roman and Windows ISO encoding.
>>> 
>>> Or am i wrong?
>>> 
>>> -
>>> Matthias Rebbe
>>> Life Is Too Short For Boring Code
>>> 
>>>> Am 19.04.2020 um 22:34 schrieb Bill Vlahos via use-livecode <
>> use-livecode@lists.runrev.com>:
>>>> 
>>>> Before I report this as a bug, please confirm I’m not doing something
>> stupid.
>>>> 
>>>> LiveCode 9.5.1 Indy
>>>> 
>>>> In the message box put the following:
>>>> put the md5Digest of "LiveCode"
>>>> 
>>>> 
>>>> I get the expected result on Macintosh but a different result on
>> Windows.
>>>> 
>>>> Thank you,
>>>> Bill Vlahos
>>>> ___
>>>> 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
>> 
>> 
>> ___
>> 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

___
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: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Bill Vlahos via use-livecode
Well earlier versions of LiveCode gave the same results on Mac and Windows.

Bill

> On Apr 19, 2020, at 1:51 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> I think this is, because Mac uses Mac Roman and Windows ISO encoding.
> 
> Or am i wrong?
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 19.04.2020 um 22:34 schrieb Bill Vlahos via use-livecode 
>> :
>> 
>> Before I report this as a bug, please confirm I’m not doing something stupid.
>> 
>> LiveCode 9.5.1 Indy
>> 
>> In the message box put the following:
>> put the md5Digest of "LiveCode"
>> 
>> 
>> I get the expected result on Macintosh but a different result on Windows.
>> 
>> Thank you,
>> Bill Vlahos
>> ___
>> 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


___
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


md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Bill Vlahos via use-livecode
Before I report this as a bug, please confirm I’m not doing something stupid.

LiveCode 9.5.1 Indy

In the message box put the following:
put the md5Digest of "LiveCode"


I get the expected result on Macintosh but a different result on Windows.

Thank you,
Bill Vlahos
___
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


Build for Windows 32 bit vs. x86-64 in 9.5.1?

2020-04-11 Thread Bill Vlahos via use-livecode
The default build choice in 9.5.1 is Windows 32bit not x86-64bit.

Since the x86-64bit is not listed as experimental is there any reason why I 
shouldn’t build for it instead of the default 32bit?

Thank you,
Bill Vlahos
___
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: Hide stack change focus not supported 64bit

2020-04-09 Thread Bill Vlahos via use-livecode
Just to let everyone know I got it working and it is working great.

Thanks,
Bill

> On Apr 3, 2020, at 3:59 PM, Bill Vlahos via use-livecode 
>  wrote:
> 
> Bob,
> 
> What file(s) do I need to add?
> 
> When I try adding to Stack Properties it won’t let me select macOStools.lcb.
> 
> I can add other files in the standalone builder I still don’t see 
> macOStools.lcb in the Inclusions and it doesn’t hide.
> 
> I think I need more complete instructions.
> 
> Thank you,
> Bill
> 
> 
>> On Apr 3, 2020, at 8:13 AM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Open Stack Properties, add to the stackfiles. Also in the standalone builder 
>> you can add other files and folders that are not stack files.
>> 
>> Bob S
>> 
>> 
>> On Apr 2, 2020, at 9:33 PM, Bill Vlahos via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> I don’t see it in the inclusions tab.
>> 
>> How do I install your library?
>> 
>> Thanks,
> 
> ___
> 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: Hide stack change focus not supported 64bit

2020-04-03 Thread Bill Vlahos via use-livecode
Bob,

What file(s) do I need to add?

When I try adding to Stack Properties it won’t let me select macOStools.lcb.

I can add other files in the standalone builder I still don’t see 
macOStools.lcb in the Inclusions and it doesn’t hide.

I think I need more complete instructions.

Thank you,
Bill


> On Apr 3, 2020, at 8:13 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Open Stack Properties, add to the stackfiles. Also in the standalone builder 
> you can add other files and folders that are not stack files.
> 
> Bob S
> 
> 
> On Apr 2, 2020, at 9:33 PM, Bill Vlahos via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> I don’t see it in the inclusions tab.
> 
> How do I install your library?
> 
> Thanks,

___
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: Hide stack change focus not supported 64bit

2020-04-02 Thread Bill Vlahos via use-livecode
I don’t see it in the inclusions tab.

How do I install your library?

Thanks,
Bill

> On Apr 2, 2020, at 1:06 PM, Paul McClernan  wrote:
> 
> Glad to hear that someone finds it useful!
> 
> >>I can’t figure out how to get it into my standalone.
> 
> You have to include the library it in the standalone settings, in the 
> inclusions tab. If it is greyed-out then go to the "general" tab and click 
> "select inclusions for standalone"

___
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: Hide stack change focus not supported 64bit

2020-04-02 Thread Bill Vlahos via use-livecode
Paul,

Very nice! I see you have some other useful tools as well.

It is working in the IDE but I can’t figure out how to get it into my 
standalone.

Thank you,
Bill Vlahos

> On Mar 30, 2020, at 9:52 PM, Bill Vlahos via use-livecode 
>  wrote:
> 
> Paul,
> 
> Your AppHide/AppUnhide sounds perfect. I will try it.
> 
> Thank you,
> Bill Vlahos
> 
>> On Mar 30, 2020, at 7:58 PM, Paul McClernan via use-livecode 
>>  wrote:
>> 
>> (Sorry, hit send too soon).
>> You can easily use AppleScript mixed with LiveCode script to change focus
>> to another app:
>> 
>> *do *"tell application "& quote& "PhotoShop"& quote& " to activate"as
>> AppleScript
>> 
>> You could also use AppHide / AppUnhide from my LCB Library macOSTools
>> to minimize your stack which automatically switches to whatever the next
>> running app is. See the test stack, which uses the above AppleScript to
>> switch focus back to LiveCode after the AppHide command.
>> Download from here:
>> https://github.com/PaulMcClernan/LCB_macOSTools

___
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: Hide stack change focus not supported 64bit

2020-03-30 Thread Bill Vlahos via use-livecode
Paul,

Your AppHide/AppUnhide sounds perfect. I will try it.

Thank you,
Bill Vlahos

> On Mar 30, 2020, at 7:58 PM, Paul McClernan via use-livecode 
>  wrote:
> 
> (Sorry, hit send too soon).
> You can easily use AppleScript mixed with LiveCode script to change focus
> to another app:
> 
> *do *"tell application "& quote& "PhotoShop"& quote& " to activate"as
> AppleScript
> 
> You could also use AppHide / AppUnhide from my LCB Library macOSTools
> to minimize your stack which automatically switches to whatever the next
> running app is. See the test stack, which uses the above AppleScript to
> switch focus back to LiveCode after the AppHide command.
> Download from here:
> https://github.com/PaulMcClernan/LCB_macOSTools
> 
> On Mon, Mar 30, 2020 at 10:49 PM Paul McClernan 
> wrote:
> 
>> You can easily use AppleScript mixed with LiveCode script to change focus
>> to another app
>> 
>> On Sun, Mar 29, 2020 at 5:18 PM Bill Vlahos via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> 
>>> I have a stack that needs to hide itself so a different window (other
>>> application) is now the frontmost window so my application can use
>>> AppleScript keystroke command to enter information into the other window.
>>> 
>>> When I issue the command hide this stack my application window disappears
>>> but doesn’t lose focus. The target application that was behind my floating
>>> window doesn’t become the frontmost application.
>>> 
>>> The documentation in 9.5.1 says that hide stack is not supported in
>>> 64bit. What is the alternative for MacOS X 64bit to temporarily hide my
>>> application?
>>> 
>>> Thank you,
>>> Bill Vlahos
>>> ___
>>> 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


___
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: Hide stack change focus not supported 64bit

2020-03-29 Thread Bill Vlahos via use-livecode
Sorry. That should read the newest version of LiveCode that behaves the way I 
want is 5.5.5. I haven’t had to rebuild this application until now due to Apple 
removing support for 32bit apps.

Bill

> On Mar 29, 2020, at 3:58 PM, Bill Vlahos  wrote:
> 
> I was hoping to avoid using AppleScript but I might have to.
> 
> The oldest version of LiveCode I have that behaves the way I want is 5.5.5. 
> LiveCode must have changed this after version 5.
> 
> Thank,
> Bill Vlahos
> 
>> On Mar 29, 2020, at 3:38 PM, scott--- via use-livecode 
>>  wrote:
>> 
>> This sounds like something AppleScript might be able to solve…
>> 
>> 
>>> On Mar 29, 2020, at 3:01 PM, Bill Vlahos via use-livecode 
>>>  wrote:
>>> 
>>> Mark,
>>> 
>>> OK. That makes sense and matches the behavior as my window does hide.
>>> 
>>> However, the Mac doesn’t give any window the focus. My application doesn’t 
>>> really hide. It just closes the window but staying as the frontmost 
>>> application.
>>> 
>>> I need my whole application to hide to give the target window which had 
>>> focus before I clicked the button on my floating window after it hides 
>>> itself. 
>>> 
>>> Bill
>>> 
>>>> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode 
>>>>  wrote:
>>>> 
>>>> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote:
>>>> 
>>>>> The documentation in 9.5.1 says that hide stack is not supported in 
>>>>> 64bit. What is the alternative for MacOS X 64bit to temporarily hide my 
>>>>> application?
>>>> 
>>>> 
>>>> Er... no. The documentation says
>>>> 
>>>> Additionally QuickTime does not include 64 bit support and therefore can 
>>>> not be supported on OS X 64 bit builds of LiveCode.
>>>> 
>>>> So the hide command works as expected unless you try to use the QT 
>>>> modifications.
>>>> 
>>>> -- 
>>>> 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
>> 
>> 
>> ___
>> 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: Hide stack change focus not supported 64bit

2020-03-29 Thread Bill Vlahos via use-livecode
I was hoping to avoid using AppleScript but I might have to.

The oldest version of LiveCode I have that behaves the way I want is 5.5.5. 
LiveCode must have changed this after version 5.

Thank,
Bill Vlahos

> On Mar 29, 2020, at 3:38 PM, scott--- via use-livecode 
>  wrote:
> 
> This sounds like something AppleScript might be able to solve…
> 
> 
>> On Mar 29, 2020, at 3:01 PM, Bill Vlahos via use-livecode 
>>  wrote:
>> 
>> Mark,
>> 
>> OK. That makes sense and matches the behavior as my window does hide.
>> 
>> However, the Mac doesn’t give any window the focus. My application doesn’t 
>> really hide. It just closes the window but staying as the frontmost 
>> application.
>> 
>> I need my whole application to hide to give the target window which had 
>> focus before I clicked the button on my floating window after it hides 
>> itself. 
>> 
>> Bill
>> 
>>> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote:
>>> 
>>>> The documentation in 9.5.1 says that hide stack is not supported in 64bit. 
>>>> What is the alternative for MacOS X 64bit to temporarily hide my 
>>>> application?
>>> 
>>> 
>>> Er... no. The documentation says
>>> 
>>> Additionally QuickTime does not include 64 bit support and therefore can 
>>> not be supported on OS X 64 bit builds of LiveCode.
>>> 
>>> So the hide command works as expected unless you try to use the QT 
>>> modifications.
>>> 
>>> -- 
>>> 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
> 
> 
> ___
> 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: Hide stack change focus not supported 64bit

2020-03-29 Thread Bill Vlahos via use-livecode
Mark,

OK. That makes sense and matches the behavior as my window does hide.

However, the Mac doesn’t give any window the focus. My application doesn’t 
really hide. It just closes the window but staying as the frontmost application.

I need my whole application to hide to give the target window which had focus 
before I clicked the button on my floating window after it hides itself. 

Bill

> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote:
> 
>> The documentation in 9.5.1 says that hide stack is not supported in 64bit. 
>> What is the alternative for MacOS X 64bit to temporarily hide my application?
> 
> 
> Er... no. The documentation says
> 
> Additionally QuickTime does not include 64 bit support and therefore can not 
> be supported on OS X 64 bit builds of LiveCode.
> 
> So the hide command works as expected unless you try to use the QT 
> modifications.
> 
> -- 
> 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: Hide stack change focus not supported 64bit

2020-03-29 Thread Bill Vlahos via use-livecode
Bob,

I want my stack to completely hide not make another window of my application 
the frontmost. I want the target application (like a web browser page) that was 
underneath my app to now have focus.

Thanks,
Bill

> On Mar 29, 2020, at 2:21 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Whaaa?? That is what I was seeing! In my case I used go invisible  name>. The stack I went to got focus, but going back to the calling stack did 
> NOT return focus. What I ended up doing is using set the defaultStack to 
> 
> 
> Bob S
> 
> 
> On Mar 29, 2020, at 2:17 PM, Bill Vlahos via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> 
> I have a stack that needs to hide itself so a different window (other 
> application) is now the frontmost window so my application can use 
> AppleScript keystroke command to enter information into the other window.
> 
> When I issue the command hide this stack my application window disappears but 
> doesn’t lose focus. The target application that was behind my floating window 
> doesn’t become the frontmost application.
> 
> The documentation in 9.5.1 says that hide stack is not supported in 64bit. 
> What is the alternative for MacOS X 64bit to temporarily hide my application?
> 
> Thank you,
> Bill Vlahos
> 
> ___
> 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


Hide stack change focus not supported 64bit

2020-03-29 Thread Bill Vlahos via use-livecode

I have a stack that needs to hide itself so a different window (other 
application) is now the frontmost window so my application can use AppleScript 
keystroke command to enter information into the other window.

When I issue the command hide this stack my application window disappears but 
doesn’t lose focus. The target application that was behind my floating window 
doesn’t become the frontmost application.

The documentation in 9.5.1 says that hide stack is not supported in 64bit. What 
is the alternative for MacOS X 64bit to temporarily hide my application?

Thank you,
Bill Vlahos
___
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


Authentication questions

2020-01-28 Thread Bill Vlahos via use-livecode
LiveCode’s dictionary shows multiple authentication capabilities. However, I’m 
having trouble figuring out how to actually implement them working with our 
business phone system that uses CSTA authentication.

The following link describes CSTA although I don’t see direct information 
regarding the authentication process.
https://ecma-international.org/activities/Communications/TG11/faq.htm

The authentication and communication uses TCP or TLS with a specific connection 
port (example ) and SSL Certificate encryption.


In C++ Login code:
int Login(const char* userName, const char* password,
const char* type,
const char* platform,

const char* version, CSTALoginResponsePtr response );

int AsyncLogin(const char* userName, const char* password,
const char* type,
const char* platform,

const char* version, CSTA_ASYNCRESPONSECALLBACK callback, void * userData);



In C++ Logout code:

int Logout();

int AsyncLogout( CSTA_ASYNCRESPONSECALLBACK callback, void * userData);



 

XML request



username password 



XML response success

Login 
OK 


NOTE: Password must be encrypted using the SHA-1 format!
The username and password is specified in the Configure\System Services. 


On an incoming call this would be the XML to retrieve the Caller ID info.
 
1 
 
16 
1335 
 
 
1335 
 
 
1333 
 
 
1333 
 
VM-ds_test1 ds_test1 
 
ds_test ds_test 
 
ds_test ds_test 
 
 
 
alerting 
normal 
 


Can we do this authentication directly in LiveCode?
What would the syntax look like?

Thank you,
Bill Vlahos


___
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: LiveCode won't recognize my stack

2020-01-06 Thread Bill Vlahos via use-livecode
Richard and Brian,

I think you guys are on to something. The LiveCode open dialog filter is a 
different issue than actually being able to open the file as a stack. Thanks.

For some reason my OpenStack handler in the Card script isn’t being triggered. 
This is causing a number of issues including failing to “start using…” some 
library stacks and the one I reported here.

I’m looking into that now.

Thanks,
Bill Vlahos



> Have you tried addressing it via the full path?
> 
> put the uProperty of stack “/fullPathToFile/actualFileName” into tVar
> 
> Thanks,
> Brian

> On Jan 1, 2020, at 4:48 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Bill Vlahos wrote:
>> Richard,
>> I’m running the different versions of LiveCode on the same Mac and looking 
>> at the same file so I don’t think the OS is affecting this.
>> I’m just asking if there is a stack with the correct name and getting 
>> “false” as the answer if using LC 9.5.1.
>> If I ask for “file” and not “stack” then the result is “true”.
>> The path to the LicenseKey.IW file is correct at: /Volumes/HP 
>> c310w/InfoWallet 1.4/Info Files
>> Here is the error message:
>> Executing at 4:47:43 PM on Tuesday, December 31, 2019
>> Type: Chunk: can't find stack
>> Object: stack '/Volumes/HP c310w/InfoWallet 1.4/Info 
>> Files/InfoWallet.app/Contents/MacOS/InfoWallet'
>> Line Num: 26
>> Hint: populateFileList
>> Comments: I think LC must have changed how they are validating “stack” in 
>> version 8 compared to version 7.
> 
> 
> Maybe, but if so it's happening in a way not even Mark Waddingham is aware of 
> (see his earlier post), and in ways I've never seen (and I do some weird 
> things with stack files).
> 
> Most interesting here is that "is a file" returns true while "is a stack" 
> returns false.
> 
> Were both of those tests run in the standalone?  MacOS changed some aspects 
> of how apps are allowed to address contents of its internal bundle folders a 
> while back, but I would be surprised if those come into play only when 
> testing "is a stack" but not "is a file".
> 
> Is the stack file openable in the IDE?
> 
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.com 
> http://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 
> 
___
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: LiveCode won't recognize my stack

2019-12-31 Thread Bill Vlahos via use-livecode
Richard,

I’m running the different versions of LiveCode on the same Mac and looking at 
the same file so I don’t think the OS is affecting this.

I’m just asking if there is a stack with the correct name and getting “false” 
as the answer if using LC 9.5.1.
If I ask for “file” and not “stack” then the result is “true”.

The path to the LicenseKey.IW file is correct at: /Volumes/HP c310w/InfoWallet 
1.4/Info Files

Here is the error message:
Executing at 4:47:43 PM on Tuesday, December 31, 2019
Type: Chunk: can't find stack
Object: stack '/Volumes/HP c310w/InfoWallet 1.4/Info 
Files/InfoWallet.app/Contents/MacOS/InfoWallet'
Line Num: 26
Hint: populateFileList

Comments: 


I think LC must have changed how they are validating “stack” in version 8 
compared to version 7.

Bill

> On Dec 30, 2019, at 5:38 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Bill Vlahos wrote:
> 
> > My program is correctly setting the defaultFolder but is getting the
> > same result of not recognizing the file as a LiveCode stack when I
> > build using LiveCode version 9.5.1.
> >
> > Any idea what might have changed between version 7 and 8 and how I can
> > get the old behavior when I’m referencing the stack?
> 
> I wonder if the change has to do with macOS' alteration of contents within 
> the app bundle.
> 
> What is the full path to the stack file, what is the wording of "the result", 
> and what integer is returned from sysError() when the result is not empty?
> 
> --
> 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


___
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: LiveCode won't recognize my stack

2019-12-30 Thread Bill Vlahos via use-livecode
Mark,

Thanks for commenting.

This behavior changed between version 7 (and earlier) and version 8 (and later).

When I am in LC version 7 or earlier and go File menu/Open Stack I am able to 
select my stack named “LicenseKey.IW” without specifying “All Files”.

When I am in LC version 8 or 9 on the same computer opening the same 
“LicenseKey.IW”, file it is grayed out on the Mac when Open Stack. On Windows 
the file is not visible until I select All Files.

My program is correctly setting the defaultFolder but is getting the same 
result of not recognizing the file as a LiveCode stack when I build using 
LiveCode version 9.5.1.

Any idea what might have changed between version 7 and 8 and how I can get the 
old behavior when I’m referencing the stack?

Thank you,
Bill Vlahos

> On Dec 30, 2019, at 9:21 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2019-12-27 22:51, Bill Vlahos via use-livecode wrote:
>> List,
>> Version 9.x of LiveCode doesn’t recognize stacks unless the file name
>> ends with either .rev or .livecode. Previous versions (I don’t know
>> when this changed) were able to.
> 
> Nothing has changed here in any recent version.
> 
>> I use a stack file as the Preferences file for InfoWallet but the file
>> name is “LicenseKey.IW”. When I execute the following command to read
>> custom properties in the stack it fails with an error. Type: Chunk:
>> can't find stack
>> put the uDefaultWallet of stack "LicenseKey.IW" into vDefault
> 
> This is most likely because you haven't got the stackFiles property set up, 
> or the defaultFolder is not what you are expecting it to be - i.e. the engine 
> cannot find the stack with filename "LicenseKey.IW" relative to the current 
> folder.
> 
>> I can also see this when opening a stack from LiveCode. the
>> LicenseKey.IW file is greyed out unless I look for All Files when then
>> opens it correctly.
> 
> The IDE still uses the form of 'answer file' which specifies a 
> creator/filetype and an extension. I suspect either one of:
> 
>  A) the creator/filetype is actually recognised by more recent versions of 
> macOS (i.e. they are ignored completely - I don't recall a report against 
> Mojave, but it is entirely possible Catalina no longer supports them)
> 
>  B) The file has just lost its creator/filetype and thus is being filtered 
> out (this can happen if a file is archived via a format which doesn't support 
> these attributes, or has transmitted through an FS which doesn't).
> 
>> How can I open the stack file in LiveCode 9.5.1 without changing the
>> name of the file?
> 
> Use All Files and select it that way, as you have been doing :)

___
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: LiveCode won't recognize my stack

2019-12-27 Thread Bill Vlahos via use-livecode
Mark,

It is both the name of the stack and file name.

I’d really rather not have to rename the license key file name. It would be 
better to figure out how LiveCode could work like it used to.

Thanks,
Bill


> On Dec 27, 2019, at 5:08 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 12/27/19 2:51 PM, Bill Vlahos via use-livecode wrote:
>> List,
>> Version 9.x of LiveCode doesn’t recognize stacks unless the file name ends 
>> with either .rev or .livecode. Previous versions (I don’t know when this 
>> changed) were able to.
>> I use a stack file as the Preferences file for InfoWallet but the file name 
>> is “LicenseKey.IW”. When I execute the following command to read custom 
>> properties in the stack it fails with an error. Type: Chunk: can't find stack
>> put the uDefaultWallet of stack "LicenseKey.IW" into vDefault
> 
> Is that the name of the stack or the stack *file*?
> If it's a filename then you'll have to load it into memory, change it, and 
> save it.
> 
> It's things like this that got me to store preferences in text files.
> 
> -- 
> 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: LiveCode won't recognize my stack

2019-12-27 Thread Bill Vlahos via use-livecode
Peter,

I don’t want to open or go to that stack. It is like a preferences stack. I 
want to get and set custom properties of it.

Regards,
Bill

> On Dec 27, 2019, at 4:28 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> In LC 9.04 issue a command
> 
> go stack tURL
> 
> where tURL is the directory path and it opens the stacks. My stacks don’t 
> have a suffix at all.
> 
> Peter Bogdanoff 
> 
> 
> 
>> On Dec 27, 2019, at 5:51 PM, Bill Vlahos via use-livecode 
>>  wrote:
>> 
>> List,
>> 
>> Version 9.x of LiveCode doesn’t recognize stacks unless the file name ends 
>> with either .rev or .livecode. Previous versions (I don’t know when this 
>> changed) were able to.
>> 
>> I use a stack file as the Preferences file for InfoWallet but the file name 
>> is “LicenseKey.IW”. When I execute the following command to read custom 
>> properties in the stack it fails with an error. Type: Chunk: can't find stack
>> 
>> put the uDefaultWallet of stack "LicenseKey.IW" into vDefault
>> 
>> 
>> I can also see this when opening a stack from LiveCode. the LicenseKey.IW 
>> file is greyed out unless I look for All Files when then opens it correctly.
>> 
>> How can I open the stack file in LiveCode 9.5.1 without changing the name of 
>> the file?
>> 
>> Thank you,
>> Bill Vlahos
>> ___
>> 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


___
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


LiveCode won't recognize my stack

2019-12-27 Thread Bill Vlahos via use-livecode
List,

Version 9.x of LiveCode doesn’t recognize stacks unless the file name ends with 
either .rev or .livecode. Previous versions (I don’t know when this changed) 
were able to.

I use a stack file as the Preferences file for InfoWallet but the file name is 
“LicenseKey.IW”. When I execute the following command to read custom properties 
in the stack it fails with an error. Type: Chunk: can't find stack

put the uDefaultWallet of stack "LicenseKey.IW" into vDefault


I can also see this when opening a stack from LiveCode. the LicenseKey.IW file 
is greyed out unless I look for All Files when then opens it correctly.

How can I open the stack file in LiveCode 9.5.1 without changing the name of 
the file?

Thank you,
Bill Vlahos
___
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: Is there a command to display number of seconds as hrs:min:seconds?

2019-10-17 Thread Bill Vlahos via use-livecode
All great suggestions.

I mostly wanted to see if there already was such a function - which there 
obviously isn’t.

But it is great to see several easy ways to built your own.

Thanks all.

Bill Vlahos


> On Oct 17, 2019, at 8:51 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> The problem with one-liners is that the genius is implicit, not explicit. ;-)
> 
> Bob S
> 
> 
>> On Oct 17, 2019, at 08:44 , J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Show-off. :-)
>> --
>> Jacqueline Landman Gay | jac...@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


___
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


Is there a command to display number of seconds as hrs:min:seconds?

2019-10-16 Thread Bill Vlahos via use-livecode
I’m writing a countdown timer application and want to display the remaining 
time not as the number of seconds but in the format of HR:MIN:SEC left.

For example 75 seconds would display as “0:1:15”.
130 seconds would display as “0:2:10”.

I know how to do the math to figure it out but I’m wondering if there is a 
built in function to do this.

Convert wants to deal with actual time so I would get something like “0:1:15 
PM”.

Thanks,
Bill Vlahos
___
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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Bill Vlahos via use-livecode
The existing application can do 2 things.
It can send command line parameters
It can send a formatted URL

I can either catch the command line parameters - which is what I’ve been asking 
for or write the application to be a server responding to a URL sent to 
localhost.

The latter seems overly complicated and could introduce latency which I don’t 
want.

Thanks,
Bill

> On Mar 29, 2019, at 10:50 AM, Phil Davis via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> It sounds like this is your scenario:
> You have an app with UI that is running, and you want it to occasionally 
> send/receive info to/from another invisible 'helper' app. Is that correct?
> 
> If so, can you use sockets in your environment? That would be a simple way to 
> get the interaction you want between the 2 apps.
> 
> Or maybe I misunderstand your scenario.
> 
> Best -
> Phil

___
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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Bill Vlahos via use-livecode
Doing this on startup works perfectly but I don’t see how my app can get 
notification any other way while it is running.

I’ve tried openCard, preOpenCard, openStack, preOpenStack, and resumeStack but 
no luck.

Bill



> On Mar 29, 2019, at 12:14 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> To get the args, just know that any word is an arg, and a quoted string 
> counts as one word, so this:
> 
> on startup
>   put $1 & $2 & $3
> end startup
> 
> ...when call from:
> 
>  ./myapp ThisIsArg1 "And this is a multi-word arg" "this,is,delimited"
> 
> ...would give you:
> 
>   ThisIsArg1
>   "And this is a multi-word arg"
>   "this,is,delimited"
> 
> From there you can parse to your heart's delight.
> 
> That is, once we figure out how your app will get notification...


___
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: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Bill Vlahos via use-livecode
Richard,

GetOpt looks exactly like what I want.

The docs specify on startup is only sent when the application is opened. This 
won’t work for me as I want to catch command line parameters ongoing while my 
application stays open.

What would the syntax be if I want to catch 3 items some of which could contain 
multiple words with a space between them?

Thank you,
Bill



> On Mar 28, 2019, at 2:54 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Bill Vlahos wrote:
> 
> > I want my application to be able to catch parameters sent to it via
> > the command line.
> 
> Ah, much simpler problem.
> 
> macOS is a certified Unix.  It works just like Linux.
> 
> On startup, you can check $# for the number of args passed in the command 
> line, or $1, $2, etc. to get the value of any one of them.
> 
> If you need really sophisticated command-line argument handling, check out 
> the getOpt function Peter Brett added for that:
> 
> https://livecode.fandom.com/wiki/Getopt 
> 
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.com 
> http://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: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Bill Vlahos via use-livecode
Mark,

That is unfortunate. The 3rd party middleware tool I’m using to send command 
line parameters doesn’t support AppleEvents. It only supports sending command 
line parameters.

Please consider adding a feature that will let me catch the command line 
parameters for Mac apps like relaunch does for Windows.

I noticed the following command line reference in the 9.0.4 rc 1 release notes. 
Isn’t this the kind of thing I’m asking for? If so, how does it work?
> It is also possible to deactivate LiveCode with:
> deactivate
> LiveCode 9.0.4-rc-1 Release Notes 3/28/19
> Since LiveCode is actually a GUI application, it needs to be run slightly 
> differently from other command-line programs.
> On Windows, the command is:
> start /wait  activate -file LICENSE -passphrase SECRET start /wait 
>  deactivate
> On Mac OS X, you need to do:
> /Contents/MacOS/LiveCode activate -file LICENSE -passphrase SECRET 
> /Contents/MacOS/LiveCode deactivate


Thank you,
Bill Vlahos

> On Mar 28, 2019, at 8:34 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
>> I want my application to be able to catch parameters sent to it via
>> the command line.
>> The relaunch handler does that for Windows applications and also
>> doesn’t open another instance of the application. You are correct that
>> Mac apps run in a single instance by default and that is the behavior
>> I want.
>> I don’t want to open a document…I want to do something with the
>> command line parameters sent to my app.
> 
> The simple answer is that there isn't an equivalent.
> 
> The relaunch mechanism on Windows was added to make it easy to add 
> single-instance like behavior on Windows (just as macOS has).
> 
> However remember that macOS has the AppleEvent system for making it easy to 
> do inter-process communication, so on Mac you could use that.
> 
> i.e. Make the command-line tool use AppleScript (either by do ... as 
> applescript) or the 'send to program' syntax to send apple events to instruct 
> the main app.
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com  ~ 
> http://www.livecode.com/ 
> LiveCode: Everyone can create apps

___
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: What is Macintosh equivalent of relaunch handler?

2019-03-28 Thread Bill Vlahos via use-livecode
Sorry if I wasn’t clear.

I want my application to be able to catch parameters sent to it via the command 
line.

The relaunch handler does that for Windows applications and also doesn’t open 
another instance of the application. You are correct that Mac apps run in a 
single instance by default and that is the behavior I want.

I don’t want to open a document…I want to do something with the command line 
parameters sent to my app.

Bill

> On Mar 27, 2019, at 8:01 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Bill Vlahos wrote:
> 
> > I want to receive command line parameters in my application.
> >
> > The relaunch pCommandLineArguments works perfectly in Windows apps.
> >
> > What is the equivalent handler for MacOS X apps?
> 
> There's no direct equivalent because Mac apps run in a single instance by 
> default.
> 
> If you want to open a document use this:
> 
> on appleEvent theClass,theID
>   if theClass is "aevt" and theID is "odoc" then
>  request appleEvent data
>  put it into theFiles
>  if theFiles is not "not found" and theFiles is not empty then
> ## code to open theFiles
>  end if
>   else
>  pass appleEvent
>   end if
> end appleEvent
> 
> 
> If you want to emulate the Windows experience by having an app run in a 
> separate process each time it's opened, there's a command line option for 
> that (I can't recall what it is, but last time I looked it up it did take 
> long).
> 
> -- 
> 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


___
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

What is Macintosh equivalent of relaunch handler?

2019-03-27 Thread Bill Vlahos via use-livecode
I want to receive command line parameters in my application.

The relaunch pCommandLineArguments works perfectly in Windows apps.

What is the equivalent handler for MacOS X apps?

Thanks,
Bill Vlahos
___
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: For those who do not know lcTasklist

2018-09-28 Thread Bill Vlahos via use-livecode
Matthias,

Thank you for the kind words of encouragement and support of lcTaskList.

I would love it if LiveCode wanted to license it.

Bill Vlahos

> On Aug 20, 2018, at 4:44 PM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> Hi,
> 
> I´ve purchased the plugin lcTasklist a long time ago and used it now and 
> then. 
> But now i am totally in love with this great tool. 
> I was working on a really big project for months and i needed to add some 
> debug code, special comments and special information  in my scripts and i had 
> to mark some code for later reviewing. Without lcTasklist it would have been 
> really difficult or maybe nearly impossible  to find all of that again  in my 
> scripts.  With lcTasklist i not even got a list of these "comments", but was 
> able to jump directly to that code. 
> 
> This is a must have. Livecode Ltd.  really  should consider to license this 
> plugin to deliver it with Livecode.
> 
> The plugin costs $11.90  / Euro 11.31 and is worth every cent. So if you do 
> not know about it and want to get more information, then look here 
> .
> 
> Regards,
> 
> Matthias
> 
> ___
> 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: For those who do not know lcTasklist

2018-09-28 Thread Bill Vlahos via use-livecode
Peter,

I have not had any issues with LiveCode 9 and lcTaskList. Have you tried it 
with LiveCode 9.0.1?

Bill Vlahos

> On Aug 27, 2018, at 11:07 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> There’s a help icon at the bottom of the window that explains everything.
> 
> However, with Livecode 9 I was finding that lcTasklist seemed to be causing 
> strange things in the script editor when editing an existing script—the new 
> completion features were misfiring and scrambling things. I had to go to a 
> backup of my script and then remove lcTasklist completely.
> 
> Peter
> 
> 
>> On Aug 27, 2018, at 9:58 PM, Sannyasin Brahmanathaswami via use-livecode 
>>  wrote:
>> 
>> Looks like I need this, so on everyone's recommendation I bought it.
>> 
>> 1) Where is the documentation?
>> 
>> 2)  Can you make  "ignore" the Datagrid templates after they been
>> instantiated? One get many "Note" from every instance?
>> 
>> BR
>> 
>> 
>> 
>> On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote:
>>> I´ve purchased the plugin lcTasklist a long time ago and used it now and 
>>> then. 
>>> But now i am totally in love with this great tool. 
>> 
>> 
>> 
>> ___
>> 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


___
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: For those who do not know lcTasklist

2018-09-28 Thread Bill Vlahos via use-livecode
Matthias,

To ignore certain stacks click on the 3rd icon from the right on the bottom of 
the lcTask window and then the Sacks tab.

Thank you,
Bill Vlahos

> On Aug 28, 2018, at 2:13 AM, Matthias Rebbe via use-livecode 
>  wrote:
> 
> 
> 
>> Am 28.08.2018 um 06:58 schrieb Sannyasin Brahmanathaswami via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Looks like I need this, so on everyone's recommendation I bought it.
>> 
>> 
>> 2)  Can you make  "ignore" the Datagrid templates after they been
>> instantiated? One get many "Note" from every instance?
> There are 2 possible ways to get rid of that notes.
> 
> Either: With only the datagrid and lcTasklist plugins opened, you should only 
> see 2 or 3 notes. Click on each note to open the script editor. you´ll will 
> see the note right away. Change the keyword  and save after you´ve changed 
> the scripts.
> 
> Or: If i remember right that notes use all the index word  TODO. Remove that 
> keyword from the Active Index Words field in lcTaskList preferences/Words.
> 
> 
> 
> 
>> 
>> BR
>> 
>> 
>> 
>> On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote:
>>> I´ve purchased the plugin lcTasklist a long time ago and used it now and 
>>> then. 
>>> But now i am totally in love with this great tool. 
>> 
>> 
>> 
>> ___
>> 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 
> 
___
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: For those who do not know lcTasklist

2018-09-28 Thread Bill Vlahos via use-livecode
BR,

1. The documentation is the second icon from the right on the bottom of the 
lcTaskList window.

2. To ignore certain stacks click on the 3rd icon from the right on the bottom 
of the lcTask window and then the Sacks tab.

Thank you,
Bill Vlahos

> On Aug 27, 2018, at 9:58 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> Looks like I need this, so on everyone's recommendation I bought it.
> 
> 1) Where is the documentation?
> 
> 2)  Can you make  "ignore" the Datagrid templates after they been
> instantiated? One get many "Note" from every instance?
> 
> BR
> 
> 
> 
> On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote:
>> I´ve purchased the plugin lcTasklist a long time ago and used it now and 
>> then. 
>> But now i am totally in love with this great tool. 
> 
> 
> 
> ___
> 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

How do I catch href tel web link to dial a phone number?

2017-11-29 Thread Bill Vlahos via use-livecode
I would like to catch the href tel link from a phone number on a web page to 
enable click to dial from a web page with our Zultys unified communications 
applications MXIE and ZAC.

https://developers.google.com/web/fundamentals/native-hardware/click-to-call/ 
 
has a great discussion and link on this which should work for Firefox and 
Chrome on Macintosh OS. For example Firefox prompts the user to choose which 
application to send it to.

How can I capture the link details “tel:+1-303-449-7111 ” 
as the input for my application?

Thank you,
Bill Vlahos
___
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

MacBook Pro Touch Bar support

2017-08-19 Thread Bill Vlahos via use-livecode
Has anyone been able to integrate the MacBook Pro Touch Bar in a LiveCode 
application?

If so, how?

Thank you,
Bill Vlahos
___
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: RIP Dan Shafer

2017-06-22 Thread Bill Vlahos via use-livecode
Bummer. He will be missed but it was sure great having him with us.

Thank you for letting us know.

Bill Vlahos

> On Jun 21, 2017, at 8:31 PM, Jerry Jensen via use-livecode 
>  wrote:
> 
> We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody who 
> met him will miss him.
> .Jerry
> 
> 
> ___
> 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: Why doesn't this work?

2017-05-19 Thread Bill Vlahos via use-livecode
Oh never mind. I was mistaken that it worked in the first “if statement”.

I needed to make vNum a global variable and now it works.

Bill

> On May 19, 2017, at 12:00 PM, Bill Vlahos via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> JB,
> 
> It is the vNum variable itself that is empty in the if statement. If I put 
> vNum the result is blank.
> 
> Thanks,
> Bill
> 
>> On May 19, 2017, at 11:40 AM, JB via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> It could be one of the fields has a space
>> at the end and the other does not.
>> 
>> JB
>> 
>> 
>>> On May 19, 2017, at 11:20 AM, Bill Vlahos via use-livecode 
>>> <use-livecode@lists.runrev.com> wrote:
>>> 
>>> I’m concatenating one field & a passed phone number & another field.
>>> 
>>> The variable vNum works in the first if statement but is blank in the 
>>> second. Why?
>>> 
>>> Thank you,
>>> Bill Vlahos
>>> 
>>> 
>>> on searchNow vNum
>>> if the hilite of button "Enable1" then
>>>put field "f1a" & vNum & field "f1b" into vQuery
>>>revGoURL vQuery
>>> end if
>>> if the hilite of button "Enable2" then
>>>put field "f2a" & vNum & field "f2b" into vQuery
>>>revGoURL vQuery
>>> end if
>>> end searchNow
>>> ___
>>> 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
> 
> 
> ___
> 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: Why doesn't this work?

2017-05-19 Thread Bill Vlahos via use-livecode
JB,

It is the vNum variable itself that is empty in the if statement. If I put vNum 
the result is blank.

Thanks,
Bill

> On May 19, 2017, at 11:40 AM, JB via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> It could be one of the fields has a space
> at the end and the other does not.
> 
> JB
> 
> 
>> On May 19, 2017, at 11:20 AM, Bill Vlahos via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> I’m concatenating one field & a passed phone number & another field.
>> 
>> The variable vNum works in the first if statement but is blank in the 
>> second. Why?
>> 
>> Thank you,
>> Bill Vlahos
>> 
>> 
>> on searchNow vNum
>>  if the hilite of button "Enable1" then
>> put field "f1a" & vNum & field "f1b" into vQuery
>> revGoURL vQuery
>>  end if
>>  if the hilite of button "Enable2" then
>> put field "f2a" & vNum & field "f2b" into vQuery
>> revGoURL vQuery
>>  end if
>> end searchNow
>> ___
>> 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


___
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

Why doesn't this work?

2017-05-19 Thread Bill Vlahos via use-livecode
I’m concatenating one field & a passed phone number & another field.

The variable vNum works in the first if statement but is blank in the second. 
Why?

Thank you,
Bill Vlahos


on searchNow vNum
   if the hilite of button "Enable1" then
  put field "f1a" & vNum & field "f1b" into vQuery
  revGoURL vQuery
   end if
   if the hilite of button "Enable2" then
  put field "f2a" & vNum & field "f2b" into vQuery
  revGoURL vQuery
   end if
end searchNow
___
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: Is there a Macintosh equivalent to relaunch on Windows?

2017-03-27 Thread Bill Vlahos via use-livecode
Here is the code I use on Windows
on relaunch vOne, vTwo
   revGoURL "https://we 
<https://we/>bpage.com/search/searchresults.nl?searchtype=Case=T_Entity_PHONE=
 
<https://system.na1.netsuite.com/app/common/search/searchresults.nl?searchtype=Case=T_Entity_PHONE=>blahblah"
 & vOne
end relaunch


Would the code on Macintosh be something like
on relaunch $0, $1
   revGoURL "https://we 
<https://we/>bpage.com/search/searchresults.nl?searchtype=Case=T_Entity_PHONE=
 
<https://system.na1.netsuite.com/app/common/search/searchresults.nl?searchtype=Case=T_Entity_PHONE=>blahblah"
 & $0
end relaunch


Bill


> On Mar 27, 2017, at 2:09 PM, Mark Schonewille via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Yes, just put $0, $1 etc.
> 
> Kind regards,
> 
> Mark Schonewille
> http://economy-x-talk.com
> https://www.facebook.com/marksch
> 
> Buy the most extensive book on the
> LiveCode language:
> http://livecodebeginner.economy-x-talk.com
> 
> Op 27-Mar-17 om 21:53 schreef Bill Vlahos via use-livecode:
>> I use relaunch on Windows standalone to accept command line arguments.
>> 
>> Is there an equivalent for a Macintosh standalone to do this?
>> 
>> Thanks,
>> Bill Vlahos
>> 
>> ___
>> 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

___
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


Is there a Macintosh equivalent to relaunch on Windows?

2017-03-27 Thread Bill Vlahos via use-livecode
I use relaunch on Windows standalone to accept command line arguments.

Is there an equivalent for a Macintosh standalone to do this?

Thanks,
Bill Vlahos

___
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