Peculiar observations of (the CommandLine) property on OSX

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Peculiar observations of (the CommandLine) property on OSX

    Hi all,

    I wrote a little application that reads and writes its own file type. I wanted to launch the projector when i double clicked on this file on my desktop.

    In windows i associated that file-type extension with my projector.exe and on the mac i created a new file type and associated projector.app with that file type.

    In windows the commandline argument was recieved when the file was double clicked on from the desktop..the file opened successfully with the lingo code in my pojector.

    On the mac OSX ( i didnt try it o OS9) i was not expectiing it to work....since the several documentations say that the command line is not supported on MacOS...This was the case. ....i.e it did not work..

    what is interesting is when i put the projector Icon in the Dock (taskbar similar to windows), the command line was read (i.e the path name of the file) and the file opened with my lingo code successfully


    Any help/feedback about this will be most welcome since i would want to make this more consistent...

    thanks

    PV


    WrongPillNeo webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. How to track peculiar hang problem of ASP based site?
      Hi, I am having this peculiar hanging problem of my site. About the site: 1) The site is an asp-based site with MSSQLServer as backend. 2)...
    2. Peculiar problem using LWP::UserAgent
      I ran into peculiar problem using LWP::UserAgent. I receive a 501 - Not yet implemented error when I connect to a web-server using the User-Agent....
    3. commandline utils
      I would like to write some perl scripts that behave like 'ordinairy' system commands. Is there a module that takes care of default switches,...
    4. Interesting ! modelsUnderRay() observations
      Hi there, Interesting observations that may be of use to those using modelsUnderRay() to detect the height of a 3D mesh landscape or level...
    5. Observations regarding redirection
      Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the...
  3. #2

    Default Re: Peculiar observations of (the CommandLine) property on OSX

    Quote Originally Posted by WrongPillNeo webforumsuser@macromedia.com View Post
    what is interesting is when i put the projector Icon in the Dock (taskbar similar to windows), the command line was read (i.e the path name of the file) and the file opened with my lingo code successfully
    Hi PV.
    Thanks for posting about this. I'm working on something similiar using D11.5 on Mac and found no joy with the CommandLine. But I'll try your method of having the projector icon in the Dock.

    Did that launch the file and app. even when the app was not already running?

    Also, did you do anything special to associate your file extension with your projector app?

    I have a creator code for my app, but I don't see how the OS makes the association between that and my data files.

    Thanks,
    Tom B.
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139