• 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
Re: Set the target_file without prompt?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set the target_file without prompt?


  • Subject: Re: Set the target_file without prompt?
  • From: TJ Marbois <email@hidden>
  • Date: Tue, 02 Nov 2004 15:50:56 -0800

Adam

Thanks...

Im saving to AIFF audio file from spoken text...

Basically I need to save individual files of spoken numbers with some
special audio attached to the end (copy pasted in after spoken text).

Then I want to save those file into a directory nicely named as the spoken
number etc.

Tj



On 11/2/04 2:55 PM, "Adam K. Wuellner" <email@hidden> wrote:

> On Nov 2, 2004, at 4:29 PM, TJ Marbois wrote:
>
>> How do I change this so I can pass a string and set the file name and
>> location with a passed string --  instead of prompting each time?
>>
>>  set the target_file to choose file name with prompt "Name and
>> location."
>>
>> I want to pass a string 'theNumber' into a handler - that sets the
>> target_file name and just simply saves it to an output folder.
>
> You want the file to be specified by your code, not the user, correct?
>
> You can build up the path programatically, as a string, in either Mac
> or POSIX style.  When it's a complete and valid path, you just ask for
> that file thusly:
> file "my:path:to:my:file"
> alias "my:path:to:my:file"
> or
> POSIX file "/path/to/my/file"
>
> When you say 'saves it', to what save mechanism are you referring?
> Some application dictionary's 'save' command, or are you going to write
> data to the file yourself, via 'write'?
>
>

 _______________________________________________
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

References: 
 >Re: Set the target_file without prompt? (From: "Adam K. Wuellner" <email@hidden>)

  • Prev by Date: Mail issue with new account
  • Next by Date: Re: Bridge anyone? [not off topic]
  • Previous by thread: Re: Set the target_file without prompt?
  • Next by thread: Re: file extension
  • Index(es):
    • Date
    • Thread