QuartzBuilder: open app relative to icon location?

jersmi's picture

Using QuartzBuilder, can I set the app to open relative to where the app icon is located on the desktop?

cybero's picture
Re: QuartzBuilder: open app relative to icon location?

Maybe by exploiting the real time properties of the _DS_Store file in regards of setting the position window ? But how ....

jersmi's picture
Re: QuartzBuilder: open app relative to icon location?

So there would have to be something to rewrite .DS_Store?

cybero's picture
Re: QuartzBuilder: open app relative to icon location?

To add in the details in the blob for the application window position. Trifle unwieldy, would have to be done on the fly. Detecting the position of an icon on a screen, easier when it is a designated position the values of which are known, then you have to put that information into a disk image holding the QB app. Ungainly. Don't think this can really be done.

jersmi's picture
Re: QuartzBuilder: open app relative to icon location?

Thanks, cybero. I was hoping there were some key/values that could be assigned in the QuartzBuilder template. The rest is not worth it, at least for the little app I have here.

smokris's picture
Re: QuartzBuilder: open app relative to icon location?

@jersmi: I'm not sure it's technically possible to extract that information from Finder.

I posted a question about this on Stack Overflow a few days ago but haven't received any responses yet. If there's a clean way to do it, we could include it in a future QuartzBuilder release.

gtoledo3's picture
Re: QuartzBuilder: open app relative to icon location?

Could you "animate" the opening relative to the mouse x/y screenspace position at the time the app is initialized? That would tend to be where the icon is, but only in the case that someone is using the cursor to open the app. I could see how someone could possibly move that position before the initialized process/app/whatever had a chance to get that info though.

(This is an interesting need/feature request. I don't think I've ever seen an app do this.)