Can CT be open with a set size?

1 view
Skip to first unread message

Dominique Pivard

unread,
Jan 7, 2012, 5:29:21 PM1/7/12
to cafetra...@googlegroups.com
Hi,

I noticed that CT opens with a window of 1024x768 by default. Is there
a way I can force it to open with another size? Specifically, I would
be interested to have it in a 1280x698 window in OS X. Because the
menu bar in OS X is 22 pixels high, I would get a total size of
1280x720 when putting the window right below the menu bar. 1280x720 is
the ideal size when recording HD video for YouTube.

In Windows, I can very easily resize any window to any size I want (I
have an AutoHotKey macro for that), but I don't know how to do it in
OS X.

Thanks,

Dominique

Hans van den Broek

unread,
Jan 7, 2012, 7:24:38 PM1/7/12
to cafetra...@googlegroups.com

On 8 Jan 2012, at 05:29, Dominique Pivard wrote:

> I noticed that CT opens with a window of 1024x768 by default. Is there
> a way I can force it to open with another size?

OS X seems to remember both the size of the window and its position on the screen. This may depend on how you quit CT (I quit using the menu: Project>Exit).


Cheers,

Hans

--

Hans van den Broek
Schrijf-, vertaal- en redigeerwerk
Peleman Rejowinangun KG1/513
RT029 RW009
Yogyakarta 55171
Indonesia
T +62 (0)85868607333
SKYPE: hanstranslations
transl...@hansvandenbroek.eu
http://cafetran4mac.blogspot.com

Hans List

unread,
Jan 8, 2012, 5:00:02 AM1/8/12
to cafetra...@googlegroups.com
Hello Dominique,

On Jan 7, 2012, at 11:29 PM, Dominique Pivard wrote:

> In Windows, I can very easily resize any window to any size I want (I
> have an AutoHotKey macro for that), but I don't know how to do it in
> OS X.

There are many, many resizing/positioning tools e.g. Moom (which is a MacWorld gem). You can also do it via AppleScript:

http://superuser.com/questions/103956/position-and-sizing-os-x-windows-to-exact-pixel-dimentions-locations

Quite elegant, isn't it.

Like?
Tell me!
End tell

BR,

Wilhelm Tell

Igor Kmitowski

unread,
Jan 8, 2012, 7:50:33 AM1/8/12
to cafetra...@googlegroups.com
Dominique,

CafeTran remembers the size and position of the window so why don't you
resize it with the mouse?

BR
Igor

Dnia 07-01-2012 o 23:29:21 Dominique Pivard <domi...@gmail.com>
napisał(a):


--
Igor Kmitowski
Translator and Java developer
CafeTran website: http://www.cafetran.com
CafeTran support: cafetran...@gmail.com

Dominique Pivard

unread,
Jan 8, 2012, 11:22:42 AM1/8/12
to cafetra...@googlegroups.com
2012/1/8 Igor Kmitowski <cafetran...@gmail.com>:

Hi Igor,

> CafeTran remembers the size and position of the window so why don't you
> resize it with the mouse?

Yes, that's what I ended up doing. I used Jing to check the exact size
in pixels. It worked OK this time, but I'll definitely try the method
mentioned by Hans L. (thanks!) when I record other videos in OS X
later on.

I'm using ScreenFlow for the time being. It's a bit awkward at first:
for instance, it always records the entire display area (mine is
1440x900) and you have to crop afterwards if you only want a smaller
area (eg. 1280x720). But I've seen people do pretty neat things with
it on YouTube, so I'll stick to it for the time being.

Cheers,

Dominique

Hans List

unread,
Jan 8, 2012, 11:27:37 AM1/8/12
to cafetra...@googlegroups.com
Domi,

On Jan 8, 2012, at 5:22 PM, Dominique Pivard wrote:
>
> I'm using ScreenFlow for the time being. It's a bit awkward at first:
> for instance, it always records the entire display area (mine is
> 1440x900) and you have to crop afterwards if you only want a smaller
> area (eg. 1280x720). But I've seen people do pretty neat things with
> it on YouTube, so I'll stick to it for the time being.

Well, all that is exactly why I didn't dive into screen casting. Really a lot of things to figure out and effort to invest.

But I'm really glad you run the extra mile!

Warmest regards,

Hans

Dominique Pivard

unread,
Jan 8, 2012, 4:38:42 PM1/8/12
to cafetra...@googlegroups.com
On 8 January 2012 12:00, Hans List <hans...@gmail.com> wrote:

Hi Hans,

> There are many, many resizing/positioning tools e.g. Moom (which is a MacWorld gem). You can also do it via AppleScript:
>
> http://superuser.com/questions/103956/position-and-sizing-os-x-windows-to-exact-pixel-dimentions-locations

I had a look at the AppleScript link (I liked the idea, since it's
built-in and free):

http://www.ithug.com/2007/09/applescript-moving-and-resizing-windows/

I entered the following script:

tell application "CafeTran"
activate
set the bounds of the first window to {32, 0, 1280, 720}
end tell

Problem is, when I'm saving it, AppleScript asks me: 'Where is CafeTran?'

It certainly isn't included in the list of applications. If I click
the 'Browse' button, I can navigate to the CafeTrans folder, but
cafetran.jar is greyed out. So it seems CafeTran is not an
application, as far as OS X is concerned. It probably has to do with
the fact it's Java. I had a similar problem when detecting Wordfast
Pro on Windows in an AutoHotKey script. So if any Mac users can tell
me how I can explain CafeTran *is* an application, your suggestions
are welcome!

Cheers,

Dominique

Hans van den Broek

unread,
Jan 8, 2012, 7:10:42 PM1/8/12
to cafetra...@googlegroups.com

On 9 Jan 2012, at 04:38, Dominique Pivard wrote:

> So it seems CafeTran is not an application, as far as OS X is concerned.

I mentioned that earlier, and didn't consider it a problem. Wrong again.

Igor Kmitowski

unread,
Jan 9, 2012, 7:27:06 AM1/9/12
to cafetra...@googlegroups.com
Hi Dominique,

So there is no other way but to ship CT on Mac as a Mac application
(CafeTran.app). Perhaps this week :)

BR
Igor


> Problem is, when I'm saving it, AppleScript asks me: 'Where is CafeTran?'
>
> It certainly isn't included in the list of applications. If I click
> the 'Browse' button, I can navigate to the CafeTrans folder, but
> cafetran.jar is greyed out. So it seems CafeTran is not an
> application, as far as OS X is concerned. It probably has to do with
> the fact it's Java. I had a similar problem when detecting Wordfast
> Pro on Windows in an AutoHotKey script. So if any Mac users can tell
> me how I can explain CafeTran *is* an application, your suggestions
> are welcome!

> Cheers,
>
> Dominique


Dominique Pivard

unread,
Jan 9, 2012, 8:15:37 AM1/9/12
to cafetra...@googlegroups.com
2012/1/9 Igor Kmitowski <cafetran...@gmail.com>:

Hi Igor,

> So there is no other way but to ship CT on Mac as a Mac application


> (CafeTran.app). Perhaps this week :)

There's probably a way to identify the .jar from CT as an app in OS X,
but I have found a manual way to resize the CT window to the required
size and I have already tested recording in ScreenFlow + exporting the
recording for further editing in a video editing software: all worked
very well, so there's no need to ship CT as a Mac app for me. However,
I think it's a good idea in any case to "macify" CT, even if this
requires a bit of extra work from you. Mac users will be so delighted
to get a nice .dmg with no .exe and .bat inside ;-)

Cheers,

Dominique

Hans List

unread,
Jan 9, 2012, 8:30:41 AM1/9/12
to cafetra...@googlegroups.com

On Jan 9, 2012, at 2:15 PM, Dominique Pivard wrote:

> Mac users will be so delighted
> to get a nice .dmg with no .exe and .bat inside ;-)

Not to forget a nice icon.

Igor, is the competition 'Design a nice icon/logo, win a license' still open?

Dominique Pivard

unread,
Jan 9, 2012, 8:36:42 AM1/9/12
to cafetra...@googlegroups.com
On 9 January 2012 15:30, Hans List <hans...@gmail.com> wrote:

Hi Hans,

> Igor, is the competition 'Design a nice icon/logo, win a license' still open?

Only people who upload a CT video *with* sound on YouTube are eligible
for a free license ;-)

Cheers,

Dominique

Hans List

unread,
Jan 9, 2012, 8:43:48 AM1/9/12
to cafetra...@googlegroups.com

Okay, I'll put Whitney Houston as a background vocalist in my video.

;P

Dominique Pivard

unread,
Jan 9, 2012, 8:52:57 AM1/9/12
to cafetra...@googlegroups.com
On 9 January 2012 15:43, Hans List <hans...@gmail.com> wrote:

> Okay, I'll put Whitney Houston as a background vocalist in my video.

That probably won't cut it, YouTube can be quite tight when it comes
to posting copyrighted material ;-)

Cheers,

Dominique

Hans List

unread,
Jan 9, 2012, 9:03:13 AM1/9/12
to cafetra...@googlegroups.com

Okay, okay -- I'll sing it myself.

Don't complain that I didn't warn you!

www.rubettes.com

Igor Kmitowski

unread,
Jan 9, 2012, 2:08:01 PM1/9/12
to CafeTranslators
Have I announced any competition? ;-)

Okay, this is official. Please submit your ideas for CafeTran's icon
until the end of January. The winner's icon will be included in the
next update and the winner will receive a license for the unlimited
version of CafeTran.

Kind regards,
Igor Kmitowski

--
Igor Kmitowski
Translator and Java developer
CafeTran website: http://www.cafetran.com
CafeTran support: cafetran...@gmail.com

Reply all
Reply to author
Forward
0 new messages