Become a member of the iLounge Forums. Register Now!
To start viewing messages, select the forum that you want to visit from the selection below.
If this is your first visit, be sure to check out the Forum FAQ and Forum Policy.
If this is your first visit, be sure to check out the Forum FAQ and Forum Policy.
Topic: About sample code in this forum
|
|
#1
|
||
![]() Join Date: Jun 2003
Location: Providence, RI, USA
Posts: 705
|
You can display AppleScript code in your message by using vb Code. The vB Code button labelled "#" on the Post New Thread form will place CODE tags around whatever you paste into its box. Additionally, I put SIZE=1 tags around the CODE tags to make the script smaller on the page and less likely to crowd up and wrap in the message. You don't have to do that, however. This is how my code looks:
Code:
tell application "iTunes" set theP to view of front window repeat with theT in every track of theP tell theT set comment to "What a comment!" end tell end repeat end tell You can use the Services menu in your browser to create a new AppleScript in Script Editor 2 Beta from selected webpage text. Otherwise, you can plain old copy-and-paste snippets from a forum messages to Script Editor. Since this is a public forum, you understand that any AppleScript code you post can be seen, copied, and used by any users of this forum. Don't post snippets from your super double-secret project if you expect it to remain super double-secret.
__________________
Visit Doug's AppleScripts for iTunes Last edited by Doug Adams; 07-18-2003 at 03:16 PM. |
||
|
|
Join the iLounge Community and the ad above will disappear.
|
|
#2
|
|||
![]() Join Date: Jun 2003
Location: Swampland, UK
Posts: 394
|
Quote:
|
|||
|
|
Topic: About sample code in this forum
Become a member of the iLounge Forums. Register Now!
To start viewing messages, select the forum that you want to visit from the selection below.
If this is your first visit, be sure to check out the Forum FAQ and Forum Policy.
If this is your first visit, be sure to check out the Forum FAQ and Forum Policy.
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
View iLounge History. Read our old Forums Archive (2001-2003)
All times are GMT -4. The time now is 09:08 AM.
All times are GMT -4. The time now is 09:08 AM.












Linear Mode


