← Back to team overview

phatch-dev team mailing list archive

Re: desktop folder on mac os x

 

Hi Erich & Robin,
Is this also working on a not english Mac, e.g french, german, ...?

On Thu, Jun 18, 2009 at 10:16 PM, Erich Heine<sophacles@xxxxxxxxx> wrote:
> I have a mac now also (yay work!) -- Your method is the correct way to
> access the Desktop folder. Perhaps tho phatch stuff goes in the Pictures
> folder by default instead?
The pictures go where they are defined in the action list. I need the
desktop folder for specific cases where I really want to have the
desktop. For example to provide it as a variable <desktop> as a
shortcut for the user.

Stani

> Robin, I presume you've been using Mac longer
> than me, what do you think?
>
> Regards,
> Erich
> On Thu, Jun 18, 2009 at 12:53 PM, Stani <spe.stani.be@xxxxxxxxx> wrote:
>>
>> Hi Robin,
>>
>> Do you know how to retrieve the desktop folder on a Mac. Now I use:
>> elif sys.platform.startswith('darwin'):
>>    # Mac: verify this!
>>    DESKTOP_FOLDER  = os.path.expanduser('~/Desktop')
>>
>> This most likely not correct. Could you find a better solution?
>>
>> Best regards,
>> Stani
>>
>> --
>> Phatch Photo Batch Processor - http://photobatch.stani.be
>> SPE Python IDE - http://pythonide.stani.be
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~phatch-dev
>> Post to     : phatch-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~phatch-dev
>> More help   : https://help.launchpad.net/ListHelp
>
>



-- 
Phatch Photo Batch Processor - http://photobatch.stani.be
SPE Python IDE - http://pythonide.stani.be



Follow ups

References