Can i make the width of dialog boxes any bigger than the default.
If so how please.
Can i make the width of dialog boxes any bigger than the default.
If so how please.
Nope…
Unfortunatelly, “plain applescript” has not long and flexible interface capabilities…
A bit more of width…
display dialog "m" buttons {"mmmmmmmmmm", "mmmmmmmmmm", "mmmmmmmmmm"}
leads me to a thought, can i hide the buttons?? or just not show them. This way i can trick AS to do it.
No, you have to have a at least one dialog box. (A no button dialog box would not be standard and how would the user dismis it?)
What is the problem you are attempting to solve in making the dialog box wider?
so that i can have more text on a Line, so that i can write:
1:Upload Files to the Database (from folder)
and have it looking like that and not
1:Upload Files to the Database
(fom folder)
But i could make the buttons bigger. Its a prompt box that i am trying to widen
If you are giving the user an option from multiple commands to run, try a list box. (if you were just trying to convey information, other formats might work better.
List box??/ does this give a drop down menu type thing?
How do list boxes work?
gonna look them up on the applescript page.
cheers
the download contains the source??
can i use some bits and peices?? just how to do lists and return of the buttons.
set options_ to {"Larry", "Moe", "Curly"}
set chosen_ to (choose from list options_ with prompt "Choose a stooge." without multiple selections allowed) as text
display dialog "You chose " & chosen_
Check Standard Additions for more info.
– Rob
[quote=“Rob”]
Where can i find this please??
If you are referring to Standard Additions, go to the file menu in Script Editor and choose “Open Dictionary…”. Then wait for an hour or so (just kidding), scroll down to Standard Additions and select it.
I’m not trying to being mean or offensive but your question indicates that you might not be familiar with the basics of AppleScript. Without the basics, scripting will soon become very frustrating. If this is the case, I recommend that you obtain a book and/or check some of the tutorials on the web. Here are a couple of links to tutorial material that covers the basics and stuff that isn’t so basic.
http://macscripter.net/unscripted/
http://www.tandb.com.au/applescript/tutorial/
Respectfully,
Rob
fair point, i am quite new to this, as msentioned in another post just 6 weeks. I thought about a book but i am only applescripting for this internship that i am on which finishes next thursday.
I have done well and its due to this forum, as before i started i had never even used an apple mac.
I can do some complex things, well not to complex. I have successfully solved my uploading files problem from a few weeks ago by moving the mouse and clicking from extra suites.
i have done renaming files, and so on.
Thanks for the help, and i tried to look for a dictionary entry for dialog boxes but didnt know where to look.
Cheers again
Thanks for the help, and i tried to look for a dictionary entry for dialog boxes but didnt know where to look.
Here’s what it looks like on my machine (Script Editor v1.9).
http://home.woh.rr.com/rjj/images/dictionary.jpg
– Rob
Thanks again.
Sorry also for the pointless posts that i have done in the past but i have had to make an administration system for work, i reckon a database would have worked but that wasn’t difficult enough.
I had to do loads, like a new filenameing system, upload files to online database, get information from online database and more. So you see as i was here for only 8 weeks i needed all the help i could get.
So cheers.
Found the help file.
Sorry also for the pointless posts that i have done in the past but i have had to make an administration system for work, i reckon a database would have worked but that wasn’t difficult enough.
I had to do loads, like a new filenameing system, upload files to online database, get information from online database and more. So you see as i was here for only 8 weeks i needed all the help i could get.
Understood.
– Rob