Jump 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.

Go To Script Line [#]

Featured Replies

I would like "Go To Script Line" in script maker

Then i could set the script line number as the script parameter.

Go To Script Line [Get ( ScriptParameter ) ]

This would allow more dynamic scripts for custom menus without the need for If statements

Example:

New Record=

Script Parameter = Get (LayoutNumber)*2+1

Allow User Abort [off]

Go To Script Line [Get ( ScriptParameter ) ]

Perform Script [New Contact] //Layout 1

Exit Script

Perform Script [New Invoice] //Layout 2

Exit Script

Perform Script [New Task] //Layout 3

Exit Script

...Really? If you just used if statements it would be:

Set Variable( $x ; Get(ScriptParameter) )

If[ $x = "New Contact]

Perform Script[New Contact]

Else If[ $x = "New Invoice"]

Perform Script[New Invoice]

Else If[ $x = "New Task"]

Perform Script[New Task]

End If

  • Author

Thinking further it could also be used for non-nested complex looping ... but that may mean the birth of a new function...

Get ( ScriptLine ) ... pretty self explainatory.

  • Author

Hey Genx,

I know your right but i would assume that the "Go To Script Line" could send the script straight to where you want it, where as the elseif needs to test every line. ...it may up performance.

I have many New Scripts.

I suppose it might be useful but i'm not that lazy :) Couldn't you use a plug-in to dynamically trigger a script?

  • Author

Always try to avoid plugins ... but maybe

That's the attitude i used to take... used to take.

A lot can be accomplished with plug-ins, especially things like the VB plugin from Grokit tools... gives you full access to windows -- can do almost anything you want.. though at this stage i use it mainly for interacting with CMD line apps, FTP, .dll's (inc SMS) and general file / folder manipulations -- mind you all of this is possible to some extent w/o the plug-in... but it's a whole lot more error prone.

That's just one example.

I feel this wish belongs to this category:

http://en.wikipedia.org/wiki/Spaghetti_code

http://www.gnu.org/fun/jokes/pasta.code.html

--sd

Italians have... issues, their programming messes are all named after pasta

  • Author

A fun read

... in other words more trouble than its worth. Whata mistaka to maka.

... food for thought ...

Ahahahahah, nice pun. And the italian, LOL!

Create an account or sign in to comment

Important Information

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

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.