ScriptTracer Font Size

Using SuperCard and the Runtime Editor... working with windows, backgrounds, cards and menus.

ScriptTracer Font Size

Postby KelleherD on Tue Jul 27, 2010 9:51 pm

Is there any way to set the font size of the SuperTalk script in the scriptTracer that opens as a result of the trace cmd ?
Daniel.Kelleher@umassmed.edu
OSX 10.5.8
PPC Dual G4
User avatar
KelleherD
 
Posts: 160
Joined: Sun Jul 06, 2008 2:45 pm
Location: Worcester (wouster as in would) Massachusetts USA

Re: ScriptTracer Font Size

Postby mark on Wed Jul 28, 2010 2:55 am

KelleherD wrote:Is there any way to set the font size of the SuperTalk script in the scriptTracer that opens as a result of the trace cmd ?

In 4.6 you can do this by opening up the SuperCard 4.6.rsrc file in the Resources folder within the app bundle and editing a field in the STAT resource called tracertextsize. In 4.7 it will be a persistent global property settable via SuperTalk or from the Terminal.

HTH,
-Mark
mark
 
Posts: 433
Joined: Mon Jul 14, 2008 11:03 pm

Re: ScriptTracer Font Size

Postby KelleherD on Wed Jul 28, 2010 9:14 am

Thank you.

using ResKnife,
I expected to see a number to change but I find:
Label tracertextsize
Type DWRD

So, at the moment I'm thinking that, to increase the font size, I need to change "DWRD" to something else.
If so, what should I change it to ?
-Dan
User avatar
KelleherD
 
Posts: 160
Joined: Sun Jul 06, 2008 2:45 pm
Location: Worcester (wouster as in would) Massachusetts USA

Re: ScriptTracer Font Size

Postby mark on Wed Jul 28, 2010 9:56 am

KelleherD wrote:using ResKnife,
I expected to see a number to change but I find:
Label tracertextsize
Type DWRD

So, at the moment I'm thinking that, to increase the font size, I need to change "DWRD" to something else.
If so, what should I change it to ?

I don't have ResKnife here, and my previous experiences with it have been so profoundly unpleasant that I'm not willing to reinstall it and risk having it poison my launch services database again. So long story short I don't know what you're seeing and can't offer any useful advice about it.

However presumably ResKnife offers an option to bypass the template view and edit resource data directly as hex. What you need to do is set the byte at offset 31 (i.e., 0x1F) to a value in the range of 0x09 (which should be what's there now) to 0x10. In other words, a number from 9 to 16.

HTH,
-Mark
mark
 
Posts: 433
Joined: Mon Jul 14, 2008 11:03 pm

Re: ScriptTracer Font Size

Postby KelleherD on Wed Jul 28, 2010 10:01 am

Thanks
I'm working on that.

Is there a .rsrc editor in Dev Tools ? Or another you recommend ?
-Dan
Daniel.Kelleher@umassmed.edu
OSX 10.5.8
PPC Dual G4
User avatar
KelleherD
 
Posts: 160
Joined: Sun Jul 06, 2008 2:45 pm
Location: Worcester (wouster as in would) Massachusetts USA

Re: ScriptTracer Font Size

Postby MacInput on Wed Jul 28, 2010 10:08 am

Rezilla will do it. Double click STAT '0"…
Screen shot 2010-07-28 at 11.04.10 AM.png
Screen shot 2010-07-28 at 11.04.10 AM.png (34.21 KB) Viewed 110 times


You'll see the tracertextsize field near the bottom of the resulting window.
Screen shot 2010-07-28 at 11.04.42 AM.png
Screen shot 2010-07-28 at 11.04.42 AM.png (62.78 KB) Viewed 110 times
MacInput
 
Posts: 12
Joined: Wed Apr 28, 2010 3:45 pm

Re: ScriptTracer Font Size

Postby KelleherD on Wed Jul 28, 2010 10:54 am

Done.
Thank you both.
-Dan
Daniel.Kelleher@umassmed.edu
OSX 10.5.8
PPC Dual G4
User avatar
KelleherD
 
Posts: 160
Joined: Sun Jul 06, 2008 2:45 pm
Location: Worcester (wouster as in would) Massachusetts USA

Re: ScriptTracer Font Size

Postby KelleherD on Wed Jul 28, 2010 7:12 pm

After changing the font size from 9 to 14 in Rezilla and saving from Rezilla, the file size had, unexpectedly-to-me, increased 1338 bytes; changes occurring in lines 480, 494 and 503.

Ownership of the file had also changed from Terminal to Rezilla so I changed that back, to 'open-with' Terminal using Finder's Get Info dialog window.

Although I was concerned about the unexpected file size increase the file, " SuperCard 4.6.rsrc", works fine so far after replacing the original version in the application bundle.

I can now sit back and easily see my mistakes on this 1900 x 1200 resolution screen.
joy
-Dan
User avatar
KelleherD
 
Posts: 160
Joined: Sun Jul 06, 2008 2:45 pm
Location: Worcester (wouster as in would) Massachusetts USA

Re: ScriptTracer Font Size

Postby Dave Higgins on Wed Jul 28, 2010 7:18 pm

KelleherD wrote:I can now sit back and easily see my mistakes on this 1900 x 1200 resolution screen.

I know what you mean. My tired old eyes are slowly getting worse at close up, and like yours (well... 1920 X 1200), things can get very very tiny. I'm starting to wear out all my two dollar reading glasses. Might have to get a few more of them soon. 8-)
“The greatest thing about Facebook, is that you can quote something and totally make up the source.”
       -– George Washington
User avatar
Dave Higgins
 
Posts: 282
Joined: Mon Jul 07, 2008 9:50 am
Location: Dark Side Of The Moon


Return to SuperCard Basics

Who is online

Users browsing this forum: No registered users and 1 guest

cron