• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Read an execute the script in action folder. on the fly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Read an execute the script in action folder. on the fly


  • Subject: Read an execute the script in action folder. on the fly
  • From: carlos cubas <email@hidden>
  • Date: Tue, 19 Oct 2004 21:36:43 -0200

I' m need take on text file in my hd and start on the fly action folder.
I'm used this code:

on adding folder items to this_folder after receiving this_item
   tell application "Finder"
      set my_folder_path to (every item of this_item) as string
   end tell
   set texto to read alias my_folder_path
   set theString to texto as string
   run script theString
end adding folder items to

I'm have take a file text but not run.

What can I do ??
Thanks
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Set Volume / Get Volume ?
  • Next by Date: Re: Set Volume / Get Volume ?
  • Previous by thread: Re: Set Volume / Get Volume ?
  • Next by thread: Off-Topic: Question on Terminal
  • Index(es):
    • Date
    • Thread