Re: finder get info window
Re: finder get info window
On 20 Jun 2011, at 12:16, Rick C. wrote:
> Sorry I just meant a way to launch that window similar to the way this will reveal an item in Finder:
>
> [[NSWorkspace sharedWorkspace] selectFile:filePath inFileViewerRootedAtPath:nil];
>
> If Applescript is the only way then I guess I'll have to give it a try. Thanks to you both!
>
Insight is easily available. Fire up AppleScript editor hit record then select Finder and display get info window:
You should get something like the following:
tell application "Finder"
activate
open information window of document file "cspsol-data-big.txt" of folder "Jonathan" of folder "Users" of startup disk
set position of Finder window 1 to {850, 191}
end tell
Regards
Jonathan Mitchell
Developer
Mugginsoft LLP
http://www.mugginsoft.com
>
> On Jun 20, 2011, at 6:50 PM, Graham Cox wrote:
>
>>
>> On 20/06/2011, at 6:48 PM, Rick C. wrote:
>>
>>> 'm assuming there must be a way to call the standard Finder get info window in cocoa
>>
>>
>> Seems a strange assumption. How do you "call" a window anyway?
>>
>> --Graham
>>
>>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden