I want to build an AA that will allow for rotating call out profiles

I have UCCX 7. what i'm looking to do is build an auto attendant script so when a caller dials in it will allow for them to reach the oncall person in a different sequence each week\ month. this will need to be triggered only by them calling the ACD access number. I know how the day of week sciprt works just not how to step up the sequencing. has anybody done this before? please respond if you have thank you.
Kind of like this:
Jan 2010            Feb 2010
dial phone 1        dial phone 2
dial phone 2        dial phone 3
dial phone 3        dial phone 1

You can call this script from Applescript (just need to do some escaping of quotes):
This can be run in Applescript:
do shell script "
DestinantionFolder=$HOME/Desktop
MONTHS=(January February March April May June July August September October November December)
for f in ~/Desktop/*
do
     if [[ $( echo \"${f##*/}\" | cut -d_ -f1 ) == \"CLIN\" ]] ; then
          ff=$( echo \"${f##*/}\" | cut -d_ -f2 )
          pd=$( echo \"${f##*/}\" | cut -d_ -f3 )
          date=$( echo \"${f##*/}\" | cut -d_ -f5 )
          date=${date%%.*}
          mo=${date:0:2}
          yr=20${date:4:2}
          Dir=$DestinantionFolder/$ff/$pd/${MONTHS[$mo-1]}\\ $yr/
          if [ ! -d \"$Dir\" ]; then
               mkdir -p \"$Dir\"
          fi
          mv \"$f\" \"$Dir\"
     fi
done"
...is there a way to trigger this whenever a new file is created to check and see if it needs to be moved
Yes, with Automator.  When you Open Automator, choose Folder Action
I copied what you did and while the script ran successfully, I don't see any new folders created.  Your shell script makes sense; I am not sure why it doesn't create folders.
The script as written only looks for files in the Desktop Folder
(edit by changing: DestinantionFolder=$HOME/Desktop )
To test I created a file on my Desktop
  touch ~/Desktop/CLIN_JONES123_JAMES228_LAB_022614.PDF
and Folders were created and the file moved.
(Note: I only tested that format.  If the file has any other format, it will fail)

Similar Messages

  • Is their app on the iPhone 4s that will allow you to find out the number of a restricted call?

    Is their an app on the iPhone 4s that will allow you to find out the number of a restricted call?

    Look at this:
    http://www.trapcall.com/?gclid=COKgjpKyirICFcqP7QodPTYAMA

  • HT4108 Does anyone know if there is a blue tooth keyboard for an ipad air that will allow for a slideshow presentation to pair with a monitor.

    Looking for a blue tooth keyboard that is compatible with the iPad air that has slideshow functionality for pairing with a monitor.  I thought Zagg had one but they do not with the new operating system.
    Thanks.

    PaulDonegan wrote:
    Is there a text box generator in InDesign that will allow you to create a text box with XXX amount of words in it? I work for a newspaper pagination desk and we always get asked to keep a hole for a story that may have 500 words in it. If there is such a thing this would be greatly helpful for people in my position to use this and implement it in the whole office so that we could plug in a space and keep a rough idea as to how much space we need.
    Thanks in advance for your help
    Paul D
    Use Type > Fill with Placeholder Text to generate lots of text. Select some text, then use Window > Info to display the number of selected words. Expand or contract the selection by holding Shift, or Shift+Cmd/Ctrl, and pressing arrow keys. When you have the number of words you want, copy, press Escape, click an empty spot on a page, then paste; the copied text appears in is own text frame. Select the frame and use Object > Fitting > Fit Frame to Content contain all the text within the frame.
    Search Google for terms like "InDesign placeholder text" without quotes for info on changing the actual placeholder text, and also info on a text generator.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Will there be an update in Pages for ipad that will allow for sub scripts and superscripts

    I am a chemistry professor who loves to work on the ipad. The problem I have is that the mathematics I use and chemical equations is use in my writings need both super scripts and subscripts. I would love to use my ipad for this, but presently, the only way I can do this is with a third party app that allows me to create the formulas and the paste them in the document I am working on. Will there be an update to Pages for ipad that will allow subscripts and super scripts. I would love to move away from my Office 2010, but the support is not there yet.

    We cannot speculate about future Apple products. We know no more about this than you do at this time.
    You can suggest it to Apple at Apple Feedback.

  • How to make a program that will ask for a name the first time the program is used and if is not the first time will not ask the name?

    I want to make a program that will ask for the ID of the testing machine the first time the program is running, then will never ask for it. I'm using Labview 6.0

    Hi
    There are a Couple of methods you can use for this.
    Method 1 -
    You can create an ini file and save a boolean Key "First Instance" as True. Now In your Program you read this Key, If it is True then you can show your ID Dialog VI.If False do not run the VI. At the Conclusion of Id Dialog you can update this registry enrty to False. So In effect you have created One time Event. In fact you can save ID as another Config entry.
    The Drawback and advantage is that such an INI file can be edited by someone moderately knowledgeable about the Program
    Method 2
    Use Unitialized Shift Register in A while Loop. Please see LV2 style Globals entry under this forum. You can read and write to this Variable and it retains the Value it last had within it.
    You can read
    this Global the Very first time and say if it true you display your ID Vi. If False you dont. When you display your ID Vi you can Update your Global Like Before.
    If you need Example Let me Know.
    Good Luck
    Mache!!
    Good Luck!
    Mache

  • When will I be billed for engineer call out??

    Hi, I called out an engineer for a fault after I had water damage to my house from burst pipes (turns out one of the sockets had water damage). My insurance will pay for this call out and repair as part of my claim, but I haven't had a bill for it yet and it's been week, and the insurance are waiting for it. When will I get billed?
    Thanks
    VictoriaA

    In my experience, call out charges are usually added to your next bill! Contact BT 150 from your landline, and they will be able to tell you when your next bill is due, and also whether or not the call out charges will be added.

  • How do I build an application that will run without being installed?

    I have seen some of the prior posts on trying to do this, but most of them were older, so I'll ask:
    Using 7.1, how do I build an application that will run without having to install the runtime engine? I have a client that wants to run serial port monitoring VIs to watch some custom hardware we built for him. His IT dept. won't let him install anything. If I could make this VI run off of a USB thumb drive without needing anything installed on the system it would be ideal. Space is not a problem, so I could include any runtime files needed. Can anyone tell me how to do this?
    Thanks

    Under what operating system was it running under back in the 90's when it was working?
    I think that starting with NT platforms (applies to 2000 and XP, but not 9x) the hardware abstraction layer (HAL) prevented direct I/O to serial ports. Serial port related code that ran fine on 3.x and 9x would not run under NT platforms without modification.
    Just some food for thought, do not know if it applies to your situation.
    Good Luck
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • HT204053 I want to be able to setup a generic corporate Apple ID to use with icloud and Find my Iphone, that will allow me to have more than 10 devices assigned to the ID. What do I do?

    I want to be able to setup a generic corporate Apple ID to use with iCloud and Find my iPhone, that will allow me to have more than 10 devices assigned to the ID. How do I go about creating this account?

    I'm not sure if I understand your question, but if you create a new iCloud account with a different ID your existing ID isn't effected by this.  It will continue to work as it does now, you will just have an additional Apple ID.  If you have an earthlink email address you can continue to use it as a separate account, and it can continue to be your default account if you set it to be (in Settings>Mail,Contacts,Calendars>Default Account).  If I'm misunderstanding your question, please explain further.

  • I want to purchase a powerbook that will run a music program like MOTU or Pro Tools as well as run Final Cut Pro without being sluggish...any help?

    I want to purchase a powerbook that will run a music program like MOTU or Pro Tools as well as run Final Cut Pro without being sluggish...any help?

    The only way that would work out is if you ran exactly the versions that were made for old PowerBooks. Anything newer may require Intel and not run, or will strain the poor old G4 CPU.
    Your needs have to be modest, too, because the problem with older music and video software is that they are not current as far as formats and codecs for the Web. If you want to output H.264, the current standard for YouTube/Flash video, older software may not support it, and in addition, H.264 is processor-intensive and is tailor-made for today's multi-core, 2+ GHz processors. It will overwhelm a G4. A PowerBook G4 can barely play YouTube videos.
    More perspective: The PowerBooks worked great for miniDV format editing. In other words, 480i SD/standard definition video in use from the late 1990s to the late 2000s. If that is all you want to do, edit tape from an old miniDV camera to SD output, then OK.
    But if you want to edit today's HD video, whether 720p from a snapshot camera/iPhone 4 or 1080p from a DSLR, the PowerBook and the software for it will either not recognize AVCHD/H.264, or it will slow the PowerBook to a dead crawl.
    I'm in agreement with the above: Intel Macs have been out for so many years that getting a used one is a much better deal than a dead-end PowerBook. And I loved (still love) my PowerBooks.

  • I want to buy a wireless headset for my iPad that will allow me to lissen to a video while blocking out any other sounds in the room yet is comfortable. I do not have any experience with headsets so I do not know what to expect.

    I want to buy a wireless Bluetooth headset for my iPad that will allow me to listen to a video while blocking out any other sound in the room. I tried a philips 6000 earplugs but it was not good at blocking out sound. Can anyone give me some suggestions. I see lots advertised but do not know which one to chose.

    Take a look at HeadRoom (headphone.com). It's a fabulous resource for all types of headphones, with great guides and useful reviews.
    http://www.headphone.com/

  • In the garage I have a Netgear Router. it is connected by a ethernet cable, I have a 1tb drive that I want to use there. On the drive there is only a USB port. on the Netgear there is only ethernet ports. is there an adapter that will work for that?

    In the garage I have a Netgear Router. it is connected by a ethernet cable, I have a 1tb drive that I want to use there. On the drive there is only a USB port. on the Netgear there is only ethernet ports. is there an adapter that will work for that?

    It's not that simple. You need a "smart" device to connect a hard drive to, like a Time Capsule, or another computer, or an Airport Extreme/Express that was made to share a drive, or some other brand router that has a USB port for sharing a drive, etc.

  • I want to buy a cellphone that will work WELL as a modem for my Mac Book Pr

    I want to buy a cellphone that will work WELL as a modem for my Mac Book Pro.
    What cellphone works WELL as a modem?
    What is the script to activate the phone to work as modem?
    I have a Samsung a707 sych cellphone does not work as modem as far as I can tell.

    Any of the Sony Ericsson models will work well as a modem, either by Bluetooth or USB Cable (depending on the model).
    Instructions for setting up are here.

  • I am currently running OS X 10.5.8 on my MacBook (early 2008) and want to know if I can upgrade to a version that will allow me to use iCloud to sync with my new iPad?

    I am currently running OS X 10.5.8 on my MacBook (early 2008) and want to know if I can upgrade to a version that will allow me to use iCloud to sync with my new iPad?

    I believe to use iCloud you need to run at least Lion (10.7). (Only the Find My iPhone or Find My Mac parts of iCloud work with OS earlier than 10.7/Lion).
    I think you can run Lion but you should check each of the following:
    "To use Lion, make sure your computer has the following:
    An Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    Mac OS X v10.6.6 or later to install via the Mac App Store (v10.6.8 recommended); you can install without Mac OS X v10.6 by using an OS X Lion USB Thumb Drive, available on the Apple Online Store
    7 GB of available disk space
    2 GB of RAM
    If your Mac does not meet these requirements, you will need to upgrade your Mac before installing Lion"
    You have a Core 2 Duo. You can upgrade to 10.6 and then install Lion, or use the thumb drive approach mentioned above (thumb drive Lion costs about $70 I think). You need to check your RAM to see if you have enough.
    Folks have reported that 4 GB RAM is really a minimum for a decent experience with Lion.
    For Mountain Lion, see this ( http://support.apple.com/kb/HT5444 ) for what you need to have to install OS 10.8. I don't think you can use Mountain Lion (10.8) with your early 2008 Macbook.

  • I have an older mac book pro and I want to stream to my apple tv.  is there an app out there that will allow me to do this?

    my processor is 2.4GHz Intel core 2 duo
    memory is 8GB 1067 MHz DDR3
    Using OS X version 10.9.4
    I want to steam to my apple TV and I've heard that there may be an app that will allow me to do so.  can someone give me some advice on which apps I could use.

    Try this app: http://www.airsquirrels.com/airparrot/

  • Can I still get CS5 trial - I have limited internet access and just want software on my pc - I am only running vista so that looks to be the latest that  will work for me

    Can I still get CS5 trial - I have limited internet access and just want software on my pc - I am only running vista so that looks to be the latest that  will work for me
    If so what url do I go to as I have been round in circles and always come back to CC
    Thanks

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

Maybe you are looking for

  • IPhoto won't open. Spinning beachball of death until I force quit.

    What to do?

  • Making a hash of hashes

    hi, I am trying to make a hash of hashes to store various runtime attributes. This hash of hashes is stored in an object that is accessed by multiple server threads as well as being accessed by a timer thread every two minutes. The data is of the for

  • How to make a "Program" out of my .java files?

    I have made a little application that stores a file to disk. Is there someway to make a file out of my .java files so it can be run without opening my editor and choosing run?

  • Free trial download Photoshop Elements 10, won't open

    Hi, I downloaded and installed the trial version of Photoshop Elements 10, it all installed fine, but when I click on the icon to launch the program I get this error: The operation can't be completed because the original item for "Adobe Photoshop Ele

  • Cannot get flash to work on my ie 9

    Hello, I've been trying to get flash to work for a while now and still cannot get it to load a video on youtube or msn or any site, I keep getting the (movie not loaded) when I right click on it.  I currently have version 11.5.502.146. I have windows