Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Tools > Re: [XCode] add...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 7 Topic 563 of 637
Post > Topic >>

Re: [XCode] adding a task to the build phase

by David Phillip Oster <oster@[EMAIL PROTECTED] > Nov 29, 2006 at 06:56 AM

In article <1hpitig.1x2ba371l4mlrxN%pere.noel@[EMAIL PROTECTED]
>,
 pere.noel@[EMAIL PROTECTED]
 (Une bévue) wrote:

> Ok i see what you mean, then it isn't a new build phase but rather a new
> target one (i'm following your above writing within XCode).

A new build phase would also work, but I wanted an easy way to choose 
between building an install image and not, so I wouldn't have to wait 
for it to build when debugging. 

> in the window  Run Script Phase "Package" Info  their is a textfield
> right to the first label "Shell", actually it's writen, by default
> "/bin/sh" i think i could change that to any shell script including ruby
> calling applescript ?

Yes, you can use any program you like to interpret the script.

> yes i know for the background image BUT i've nerver been able to get
> size of opened dmg window +/-= size of background image (on the end user
> side) even if i do something like :
> 
> tell the_window
>     set the_bounds to bounds of the_window
>     set item 3 of the_bounds to (item 1 of the_bounds) + 545
>     set item 4 of the_bounds to (item 2 of the_bounds) + 355
>     set its bounds to the_bounds
> end tell
> 
> 545x355 being the size of the background image + borders thickness.
> 
> it seems these bounds aren't save even if i detach re-attach de dmg...
> 
> do you have solved that tricky point (at least for me) ?

I've found that if the applescript brings the finder to the front, and 
it resizes the window, then ejects the disk, that the window's size is 
written to the disk.
 




 7 Posts in Topic:
[XCode] adding a task to the build phase
pere.noel@[EMAIL PROTECTE  2006-11-28 11:48:19 
Re: [XCode] adding a task to the build phase
David Phillip Oster <o  2006-11-28 15:17:03 
Re: [XCode] adding a task to the build phase
pere.noel@[EMAIL PROTECTE  2006-11-28 16:48:45 
Re: [XCode] adding a task to the build phase
David Phillip Oster <o  2006-11-29 06:56:12 
Re: [XCode] adding a task to the build phase
pere.noel@[EMAIL PROTECTE  2006-11-29 14:56:49 
Re: [XCode] adding a task to the build phase
David Phillip Oster <o  2006-11-29 15:10:31 
Re: [XCode] adding a task to the build phase
pere.noel@[EMAIL PROTECTE  2006-11-29 18:32:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 9:30:25 CST 2008.