How to auto log in via applescript?

I have no idea how to do it? do I need to curl, change html and post? but how do i post then? or how can i fill in password and log in on the safari page via applescript GUI scripting and press enter? I am just so confused right now:(

I have no idea how to do it? do I need to curl, change html and post? but how do i post then? or how can i fill in password and log in on the safari page via applescript GUI scripting and press enter? I am just so confused right now:(

Similar Messages

  • How to expand the folder via applescript?

    Dear apple experts,
    How to expand the folder via applescript?
    Manually we are using command + option + right arrow, but how we handle this in applescript?
    Thanks in advance,
    Velladurai.G

    Hello
    Finder's container's "expanded" and "completely expanded" properties have long been marked "NOT AVAILABLE YET" under OSX:
    Finder.sdef > Containers and Folders suite
    container n [inh. item] : An item that contains other items
        elements
            contains items, containers, folders, files, alias files, application files, document files, internet location files, clippings, packages.
        properties
            entire contents (specifier, r/o) : the entire contents of the container, including the contents of its children
            expandable (boolean, r/o) : (NOT AVAILABLE YET) Is the container capable of being expanded as an outline?
            expanded (boolean) : (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists)
            completely expanded (boolean) : (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists)
            container window (specifier, r/o) : the container window for this folder
    A way to expand a given folder is to use keystroke command of System Events to invoke the keyboard shortcut in Finder. Something like the following script.
      kLeftArrowCharCode            = 28,
      kRightArrowCharCode           = 29,
      kUpArrowCharCode              = 30,
      kDownArrowCharCode            = 31,
    --set f to (path to downloads folder from user domain) -- target folder e.g.
    set f to (choose folder)
    tell application "Finder"
        reveal f
        tell Finder window 1
            set cv to current view
            if cv = column view then return -- do nothing
            if cv = icon view then set current view to list view
        end tell
        my _keystroke(it, character id 29, {option down, command down}, 0.2)
    end tell
    on _keystroke(_app, _key, _modifiers, _delay)
            reference _app : application reference
            string _key : character(s) to be keystroked [1]
            list _modifiers : list of modifier key to be pressed; enumerations are
                    command down
                    option down
                    shift down
                    control down
            number _delay : post-delay amount [sec]
            [1] Character must be present on the current keyboard layout. Otherwise, it is replaced by 'a'.
        tell _app to activate
        tell application "System Events"
            tell (process 1 whose bundle identifier = (_app's id))
                keystroke _key using _modifiers
            end tell
        end tell
        if _delay > 0 then delay _delay
    end _keystroke
    Regards,
    H

  • How do I log in via a webbrowser?

    When I tried to log in to check my mail, I suddenly got an error message stating that I must log in via a web browser and since I cannot log in.I did not change any settings and do not know what's actually wrong.

    Your email provider will have a web page where you can log into your email account. Use an Internet browser to navigate to your providers web mail page and log into your account. You will need to ask your provider about the error message since it is coming from them.

  • How do I print duplex via AppleScript?

    Hello - I am new to applescript and having a bit of difficulty trying to get started. My initial goal is fairly straightforward: each day (via an iCal action) download a specific URL and print it. Specifically, it's my daily newspaper and I'd like it waiting on the printer in the morning.
    Most things worked very well via Automator, but I can't specify print options going that route (at least as far as I know). So, it my first good reason to learn AppleScript. However, I've perused quite a few sites and searched this forum, but can't figure out how to specify printer options like two sided printing.
    Can anyone please point me in the right direction.
    Not sure if you need this, but the printer type is a canon ip4300

    When you say "Adobe", do you mean Acrobat or Reader (for PDFs), or one of Adobe's many other programs?
    Usually, the option to print duplex is part of the print driver, and should appear in the print dialog regardless of the application.
    Some apps have their own front to the print dialog, but you should still be able to get the rest of it.
    The orientation is usually controlled by specifying Long Edge or Short Edge.

  • How to auto log out of a page after a minute

    I have a page with a webcam, the webcam streams in flash
    where I cannot really set it to stop after a certain time. So if
    someone wants they can leave it running all day etc. I'd like to
    set it that the page will wait about a minute or 2 and then it will
    auto forward to another page which will give the option for going
    back to the original page to view the cam etc. this way if someone
    leaves the computer or page open they will not chew up all the
    bandwidth of the cam.
    What would be the best way to do that?
    Also for extra credit, is it possible in CFMX to encrypt the
    source code of the flash player so that users cannot copy and paste
    the code of the cam on their website?
    Thanks
    Yankee

    Thanks guys you really helped me! And I changed my password
    Chris I figured that but just wanted to double check. My cousin once logged in on my iPod and when I tried to download something for myself(he was still logged in) it immediatrely asked me for HIS password. Gave me NO CHANCE.
    As a reward guys here's the rest of the story:
    I am AGAINST posers and showoffs so when I walked into the store and saw a picture of a stereotypical thug posing and flipping off the camera in the iPhone's Camera Roll I decided to have some fun. He was trying to look tough and disrespectfully had his middle finger in the foreground of the pic.
    I downloaded Glow Draw app and loaded his pic. I then wrote "nerd" on the pic and saved it back to the Camera Roll. So next time a customer see's the "thug" they will laugh. I was in a hurry and ran out of the store.... leaving me in the curremnt predicament.
    Foolish? maybe. Karma? IDK.

  • Auto Log Mode

    Hi,
    Where can the Settings of the Log Mode be checked in the Database Manager 7.4.30 ?
    The Auto Log Mode is at present switched off. 
    Should the Auto Log Mode be switched over to ON ?
    How can Auto Log Mode be changed? 
    What is to be considered during the Restore of the SAPDB, if the Auto Log Mode is activated ?
    Regards Rosemary Onanuga

    Hi,
    The log mode settings can be switched from the menu bar under Instance -> Set Auto Log ON or it can be done from the side bar menu under Configuration -> Log Settings. Further more there are three types of Log setting that can be done. If you turn on the Log make sure that at the filesystem level there is enough space for the Log file to be written if there is not enough space the Log process will turn off the Log mode again.
    I hope this helps.
    Thanks
    Naveed

  • SHARED DRIVE auto LOG IN -- how do I stop it from doing that?

    I have two iMacs on my network running OSX10.5.7 I often share files between the two systems.
    Whenever I start one of the iMacs it asks me to log into the other mac (it acually halts the startup process and waits for your response, ok or cancel.
    The iMac will then continue starting up.
    How can I stop this from happening? I've checked log-in items and dont see an auto mount scenario.. I am perplexed.
    HELP!
    Thank you!

    This is the screen I get on startup (my system is set to auto log me in to my desktop):
    "Enter your user name and password to access the file server POWERBOOK G4"
    The G4 is the name of the other iMac
    It then asks me to connect as: a gust or registered user. If i input my name and password, it will mount the G4's shared drive on my desktop. This happens EVERYtime I restart my iMac.
    I took a photo of the screen, should you like to see it -- cant figure how to post it here.
    I looked in the Directory Utility application as suggested... nothing there to delete!
    Steven

  • EA4500: how to send logs to syslog or via email?

    Hello,
    I absolutely need to collect the router logs and send them to a syslog daemon or via email.
    How xan I achieve that?
    Thanks

    The router does not have the feature where you can save the logs to a notepad, why not click on Open in Browser and then copy and paste the results to a notepad or wordpad so that you can go ahead and send it thru email.
    Please check link below how to enable logs in the router:
    Title: Enabling the Logs feature of the Linksys Smart Wi-Fi Router using local access
    Article ID: 26579

  • How can a network account log on via ssh to run jobs?

    We have a small setup with a tiger server and snow leopard clients. Each user has their own machine, but we have some communal mac pro machines. A lot of the software we run uses xwindows and I would like to have a method that allowed the users to ssh to these number crunching machines and run their parallel code at the same time, without having to log on using the apple log in window.
    The problem: The home directory is mounted at log in and is only readable for the person who physically logs in at that computer, so if a network user logis in via ssh they cannot see their home directory, and the authentication for xwindows screws up and there is no display.
    How can I make my client machines mount the home directory properly, and in a readable way, so that my network users can ssh to various client machines and have all their data available?
    I look forward to being illuminated.
    Will Handler

    rdoss
    Welcome to the Apple Discussions.
    If you want others to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account(s). In the other account(s), enable 'Look For Shared Libraries'. Your Library will appear in their source pane.
    Remember iPhoto must be running in both accounts for this to work.
    Regards
    TD

  • How to deactivate logging via brtools

    Hello
    I wander how to deactivate logging via brtools(640)
    regards

    hello,
    Can u pl specify by logging what do u exactly mean?
    I want to know if u meant to prevent users from logging to the database
    or u want to deactivate the archivelog mode.
    In the first if u want no user interaction on the database then take the database to mount mode instead of open mode by executing the following SQL
    ALTERDATABASE MOUNT;
    In the second case, if u want to turn the archivelog mode then do what VAle has suggested. But taking the database to nolog mode has a lot of serious demerits in the context to recovery and restoration of database in case of a crash. U wont be able to get the archive logfiles as the redo logfiles are over written in case of the database is in nolog mode.
    So think twice before u take the database into nologmode.
    Regards

  • How do you "save as" in Acrobat 9 via Applescript?

    Greetings all,
    I'm using the Applescript Script Editor and trying to do a "save as." The Applescript dictionary for Acrobat 9 has a reference to "save" in the Core Suite, but no matter what I try, I get an AS error that typically contains the text "document 1 does not understand the save message."
    I can do a "save as" via Applescripting that GUI but that seems problematic as well (I've set the Properties > Initial View options for document 1 after inserting a page--all via Applescript--but doing a "save as" via the GUI apparently does not save those properties. I would hate to have to script the process of having Acrobat open the file again and reset the initial view; I should be able to do that before saving the new file.
    Thanks,
    Kevin

    Hold down the OPTION key. The Save As option should appear in the File menu.

  • How can I delete the remembered screennames for AOL that appear when I log in via Firefox?

    I accidentally typed my screen name followed by my password when trying to log in to AOL. Now when I start typing my screen name both appear for anyone to see. I'm using a Mac running Firefox 3.6.19. Logging on via Safari does not display the errant screen name.

    Welcome to the Apple Community.
    Settings > music > show all music > off.

  • How do I keep myself active so I don't get auto-logged out?

    Hi,
    My wife & I have a computer that we share with our young kids. They each have their own account with Parental Controls turned on and time limits and it all works well with one exception. When they run out of time, their programs (often resource-intensive Safari) stay open and using CPU and memory and making the computer run slowly. We want to try setting the Security preference to log out after X minutes of inactivity, but we don't want the account we use to be auto-logged out.
    My thought was that maybe there is a simple piece of software that could do something every few minutes that would keep her account active. Thinking about it now, I'll bet there are a lot of users who have the opposite problem - they want to be logged out when they are inactive, but something is keeping them active!
    Anyway, does anyone know of a simple program that will keep her active so she doesn't seem to be inactive even when she is so we can 'trick' the Mac into thinking she never goes inactive? Then we can set the preference to log out inactive users, thus fixing the problem of our kids' programs running even after they've used up their time for the day.
    Or maybe there is another solution to this problem. Any thoughts?
    TIA,
    Thad

    Mac OS X is a multi-User system. Settings for Parental Controls are on a per-User basis.
    Parental Controls do not apply to your Account, unless you set your account to have some Parental Controls as well.

  • How to logout remote server via SSH

    I have a server running flux, I just want to log it out (it auto-logs back in, no GDM screen). How do I do this if I'm connected to it via SSH? Again, I want to log out the server as though I would do ctrl+alt+backspace locally, but through SSH.
    TIA

    I just realised how you start your session by auto login, so my above answer was pretty useless. The way I manage my server with an occasional gui session is to just use gdm and start/stop the daemon as needed via ssh then switch to a vnc  or xdmcp session.

  • How to send purchase order via e-mail.

    Please could someone let me know how to send purchase order via e-mail.
    I am an BC.
    e-mailing is functionning however I am not very familiar in settings for MM

    No, you do not need to touch ME_PRINT_PO. You need to put code before and after ME_PRINT_PO in the print program.
    Step 1 - Copy the standard print program SAPFM06P to make a Z version, lets call it ZSAPFM06P
    Step 2 - Copy include FM06PE02 to make a Z version, lets call that ZFM06PE02.
    Step 3 - ZSAPFM06P change the statement "Include FM06PE02" to read "Include ZFM06PE02".
    Step 4 - In include ZFM06PE02 you will find a subroutine called "ENTRY_NEU". In this subroutine you will see it first calls ME_READ_PO_FOR_PRINTING then calls ME_PRINT_PO. Before it calls ME_PRINT_PO just put:
    l_nast-nacha = 1.
    CLEAR l_nast-dimme.
    This means that ME_PRINT_PO will not e-mail, it will create a spool request.
    Step 5 - Still in ZFM06PE02, after ME_PRINT_PO has been called, add new code. First check that ent_retco EQ 0. If it does not then exit.
    Step 6 - Get the spool ID created by ME_PRINT_PO by either moving sy-msgv1 to a variable or select from NAST.
    Step 7 - Call function CONVERT_OTFSPOOLJOB_2_PDF using the spool ID from step 6, and put the result from table PDF into an internal table you can use later. ALso store the export variable pdf_bytecount, you will need it later.
    Step 8 - Call function SX_TABLE_LINE_WIDTH_CHANGE using the table from step 7 as content_in and put the results from content_out into a new internal table.
    Step 9 - Add some text into a internal table of type solisti1, this will be the body text of the e-mail.
    Step 10 - Add whatever receivers you want into an internal table of type somlreci1. If you just want it to go to the address that the PO would have gone to anyway, select the e-mail address from ADR6 where the address number = l_doc-xekko-adrnr, that is the data from the PO.
    Step 11 - Populate an internal table of type sopcklsti1 with data relevant to your PDF table from step 8 and the text table from step 9. You will have to put the size of the PDF from step 7 (pdf_bytecount) on the PDF line and the size of the text will be the number of lines of text * 255.
    Step 12 - Add info to a structure of type sodocchgi1. You can add the e-mail title in here, field obj_descr. Also add the size of the PDF and the size of the text from step 12 into doc_size, and give the doc a name in field obj_name. This can be anything, ZPDFPO for example.
    Step 13 - Call SO_DOCUMENT_SEND_API1 using the tables from steps 8, 9, 10 and 11 and the structure from step 12. You can amend the sending e-mail also. Set commit_work to space.
    Step 14 - That is all you need, but I actually call function RSPO_R_RDELETE_SPOOLREQ to delete the spool request created in step 4, then call NAST_PROTOCOL_UPDATE to add some more messages to the processing log of the PO.
    That is all.

Maybe you are looking for

  • Conversion from Date to say Locale time

    Hello All, I receive a date in xml file as a string. eg 01/27/2004 . I have to convert it to Locale format(2005-01-10T12:30-04:10) using XSL. Is it possible ?. If yes how to do that ?. Thanks and regards, Sachin

  • Temporary LOBs - bad performance when nocache is used

    Hello. Please, advise me what could be the reason of bad performance row 8 from the next anonymous block: declare     i integer;     c clob := 'c';     procedure LTrimSys(InCLOB in clob ) is         OutCLOB clob;     begin         DBMS_LOB.CREATETEMP

  • ECC install on HA - which SAPINST options do I use?

    I am attempting to install ECC 6.0 and have a dilemma. When installing ECC 6.0  I have noticed the HA selection in the SAPinst screen. If I plan to use an HA solution that uses HW replication, do I do a normal install and then setup the HA solution a

  • Using dmm to make readings.

    I have a embedded controller pxi 8176 connecting several devices: DMM, DAQs, FG, etc. The DMM is connected to 3 SCXI 1127 modules starting on Slot 10 of a SCXI 1001 Chassis. I hooked a resistor in the terminal block in channel 9. Max see the devices.

  • Download update , access to internet

    Hi guys , I am right now in a big problem, I need to solve this problem because If not I can´t continue with the project , I can´t find a solution , please anyone help me to figure out what is the best solution. I have a project that has 3 .swf  for