Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
Create a executable file for mac
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Capelo" data-source="post: 395043" data-attributes="member: 30306"><p>well, it seems I can´t register in macscripter... <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p>so, can anyone tell me why isn´t this working? I want to open the pdf file wich is in the same folder as the script executable file...</p><p></p><p>set scriptFile to the path to me</p><p>set folderName to the folder of the scriptFile</p><p>tell application "Finder"</p><p> open file "link_a_7_2_1.pdf" of folder folderName</p><p>end tell</p></blockquote><p></p>
[QUOTE="Capelo, post: 395043, member: 30306"] well, it seems I can´t register in macscripter... :( so, can anyone tell me why isn´t this working? I want to open the pdf file wich is in the same folder as the script executable file... set scriptFile to the path to me set folderName to the folder of the scriptFile tell application "Finder" open file "link_a_7_2_1.pdf" of folder folderName end tell [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
Create a executable file for mac
Top