Re: Windows properties
Re: Windows properties
- Subject: Re: Windows properties
- From: Shane Stanley <email@hidden>
- Date: Mon, 13 Feb 2012 09:45:27 +1100
It's also pretty easy in AppleScriptObjC:
tell current application's NSURL to set theURL to URLWithString_(x) return theURL's |path|() as text
0000.000 -- Start -- 0000.001 Result --> /Users/yvankoenig/Library/Containers/com.apple.Preview/Data/Desktop/Hȁussermȃn.pdf
Or via ASObjC Runner:
script thePath set aString to current application's NSApp's convertedValue() tell current application's NSURL to set theURL to URLWithString_(aString) return theURL's |path|() end script
tell application "ASObjC Runner" to set theResult to run the script {thePath} converting x with result returned display dialog theResult
|
_______________________________________________
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