Re: ongoing Senior moments
Re: ongoing Senior moments
- Subject: Re: ongoing Senior moments
- From: Robert Poland <email@hidden>
- Date: Mon, 10 Nov 2014 07:41:03 -0700
> On Nov 10, 2014, at 7:28:AM, Deivy Petrescu <email@hidden> wrote:
>
>
>> On Nov 9, 2014, at 14:03 , Robert Poland <email@hidden> wrote:
>>
>> Hi,
>>
>> This script snippet confounds me;
>>
>> tell application "Finder"
>> set theFolder to "" & "~/Pictures/APOD ƒ/"
>> set theFolder to (choose file default location alias the folder
>> end tell
>>
>> I keep getting error; Expected “,” but found end of line.
>> Using "~/Pictures/APOD ƒ/“ in place of theFolder doesn’t help.
>> After restarting Smile I get the error “file Alias "~/Pictures:APOD ƒ/“ of <<script>> wasn’t found.
>>
>> using;
>> set theFolder to choose file default location alias "Macintosh HD:Users:rpoland:Pictures:APOD ƒ”
>> Works, but I want it to be independent pf which machine it’s on.
>>
>> The goal is to do a choose folder with a default.
>>
>>
>> Robert Poland
>> Fort Collins CO
>
>
> I don’t know exactly where you want to place the file, but if you want to get the path to the current user picture folder then use:
As above -
tell application "Finder"
set theFolder to "" & "~/Pictures/APOD ƒ/"
set theFolder to (choose file default location alias the folder
end tell
> <script>
> path to “pdoc"
> </script>
>
> For instance you can try
> <script>
> set p to path to "pdoc"
> tell application "Finder" to open p
> </script>
>
>
> Deivy Petrescu
> email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
Robert Poland
Fort Collins CO
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden