Silly mistake

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Silly mistake

Post by marksmithhfx » Sun Mar 30, 2014 4:47 am

I setup a login screen asking for username and password. Somehow I messed up and it never works. It just keeps telling me "incorrect username/password please try again". I've got a bug somewhere but, reassuringly, I can't get access to my own program. HELP! Must be some way to override this code from executing?

Thanks

Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Silly mistake

Post by Simon » Sun Mar 30, 2014 4:59 am

Hi Mark,
The little envelope in the main menu "Messages" turn it off, that will stop code from executing.
But then I'm not sure that is what you are asking because even with a password I can still see my stacks in the project browser.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10333
Joined: Wed May 06, 2009 2:28 pm

Re: Silly mistake

Post by dunbarx » Sun Mar 30, 2014 6:10 am

Simon.

What is this "Main" menu and its "Messages?

Craig

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Silly mistake

Post by Simon » Sun Mar 30, 2014 6:25 am

OK, I know there is a real name for it, but it escapes me at the moment.
So, there is the tool bar... is the other one called the menu bar?
The big one with all the colored icons. Ok... the only bar where there is a Help menu.

Or did I really misunderstand the original question?

Wait a sec... Am I in the right forum? Is this my computer? Did I just type that? :)

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10333
Joined: Wed May 06, 2009 2:28 pm

Re: Silly mistake

Post by dunbarx » Sun Mar 30, 2014 4:30 pm

Simon.

Toolbar and menubar.

You really proposed to "suppress messages". This can be done from either, I think. The one from the "Development menu, and the other from the toolbar. But what is that "envelope"? Anyway, I think this will work for the OP.

Craig

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: Silly mistake

Post by marksmithhfx » Sun Mar 30, 2014 4:32 pm

Simon wrote:OK, I know there is a real name for it, but it escapes me at the moment.
So, there is the tool bar... is the other one called the menu bar?
The big one with all the colored icons. Ok... the only bar where there is a Help menu.

Or did I really misunderstand the original question?

Wait a sec... Am I in the right forum? Is this my computer? Did I just type that? :)

Simon

Thanks everyone. You are wonderful. Actually, a good nights sleep also solved the problem. I awoke this morning with the thought "turn off messages, of COURSE! The reason that routine is even executing is because LC sent a message to it. Duh!" But you know how it is when you've just done a lot of work, and you don't want to revert back to the previous version and loose all of that, and you think you have tried everything INCLUDING turning off the little envelope thingy on the main menu, and you're starting to panic and on and on…. So, sometimes a good nights sleep is the best solution. But thank you Simon for taking the time to respond and I very much enjoyed the humor with which you delivered that bit of wisdom.

The other thought that calmed me in my moment of panic was knowing I had this message board to turn too. How comforting a thought that is.

Have a great day.

Mark

BTW, for those interested in the more technical details. The reason the routine was not working is because I was looping through a stored string looking for username/password combinations and was not finding one because LC did not know how to chunk the list. "set itemdelimiter to space" solved the problem.
Last edited by marksmithhfx on Sun Mar 30, 2014 4:53 pm, edited 1 time in total.
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Silly mistake

Post by mwieder » Sun Mar 30, 2014 5:15 pm

Glad you came up with a solution.

If a good night's sleep doesn't work, continue through the following day. Repeat as necessary.

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: Silly mistake

Post by marksmithhfx » Mon Mar 31, 2014 5:50 am

mwieder wrote: If a good night's sleep doesn't work, continue through the following day. Repeat as necessary.
Where's the LIKE button when you need one :)
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Post Reply