|Apr 18, 2013, 11:16 PM||#1|
Is it possible to do this in Xcode
I want to know whether it is possible for Xcode to create any type of application that when opened, it would open a specified file on the desktop. It would also help if you could post the code to do this as well.
|Apr 19, 2013, 01:11 AM||#3|
I would just put the file into an AppleScript application bundle and use the Finder to open it with the default application, for example:
set theFile to path to resource "Fake Profile.spx" -- a fake system profile tell application "Finder" to open theFile -- open the file using the default application
MacBook Pro / OS X Yosemite (10.10) / Xcode 6.1 / RubyMotion FTW
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|The App Store app thinks Xcode is installed, but I deleted Xcode.||moonman239||Mac Applications and Mac App Store||3||May 6, 2014 06:53 PM|
|Moving from xcode 3.2 to xcode 4.5.2 compilation error for 'abs' macro in stdlib.h||hrishidev||Mac Programming||7||Jun 2, 2013 11:36 AM|
|Xcode 4.5||iNeedAnsurs||iPhone||0||Jan 25, 2013 03:49 PM|
|Xcode 3 vs Xcode 4 when dealing with Objective-C||timebourne||Mac Programming||8||Sep 23, 2012 06:36 PM|
|XCode 4.4.1 to Xcode 4.5 in Mountain Lion||VinegarTasters||OS X 10.8 Mountain Lion||2||Sep 19, 2012 09:55 PM|
All times are GMT -5. The time now is 09:50 PM.