I'm familiar with programming to a slight extent, but the scripting language is not one I know. Can someone point me to a language that is "exactly like" this, so I can read how to use the functions, with examples?
Or, could someone give me some help with this: I'm putting a place name ("Home," etc.) in a file with its coordinates, all separated by commas. I want to be able to have a script ask me for a location from a list showing only the place names (every third entry starting with #1), then pass the next 2 entries on to the maps program. I already know how to set a location in Maps, I just don't know how to effectively read the text file and parse the entries.
Any help would be appreciated!
Script help
Moderator: Martin
Re: Script help
Hi,
The documentation of the scripting language is available in the Help-section of action Script.
To access the help page you can create a new action Script and press the [?]-icon on the upper right side when editing the action.
There's also a list of supported functions when you scroll down in the help page.
In your case you could probably use function lines = split(text, "\n") to get a list of text lines and then use a for loop to process each line.
Regards,
Martin
The documentation of the scripting language is available in the Help-section of action Script.
To access the help page you can create a new action Script and press the [?]-icon on the upper right side when editing the action.
There's also a list of supported functions when you scroll down in the help page.
In your case you could probably use function lines = split(text, "\n") to get a list of text lines and then use a for loop to process each line.
Regards,
Martin