PDA

View Full Version : Preview with _CommandLineArgs


clueless
01-31-2008, 11:41 AM
Seeing as AMS has specific functions for dealling with passed command line arguments it would be very handy to be able to simulate arguments being passed when running a preview.

clueless
01-31-2008, 11:50 AM
Also im involved in a project right now with AMS that would realy benefit from being able to change the 'Tool tip' text & turn off tool tip text while the program is running.

holtgrewe
01-31-2008, 07:41 PM
clueless

I believe clearing and setting of tool tip text is possible.
At least on buttons, I haven't checked all objects that have tool tips.

Button.SetProperties("Button1", {TooltipText=""}); -- clear text
Button.SetProperties("Button1", {TooltipText="Click for Update"}); -- change text

clueless
01-31-2008, 08:21 PM
Thanks :yes

Darryl
02-01-2008, 08:30 AM
Thanks for the suggestion.

REF: 17191

Worm
02-01-2008, 09:24 AM
You could always populate the table yourself, then comment it out when you compile it
_CommandLineArgs = {}
_CommandLineArgs[1]="ABCDEF"

C B programming and webdesign
05-03-2008, 09:51 AM
or you make a shortcut containing the Command line args, i do it that way

that's one time creating something, and there won't be a possibility that you forget to remove the table =)

Worms idea is great aswell though

RizlaUK
05-03-2008, 03:40 PM
do this and you do not need to remove anything

if not _CommandLineArgs[1] then _CommandLineArgs[1]="ABCDEF" end