Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Exiting ENTIRE script

Featured Replies

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

Halt Script!!

smile.gif

  • Author

Halt! Jeez, I missed that completely. Was thinking Abort.

Thanks Moonshadow

  • Author

Good Lord! It's the 3rd script option down! Cannot BELIEVE I missed that. SMACK!

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

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.

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

  • Author

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.

Thanks Fenton. I was searching for just such a thing this morning. applause.gif

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

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.

  • Author

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#?

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.

  • Author

Ah, understood. Thanks

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.