Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Subroutine acti...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1630 of 1674
Post > Topic >>

Subroutine actions

by Jo_y <jo_y@[EMAIL PROTECTED] > Jun 22, 2008 at 01:10 PM

Hi,
i have Big Cats installed.
http://www.ranchero.com/bigcat/
It's a great plugin, but it accepts only sub-routine scripts like
this: (where begins with on.. in the first executable line)

--ToastIt

on main(filelist)
	copy "Backup" & space & word 2 of ((current date) as text) & space &
word 3 of ((current date) as text) & space & word 4 of ((current date)
as text) to burn_n
	tell application "Finder"
		set burn_f to home as alias
		set burn_f to (burn_f & "Backup") as text
	end tell
	tell application "Toast Titanium" --to open burn_f
		open alias burn_f
	end tell
end main

I would write this script to perform quickly:
1) Rename my standart- Backup folder in the home folder of Finder
(example: to turn folder Backup in Backup 22 6 08)
2) Add the renamed folder to the list of Toast T.

I can't figure out how to adiust my simple script so that permits 2 or
more actions in the same subroutine, else it accepts only one action!
Thanks,
i write from Italy..
 




 3 Posts in Topic:
Subroutine actions
Jo_y <jo_y@[EMAIL PROT  2008-06-22 13:10:47 
Re: Subroutine actions
Simon Slavin <slavins.  2008-06-24 22:35:01 
Re: Subroutine actions
Jo_y <jo_y@[EMAIL PROT  2008-06-25 05:33:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 12:04:59 CST 2008.