OS X Technologies :: How To Create A Dialog Box

Feb 27, 2012

What i am trying to do is create a program that lets the user have a small conversation with the computer but i don't want to use "else" and list the possible inputs seperatley and have to write the same thing over and over again. does anyone know of a way i can list possible inputs together and have them lead to the same result?

View 6 Replies


OS X Technologies :: Display Dialog When Logout Button Clicked?

Apr 23, 2012

I would like to run a script when a user selects log out from the apple drop down to ask the user if they backed up their data before it allows them to log out. I created a script that prompts you and then brings you to the logout screen but do not know how to get it to run, or something similar to run, when you select log out. Obviously, I do not want it to run when the user has already logged out. The other option I see that could work would be to change the message, "are you sure you want to quit all applications and log out now?" which I cannot figure out how to do.

AppleScript, Mac OS X (10.6.8)

View 4 Replies View Related

OS X Technologies :: Apple-script: Display Dialog While Doing Shell Script?

Mar 19, 2012

I'm making an applescript app for my company, and had  a question.The functionality of the app is working great, but there is a certain step which can take up to several minutes.This can give the user the feeling that nothing is happening and things are stuck. Is there a possibility to display a dialog as long as the action (shell script) is running?Something along the lines of "Now performing action X.

MacBook Pro, Mac OS X (10.7.3)

View 10 Replies View Related

OS X Technologies :: Create A Log File?

Apr 24, 2012

Been up for a while trying to figure this out with no luck. I created an app that will uninstall a program and all of it's files. 

example try                    do shell script "rm -rf /Applications/TestFakeApp"           end try     try                    do shell script "rm -rf /Applications/TestFakeApp2"           end try     try                    do shell script "rm -rf ~/Library/Preferences/com.FakeTestApp.plist"           end try          try                    do shell script "rm -rf ~/Library/Preferences/com.FakeTestApp2.plist" end try          try                    do shell script "rm -rf ~/Library/Logs/FakeTestApp*"           end try          try                    do shell script "rm -rf ~/Library/Application\ Support/FakeTestApp" end try 

there are alot more paths to remove but this is just a few for example 

I want to be able to create a log.txt file on the desktop to show what has been removed and or what could not be removed. 

I then tried by creating a text document by using 

do shell script "touch ~/Desktop/test.txt" tell application "Finder" open file ((path to desktop folder as text) & "test.txt") using ((path to applications folder as text) & "TextEdit.app")end tell 

but I don't know what to do next. 

1. Have it check for each file to see if it was deleted or not

2. add it into the test.txt file

3. save the file once done 

Pro, Mac OS X (10.7.3)

View 13 Replies View Related

OS X Technologies :: Create Folder With Name Client150412n?

Apr 14, 2012

I'm new to ApplesScripting. I've found this script that I'd like to change:--This script will make a new folder on the desktop with current date and dialog box--format the date to 2010-11-19tell (current date) to get day & (it's month as integer) & (it's year as integer)set TheDateFormat to the result as text-- asks for folder name with date as default answerset TheFolderName to text returned of (display dialog "Name the folder" default answer TheDateFormat)--make folder with date & user entered texttell application "Finder" make new folder with properties {name:TheFolderName}end tellThe desired changes:- Date format should be: 150412 + a letter (a, b, c) if the folder to be created already exists.- Place the cursor at the start of name dialog, no selection active.- The new folders should be created in /Users/Hans/Dropbox/Jobs/Another question is related to execution of the script:- How can I start the script easily with a shortcut key or a Dock icon?- Is it possible to select client name from a plain text file containing client names in separate lines?- Is it possible to have zip files automatically unzipped to subfolder names with the zip package name?- Regarding the Dock icon I could even imagine that I drag a zip or other file from an email or the Desktop to the icon and that I only have to type the clients name to have the file moved to a new folder. user entered texttell application

View 1 Replies View Related

OS X Technologies :: Create Folders And Sort Applescript?

Mar 15, 2012

I am using a script that Jacques Rioux kindly helped me out with a couple days ago. I altered his script a little to complete a different task I needed to create a shortcut for. The script below first creates two folders (TIFF & JPEG) and then it sorts files with an extension .tif into the 'TIFF' folder and files with the extension .jpg into the folder named 'JPEG'. This works great but I would like the script to effect multiple folders. Can anyone help me add to the script so when you click it, a prompt will pop up allowing you to choose multiple folders to apply the script too? As of now it will only work on one folder at a time.

Pro, Mac OS X (10.6.8)

View 2 Replies View Related

OS X Technologies :: Create ICloud Calendar With Applescript

May 5, 2012

I use the create calendar with name "" and it makes it "On My Mac". Is there any way to make it in iCloud instead?

Mac Pro, Mac OS X (10.7.3)

View 2 Replies View Related

OS X Technologies :: Run The Create Booklet Workflow As A Folder Action?

Jul 2, 2012

Please accept my apologies if I'm posting in the wrong section .  I've been using the fantastic Create Booklet PDF Service (workflow) by Christoph Vogelbusch (his page is on .mac, so it just went bye-bye).  I'd like to turn this worklfow into a folder action so that when a file is added to the folder, a pdf booklet is created automatically.  In particular, I'm interested in doing this in Microsoft Word.  Can anyone tell me if this is even possible, and if so, either point me in the right direction (or, at least, to the best Automator community where I might repost this request)?

2.2 GHz Intel Core 2 Duo MacBook Pro, Mac OS X (10.6.3)

View 1 Replies View Related

OS X Technologies :: Create An Apple-script To Install Printers - Can't Seem To Get It To Work

Mar 21, 2012

I'm running 10.7and I'm trying to create an applescript to install printers.  I'm able to run the first command without issues but the other two keeps giving me error messages in applescript. I assume its because the other two commands have spaces? These are the commands I run when in Terminal: 

/usr/sbin/lpadmin -p CX560 -E -v lpd://CX560/print -P /Library/Printers/PPDs/Contents/Resources/en.lproj/US-Letter/CX560_V1.PPD -D FireStationCX560 


This is the only command I can successfully run in AppleScipt: 

do shell script "/usr/sbin/lpadmin -p CX560 -E -v lpd://CX560/print -P /Library/Printers/PPDs/Contents/Resources/en.lproj/US-Letter/CX560_V1.PPD -D FireStationCX560"  

View 2 Replies View Related

OS X V10.4 :: Hdiutil Create Srcdevice Fails To Create Image

Feb 1, 2012

I want to create a disk image of a Mac drive (.dmg file).I figured that it might not be a good idea to try and image a live disk, so I unmounted it (the user dragged the disk icon to the eject icon), and I confirmed it was unmounted by looking at /Volumes. To be clear here, this isn't the boot volume, that is /dev/disk0./dev/disk1 is an internal drive - as it happens it's the original drive for this OSX 10.4 G5, AND /Volumes/HITACHI is the mount point for an external USB drive.I have tried this twice.On both occassions, things seemed to go well, but after a few minutes (about 10 - 20 minutes), I observed that the target file on /Volumes/HITACHI stopped growing, then a bunch of unpleasant stuff started to happen:

* I did lsof /Volumes/HITACHI/MacHD_20120201.dmg and found the PID of the diskimage binary, ps waux showed it was doing nothing (CPU% was 0.0). This indicates a stuck process to me.

* The hdutil command stopped producing '.'

* I could not cancel the hduitl command

* I could not rm the MacHD_20120201.dmg file

* I could not ls the /Volumes/HITACHI directory

* unlink also hung

A little further into this, the Mac became unresponsive. I observed that the disk was now mounted again (grrr!). As a work around I switched the USB drive off and on, and Mac came good - all my terminals started to respond, the GUI responded for the user.My workaround has been to use CCC to make a clone of the disk - but I don't like this because I think .dmg files are much more convenient (for a start, now that I've used CCC I can't use the USB drive for anything else).

* Is my methodology wrong? Do I really need to umount the /dev/disk1

* Can you disable finder from automounting an internal hard drive (I am particularly interested in this) 

Mac Pro, Mac OS X (10.4.11)

View 3 Replies View Related

OS X :: Selecting Other Options In A Dialog Box?

Sep 13, 2010

Of all the things I've learned to do on a Mac over the years, and with all the help I've provided here at MR, I still don't know how to do the following:

On a rolled out dialog box like the one shown below, how does one go about selecting something other than the highlighted button (in this case Save...) using the keyboard?

I think Escape usually works to select Cancel, but how would I select Don't Save using the keyboard? Why can't I simply Tab over to it and hit the space bar or Enter?

While we're at it, I'm familiar with taking a screenshot of an entire window (CMD+SHIFT+4 followed by Space) but that doesn't seem to work to take a screenshot of a window + the dialog box, other than the sloppy way I just did?

View 3 Replies View Related

OS X :: Dialog Boxes Looking Different After Update

Apr 5, 2010

Since the last OS update to snow leopard my dialog boxes have looked different. I'm assuming this isn't how they are supposed to look. Does anyone have any idea whats going on or how to fix it?

View 4 Replies View Related

OS X :: Bypass Print Dialog Box?

May 6, 2010

Using OS X Mail, is there anyway to print an email without having to see the print dialog box? On Windows, Outlook has a "quick print" icon that you can put on the toolbar that does just that. I was just wondering if it was possible to do in OS X.

View 4 Replies View Related

OS X :: Keep Getting Download Dialog Box Popping Up?

May 9, 2010

Every so often I keep getting a download dialog box popping up asking me to download a afr.php file !

Any ideas what it is or how to stop it ? see image below.

24" Intel iMac
OSX Snow Leopard

View 6 Replies View Related

OS X Mavericks :: How To Copy Dialog Box

Sep 1, 2014

Under Safari-Preferences-Passwords, there is a list of my online passwords. How can I copy the contents of that dialog box and paste it into a printed document that I can put away in a safe place?

iMac, OS X Mavericks (10.9.4)

View 6 Replies View Related

OS X :: Page Setup Dialog Box Does Not Work?

Dec 7, 2008

My generic Page Setup dialog box e.g. used for Word etc. doesn't work.

The "Setting" menu doesn't work at all, i.e. I can see the dropdown but it doesn't accept my changes (it's fixed on "Page Settings". All other menus or choices are accepted but then the "OK" button doesn't work; it just flickers briefly and then goes back to blue. The "Cancel" button makes all contents of the dialog box disappear except for the framne and the buttons. Either way force quitting and relaunching the application is the only way to continue working in the application.

What could be the issue here?

A few specs on my hardware, printer and system:

- MacBook Pro (brand new)

- OS X 10.5.5

- Printers: hp LaserJet 4200 (main printer), iP5200R, OKI B6200, Lexmark E321. All these printers I used without problems with my old PowerBook G4.

The problem occurs with all applications using the generic Page Setup dialog, such as Word, Grab etc. In Excel e.g. all these functions work (it uses a different kind of dialog box for the page setup).

The problem could possibly have started to occur when the Lexmark printer could not be installed automatically so I assigned it another Lexmark driver, which seemed to work. But I'm not sure whether those two problems occurred at the same time.

What I tried already:

- uninstall and reinstall all printers in the Print & Fax part of the System Preferences. I uninstalled all printers and (without restart) reinstalled the hp printer only. The problem was still there, even upon restart.

- reinstall Word (first I thought it was a Word problem)

- shouting at the computer

View 2 Replies View Related

Applications :: Possible To Have More Options In OS X Print Dialog?

Sep 10, 2009

Is there a possibility, to have more print options in the OS X print dialog? Specifically, I want to change quickly the layout of E-Mails, I print (font size bigger, smaller, rewrap mail, move attachments, so they print properly on one sheet instead of spreading on 4 sheets, etc.). I was a heavy user of fineprint for Windows back then and loved especially the implemented big print preview.

View 4 Replies View Related

Final Cut Pro X :: 10.1.3 - Cannot Get Share Dialog To Appear Anymore

Aug 23, 2014

I've just updated to FCPX 10.1.3 and cannot get the "share" dialog to appear anymore. I've tried calling it up through the file menu, through Command-E and through the little share icon on the right. When attempting through file, the file menu disappears as if the command has been recognised, yet no dialogue appears. When attempting through the share button, there is not suggestion that even my click has been recognised, yet I am able to click "add destination" at the bottom. 

I've tried opening up a new, blank project and adding a single, unaltered clip and get the same problem. As mentioned before, I'm running FCPX 10.1.3, on OSX 10.9.4. I've used FCP on my machine before (including exporting) with no problems. 

MacBook Pro (13-inch Mid 2012), OS X Mavericks (10.9.4)

View 9 Replies View Related

OS X :: Unable To Add Printer / Print & Fax Dialog Box Closes

Feb 7, 2008

I open System Prefs and click 'Print & Fax'. I click + to add a printer. The dialog box opens for a few seconds and then closes. Just that window. I cannot add a printer at all or even print anything for that matter. I ran Printer Therapy and it finds nothing wrong. Same with TechTool Pro. Nothing seems to be wrong except this.

View 6 Replies View Related

OS X :: Turning On Black Only Option In Print Dialog Box?

Dec 6, 2005

Bought Epson CX3650 two months ago; have been printing only letters (i.e. black) which has run out, but so have all the other colours (can't understand why as I've printed next to nothing in colour). Ordered a new black cartridge but wouldn't print as other inks (which I don't need) have run out. Have looked for a "Black Only" option in the print dialog box but can't find it. Anyone know a quick fix that avoids buying 4 colour inks every time? Running Mac System 10.3.9.

View 6 Replies View Related

Applications :: Mathematica 7 Through SSH And X11 - Freezes When Open Dialog Box

Sep 11, 2010

I've been having an odd problem: I run Mathematica 7 remotely using SSH and X11. Everything seems to work fine *except* that everything hangs the moment I do something that opens a dialog box. For example, if I try to Save As or Open a document, the window will become unresponsive and I have to kill the process using the command line. I'm using OS X Leopard and have installed the Mathematica fonts following these instructions

View 1 Replies View Related

OS X :: Way To Make The Cursor Go To A Dialog Box When A Page Is Opened

Nov 26, 2008

Is there a way to make the cursor go to a dialog box when a page is opened? I use Firefox and when I go to a page that has a box where I have to apply a password etc. I have to click on that box. I would like to have the cursor be in the box if available.

View 2 Replies View Related

MacBook :: No DVD Region Change Dialog - DVD Not Mounting

May 24, 2009

I had until now only used my macbook with "local" DVD from Region 2. I have a few weeks ago watched one single DVD from region 1, and had therefore to accept the region change in the pop-up dialog. I did accept knowing I would reverse to region 2 after.

I have not read an DVD until today, hen I am trying to load again a region 2 DVD.

Problem: DVd player or Handbrake do not see the DVD, (but VLC can), and I see no dialog offering me to change the region code.

1) where can I see what is my current setting?
2) how can I get DVD player Mac OS X to present that dialog, so that I can reverse to region 2?

View 2 Replies View Related

OS X :: Wireless Printing With MBP - Username Password Dialog

Jun 27, 2009

I have my HP photo smart printer plugged into my time capsule. I never had any issues printing with my last laptop (MBA) but i just got a new 13" MBP and can't print. MBP sees the printer on my time capsule via Bonjour, but when I try to add it to my printers i get a dialog box that says: "type the name and password of a user in teh "_Ipadmin" group to allow AddPrinter to make changes." I have no idea what the "_Ipadmin" group is and i've tried all my normal user names & passwords but it tells me they are all wrong.

View 4 Replies View Related

MacBook Pro :: No Password Dialog Box After Waking Up From Sleep?

Oct 3, 2009

Sometimes when I let my MBP (see sig) go to sleep with the screen open, I come back and hit the spacebar to wake it up and it doesn't give me the password dialog box to wake it from sleep. All i see is a black screen with the mouse pointer on it. This sometimes happens when I wake and DO get the password box but if I wait and don't enter the password right away, the box disappears and wont come back. In both cases I'm forced to push the power button to shut it down and restart. Any solutions to this, or is it just a fluke?

View 3 Replies View Related

Applications :: Power Point Print Dialog Box?

May 27, 2010

I am running MS Office for Mac 2008 under OS X 10.6.3...

I do not get a printer dialog box when I print my slides so I do not get the chance to print speaker notes. Also, when running Word, I go directly to print bypassing the printer dialog box in Word.

I have repaired permissions, updated all my software (OS X, MS Office), rebooted.

View 1 Replies View Related

Software :: Disable 60 Seconds Countdown Dialog Box?

Nov 23, 2010

There's a dialog box with 60 seconds pop-up once i click shutdown button. Is there any way to disable this features?(without using keyboard.)

View 3 Replies View Related

OS X V10.7 Lion :: Ignore Missing Keyboard Dialog?

Feb 11, 2012

I have a Mac Mini which serves as a media center, without a keyboard attached. After I have upgraded to Lion, it shows a "Can't find keyboard" dialog whenever I start up. It can only be dismissed by attaching a keyboard. Is there any setting that will make the mac ignore the missing keyboard? 

Mac mini, Mac OS X (10.7.3)

View 3 Replies View Related

MacBook Pro :: Insert A Timer Into An Applescript Dialog?

Mar 15, 2012

I have been trying to find online sites that tell how to do this, but have not found any resources.  

So how can I insert a timer into an applescript dialog?  

I've tried finding Xcode examples of this, but no luck. 

View 1 Replies View Related

Intel Mac :: Dialog Box Appears And Disappears Before Can Read It?

May 12, 2012

I've been noticing a dialog box that appears and disappears in a fraction of a second, just enough to annoy me. It happens at random times, and have noticed it while working in various applications. I've checked Console and determined that this is the culprit.

View 5 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved