Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7439 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi there:

What is the script step I would use to exit an entire script? Exit just pops you out of a subscript (or, in my case, an IF...End If step) and back into main script.

In my If...End If (nested inside another If...End If) I execute some code. When that's done I want to just leave the user where they are and exit all script functions that may follow. Can't seem to find the command for that, though.

Kurt

Posted

Hey, don't feel bad ... I wasted a full hour last night trying to get a hairy long calculation to accept. I don't select functions from list, I just type them and I KNEW it was right but it kept saying it couldn't find Status(CurrentDate) and other things!!??

And then I remembered I was in 7 now. crazy.gif

Maybe I'll have learned my lesson and start always choosing from lists. Nah. Typing is much faster (except when I forget what version I'm working in) ... giggle.gif

Posted

The fastest is if you find a program that will auto-enter text from abbreviations. We have 2 good ones for Macs, TypeIt4Me and Spell Catcher (my favorite). Get (LastMessageChoice) (I typed glmc :(-) I don't know if there is one for Windows, but I'd look; it's very convenient.

Posted

I will most certainly check into that, Fenton, thank you.

I might also consider Voice Recognition again - been a while, maybe technology is improving on that front. I type numbers 100+ wpm. I type faster than I think - oh, that's probably a bad indication of my mental abilities! :(^) But I also get tired. The ability 1) Speed up what I accomplish when I DO type (and your shortcut keys will help me with that) and 2) Be able to sit back in my chair or even get off my butt, are major turnons.

Wireless keyboards, Think Pads, yes indeed ... it is certainly time ... anything to assist me in totally devouring FileMaker at the highest rate and level humanly possible. Your idea has moved to the top of that list. smile.gif

Posted

I also think that 'auto-complete' function would be great, particularly when hand-coding in VBS or JavaScript. Used to create macros to do that in WordPerfect, but don't code with a text editor so that's out.

Still, it's a good idea.

Posted

I use TextPad. I have created a "clip file" for it that has all of the FM7 functions (and arguments) as well as as a syntax file that gives the code colorization. Makes it much easier for to work with complex calcs. If anyone is interested I can post those in the samples area. I just create a text page, save it with a new extension (I call mine .ftxt) for a special FMPro class and beautiful colorization including comments, parens, braces and function names.

TextPad_FMcalcs.pdf

Posted

I'm a big fan of Spell Catcher. Especially for Status functions.

For example, I type "stf" and it becomes Status (CurrentFoundCount) = 0 ;

"stk" expands to Status (CurrentModifierKeys) = 1 ; etc.

Also handy for email sigs, filling out forms, etc. etc.

Plus it has dictionary, thesaurus, and checks your spelling as you type.

Posted

Roger:

That sounds wild. You are able to bring the colors into the code? Outstanding! I miss that from Dreamweaver and Web Matrix.

How does one create a class in FM? You need the Dev edition, right? Then they are created in C++ or C#?

Posted

My post was not clear enough.

I created a class for the TextPad application and use it for editing code outside of FMP. Then paste the calc into FMP.

This just makes it really easy to look at the code for me. Now that I have all of the functions listed, I can just double click them and they appear in my calc... etc. TextPad has excellent features for find and replace and etc. too.

It does not do any checking for valid references and so on. The calcs must be placed in the define fields area for that. Hope that is clearer.

This topic is 7439 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.