CSS custom script - is this possible?

Hi, I'm trying to determine if it's posible to write a script that will retrieve an html page, return some user credentials (login) to the server, and upon successful authentication, download a small text file. The service will be declared active if these three steps are successful
I have seen that it's not recommended to use disk I/O operations in scripts, which is something I will take into consideration, but is the scripting language capapble of performing these three functions within one script?
Many Thanks in advance

With NTLM this is not possible.
Because the server sends some kind of challenge that is different each time.
The response of the client will depend on the challenge and again it will also be different.
So, you first would need to know the NTLM protocol which is Microsoft proprietary so it's hard to find info, and implementing this in a script will be even harder.
So, the answer is no way.
Gilles.

Similar Messages

  • Dashboard - defaulting to a custom Dashboard - is this possible?

    Hi Everyone,
    I have created a custom sales dashboard and I would like to set it as the first dashboard that our Sales Reps see when they click on the tab. Is this possible? because I can't seem to find any info on this.
    I started playing around with Custom Web tabs, and I can add the URL from the Sales Dashboard - but I get a picture in a picture problem where there are two sets of the action bar and tabs at the top
    Has anyone had similar challenges? How have you gotten around this?
    Thanks, Margo

    Hi Margo,
    We're actually looking for the same feature, but no luck yet.
    Prior to the custom dashboards in R15, we used Custom Web Tabs. We still keep the "top 3 dashboards" as Custom Web Tabs as they are more convenient to run. With the Custom Web Tab dashboards, we've linked each up to a Narrative report. Narrative reports use HTML code to combine several different reports into one report.
    I've never tried to link the URL from a custom dashboard to a web tab, maybe you can give Narrative reports a try.
    Cheers,
    Karen

  • SimpleText voice changes within the script, is this possible?

    I have just wet myself laughing at the "voice" reading my written text in SimpleText - Bruce and Fred etc. Now would like to have two different voices reading my text as if there were actors. Is it possible to change the voices with the text?
    example:
    [Fred voice] hello I'm the fred voice
    [Bruce] and I'm the sound fo bruce
    [Fred] yes and now back to me
    I'm running and old PPC 4400 and OS9
    I would imagine it is, either by using a particular app or by adding some script. Any suggestions?

    Thanks for the details.
    I debugged the process and can see this line is providing the text on the tab. However, the method is making a low-level call to get the details from some message class/table, but I can't identify what this message class/table is.
    But it looks like it's the sotr_edit transaction, as you mentioned, that controls this. I'm not that familiar with this OTR process though and the transaction is not that intuitive. I assume that I just need to somehow add new entry, with my own Z package.
    Many thanks for the advice though, I knew nothing about that transaction. I also have to create another Online factsheet as well, and it looks like I can control it this way as well.
    I had already modified table CRMV_PRN_CONTROL via sm30 and had changed the values for the Fom name and class/interface from CRM_ACC_ACCOUNT_OVERVIEW_PRN to ZCRM_ACC_ACCOUNT_OVERVIEW_PRN for the form name and from CL_UIU_PRN_ACCOUNT to ZCL_UIU_PRN_ACCOUNT for the class/interface against all the roles.
    However, I know want to add another form name and class/interface as I have TWO user PDF Factsheets to use, depending on which item the user chooses from the Tab.
    Any idea how I can control this?.
    Best regards
    Jason

  • Nodemanager in WLS81sp5 calling custom script to start Managed Server.

    Hi,
    In WLS81sp5 on AIX, I have modified nodemanager.properties file to call a custom script.
    This custom script is called successfully when I start a managed server from admin console.
    This custom script is called with 1st argument as "-Xms512m -Xmx512m -weblogic.Name=MS1 ******* weblogic.Server"
    I need to extract different parameters from this 1st argument e.g. weblogic.Name, management.URL, classpath and manipulate them (esp. classpath). In the process of extracting these parameters inside custom script, i have to use PIPEs of unix shells i.e.
    varname=`echo $1 |cut -d " " -f $i | cut -d "=" -f 1`
    Commands with PIPEs do not work as this script is being called from a java program.
    I am stuck with this.
    Any solution/suggestion to work this around?
    Appreciate any help.
    Thanks,
    Manoj

    Hi,
    In WLS81sp5 on AIX, I have modified nodemanager.properties file to call a custom script.
    This custom script is called successfully when I start a managed server from admin console.
    This custom script is called with 1st argument as "-Xms512m -Xmx512m -weblogic.Name=MS1 ******* weblogic.Server"
    I need to extract different parameters from this 1st argument e.g. weblogic.Name, management.URL, classpath and manipulate them (esp. classpath). In the process of extracting these parameters inside custom script, i have to use PIPEs of unix shells i.e.
    varname=`echo $1 |cut -d " " -f $i | cut -d "=" -f 1`
    Commands with PIPEs do not work as this script is being called from a java program.
    I am stuck with this.
    Any solution/suggestion to work this around?
    Appreciate any help.
    Thanks,
    Manoj

  • Possible to set shortcut for file scripts custom script ?

    i have some custom scripts in file > scripts. i'd like to set a shortcut key for them, but you can't do that thru edit > keyboard shortcuts because the custom ones don't show up, only "other script F12" shows up.
    is there a way to set a shortcut to execute a custom script? i am using Ai CS3 version 13.0.2
    some work arounds i tried that didn't seem to work:
    - setting the script as an action - didn't work, the script does a bunch of stuff that can't be solved by actions
    - setting an action and inserting a menu item, then setting a shortcut to run the action - doesn't help because menu item (the script) gets disassocated from the action every time you shut down Ai. sometimes it disassociates itself. tried to save the actions and reload them, but the scripts were still disassociated
    thanks

    As it sounds like you have already discovered, you should be able to define an Action with but one InsertMenuCommand step in it. That menu command would be the selection of your script from the File Menu.
    However, that functionality has been broken for four full versions now. The Menu Command step goes vacant after quitting and re-launching Illustrator.
    I keep an Action in my Actions palette titled CurrentScript. I can at least, at the beginning of a work session in which I know I will need to call a particular script repeatedly, re-do the Insert Menu Item step and have it survive during the work session. (It will, of course, be gone if I quit & relauch.)
    If Actions could reliably call scripts from the File menu, one could do some very cool things. Many operations in the standard UI are not available via the scripting model, and of course vice-versa. Simply being able to reliably call scripts as individual steps of an Action would open the door for elaborate automations that perform both scripted functions and those available in the UI.
    But alas, users have been complaining about this bug for four versions now.
    I think it is conceivable that one could build a Javascript that employs the ScriptUI functionality, and have that script run automatically at launch. That script could simply be a "dashboard" palette from which to call other scripts. But one should not have to go to such ridiculous lengths to work around a bug that has gone unaddressed for so long.
    JET

  • I want to order files (e.g., photos) in a particular order (not necessarily an order that is an option in MacOS. Ie, my own custom order, and I want them STAY in that order until I change the order. Is this possible?

    I want to order files (e.g., photos) in a particular order (not necessarily an order that is an option in MacOS. Ie, my own custom order, and I want them STAY in that order until I change the order. Is this possible?

    Custom sort order is not a typical option in the list view of any desktop computing systems I know of. The way you're seeing it work is also how it works in Windows and other systems.
    There is no "None" sort order. What you're seeing is a "None" option under "Arrange By." Arranging is not the same as sorting; arranging is how the files are grouped in the window. For example, you can arrange (group) files by Kind while sorting by Name. You'll notice that if you are in List view and you choose Arrange By "None," in the window there is still a sort triangle next to the column name that it's sorting by.
    If Arrange is set to None, the files appear in one big group (the traditional view) that is controlled by the Sort order (where there is no None option).
    I didn't even know the difference between Sort and Arrange until I saw your question and did a little research! This Macworld article helped:
    How to arrange and sort files in Lion Finder (also applies to later OSs like Mavericks)
    As for your main question, how to do a custom sort order in the Finder, you can only rearrange files manually in Icon view. As with other operating systems, if you want to create a custom sort order for photos there are other ways:
    Use a photo organizer application like iPhoto or Lightroom. Some let you have custom sort orders in folders, but others only let you have a custom sort inside a different container like an "album" or "collection". Having those additional container types is part of why photos are often best managed in an organizer application and not on the desktop.
    Rename the files. You can use a renaming utility program to rename the photos with numbers that will enforce your sort order when sorted by name on the desktop, like
    01 Photo.jpg
    01 Photo.jpg
    01 Photo.jpg
    or
    Photo 01.jpg
    Photo 02.jpg
    Photo 03.jpg

  • I already have creative cloud Photography plan and just want to add dreamweaver, is this possible?  Alternatively, I have tried purchasing the Complete - For CS Customers but it asks me to contact customer support and then sends me through to the forums!!

    I already have creative cloud Photography plan and just want to add dreamweaver, is this possible?  Alternatively, I have tried purchasing the Complete — For CS Customers but it asks me to contact customer support and then sends me through to the forums!!

    yes.
    contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

  • Is this possible to do with a script?

    Is this possible to do with a script?
    Import a folder of images, aplly an action over each image, and save the image for web as png in that or different folder?
    Thanks,
    Predrag

    Yes it is possible. Look for Image Processor Pro on the Russel Brown web site.

  • I want to change the name of paragraphs styles. Is this possible by script.

    I want to change the name of paragraphs styles. Is this possible by script.
    Thank you

    Hi Hasvi,
    May the below coding helps for your question:
    var myDocument = app.activeDocument
    var myPStyles = myDocument.paragraphStyles.everyItem().getElements()
    for(i=2; i<myPStyles.length; i++)
    myPStyles[i].name = "A_".concat(myPStyles[i].name);   //Please change as per your requirement
    //myPStyles[i].name = "BBBBBB_".concat(myPStyles[i].name);
    Please use the below URL for more details.
    http://forums.adobe.com/message/4909340#4909340
    If my answers helps you, please provide "Helpful" or "Correct Answer" for me.
    Thanks
    Siraj

  • I am trying to add a note in numbers when I can link an action required to my calendar... Is this possible? For example I am using numbers like a CRM and I would like to be able to have my next action required for a customer link to my calendar

    I am using numbers as a CRM and one of my columns is called 'Next Action Required' i.e
    Next Action Required
    Email Douglas on the 02-12-14 about information needed for tour
    Call Thomas 0446 393 about booking trip
    Thank you in anticipation
    Doug

    Utterly bizarre. I can't see your two follow-up posts when I'm logged in. However...
    Things would be simple if Apple implemented Data Detectors for dates in Numbers, as they have in applications like TextEdit and Script Editor. Then you’d have a system-level means of quickly moving from a selected date in your CRM spreadsheet to Calendar.
    Until that happy day arrives, though, we can approximate it with AppleScript and Automator.
    First, make sure your Numbers table is called CRM and your column has the header Next action required. (You can change these if you want but you’ll also have to modify the script.) This is the basic setup:
    Then, launch Automator and create a new workflow. From the Choose a type… dialog, specify Service.
    At the top of the workflow, “Services receives selected…” should be set to text in Numbers.app. (You'll need to choose Other... from the pop-up and then navigate to Numbers.)
    In the Library menu at the left, click on Utilities, then drag a Run AppleScript action into the main Automator pane. Delete all the boilerplate text from the script.
    It should look like this:
    Now copy and paste the script below into the Run AppleScript action.
    on run {date_string}
      tell application "Numbers"
      tell document 1
      tell active sheet
      try
      set crm_table to (item 1 of (every table whose name is "CRM"))
      on error
      display dialog "No CRM table in this sheet"
      return
      end try
      tell crm_table
      try
      set the_selection to selection range
      set the_row to row 1 of the_selection
      on error
      display dialog "Select some text in a cell"
      return
      end try
      set the_col to item 1 of (column of the_selection)
      set header_cell to cell 1 of the_col
      if value of header_cell is "Next action required" then my run_calendar(date_string)
      end tell
      end tell
      end tell
      end tell
    end run
    on run_calendar(date_string)
      try
      set date_string to date_string as string
      set real_date to date (date_string)
      on error
      set real_date to (current date)
      end try
      tell application "Calendar"
      activate
      switch view to day view
      try
      view calendar at real_date
      on error the_err
      display dialog the_err
      end try
      end tell
    end run_calendar
    Click the little hammer at the top to make sure that the script compiles (indents and colours in). If it doesn’t, you may need to sort out some line breaks in the copied and pasted script.
    Now save the workflow as Go to date in Calendar. Quit Automator.
    So what does the script do? Basically, it looks at the selected text in a Numbers cell and checks to see that the table name is “CRM” and the column header is “Next Action Required”. It then tries to convert the selected text into a valid date. If it can, it takes you to that date in Calendar. If it can’t, it takes you to today’s date. In both cases it switches Calendar to day view. You have to bear in mind that if you select all of “10/10/14 Call John re contract” it won’t understand that part of this is a date, and won’t go to October 10.  You'd have to select just "10/10/14"
    To run the Service, right-click or control-click on the selected text and go down to Services, then choose Go to date in Calendar:
    Alternatively, run it from Services in the main Numbers menu.
    You can set up a keyboard shortcut for any Service in System Preferences - Keyboard - Shortcuts. Post back if you need more info about this.
    Tested with Numbers 3.5 (2109). This will not work with Numbers '09.
    Hope this works for you, let us know how you get on.
    H

  • Custom Script using Classifications

    Hi.
    I am wondering if it is possible and how I would go about using custom scripts to use classifications to display particular things.
    This is the goal:
    To classify events (back end) and then based on the classification of an event, on the detail page (front end) it will trigger the display of a different web form that was created for that event classification.
    This is because I have 3 different types of events that I want to display on my calendar but each need thier own booking form.
    Any help would be awesome, I have no idea where to even start with this one.
    Thanks in advance.
    K

    Hi Kristen,
    The only way to do that would be to crate a content holder for each category. Then, place different forms inside those content holders and then insert those content holders into event details when you're creating an event. This means you need to remove the booking form from the detail layout.
    Cheers,
    -mario

  • Custom scripts not working in Illustrator CC (2014)

    A couple of custom scripts that are part of my workflow don't work in the new CC; MultiExporter.jsx and Sprite CSS Generator.jsx.
    When I try to run either a titled modal window comes up as if the script is running but the actual window is only a couple of pixels tall and can't be re-sized;
    They both worked fine in CC. My grasp of javascript is pretty basic but is there code that needs to be changed to update these to work with the current version?
    Thanks!
    Bob

    It looks like this might have been a system issue or conflict of some sort; I uninstalled AI CC2013 and AI CC2014 as well clearing out all prefs and artifact files and folders. Then did a fresh install of CC2014 an was able to use all my legacy scripts with no problem.

  • Compare Host Configurations via custom script

    I have a verification shell script that I have on my servers. The script goes off and responds with COTS versions, deployment versions, software bundles, and various other pedigree information about that server. It is beneficial to me, in that I can quickly analyze what software is sitting on a specific server. I can run this script from OEM 12c, using the run Host command and see the results in a clean GUI fashion.
    My dilemma is this: I would like to be able to save or store a process to leverage OEM to automate this procedure...on multiple servers, and then do a comparison of the two results. So basically, run the script on server 1 and server 2...and show a comparison (somewhat like the configuration comparison tool) of the results of the two server scripts...showing what is identical and what is different on each server. Is something like this possible?
    One idea I had was to design a plugin to create a new target type, that stores all of the results of this script in a target. Then doing a comparison of those targets would show me the differences. That is a long drawn out process and I am not really familiar with it. So I am looking for some additional ideas from other users...Thank you ahead of time.

    Guinea,
    What you need is custom configuration collection. This feature will allow you to register your script for scheduled execution. the output of this script is parsed and stored in the EM repository and can be used for comparisons, searching, report generation, etc.
    Refer to the following documentation:
    http://docs.oracle.com/cd/E24628_01/em.121/e27046/config_mgmt.htm#BABBDHCB

  • Is this possible with Actionscript 3 events?

    Fairly new to AS3. Studying up on events.
    Is it possible to have a simple value object dispatch an event and have the script inside the MXML respond to that event itself without having to register the event on the value object itself?
    Example of what I'm talking about
    I have a simple value object named Person. Not directly inherited from anything.
    Has one variable.  firstName : String;
    When the firstName variable gets changed, the setter creates a new DispatchEvent object and dispatches a new event. It does this without any runtime errors.  Back in the MXML, I want the MXML's Application to be what registers the event, NOT the Person object. In fact, it can't because I didn't inhert from the DispatchEvent class.
    I've provided both the custom class and the MXML. I've kept it as bare bones and as simplistic as possible to get my intent across.
    =======================================
    MY CUSTOM CLASS DEFINITION
    =======================================
    package myClasses
    import flash.events.Event;
    import flash.events.EventDispatcher;
    public class Person
      private var _firstName : String;
      public function Person( fName : String )
       _firstName = fName;
      [Bindable(event="firstNameChange")]
      public function get firstName():String
       return _firstName;
      public function set firstName(value:String):void
       if( _firstName !== value)
        _firstName = value;
        var d:EventDispatcher = new EventDispatcher( );
        d.dispatchEvent( new Event( "firstNameChange" ) );
    =======================================
    MY MXML
    =======================================
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
          creationComplete="application1_creationCompleteHandler(event)">
    <fx:Script>
      <![CDATA[
       import mx.controls.Alert;
       import mx.events.FlexEvent;
       import myClasses.Person;
       [Bindable]
       protected var myPerson:Person
       protected function application1_creationCompleteHandler(event:FlexEvent):void
         // Want the "application" to be notified when the "firstNameChange" event happens
        addEventListener( "firstNameChange", personChanged );
        myPerson = new Person( "Scoobie Do" );
        // Force a change and HOPE the event triggers
        myPerson.firstName = "Shaggy";
         // This is NOT being ran.
       protected function personChanged( e:Event ) : void
        Alert.show( "triggered" );
      ]]>
    </fx:Script>
    </s:Application>
    All the examples I've seen would have the Person class inherit from the DispatchEvent class, then back in the MXML you'd have something like this
    var p:Person = new Person( "thelma" );
    p.addEventListener( "firstNameChange", someEventHandlerFunction );
    I get that, but not what I'm trying to acheive here. I just want the Person object to dispatch the event and have someone else be able to listen for the "firstNameChange" event.   Is this possible?
    Thanks for the help!!!!

    Ahh, the age-old signals/slots vs Events debate...
    The fact there is even a discussion on the topic gives you an idea of how powerful the language is (compared to other sandboxed client-side instruction sets). Architecturally, anything is possible. Hell, you could even write your own byte code interpreter if you wanted...
    To get back to the original question, what you are looking for is a standardized way to get classes to communicate with each other, yes? This is usually done through a framework, or various design patterns. Pick whichever method your are comfortable with given your past programming experiences.

  • Custom script lookup..

    This is all I can find about creating a lookup I need to use in a script......
    Use As Lookup
    You use the Use as Lookup column to select a dimension for a custom lookup table. When Use
    as Lookup is selected, the Enabled field cannot be used. The custom lookup dimension is used
    only for custom scripting.
    What I did,
    In MetaData>Dimension I checked "Use as lookup" for the dimension I want to use...
    Where do I load the lookup values? To the mapping table for that dim? I have 6000 locations and I need to have one table to maintain...
    I need to load to one table for all lookup values is my understanding...is that the case?
    Thanks,
    Jz

    Hello,
    You will need to use the PSI in the PowerShell script. This is all possible. Example below for updating existing lookup table from PowerShell:
    http://gallery.technet.microsoft.com/scriptcenter/Update-Server-Lookup-table-bb1ae14f
    That will give you an idea on calling the PSI methods and working with data sets in PowerShell.
    To create custom fields use this method:
    http://msdn.microsoft.com/en-us/library/gg176849.aspx
    Other custom fields methods here:
    http://msdn.microsoft.com/en-us/library/websvccustomfields.customfields_di_pj14mref_methods.aspx
    Lookup table methods:
    http://msdn.microsoft.com/en-us/library/websvclookuptable.lookuptable_di_pj14mref.aspx
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

Maybe you are looking for