[Vm-dev] feature request: set Mac window title/icon via command-line argument

Igor Stasenko siguctua at gmail.com
Fri Feb 24 17:10:09 UTC 2012


(meta comment)
i always love seeing violation of KISS principle, like in this case,
forcing people to jump on its head in order to get something simple
and stupid.
:)

On 24 February 2012 16:56, Esteban Lorenzano <estebanlm at gmail.com> wrote:
>
> yes, I have seen that too... but right now, all documentation I read says "you need a document application" (like Pages, etc.)
> I can change vm to be a document application (and image will be the document, so image name can be the dock name)
>
> but that's not an easy change, and I would like to try other possibilities before (that's why I said "I hope be wrong in this")
>
> Esteban
>
>
> El 24/02/2012, a las 12:52p.m., Bert Freudenberg escribió:
>
>>
>> I have seen apps change the dock icon dynamically. So if there was a primitive that took a bitmap, similar to setting the cursor bitmap ...
>>
>> - Bert -
>>
>> On 24.02.2012, at 16:50, Esteban Lorenzano wrote:
>>
>>>
>>> Hi,
>>> you can change window title and size from image.
>>> Bert's additions are integrated on current pharo and HostWindowPlugin works on Cocoa builds...
>>>
>>> However, that wont change dock title, juts window title... afaik (I can, and I hope be wrong) that just can be done by having a "document application" and it is  not so easy to adapt current vm to that...
>>> Anyway, I'm annoyed by that too, and I did some experiments (failed for now) to try adapt this... and I will still try :)
>>>
>>> best,
>>> Esteban
>>>
>>> El 24/02/2012, a las 12:36p.m., Bert Freudenberg escribió:
>>>
>>>>
>>>> On 24.02.2012, at 16:25, Craig Latta wrote:
>>>>
>>>>>
>>>>>
>>>>> Hi--
>>>>>
>>>>>  I frequently run multiple Squeaks on my Mac, and it would be handy
>>>>> to be able to tell them apart in the Dock. How about setting the
>>>>> application window title and icon from command-line arguments?
>>>>
>>>>
>>>>
>>>> You can change the window title from image (see attachment, we use that in Etoys) but I know of no other Mac app that changes the app name dynamically ...
>>>>
>>>> - Bert -
>>>>
>>>> <host window access.st.gz>
>>>
>>
>>
>>
>



-- 
Best regards,
Igor Stasenko.


More information about the Vm-dev mailing list