Using Scripts on OSX?

Next
 From:  holgar
6714.1 
Hello,
when I want to use a Script in OSX i always get this warning. I installed the Script into the Commands-Folder and assigned a shortcut.
This Error-message appears with all Scripts I want to install.
Am I doing something wrong or do these Script not work on OSX? I especialy want to use the Fullscreen-script and the CloseLine Script.
Thank you for you help. Holger
Image Attachments:
Size: 32.2 KB, Downloaded: 20 times, Dimensions: 390x270px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
6714.2 In reply to 6714.1 
Hi Holger, the Fullscreen script is slightly different than all the other ones, it's not meant to be run as a command.

It's ok to put it in the commands folder but for that particular script in the keyboard shortcut you need to have the full path to the script name and the name should end in .js too. If you have copied it into the commands folder you should be able to put in: c:\moi\commands\FullScreen.js in the keyboard shortcut.

All other ones are meant to be run as commands, that means for the shortcut key you should only put in the plain command name, no path and no file extension. So for example with the CloseLine command you should put in the command name as CloseLine - not CloseLine.js with the file extension on it.

Let me know if you are still stuck.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  holgar
6714.3 In reply to 6714.2 
Hello Michael,
thanks a lot for your help. Now everything works. Perfect! THANKS.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All