set text item delimiters to ".LabelGenerationServlet"
set stripOther to first text item of fileName
if stripOther is not equal to fileName then
AppleScript is somewhat bizarre to me, an outgrowth of HyperCard's HyperTalk language (anyone remember that?), sort of a pseudo-English programming language. It's a bit mind-boggling for a dude used to C and Perl. I didn't spend any time really learning the language fundamentals but was able to slog my way to making a functional program, chipping away at it little by little with a lot of searching on macscripter.net. Trying to do too much at once and it would all fall apart. Like building a house of cards. That's not unlike my robotic coding experiences thus far, actually.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.