Source code / feature request

Hi
This tool is fantastic and saves me a huge amount of time, helping us find some interesting bugs (like why "delete myarr.pop()" was having such an odd side-effect when the array contained strings..).
I'm trying to get hold of the source code for this but my SVN clients can't connect, I've tried lots of different network configurations (from work, home and mobile connections) and both the SVN and HTTP connections, so I think the issue is on the Adobe/SoureForge end. Can anyone check/fix this?
The reason for wanting the source is to add a minor change to the Tag Viewer / Tag Information output. Currently I'm trying to work out what function is defined at offset 0x348B2 of my SWF file. I can see it in the hex editor but it's tricky to work out what this function name is: the class is defined in DoInitActions offset 200492 and length 24355 i.e. a big class.
What I'm hoping for is to add the offsets into each line in the DoInitActions 'Tag Information' panel, so e.g. instead of:
        if L63
        push $1
        push 'isMouseDown'
        getMember
        pushDuplicate
I'd see:
1522:        if L63
1527:        push $1
1527:        push 'isMouseDown'
1534:        getMember
1535:        pushDuplicate
etc where the number at the start is the offset of this instruction within the DoInitActions tag.
If anyone with the source can do this and update the binaries then great but I suspect it's something I would have to do myself... but currently I can't get at the source without having to individually browse to and download every file :-(
thanks
   Andrew

A new version of SWF Investigator was released on Friday (version 0.6.2) and I will be updating the open-source repository in the next day or two.  When the update is complete, I will respond to this thread so that you know to pull down the latest version of the source code.
For SVN access, I have used TortoiseSVN on Windows which is supported by SourceForge: http://sourceforge.net/apps/trac/sourceforge/wiki/TortoiseSVN%20instructions
The logic for your feature request already exists in SWF Investigator but it is currently commented out. For the next release, I can work on enabling it. If you want to play with the functionality in the meantime, then the code is in SWFInvestigator/src/decompiler/tools/Disassembler.as.Within that file there is a function called, "start." Within that function, there is an if-block which checks for "showOffset". You will need to uncomment the out.print() statement within the showOffset if-block. You will also want to set showOffset to true just before the if statement. Recompile the application and it will begin to show the information you want.

Similar Messages

  • Deploying simple SharePoint 2013 feature causing error: "Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process."

    When trying to deploy a sandboxed solution containing only a feature with a simple associated event receiver from VS 2013, I'm getting the following error:
    Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0
    I'm working in Visual Studio 2013, deploying to SharePoint 2013.
    The SharePoint project is very basic. I've only added a feature and an associated event receiver. It works without the event receiver. Then after I simply add the event receiver I get the error.
    I've tried deploying directly from VS 2013 as well as publishing to a .WSP and uploading via web interface. Same error reported using both methods. I'm doing this using an Administrator account that I've confirmed is a site collection administrator.
    Additionally, I've found that if I change Sandboxed Solution to False, deploy it, retract it, then change Sandboxed Solution back to True, then I can successfully deploy it. But this doesn't seem to be a permanent solution as the error will resurface a day
    or two later...

    Hi Steve,
    Are you running your SharePoint 2013 on domain controller? 
    http://www.learningsharepoint.com/2013/08/09/sharepoint-2013-error-an-unknown-exception-occurred-while-executing-a-sandboxed-code-solution-request-in-the-worker-process-rn0/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b7408608-c21b-45d9-bc16-e6afff510cd2/installed-sharepoint-2013-foundation-on-window-2010-server-issues-activating-sandbox-solutions?forum=sharepointadmin
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Instead of requested page source code is getting populated in WAS 6.1.0.15

    Hi All,
    I'm trying to bring up an application using jnlp.please find below the source code for the same.
    When i deploy the application in WAS 6.1.0.0, i'm able to bring up the application without any issue.
    But other than 6.1.0.0 if i deploy the same war file in any other WAS server, itz just showing the source code when i request for href in the browser.
    Kindly some one help me to resolve this.
      <?xml version="1.0" encoding="UTF-8" ?>
    - <jnlp spec="1.0+" codebase="http://10.66.193.212:9080/<appname>/">
    - <information>
      <title> Application name</title>
      <vendor>vendor</vendor>
      <homepage href="/RSA" />
      <description>JNLP Application for <appname></description>
      </information>
      <offline-allowed />
    - <security>
      <all-permissions />
      </security>
    - <resources>
      <j2se version="1.4+" />
      <jar href="appname.jar" />
      <extension name="jcalendar" href="jcalendar.jnlp" />
      <extension name="jcommon" href="common.jnlp" />
      <extension name="jfreechart" href="jfreechart.jnlp" />
      </resources>
      <application-desc main-class="a.b.c.d.mainclass" />
      </jnlp>Thanks in advance,
    siva.

    Type must be registered with jnlp extension so that content type is set (in the header with value application/x-java-jnlp-file), this should be done in httpd.conf (with an AddType), you can google for it or ask any server administrator for it, should be something like:
    AddType  .jnlp application/x-java-jnlp-fileMaybe you can give a look at working httpd.conf (on 6.1.0.0 searching for 'application/x-java-jnlp-file') and copy/paste in other configs.
    Bye.

  • "Organize Imports" feature in Jdev10g will totally mess up my source code

    I set "Use Wide Imports". The source code became a piece of junk after running "Organize Imports" against following code:
    * @author
    package test;
    import java.io.*;
    import java.util.*;
    import javax.xml.parsers.*;
    import org.apache.xerces.util.XMLChar;
    import org.apache.xml.serialize.*;
    import org.apache.xml.utils.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    public class Test {
    This bug exists in preview version. I'm suprised this bug still in production release.

    The javadoc comments is causing the behavior.
    Removing the java doc comments seems to work
    Bug 5006753

  • Feature Request: Color code lightroom folders

    I have several hundred folders inside of lightroom. I would like to colorcode "favorite" folders to make them easier to find when moving imported photos from "Dated" folders into subject specific folders. Seems like this should be easy,
    Or is there already a way to do this?
    Collections will accept selected pictures but how about selected folders?

    The place to add your voice to an existing feature request.
    http://feedback.photoshop.com/photoshop_family/topics/colour_coding_folders_and_collection s_to_simplify_navigation_cataloguing
    This is a user-to-user forum.

  • Display xml documents - how to submit a feature request?

    Safari is useless when it comes to render raw xml documents. You have to view the actual source to see the xml.
    Is there an official way to submit a feature request for safari to apple? I would love to see something similar to what firefox does with xml. Safari is such a fast and nice browser, if it only could handle text/xml better...

    As you said Safari simply shows all xml element content concatenated together. But no tags or attribute values. If the ContentType in the http header is set to text/xml Firefox shows an xml tree that you can nicely browse. I think IE5+ and Opera do that too. It is important to set the right content type though. Here is an example that shows nice in FF, but is unreadable in Safari:
    http://ww3.bgbm.org/biocase/pywrapper.cgi?dsa=Herbar
    Sure you can look at the source code, but the xml might not be pretty printed.

  • AppleScript's source codes have been mangled beyond repair.

    Hello,
    New fora software has tampered numbers of AppleScript source codes in posted messages to the extent that they become entirely useless. This is serious.
    E.g. (just the tip of an iceberg)
    http://discussions.apple.com/thread.jspa?threadID=1051811&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=1036140&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=1033753&tstart=0
    At a glance, tab and double hyphens (at the beginning of a line?) seem to have special formatting meanings in the new fora software and be translated into some HTML list elements. However, tabs are embeded in well-indented source codes pasted from Script Editor, though they're usually ignored in browsers, and double hyphens have been used for marking line comment in AppleScript. Consequently, almost all of the posted AppleScript source codes are affected.
    Plainly, it is not a good idea to apply new formatting features to the existing messages in the first place. It can introduce corruptions and it does indeed.
    So my requests to fora administrators are:
    (1) Please restore the existing messages in AppleScript forum to the original untampered state (and apply new formatting features to only new messages to be posted after the change, if you see it really necessary).
    (2) Please keep the fora software from interpreting tab and double hyphens (at least) as HTML formatting directives.
    (3) Please disclose the list of all characters which are interpreted as special commands in the new fora software in order to avoid further corruptions in the future.
    Thank you for your time and support.
    Best regards,
    Hiroto

    (3) Please disclose the list of all characters which are interpreted as special commands in the new fora software in order to avoid further corruptions in the future.
    Please don't stop there. Disclose all the details of the new features, like a smiley-to-icon chart or exactly how the quote box format works (single leading ">" vs. one per line or paragraph, what happens in different sized tables, how multiple quote levels (">>" lines) behave, etc.).
    I realize I could probably figure this out by trial & error plus pouring over the raw source HTML, but it is ridiculous that I would have to do so with an Apple site -- after all, the company is supposed to be the world's best at ease of use & user friendliness!

  • Updated GPL source code for PX6-300d

    Hi,
    I've been doing some work with a PX6-300d that I recently got and I can't find the kernel patches for the current kernel. The current firmware version is 4.1.108.32627, which appears to use Linux version 3.8.6. The LifeLine version 4.1.102 Open Source Code contains the source to a 3.8.6 kernel, but it lacks the patches that add various device drivers, including the LCD display driver. The older source packages (such as that for LifeLine version 4.0.4) include these patches, but they're for a much older kernel version, version 2.6.39.
    All these downloads are available at https://lenovo-na-en.custhelp.com/app/cust_alp/p/1189,1190 .
    Would it be possible for this to be resolved?

    Hello d235j
    I do not know if the current 4.1x source code download was intended to have the patches you are refering to.  However I will try contacting people on my end to see want I can find out for you.  
    I also recommend that you contact support direct and have an incident created.  This would be considered a information/feature request.
    LenovoEMC Contact Information is region specific. Please select the correct link then access the Contact Us at the top right:
    US and Canada: https://lenovo-na-en.custhelp.com/
    Latin America and Mexico: https://lenovo-la-es.custhelp.com/
    EU: https://lenovo-eu-en.custhelp.com/
    India/Asia Pacific: https://lenovo-ap-en.custhelp.com/
    http://support.lenovoemc.com/

  • Feature Requests for BlackBerry​10 OS

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    This thread has been closed and is continued in this new thread here: 
    Feature Requests beyond BlackBerry OS10.3.1
    Please click on that link.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Let's use this thread to list BlackBerry10 OS feature requests. There's nothing official to this thread, but one never knows who might view it and get an idea or two to move foward.
    Please let's keep it to feature requests with simple short statements and comments, in this manner:
    1. Ability to lock the volume keys (since they are so easliy pressed when retrieving from holster)
    2. Personal distribution groups Address Book
    4. Add BBM Group icon to home screen
    **This thread is not for bug reports (i.e., the calendar glitches when I set the date) or for debate or discussion of the worthiness of a feature request.
    So, what would YOU add to BB10?
    What do YOU need to make the OS platform work better for you?
    Here are the collected feature requests as of 04 April 2013. Thanks for Ride_The_Sky for helping collect these from this thread.
    There are listed in no order, just as collected.
    Ability to lock the volume keys (since they are so easily pressed when retrieving from holster)
    Personal distribution groups Address Book
    Add BBM Group icon to home screen
    Way to add line carriage to BBM messages
    Why doesn't the most used name come up first? <- In latest OS, there is another line with most common contacts, but when typing it won't provide most commonly emailed contacts.
    Bring back the option "Send As" or include this option in "Share"
    Enable word wrap when zooming in to emails and messages.
    Import Distribution lists from Outlook on your desktop to your Z10?
    *The option* to always show the hub main screen when opening the hub, so when peeking it always shows the hub even if you leave it in another screen.
    Offer Balance without BES to have two workspaces in device.
    Delete on Server/Device/Both
    Delete on Server but Keep on Device (This is going to be tough since EAS does not work like POP, using POP you can do this by deleting on server after sync)
    Auto power on/off or Auto Do Not Disturb / Scheduled Airplane Mode / Scheduled Silence Mode / Scheduled Custom Profile
    Default Currency Option
    More options to lower data usage in e-mail (Headers Only / Roaming Profiles)
    Snooze a notification/reminder for more than 5 minutes.
    Customized Notifications
    Disable certain accounts to stop receiving email or notifications from them temporarily to avoid data usage.
    Way to delete recent pictures, videos.
    Office Hub customization, sorting, editing, etc., on the fly.
    Select which contact groups to sync, and ability delete all contacts.
    Larger text select tabs
    Add more options to dropbar.
    Improve browser functionality and display, add customization and management of Bookmarks.
    Calendar in Landscape mode
    Option to Disable shutter sounds in camera.
    Auto BCC option
    Multiple appointments in lock screen, not only next one.
    Increase email check frequency, custom minutes (possibly battery concern, most accounts use push nowadays)
    Ability to hide "texting" numbers such as Work, home, etc that aren't able to receive texts
    Ability to have multiple mobile numbers, such as mobile1, mobile2, for people with more than one cellphone
    Ability to have multiple work numbers, home numbers, etc
    Ability to have option for actually creating "custom" names for phone numbers, emails, VOIP,
    Ability to have multiple WORK emails fields for same contact ...
    Ability for a custom note field for each contact, for misc information such as store hours, reference numbers, business account numbers,
    Ability for filter or unselect specific Twitter, LinkedIn, Facebook contacts so they all don't appear
    Ability to "share" contact info with someone else ... like a vcard or the like
    Ability to have custom Individual text and ringtones for each contact set within contacts app
    Vibrate option for Alarm
    Mail Filters for Priority mails.
    Option to block ringtones from music app (i don't see ringtones in my music app, I guess poster refers to custom mp3 files)
    Swipe down to close, up to minimize (but some apps have menus associated with swipe up gesture)
    Swipe half way up the screen to minimize an application to an active tile.
    Swipe it all the way up the screen to close the application.
    Playbook app switching gestures (swipe sideways, I guess this won't work since there are other gestures associated with side-swiping)
    Lock screen with gesture (or maybe they should just add a button on home screen, somewhere on top or bottom)
    Airplane mode on status bar options.
    Option to customize status bar with select Settings/Options.
    Colors for Hub!
    Face recognition for camera, being able to associate contacts with faces or pull info from Facebook, etc.
    Weather info on Lock Screen (if I may add, and constant info on top status bar, simple temp info should be enough)
    We need groups back in contacts please.
    Import text messages in various formats from various systems.
    Sorting and Ordering of the way contacts are displayed depending on account.
    While editing an entry in calendar, notification about a recent call may cause loss of data in that entry.
    Location for Calendar entries and be able to see it on the map with a tap.
    Being able to see multiple pictures from an email by swiping left and right to see next/previous without having to reopen (I must say the same thing is needed for App World, why can't we just scroll through screenshots??)
    Multiple flags or ability to set a flag date, associate with a reminder.
    Move people from TO to CC or BCC easily (If I may add, also ability to backspace to delete a contact without having to tap the X in blue box).
    Option to add favorites to Hub for easy to reach contact management (I think it is same as going to contacts and choosing Favs)
    Being able to answer and make calls when the phone is locked.
    Add more colors to LED notification (I think they are there now, orange, green, red so far, did not see blue, I don't think blue is needed in my opinion)
    Change the way to add date and time for appointment, rollbar is too slow and too sensitive.
    Dismiss and Snooze buttons for Alarm to be different colors, larger, easier to notice.
    Make it easier to order world clocks, instead of the order they are added.
    Alarms based on days/schedule.
    Easier way to get to the bottom of e-mails (I think it scrolls pretty fast, I think poster wants "B" shortcut)
    Easer way to get to the bottom of web pages (same as above, space or B shortcut?)
    Add option to ask if you really want to dial, instead of just dialing right away every time a phone number is clicked/tapped on.
    Ability to resize image before attaching to an e-mail.
    More than 30 days email sync on device, please!
    Make BB boot up slower, so we can actually get to do something else while waiting for it to start!
    SSH client would be nice.
    Another keyboard like Swipe (honestly, I have never typed faster in my life on any other on screen keyboard, Z10 keyboard is awesome!)
    Volume lock/unlock button on demand.
    Auto Run app on device boot up.
    Lock or Pin apps.
    Ability to run background apps (Google Talk is running in the background, or it is tricking me, I don't know but I am getting messages from it when it is shut down on BB10, I hope they do Skype the same way)
    Ability to have multiple documents of same type open at the same time (tabbed docs2go)
    Calendar sharing of BB10 users in the area/company/group.
    PIN Messaging to return.
    Preview e-mails, calendar and other information on lock screen (privacy?)
    Way to clear anything in any "Recent" menu, videos, pictures, etc..
    Ability to hide apps, docs, pics, videos, folders, etc..
    BBM Group Picture notification.
    Support WhatsApp more.
    Another tap for important numbers (Favorites work for this, and on top of speed dial)
    From Call Menu when going into contacts, it should be ready to search with keyboard out.
    Option to customize volume key to act as page up/down, etc depending on app running.
    Red star in app world (means you need to run Updates, just refresh and check by swiping down from top)
    Better headphones with the phone (hey, we didn't even get any!)
    Better night shots in camera (hardware or software improvement?)
    Ability to choose which address book to sync with bluetooth car.
    When app is opened from a folder three or four pages into apps list, we hope the screen can go back to that spot when the app is closed (sadly it uses active frames at the moment)
    Change acceptance of auto corrected key, instead of space key, make it something else (actually, you can just backspace to un-autocorrect it back to what you typed).
    Ability to load certificates (X 509 S/MIME and/or PGP/MIME) from a computer
    Ability to sign and or encrypt emails (POP3)  before sending (As in MS Office Outlook)
    Ability to receive and recognize signed and or encrypted emails (POP3) (As in MS Office Outlook)
    Add a password/certificate manager that doesn't require manual copy/paste
    Ability to encrypt the memories Device and Media of the Q10 like it is done for the BB9900
    Ability to encrypt selected folders (preferably by Private Key)
    Ability to create Self-Decrypting Archive like in PGP
    Ability to delete email-messages by group as an alternate option to one by one
    Opening Video-chat to non-BBM users (Skype for instance)
    For above encryption request, SecuSmart was suggested...
    Renaming the file without extension can break the file or hide it from pictures list.
    Wallpaper scrolling sideways.
    Standalone e-mail app (not sure how different it is than choosing emails-only for hub)
    Different colors or small tabs in different colors for different accounts in Hub.
    Share webpages with smart tag (I think you can just create it by pasting the URL into create QR)
    Application management (being able to see which app takes up how much space, etc..) CPU/Memory/Battery Usage/Data Usage/Storage Usage in more details
    Custom vibration options.
    Move Send button in BBM to avoid accidental submission of message
    Forward As… SMS, MMS, EMAIL from one to another.
    Send SMS to new numbers (I think you can still do this from call log)
    Single key press to change profiles.
    Insert a picture into an e-mail. (I think he means into the body of email)
    Turning off links of contacts (I think poster did not have multiple accounts, actually BB10 goes ahead and adds all new contacts into all address books in all accounts without user permission.. Create a contact in Hotmail? Gets copied to Gmail.. and then linked, terrible implementation in my opinion)
    Presets for browser bookmarks, faster access to bookmarks. (My suggestion was to create a home screen, select 12 icons 3x4 or 16 icons 4x4 as home screen/start page)
    Being able to allow flash based on website/url/server.
    Ability to adjust different sounds/volumes for different BBM users/groups
    Better Voice Dial and Voice Commands (shorter and easier operation)
    Ability close one or all web pages/tabs, add "Close All" button.
    Call Recording
    Faster way to delete e-mails, such as file icons next to e-mails,  or Swipe to Delete! Swipe to File!?
    Customize email signatures with formatting.
    Phone to stay on screen (dial pad always available in panes)
    More Options for Clock.
    In Playbook we can have a single character password, why not on BB10? "too short" well it is my decision, isn't it?
    There is no way to go next/previous while reading an e-mail. Please add these functions.
    Add to the e-mail client, Next Unread / Previous Unread.
    E-mail or Hub should have more buttons at the bottom in landscape mode. Why keep only three (or four in e-mail view) buttons when you have the real estate. It would be extremely handy if you allowed users to edit which buttons should go at the bottom. Next Previous is really needed while reading an e-mail. For example I would love to add "File" button at the bottom as a shortcut instead of forward, I rarely forward, but I file all the time. Maybe allow users to have two row of keys, add next/previous/unread. Or it could be done with a gesture. How about swiping the account name (top blue bar while reading e-mail) left and right?
    When you create a new contact in BlackBerry, it gets synced to all accounts on the Hub. There is no way to limit the new contact to a specific account.
    Sometimes when you file an e-mail to a folder, it stops and waits few seconds with no message. Even when it files immediately, there is a confirmation message that takes time to appear and disappear, and the folder list does not disappear automatically.
    Messages filed automatically by server using server side filter rules are still showing up on Blackberry hub/inbox. In older BB versions the filtered messages did not show up in the list, filed messages still did.
    When you filter your e-mails using Filter / Unread function, new unread e-mails do not show up until you close the filter and re-open. It won't just keep refreshing your screen with unread e-mails. Can BB add a button to the hub "Unread Hub" so when hub shows 8 or 2, you can actually see unread items easily without having to through so many taps.
    Native BB QR scanner (Smart Tags) does not work with barcodes (it only scans with no way to use the information). There is Open In function but it doesn't work properly.
    We need to add more customs search providers, and be able to add custom search strings/wildcards. For example currently there is Google, Bing, Yahoo, Foursquare, etc..
    I hope BB introduces the ability include more standard & custom searches, IMDB, PriceGrabber, Ebay, Youtube, XYZ Forums, ABC Newspaper, 123 Database, Etc.. Most sites nowadays provide search string in their URL Search=?* etc...
    None of the Battery apps can access system settings to add a battery icon to the top. I wish battery percentage was there.
    There is no way to check carrier/mobile signal strength.
    Blackberry, please add the date and carrier / SSID info to the top. Sometimes we just want to glance at the top to see the date without having to swipe.
    Please bring back keyboard shortcuts. Since we can easily swipe up to bring the keyboard, just add keyboard shortcuts in e-mail, phone (true speed dialing, dialing by word?), and browser, etc.. if possible. I could always call 1800SOMETHING# now I have to look up the number or use dial pad.. Please bring it back.
    Camera zoom function needs to be fixed, also please include option of fixed focus by tapping on the screen to focus. The auto focus in video is focusing in and out to various objects all the time. Stabilization feature also causes tearing/ripples, I guess it is good if you are stationary. Or use Volume Keys to Zoom.
    Please allow more than 12 icons in an icon group/folder, I hated Apple for limiting apps per folder, please fix it.
    Auto ON/OFF feature is not there anymore. BB should consider Auto DND (DoNotDisturb) or Auto Silent/Airplane modes instead.
    Please find a way to stop the music app from automatically starting up every time it connects to bluetooth like car audio. This is very annoying.
    No Panaroma mode in Camera app, why not? It is very easy to incorporate. This could be a nice addition to next release, and easy.
    The text selection grips needs to be a little bigger, sometimes I cannot see where I am moving them, they work better in Playbook, nice big tabs.
    Call Functions, before answering a phone add sideways gesture functions, like swiping right will forward the call, swiping left will answer with a test message, etc..
    Or there should be a way to reject the call without sending it to voice mail, phones had this function a decade ago, I don't know what happened to it.
    We used to be able to see the "History" without having to save the contact. Now I don't see any way to "View History" of a certain phone number, it just keeps adding
    them as individual entries to the log. Now I can't see when was the last time they called me, how many times we spoke which day, etc... I loved this feature in BB5.
    Where is BB Traffic? Where is BB Weather, without having to run an active frame? It will eventually disappear if you run too many apps. I liked a little Icon that shows me what the temp is, instead of running a whole app.
    There is no Skype. This day and age with all other platforms having it, please either get skype (Microsoft) to cooperate, or open up BBM to other platforms. If necessary, pay Skype to develop the app, then charge BB users for the app. Most will gladly pay.
    Can we tap and hold on an active frame to pin it, or can we pin two favorite apps between Call and Search & Search and Camera buttons in the bottom bar? How about Close All running Active Frames app to quickly free up ram?
    I hope next generation devices have two speakers or speaker that is facing forward. When playing games or watching videos in landscape mode, I find my palm muting the speaker. I have to hold it gently with fingers to have a gap in between, something I don't want to do when I am on the subway or bus.
    Blackberry Maps should have a Zoom In/Zoom Out buttons, sometimes using it with one hand, it is impossible to zoom in and out. (Zoom in is OK but we can't zoom back out)
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code
    Solved!
    Go to Solution.

    - ability to choose deletion of an email on handset only
    - desktop software working with all older BB's allowing drag and drop type of transferring data, contacts etc. (BB link doesn't recognize my old Storm) 
    - auto power on/off
    - contacts syncing with yahoo & Outlook (almost two weeks trying to work around it and no luck)

  • How to read the Java source code (in Netbeans)

    I use OS X10.5.5, NetBeans 6.1 and JSE 6 on a 64 bit mac.
    When I downloaded NB6.1 it had JSE 5 as it's default (and only) java platform. I ran Software Update to get Java 6 from Apple, used the Java Prefrences utitlity to set JSE6 as default. In NB I added the JDK6 platform, registered the JDK6 javadocs and noticed that I also have the option of registering the Java source code.
    I have three questions:
    1) How do I make JDK6 the default in NetBeans. The JDK5 keeps being default after I did the steps above and I don't see anywhere to change that.
    2) How do I read the Java 6 source code? I can see sun provides [source code| http://download.java.net/jdk6/] for their supported platforms. I dont see Apple doing the same for its JDK port. What would I need to do to get to read the java SE6 sources? or is it actually hiding somewhere in the /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home hierarchy?
    3) Where does the JVM look for the binary code to run when I make a call to, say java.util.ArrayList or any other library. In my naivety I would have assumed it would be a .class file somewhere in the java Home folder, but I don't see anything like it.
    thanks in advance,
    chris

    This is taken from the help included with netbeans. In response to question 1.
    By default, the IDE uses the version of the Java SE platform (JDK) with which the IDE runs as the default Java platform
    for compilation, execution, and debugging. You can view your IDE's JDK version by choosing Help > About and clicking the
    Detail tab. The JDK version is listed in the Java field.
    You can run the IDE with a different JDK version by starting the IDE with the --jdkhome jdk-home-dir switch on the command line
    or in your IDE-HOME/etc/netbeans.conf file. For more information, see IDE Startup Parameters.
    In the IDE, you can register multiple Java platforms and attach Javadoc and source code to each platform. For example, if you
    want to work with the new features introduced in JDK 5.0, you would either run the IDE on JDK 5.0 or register JDK 5.0 as a
    platform and attach the source code and Javadoc to the platform.
    In  , you can switch the target JDK in the Project Properties dialog box. In  , you have to set the target JDK in the Ant script itself,
    then specify the source/binary format in the Project Properties dialog box.
    To register a new Java platform:
    Choose Tools > Java Platforms from the main window.
    Click New Platform and select the directory that contains the Java platform. Java platform directories are marked with a  
    in the file chooser.
    Use the Sources and Javadoc tabs to attach Javadoc documentation and source code for debugging to the platform.
    Click Close.
    To set the default Java platform for a standard project:
    Right-click the project's root node in the Projects window and choose Properties.
    In the Project Properties dialog box, select the Libraries node in the left pane.
    Choose the desired Java platform in the Java Platform combo box.
    Switching the target JDK for a standard project does the following:
    Offers the new target JDK's classes for code completion.
    If available, displays the target JDK's source code and Javadoc documentation.
    Uses the target JDK's executables (javac and java) to compile and execute your application.
    Compiles your source code against the target JDK's libraries.
    If you want to register additional Java platforms with the IDE, you can do so by clicking the Manage Platforms button.
    Then click the Add Platform button and navigate to the desired platform.
    To set the target Java platform for a free-form project:
    In your Ant script, set the target JDK as desired in the javac, java, and javadoc tasks.
    Right-click the project's root node in the Projects window and choose Properties.
    In the Sources panel, set the level of JDK you want your application to be run on in the Source/Binary Format combo box.
    When you access Javadoc or source code for JDK classes, the IDE searches the Java platforms registered in the
    Java Platform Manager for a platform with a matching version number. If no matching platform is found, the IDE's default platform is used instead.
    See Also
    Managing the Classpath
    Declaring the Classpath in a Free-Form Project
    Stepping Through Your Program
    Legal Notices

  • Feature Request:  Standard Keyboard Navigation in Media Browser and Project Panel

    It's been a while since I've had time to submit a feature request.  I've wanted to see this one for a while.  If you agree, please submit your own feature request here: http://www.adobe.com/go/wish/
    System Navigational Keyboard Shortcuts in Media Browser and Project Panel
    Windows (and I'm sure Mac) has a standard set of keyboard and mouse navigational shortcuts for keyboard and mouse.  I'm so used to using them in daily browsing (both in Windows Explorer and in any web browser) that missing them in the PPr Media Browser, or getting a different result in the Project Panel, is still very jarring and slows my workflow (even after having used Premiere Pro [again] since version CS4).
    I propose that the Media Browser and Project Panel should honor the OS defaults for keyboard and mouse folder/file navigation.  A few of the standard (Windows) keyboard and mouse navigational shortcuts are listed below (listed in order of most helpful to my own work):
    Moust Back Button = "BACK"
    ALT + LEFT ARROW = "BACK"
    UP, DOWN, LEFT, RIGHT = steps through the various folders within the view.
    UP, DOWN walks through the directory tree while RIGHT expands the currently selected folder and LEFT contracts that directory (twirl down, etc).
    ENTER opens a folder.
    ALT + UP = "Folder Above"
    ALT + RIGHT ARROW = "FORWARD"
    F2 Renames a folder
    ENTER "takes" that name to the clip. (current functionality used ENTER to rename a file/folder).
    ESC cancels the renaming operation.
    Pressing Enter on any piece of Media or Title, etc should take an "expected" action acording to it's context.  (i.e. ENTER on a video clip would load it inot the Source Monitor.  ENTER on a Title would open it in the Title Editor.  ENTER on a folder would take us into that folder).
    These functions exist in both Windows Explorer as well as most modern Web browsers.  When browsing files and Project folders, it's what I've come to expect.  It's muscle memory, if not intuitive.  I realize that many of these keyboard commands are already in use in other windows/panels of the application, therefore, these commands should be Panel-specific (i.e. ALT+LEFT works differently in the Media Browser and Project Panel than it does on the Timeline/Sequence).  And as always, when making such changes (i.e. changing the behavior of ENTER to F2), this set of keys should be highly configurable based on preference:
    Preference:
    checkbox:  Use OS-specific navigational keyboard and mouse commands in Media Browser and Project Panel
    checkbox:  Use the (very few) "classic" Adobe keyboard commands in the Media Browser and Project Panel
    The most common habit I find myself doing in the Media Browser is clicking the BACK button on my mouse—only to realize, yet again, it doesn't work that way in PPr.
    The most common habit I find myself doing in the Project Panel is pressing F2 to rename a folder/bin.  Of course that doesn't work.  And when I've renamed it, I press ENTER to save the name, but that only moves me to the next folder ready to rename it, too.  I also find, out of habit, I try to navigate the bins using the arrow keys and then open the bin/folder using ENTER.  Instead, my bin is asking for a new name and I hit ESC to avoid renaming it—now THERE's a shortcut that works the way it should. 
    I realize this feature may be controversial to some, since it's not the way we're used to doing things in PPr.  However, I'm sure there are just as many out there, like me, who are confounded as to why PPr has never worked with the "conventional" navigation shortcuts found throughout the rest of the operating system, be it Windows or Mac.
    If you agree with this feature request, please submit your own feature request here: http://www.adobe.com/go/wish/

    Nice ideas Jeff.
    There is a site - Flash Catalyst Wishlist/Ideas where you can post these ideas so that the community can vote on them.

  • [Feature Request] Seperate tab in log window for System.err

    By default, the stack traces of exceptions (and throwables in general) are printed to the System.err stream. So, wouldn't it be useful to include a 2nd tab for System.err messages?
    It could be optional to either include or leave out the System.err output in the System.out tab.
    The whole idea of this 2nd tab is to set it up like the search output tab: a tree-like list which can be expanded to see the stack trace of each exception that occured during runtime. A small parser can parse the stack trace when an exception is printed on the System.err stream and format it.
    If this option would be availble in the debugger only, that would be ok too, I guess. Although, the debugger already has some other means of jumping through code when an exception is thrown (ie, when the debugger 'pauses' runtime).

    I've logged an Enhancement request to improve the handling of System.err messages (2811508). There are ways to enhance the treatment of System.err messages without introducing a new tab, through the use of color, links back to the source code, and collapsing of entire stack traces to a single line (with a button to see the entire trace).
    Thanks!
    -- Brian

  • Feature Request: List of linked contacts

    hi there,
    as there is bug with disapearing gmail contacts (those which are linked with SIM contacts if SIM card contacts display is switched off) i've tried to view all linked contacts and unlink them. i found the only way to do this is to go trough all contacts in list, check everyone is it linked or not separatelly. as usual contact list may exceed even 100 positions it is really hard task, or time consuming.
    it wouldbe very nice to have:
    1. a quick access to list of all linked contacts, so i may decide manually which one should be unliked, or:
    2. maybe a little icon next to a contact name to indicate that contact is linked, or:
    3. little icon at right side of the name which would indicate a type of storage: gmail, local phone, sim... contacts linked from few sources could have more than one icon.

    Try this:
    Once logged in, click 'All Files' from the top-left corner.  Then click the 'Clock' symbol to 'List by when I viewed'
    I realize it's not exactly what you've asked for, but it may be helpful!
    I've shared this feature request with the Workspaces product manager too.

  • Feature Request:  Modify Audio Channels from the Timeline in Premiere CC.1

    Why have we never been able to modify audio channels once a clip is added to a sequence?  I'm guessing there's a good reason Adobe has never had this feature.  The lack of this feature is explicitly mentioned a few times in the audio section of the Premiere Pro CC manual, as if it's a benefit NOT to have it.  But the benefit is entirely lost on me. 
    In my workflow, I synchronize my double-system video and audio before anything else.  I do this in PluralEyes (and unfortunately I'll have to keep doing it this way, until PPr's sync on sound feature gets fixed—for me it's never worked).
    Once PluralEyes has synched hours of footage and audio and placed it on a PLURALEYES GENERATED sequence, I import that sequence into Premiere.  Note:  Since I haven't gone through the step of creating a blank New Sequence, I don't get the opportunity to setup my audio channels the way I'd like in my sequence (i.e. Stereo recordings should occupy ONE track, not two.  Typically these tracks come from a camcorder and are used for reference sound, or ambient noise at best, so I don't need them taking up precious real estate in my sequence). 
    Since PluralEyes doesn't merge my clips for me (or rather I don't want it to since I'm usually doing multi-cam sequences where I want to keep all 14, or so, tracks of audio), I have to go through the clips one by one and do a Merge Clip action once I've adjusted any minor sync issues, or determined which tracks I actually want to keep.  But, and here's the key, at this stage I'm not yet 100% certain whether I'll use the nat sound or the wireless mic sound (separate audio recorder, etc).  Furthermore, I don't really want to think about that at this point.  After I've spent a few mind-numbing hours just ingesting files, sync and merges, I want to jump into the edit as soon as possible, before I lose all will to finish this edit.  If I modify my audio channels right now, I'll lose the ability to make some creative decisions later on.
    I'd like to start whacking out an assembly edit.  And then after I have a rough program, I can start looking at which audio tracks (nat or double-system) I like better in each circumstance.  This is where I become stumped that at this stage, I'm locked into whatever audio channels I've setup (or not) in the earliest stage of the edit, back before any media was actually on the timeline!  It's at this stage, and usually only at this stage that I want to start Modifying Channels—FROM THE TIMELINE!
    Does anyone else feel the same?  If not, what is your workflow?
    Feature Summary:  Right-click on any clip, (master clip, sub-clip, merged, nested or otherwise) in the timeline and choose Modify > Audio Channels.
    I've submitted a feature request, with a link back to this discussion, so please pipe in—especially if you want this feature. 

    Maybe its your specific workflow, asset mangement  and use of a 3rd party application that  runs you into an issue.
    Take Pluraleyes out of the equation, I would imagine my workflow is the same as most everyone else.  Find footage in the Media Browser.  Import it.  Create a Sequence and start editing.  Use the Source Monitor to set Ins and Outs and then Insert the clip on the timeline. 
    At this point, if the audio needs to be modified, it cannot be done on the Timeline.  The workaround, of course, is to Find Clip in Project; Modify Audio in the Project panel; then do a Matchframe to replace the audio clip.  This works, but requires many steps per clip.  Also, Matchframe in Premiere Pro CC is not reliable. 
    Introducing a new Modify Audio (from Timeline) feature as seen in the fantasy screenshot above would solve it.
    I dont use Pluraleyse ...which I understand to be a synching aid...so I dont know the workflow it imposes on one .
    Returning to Pluraleyes workflow, this issue is compounded by the need to Modify almost ALL audio.  Every stereo track is separated and placed on two MONO tracks taking up precious real estate.  This is not something Pluraleyes imposes.  It is due to the way Premiere imports XML timelines.  This would apply to sequences imported from Final Cut as well.
    In this case it would be ideal to select both the LEFT and RIGHT mono tracks and choose "Modify > Audio Channels > Merge L/R Mono to a Single Stereo track."  Ideal?  No.  I guess Ideal would be if Premiere would interpret XML files properly in the first place.
    What actually is the issue with Premieres synch and merge workflow in your case?
    Audio Sync in Premiere Pro doesn't work.  Period.

  • Upload and Download ABAP Source Code

    This is a program that I have had kicking around for a couple of years in various incarnations.
    Source Code Listing
    Report: ZKBPROGS *
    Function : Up/Download ABAP reports complete with texts *
    - this program does not update TRDIR with the *
    TRDIR entries that are in the program uploaded. Instead, *
    current users stats are used. *
    - this program allows selection of reports from a list or *
    a single report can be tuped in and uploaded *
    - this program also updates TADIR so that a development class*
    is assigned to the program *
    - this program checks to see if the program already has a *
    TRDIR entry, and if it does, warns the user *
    - this program will save/restore the program documenation too*
    REPORT ZKBPROGS
    NO STANDARD PAGE HEADING
    LINE-SIZE 255.
    Declare Database Objects *
    tables:
    DOKIL,
    TRDIR.
    Constants*
    CONSTANTS:
    MC_TRDIR_IDENTIFIER(72) TYPE C VALUE '%&%& RDIR',
    MC_REPORT_IDENTIFIER(72) TYPE C VALUE '%&%& REPO',
    MC_TEXT_IDENTIFIER(72) TYPE C VALUE '%&%& TEXP',
    MC_THEAD_IDENTIFIER(72) TYPE C VALUE '%&%& HEAD',
    MC_DOC_IDENTIFIER(72) TYPE C VALUE '%&%& DOKL',
    MC_TRDIR_SHORT(4) TYPE C VALUE 'RDIR',
    MC_REPORT_SHORT(4) TYPE C VALUE 'REPO',
    MC_TEXT_SHORT(4) TYPE C VALUE 'TEXP',
    MC_THEAD_SHORT(4) TYPE C VALUE 'HEAD',
    MC_DOC_SHORT(4) TYPE C VALUE 'DOKP'.
    Declare Module level data structures *
    DATA: BEGIN OF MTAB_PROGRAM_SOURCE OCCURS 0,
    LINE(72) TYPE C,
    END OF MTAB_PROGRAM_SOURCE.
    DATA: MTAB_PROGRAM_TRDIR LIKE TRDIR OCCURS 0 WITH HEADER LINE.
    DATA: MTAB_PROGRAM_TEXTS LIKE TEXTPOOL OCCURS 0 WITH HEADER LINE.
    DATA: MSTR_THEAD LIKE THEAD.
    DATA: BEGIN OF MTAB_PROGRAM_FILE OCCURS 0,
    LINE(275) TYPE C,
    END OF MTAB_PROGRAM_FILE.
    DATA: BEGIN OF MTAB_DIRECTORY OCCURS 0,
    NAME LIKE TRDIR-NAME,
    DESC(72) TYPE C,
    SAVENAME LIKE RLGRAP-FILENAME,
    END OF MTAB_DIRECTORY.
    DATA: BEGIN OF MTAB_PROGRAM_DOCUMENTATION OCCURS 0,
    LINE(255) TYPE C,
    END OF MTAB_PROGRAM_DOCUMENTATION.
    Selection Screen *
    *-- Options for upload/download of programs
    SELECTION-SCREEN BEGIN OF BLOCK FRM_OPTIONS WITH FRAME TITLE TEXT-UDL.
    PARAMETERS:
    RB_DOWN RADIOBUTTON GROUP UDL DEFAULT 'X'. " Download reports
    SELECTION-SCREEN BEGIN OF BLOCK FRM_TRDIR WITH FRAME TITLE TEXT-DIR.
    SELECT-OPTIONS:
    S_NAME FOR TRDIR-NAME, " Program Name
    S_SUBC FOR TRDIR-SUBC " Program Type
    DEFAULT 'F' OPTION EQ SIGN E," Exclude Functions by default
    S_CNAM FOR TRDIR-CNAM " Created by
    DEFAULT SY-UNAME,
    S_UNAM FOR TRDIR-UNAM, " Last Changed by
    S_CDAT FOR TRDIR-CDAT, " Creation date
    S_UDAT FOR TRDIR-UDAT. " Last update date
    SELECTION-SCREEN END OF BLOCK FRM_TRDIR.
    *-- Options for uploading programs
    PARAMETERS:
    RB_UP RADIOBUTTON GROUP UDL. " Upload reports
    SELECTION-SCREEN BEGIN OF BLOCK FRM_UPLOAD WITH FRAME TITLE TEXT-UPL.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(29) TEXT-SNG.
    PARAMETERS:
    RB_FILE RADIOBUTTON GROUP HOW DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 33(42) TEXT-FNA.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS:
    RB_LIST RADIOBUTTON GROUP HOW.
    SELECTION-SCREEN END OF BLOCK FRM_UPLOAD.
    SELECTION-SCREEN END OF BLOCK FRM_OPTIONS.
    *-- Options for up/downloading programs
    SELECTION-SCREEN BEGIN OF BLOCK FRM_FILEN WITH FRAME TITLE TEXT-FIL.
    PARAMETERS:
    RB_DOS RADIOBUTTON GROUP FIL DEFAULT 'X', " Save to local
    RB_UNIX RADIOBUTTON GROUP FIL, " Save to UNIX
    P_PATH LIKE RLGRAP-FILENAME " Path to save files to
    DEFAULT 'c:\temp\'.
    SELECTION-SCREEN END OF BLOCK FRM_FILEN.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_NAME-LOW.
    CALL FUNCTION 'F4_PROGRAM'
    EXPORTING
    OBJECT = S_NAME-LOW
    SUPPRESS_SELECTION = 'X'
    IMPORTING
    RESULT = S_NAME-LOW
    EXCEPTIONS
    OTHERS = 1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_NAME-HIGH.
    CALL FUNCTION 'F4_PROGRAM'
    EXPORTING
    OBJECT = S_NAME-HIGH
    SUPPRESS_SELECTION = 'X'
    IMPORTING
    RESULT = S_NAME-HIGH
    EXCEPTIONS
    OTHERS = 1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_UNAM-LOW.
    PERFORM GET_NAME USING 'S_UNAM-LOW'
    CHANGING S_UNAM-LOW.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_UNAM-HIGH.
    PERFORM GET_NAME USING 'S_UNAM-HIGH'
    CHANGING S_UNAM-HIGH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_CNAM-LOW.
    PERFORM GET_NAME USING 'S_CNAM-LOW'
    CHANGING S_CNAM-LOW.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_CNAM-HIGH.
    PERFORM GET_NAME USING 'S_CNAM-HIGH'
    CHANGING S_CNAM-HIGH.
    TOP-OF-PAGE.
    IF RB_LIST = 'X'.
    FORMAT COLOR COL_HEADING.
    NEW-LINE.
    WRITE: AT 3 TEXT-H01,
    AT 15 TEXT-H03.
    FORMAT COLOR OFF.
    ENDIF.
    AT LINE-SELECTION.
    CHECK RB_LIST = 'X'. " only do in list mode
    READ LINE SY-CUROW FIELD VALUE MTAB_DIRECTORY-SAVENAME.
    *-- Read file into an internal table
    PERFORM READ_REPORT_FROM_DISK TABLES MTAB_PROGRAM_FILE
    USING MTAB_DIRECTORY-SAVENAME.
    *-- Split table into TADIR entry, report lines, and report text
    PERFORM SPLIT_INCOMING_FILE TABLES MTAB_PROGRAM_FILE
    MTAB_PROGRAM_SOURCE
    MTAB_PROGRAM_TEXTS
    MTAB_PROGRAM_DOCUMENTATION
    CHANGING TRDIR
    MSTR_THEAD.
    *-- Save all of the data
    PERFORM INSERT_NEW_REPORT TABLES MTAB_PROGRAM_SOURCE
    MTAB_PROGRAM_TEXTS
    MTAB_PROGRAM_DOCUMENTATION
    USING TRDIR
    MSTR_THEAD.
    Start of processing *
    START-OF-SELECTION.
    FORMAT COLOR COL_NORMAL.
    IF RB_DOWN = 'X'.
    PERFORM DOWNLOAD_REPORTS.
    ELSEIF RB_UP = 'X'.
    PERFORM UPLOAD_REPORTS.
    ENDIF.
    END-OF-SELECTION.
    IF RB_DOWN = 'X'.
    CONCATENATE P_PATH
    'directory.txt'
    INTO P_PATH.
    PERFORM SAVE_TABLE_TO_FILE TABLES MTAB_DIRECTORY
    USING P_PATH.
    ENDIF.
    FORM UPLOAD_REPORTS *
    FORM UPLOAD_REPORTS.
    *-- Can upload a reports entered in selection criteria or
    *-- select from a list. List can be from index.txt in same directory
    *-- (created by the download) or by reading the first line of each file
    *-- in the directory.
    IF RB_FILE = 'X'. " Upload single program from a file
    *-- Read file into an internal table
    PERFORM READ_REPORT_FROM_DISK TABLES MTAB_PROGRAM_FILE
    USING P_PATH.
    *-- Split table into TADIR entry, report lines, and report text
    PERFORM SPLIT_INCOMING_FILE TABLES MTAB_PROGRAM_FILE
    MTAB_PROGRAM_SOURCE
    MTAB_PROGRAM_TEXTS
    MTAB_PROGRAM_DOCUMENTATION
    CHANGING TRDIR
    MSTR_THEAD.
    *-- Save all of the data
    PERFORM INSERT_NEW_REPORT TABLES MTAB_PROGRAM_SOURCE
    MTAB_PROGRAM_TEXTS
    MTAB_PROGRAM_DOCUMENTATION
    USING TRDIR
    MSTR_THEAD.
    ELSEIF RB_LIST = 'X'. " Show list for user to choose from
    *-- get list of report names/descriptions from directory text
    CONCATENATE P_PATH
    'directory.txt'
    INTO P_PATH.
    PERFORM READ_REPORT_FROM_DISK TABLES MTAB_DIRECTORY
    USING P_PATH.
    SORT MTAB_DIRECTORY.
    *-- Write out list of report names/descriptions
    LOOP AT MTAB_DIRECTORY.
    WRITE:
    / MTAB_DIRECTORY-NAME UNDER TEXT-H01,
    MTAB_DIRECTORY-DESC UNDER TEXT-H03,
    MTAB_DIRECTORY-SAVENAME.
    ENDLOOP.
    *-- Process user selections for reports to upload.
    ENDIF.
    ENDFORM. " upload_reports
    FORM DOWNLOAD_REPORTS *
    From the user selections, get all programs that meet the *
    criteria, and save them in ftab_program_directory. *
    Also save the report to disk. *
    FORM DOWNLOAD_REPORTS.
    DATA:
    LC_FULL_FILENAME LIKE RLGRAP-FILENAME.
    *-- The table is put into an internal table because the program will
    *-- abend if multiple transfers to a dataset occur within a SELECT/
    *-- ENDSELCT (tested on 3.1H)
    SELECT * FROM TRDIR
    INTO TABLE MTAB_PROGRAM_TRDIR
    WHERE NAME IN S_NAME
    AND SUBC IN S_SUBC
    AND CNAM IN S_CNAM
    AND UNAM IN S_UNAM
    AND CDAT IN S_CDAT
    AND UDAT IN S_UDAT.
    LOOP AT MTAB_PROGRAM_TRDIR.
    *-- Clear out text and source code tables
    CLEAR:
    MTAB_PROGRAM_FILE,
    MTAB_PROGRAM_SOURCE,
    MTAB_PROGRAM_TEXTS,
    MTAB_PROGRAM_DOCUMENTATION.
    REFRESH:
    MTAB_PROGRAM_FILE,
    MTAB_PROGRAM_SOURCE,
    MTAB_PROGRAM_TEXTS,
    MTAB_PROGRAM_DOCUMENTATION.
    *-- Get the report
    READ REPORT MTAB_PROGRAM_TRDIR-NAME INTO MTAB_PROGRAM_SOURCE.
    *-- Get the text for the report
    READ TEXTPOOL MTAB_PROGRAM_TRDIR-NAME INTO MTAB_PROGRAM_TEXTS.
    *-- Get the documentation for the report
    CLEAR DOKIL.
    SELECT * UP TO 1 ROWS FROM DOKIL
    WHERE ID = 'RE'
    AND OBJECT = MTAB_PROGRAM_TRDIR-NAME
    AND LANGU = SY-LANGU
    AND TYP = 'E'
    ORDER BY VERSION DESCENDING.
    ENDSELECT.
    *-- Documentation exists for this object
    IF SY-SUBRC = 0.
    CALL FUNCTION 'DOCU_READ'
    EXPORTING
    ID = DOKIL-ID
    LANGU = DOKIL-LANGU
    OBJECT = DOKIL-OBJECT
    TYP = DOKIL-TYP
    VERSION = DOKIL-VERSION
    IMPORTING
    HEAD = MSTR_THEAD
    TABLES
    LINE = MTAB_PROGRAM_DOCUMENTATION
    EXCEPTIONS
    OTHERS = 1.
    ENDIF.
    *-- Put the report code and texts into a single file
    *-- Put the identifier line in so that the start of the TRDIR line
    *-- is marked
    CONCATENATE MC_TRDIR_IDENTIFIER
    MTAB_PROGRAM_TRDIR-NAME
    INTO MTAB_PROGRAM_FILE-LINE.
    APPEND MTAB_PROGRAM_FILE.
    *-- Add the TRDIR line
    MTAB_PROGRAM_FILE-LINE = MTAB_PROGRAM_TRDIR.
    APPEND MTAB_PROGRAM_FILE.
    *-- Put the identifier line in so that the start of the report code
    *-- is marked
    CONCATENATE MC_REPORT_IDENTIFIER
    MTAB_PROGRAM_TRDIR-NAME
    INTO MTAB_PROGRAM_FILE-LINE.
    APPEND MTAB_PROGRAM_FILE.
    *-- Add the report code
    LOOP AT MTAB_PROGRAM_SOURCE.
    MTAB_PROGRAM_FILE = MTAB_PROGRAM_SOURCE.
    APPEND MTAB_PROGRAM_FILE.
    ENDLOOP.
    *-- Put the identifier line in so that the start of the report text
    *-- is marked
    CONCATENATE MC_TEXT_IDENTIFIER
    MTAB_PROGRAM_TRDIR-NAME
    INTO MTAB_PROGRAM_FILE-LINE.
    APPEND MTAB_PROGRAM_FILE.
    *-- Add the report texts
    LOOP AT MTAB_PROGRAM_TEXTS.
    MTAB_PROGRAM_FILE = MTAB_PROGRAM_TEXTS.
    APPEND MTAB_PROGRAM_FILE.
    ENDLOOP.
    *-- Put the identifier line in so that the start of the THEAD record
    *-- is marked
    CONCATENATE MC_THEAD_IDENTIFIER
    MTAB_PROGRAM_TRDIR-NAME
    INTO MTAB_PROGRAM_FILE-LINE.
    APPEND MTAB_PROGRAM_FILE.
    MTAB_PROGRAM_FILE = MSTR_THEAD.
    APPEND MTAB_PROGRAM_FILE.
    *-- Put the identifier line in so that the start of the report
    *-- documentation is marked
    CONCATENATE MC_DOC_IDENTIFIER
    MTAB_PROGRAM_TRDIR-NAME
    INTO MTAB_PROGRAM_FILE-LINE.
    APPEND MTAB_PROGRAM_FILE.
    *-- Add the report documentation
    LOOP AT MTAB_PROGRAM_DOCUMENTATION.
    MTAB_PROGRAM_FILE = MTAB_PROGRAM_DOCUMENTATION.
    APPEND MTAB_PROGRAM_FILE.
    ENDLOOP.
    *-- Make the fully pathed filename that report will be saved to
    CONCATENATE P_PATH
    MTAB_PROGRAM_TRDIR-NAME
    '.txt'
    INTO LC_FULL_FILENAME.
    PERFORM SAVE_TABLE_TO_FILE TABLES MTAB_PROGRAM_FILE
    USING LC_FULL_FILENAME.
    *-- Write out message with Program Name/Description
    READ TABLE MTAB_PROGRAM_TEXTS WITH KEY ID = 'R'.
    IF SY-SUBRC = 0.
    MTAB_DIRECTORY-NAME = MTAB_PROGRAM_TRDIR-NAME.
    MTAB_DIRECTORY-DESC = MTAB_PROGRAM_TEXTS-ENTRY.
    MTAB_DIRECTORY-SAVENAME = LC_FULL_FILENAME.
    APPEND MTAB_DIRECTORY.
    WRITE: / MTAB_PROGRAM_TRDIR-NAME,
    MTAB_PROGRAM_TEXTS-ENTRY(65) COLOR COL_HEADING.
    ELSE.
    MTAB_DIRECTORY-NAME = MTAB_PROGRAM_TRDIR-NAME.
    MTAB_DIRECTORY-DESC = 'No description available'.
    MTAB_DIRECTORY-SAVENAME = LC_FULL_FILENAME.
    APPEND MTAB_DIRECTORY.
    WRITE: / MTAB_PROGRAM_TRDIR-NAME.
    ENDIF.
    ENDLOOP.
    ENDFORM. " BUILD_PROGRAM_DIRECTORY
    FORM SAVE_TABLE_TO_FILE *
    --> FTAB_TABLE *
    --> F_FILENAME *
    FORM SAVE_TABLE_TO_FILE TABLES FTAB_TABLE
    USING F_FILENAME.
    IF RB_DOS = 'X'. " Save file to presentation server
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
    FILENAME = F_FILENAME
    FILETYPE = 'ASC'
    TABLES
    DATA_TAB = FTAB_TABLE
    EXCEPTIONS
    OTHERS = 4.
    IF SY-SUBRC NE 0.
    WRITE: / 'Error opening dataset' COLOR COL_NEGATIVE,
    F_FILENAME COLOR COL_NEGATIVE.
    ENDIF.
    ELSE. " Save file to application server
    OPEN DATASET F_FILENAME FOR OUTPUT IN TEXT MODE.
    IF SY-SUBRC = 0.
    LOOP AT FTAB_TABLE.
    TRANSFER FTAB_TABLE TO F_FILENAME.
    IF SY-SUBRC NE 0.
    WRITE: / 'Error writing record to file;' COLOR COL_NEGATIVE,
    F_FILENAME COLOR COL_NEGATIVE.
    ENDIF.
    ENDLOOP.
    ELSE.
    WRITE: / 'Error opening dataset' COLOR COL_NEGATIVE,
    F_FILENAME COLOR COL_NEGATIVE.
    ENDIF.
    ENDIF. " End RB_DOS
    ENDFORM. " SAVE_PROGRAM
    FORM READ_REPORT_FROM_DISK *
    Read report into internal table. Can read from local or *
    remote computer *
    FORM READ_REPORT_FROM_DISK TABLES FTAB_TABLE
    USING F_FILENAME.
    DATA:
    LC_MESSAGE(128) TYPE C.
    CLEAR FTAB_TABLE.
    REFRESH FTAB_TABLE.
    IF RB_DOS = 'X'.
    TRANSLATE F_FILENAME USING '/\'. " correct slash for Dos PC file
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    FILENAME = F_FILENAME
    FILETYPE = 'ASC'
    TABLES
    DATA_TAB = FTAB_TABLE
    EXCEPTIONS
    CONVERSION_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_READ_ERROR = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    OTHERS = 8.
    IF SY-SUBRC >< 0.
    WRITE: / 'Error reading file from local PC' COLOR COL_NEGATIVE.
    ENDIF.
    ELSEIF RB_UNIX = 'X'.
    TRANSLATE F_FILENAME USING '\/'. " correct slash for unix
    OPEN DATASET F_FILENAME FOR INPUT MESSAGE LC_MESSAGE IN TEXT MODE.
    IF SY-SUBRC = 0.
    DO.
    READ DATASET F_FILENAME INTO FTAB_TABLE.
    IF SY-SUBRC = 0.
    APPEND FTAB_TABLE.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    CLOSE DATASET F_FILENAME.
    ELSE.
    WRITE: / 'Error reading file from remote computer'
    COLOR COL_NEGATIVE,
    / LC_MESSAGE,
    / F_FILENAME.
    SY-SUBRC = 4.
    ENDIF.
    ENDIF.
    ENDFORM. " READ_REPORT_FROM_DISK
    FORM SPLIT_INCOMING_FILE *
    --> FTAB_PROGRAM_FILE *
    --> FTAB_PROGRAM_SOURCE *
    --> ` *
    --> FTAB_PROGRAM_TEXTS *
    FORM SPLIT_INCOMING_FILE TABLES FTAB_PROGRAM_FILE
    STRUCTURE MTAB_PROGRAM_FILE
    FTAB_PROGRAM_SOURCE
    STRUCTURE MTAB_PROGRAM_SOURCE
    FTAB_PROGRAM_TEXTS
    STRUCTURE MTAB_PROGRAM_TEXTS
    FTAB_PROGRAM_DOCUMENTATION
    STRUCTURE MTAB_PROGRAM_DOCUMENTATION
    CHANGING FSTR_TRDIR
    FSTR_THEAD.
    DATA:
    LC_DATATYPE(4) TYPE C, " Type of data, REPO, TEXP, RDIR
    LC_PROGRAM_FILE LIKE MTAB_PROGRAM_FILE.
    LOOP AT FTAB_PROGRAM_FILE.
    LC_PROGRAM_FILE = FTAB_PROGRAM_FILE.
    CASE LC_PROGRAM_FILE(9).
    WHEN MC_TRDIR_IDENTIFIER.
    LC_DATATYPE = MC_TRDIR_SHORT.
    WHEN MC_REPORT_IDENTIFIER.
    LC_DATATYPE = MC_REPORT_SHORT.
    WHEN MC_TEXT_IDENTIFIER.
    LC_DATATYPE = MC_TEXT_SHORT.
    WHEN MC_DOC_IDENTIFIER.
    LC_DATATYPE = MC_DOC_SHORT.
    WHEN MC_THEAD_IDENTIFIER.
    LC_DATATYPE = MC_THEAD_SHORT.
    WHEN OTHERS. " Actual contents of report, trdir, or text
    CASE LC_DATATYPE.
    WHEN MC_TRDIR_SHORT.
    FSTR_TRDIR = FTAB_PROGRAM_FILE.
    WHEN MC_REPORT_SHORT.
    FTAB_PROGRAM_SOURCE = FTAB_PROGRAM_FILE.
    APPEND FTAB_PROGRAM_SOURCE.
    WHEN MC_TEXT_SHORT.
    FTAB_PROGRAM_TEXTS = FTAB_PROGRAM_FILE.
    APPEND FTAB_PROGRAM_TEXTS.
    WHEN MC_THEAD_SHORT.
    FSTR_THEAD = FTAB_PROGRAM_FILE.
    WHEN MC_DOC_SHORT.
    FTAB_PROGRAM_DOCUMENTATION = FTAB_PROGRAM_FILE.
    APPEND FTAB_PROGRAM_DOCUMENTATION.
    ENDCASE.
    ENDCASE.
    ENDLOOP.
    ENDFORM. " SPLIT_INCOMING_FILE
    FORM INSERT_NEW_REPORT*
    --> FTAB_PROGRAM_SOURCE *
    --> FTAB_PROGRAM_TEXTS *
    --> F_TRDIR *
    FORM INSERT_NEW_REPORT TABLES FTAB_PROGRAM_SOURCE
    STRUCTURE MTAB_PROGRAM_SOURCE
    FTAB_PROGRAM_TEXTS
    STRUCTURE MTAB_PROGRAM_TEXTS
    FTAB_PROGRAM_DOCUMENTATION
    STRUCTURE MTAB_PROGRAM_DOCUMENTATION
    USING FSTR_TRDIR LIKE TRDIR
    FSTR_THEAD LIKE MSTR_THEAD.
    DATA:
    LC_OBJ_NAME LIKE E071-OBJ_NAME,
    LC_LINE2(40) TYPE C,
    LC_ANSWER(1) TYPE C.
    *-- read trdir to see if the report already exists, if it does, prompt
    *-- user to overwrite or abort.
    SELECT SINGLE * FROM TRDIR WHERE NAME = FSTR_TRDIR-NAME.
    IF SY-SUBRC = 0. " Already exists
    CONCATENATE 'want to overwrite report'
    FSTR_TRDIR-NAME
    INTO LC_LINE2 SEPARATED BY SPACE.
    CONCATENATE LC_LINE2
    INTO LC_LINE2.
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
    EXPORTING
    DEFAULTOPTION = 'N'
    TEXTLINE1 = 'The selected report already exists, do you'
    TEXTLINE2 = LC_LINE2
    TITEL = 'Report already exists'
    CANCEL_DISPLAY = SPACE
    IMPORTING
    ANSWER = LC_ANSWER
    EXCEPTIONS
    OTHERS = 1.
    ELSE.
    LC_ANSWER = 'J'.
    ENDIF.
    IF LC_ANSWER = 'J'.
    *-- Create the TADIR entry. (TRDIR entry created by INSERT REPORT)
    LC_OBJ_NAME = TRDIR-NAME.
    CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071'
    EXPORTING
    WI_E071_PGMID = 'R3TR'
    WI_E071_OBJECT = 'PROG'
    WI_E071_OBJ_NAME = LC_OBJ_NAME
    WI_TADIR_DEVCLASS = '$TMP'
    EXCEPTIONS
    EXIT = 3
    OTHERS = 4.
    IF SY-SUBRC = 0.
    *-- Create Report
    INSERT REPORT FSTR_TRDIR-NAME FROM FTAB_PROGRAM_SOURCE.
    *-- Create Texts
    INSERT TEXTPOOL FSTR_TRDIR-NAME FROM FTAB_PROGRAM_TEXTS
    LANGUAGE SY-LANGU.
    *-- Save Documentation
    CALL FUNCTION 'DOCU_UPDATE'
    EXPORTING
    HEAD = FSTR_THEAD
    STATE = 'A'
    TYP = 'E'
    VERSION = '1'
    TABLES
    LINE = FTAB_PROGRAM_DOCUMENTATION
    EXCEPTIONS
    OTHERS = 1.
    ELSE.
    WRITE: / 'Error updating the TADIR entry' COLOR COL_NEGATIVE,
    'Program' COLOR COL_NEGATIVE INTENSIFIED OFF,
    FSTR_TRDIR-NAME, 'was not loaded into SAP.'
    COLOR COL_NEGATIVE INTENSIFIED OFF.
    ENDIF.
    ELSE.
    WRITE: / FSTR_TRDIR-NAME COLOR COL_NEGATIVE,
    'was not uploaded into SAP. Action cancelled by user'
    COLOR COL_NEGATIVE INTENSIFIED OFF.
    ENDIF.
    ENDFORM. " INSERT_NEW_REPORT
    FORM GET_NAME *
    --> VALUE(F_FIELD) *
    --> F_NAME *
    FORM GET_NAME USING VALUE(F_FIELD)
    CHANGING F_NAME.
    DATA: LTAB_FIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE,
    LC_PROG LIKE D020S-PROG,
    LC_DNUM LIKE D020S-DNUM.
    TRANSLATE F_FIELD TO UPPER CASE.
    refresh ltab_fields.
    LTAB_FIELDS-FIELDNAME = F_FIELD.
    append ltab_fields.
    LC_PROG = SY-REPID .
    LC_DNUM = SY-DYNNR .
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = LC_PROG
    DYNUMB = LC_DNUM
    TABLES
    dynpfields = ltab_fields
    EXCEPTIONS
    OTHERS = 01.
    read table ltab_fields index 1.
    IF SY-SUBRC EQ 0.
    F_NAME = LTAB_FIELDS-FIELDVALUE.
    refresh ltab_fields.
    ENDIF.
    CALL FUNCTION 'F4_USER'
    EXPORTING
    OBJECT = F_NAME
    IMPORTING
    RESULT = F_NAME.
    ENDFORM. " GET_NAME
    Program Texts
    DIR File Download Options (File Selection)
    FIL File Options
    FNA Enter filename below (under File Options)
    H01 Prog Name
    H03 Program Description
    SNG Upload a single file
    UDL Upload to SAP/Download from SAP
    UPL File Upload Options
    R Backup/Restore program source code with texts
    P_PATH Path to save programs to
    RB_DOS Files on local computer
    RB_DOWN Download Programs
    RB_FILE Upload a single file
    RB_LIST Select program(s) from a list
    RB_UNIX Files on remote computer
    RB_UP Upload Programs to SAP
    S_CDAT Date Created
    S_CNAM Created by UserID
    S_NAME Program Name
    S_SUBC Program Type
    S_UDAT Date Changed
    S_UNAM Last Changed by UserID

    Hi
    you can use SAPLink for this
    http://code.google.com/p/saplink/
    Abhi

Maybe you are looking for

  • How to read the stored images

    hi i have images in my table img, i want to know how toretreive that stored image

  • Delete PAB

    Hello, To delete a user's PAB, it can be done using the Admin Console. To delete 50,000 users PAB, i think it is inefficient to use Admin Console. Is there any available command line to do it? the servers we're using are: NDS 4.12 IMS 5.0 P2 Thanks!

  • Where are the Jam Packs located in lp8

    hey guys stooooooopid question, but where are all the Jam Pack material located in LP8? I Installed it all off the discs but cant locate it in logic when im browsing the software instrument area...is it located in the exs?

  • To split Delivery into multiple delivery

    Hi, VL10C is used to generate deliveries in  background. In Delivery if sum of the line item weights is greaterthan Maximum weight then deliveries should split according to the requirement. Example:  lineitem       quantity 10                 1000 KG

  • Problem of displaying JPEG images

    I just got my new Power Mac G5 computer. I am Also new to the MAC world. I put in a CD, which is filled with all JPEG files, into my DVD drive. From the desktop, I double click the CD icon; no problem, I saw all the JPEG files. I then tried to view t