Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Script the Finder to create Mac OS X links' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Script the Finder to create Mac OS X links
Authored by: scriptguy on Jan 22, '04 08:56:36PM
tell application "Finder"
	make new internet location file at desktop to 
		"http://www.apple.com" with properties {name:"Apple Link"}
end tell


[ Reply to This | # ]
Script the Finder to create Mac OS X links
Authored by: OSX_Apprentice on Jan 23, '04 06:36:17AM
Hello. Can anyone tell me what this special character...
...means in an AppleScript?

[ Reply to This | # ]
Line continuation or something like that...
Authored by: jecwobble on Jan 23, '04 09:54:56AM

I believe it allows you to take a statement that belongs on one continuous line and break it into two or more lines for readabilitie's sake.



[ Reply to This | # ]
Thanks! + New v. of Script Editor wraps automatically
Authored by: OSX_Apprentice on Jan 23, '04 04:12:59PM

Thank you! I suspected it was something like that but became suspicious.

Before posting my question, while trying to search for an answer, I did stumble across the following new feature of Script Editor version 2:
* Auto-wrapping of long script statements

(Source: http://www.apple.com/applescript/scripteditor/ )

I was almost going to say that is seems like that option-L character is a thing of the past, but I just realized that manual line breaks will still be necessary on websites like this one (to maintain readability) so the option-L thing will probably remain.

Regards.



[ Reply to This | # ]