Awesome3 dialog boxes and pop-ups appearing partly offscreen

Dialog boxes like when opening a specific file in evince (with C-o or file->open) are appearing floating (as they should) but with almost half of the box offscreen. Its irritating to have to move my hand to my mouse every time and move the window into full view as otherwise I use the keyboard exclusively, so I'm wondering if anyone knows how to set a default location on screen for pop-up dialog boxes like this.
Thanks for any help provided.
here is my rc.lua:
-- awesome 3 configuration file
-- Include awesome library, with lots of useful function!
require("awful")
require("tabulous")
require("beautiful")
--extra non-default library
require("wicked")
-- {{{ Variable definitions
-- This is a file path to a theme file which will defines colors.
theme_path = "/home/ojcp/.config/awesome/themes/default"
-- This is used later as the default terminal to run.
terminal = "terminal"
editor = "emacs"
browserName = "Gran Paradiso"
browser = "firefox"
pdfview = "evince"
office = "abiword"
spreadsheet = "Gnumeric"
-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
-- If you do not like this or do not have such a key,
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
-- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod4"
-- Table of layouts to cover with awful.layout.inc, order matters.
layouts =
"tile",
"tileleft",
"tilebottom",
"tiletop",
"fairh",
"fairv",
"magnifier",
"max",
"spiral",
"dwindle",
"floating"
-- Table of clients that should be set floating. The index may be either
-- the application class or instance. The instance is useful when running
-- a console app in a terminal like (Music on Console)
-- xterm -name mocp -e mocp
floatapps =
-- by class
["MPlayer"] = true,
["pinentry"] = true,
["gimp"] = true,
-- by instance
["mocp"] = true
-- Applications to be moved to a pre-defined tag by class or instance.
-- Use the screen and tags indices.
apptags =
[browserName] = {screen = 1, tag = 2},
[editor] = {screen = 1, tag = 4},
[office] = {screen = 1, tag = 3},
[pdfview] = {screen = 1, tag = 3},
[spreadsheet] = {screen = 1, tag = 3}
-- Define if we want to use titlebar on all applications.
use_titlebar = false
-- {{{ Initialization
-- Initialize theme (colors).
beautiful.init(theme_path)
-- Register theme in awful.
-- This allows to not pass plenty of arguments to each function
-- to inform it about colors we want it to draw.
awful.beautiful.register(beautiful)
-- Uncomment this to activate autotabbing
-- tabulous.autotab_start()
-- {{{ Tags
-- Define tags table.
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = {}
tagnames = {"chmu","net","doc","emacs", "misc", "float"}
-- Create 9 tags per screen.
for tagnumber = 1, 6 do
if tagnumber < 6 then
tags[s][tagnumber] = tag({ name = tagnames[tagnumber], layout = layouts[1] })
else
tags[s][tagnumber] = tag({ name = tagnames[tagnumber], layout = layouts[11] })
end
-- Add tags to screen one by one
tags[s][tagnumber].screen = s
end
-- I'm sure you want to see at least one tag.
tags[s][1].selected = true
end
-- {{{ Statusbar
-- Create a taglist widget
mytaglist = widget({ type = "taglist", name = "mytaglist" })
mytaglist:mouse_add(mouse({}, 1, function (object, tag) awful.tag.viewonly(tag) end))
mytaglist:mouse_add(mouse({ modkey }, 1, function (object, tag) awful.client.movetotag(tag) end))
mytaglist:mouse_add(mouse({}, 3, function (object, tag) tag.selected = not tag.selected end))
mytaglist:mouse_add(mouse({ modkey }, 3, function (object, tag) awful.client.toggletag(tag) end))
mytaglist:mouse_add(mouse({ }, 4, awful.tag.viewnext))
mytaglist:mouse_add(mouse({ }, 5, awful.tag.viewprev))
mytaglist.label = awful.widget.taglist.label.all
-- Create a tasklist widget
mytasklist = widget({ type = "tasklist", name = "mytasklist" })
mytasklist:mouse_add(mouse({ }, 1, function (object, c) client.focus = c; c:raise() end))
mytasklist:mouse_add(mouse({ }, 4, function () awful.client.focusbyidx(1) end))
mytasklist:mouse_add(mouse({ }, 5, function () awful.client.focusbyidx(-1) end))
mytasklist.label = awful.widget.tasklist.label.currenttags
-- Create a textbox widget
mytextbox = widget({ type = "textbox", name = "mytextbox", align = "right" })
-- Set the default text in textbox
mytextbox.text = "<b><small> awesome " .. AWESOME_VERSION .. " </small></b>"
mypromptbox = widget({ type = "textbox", name = "mypromptbox", align = "left" })
-- Create an iconbox widget
myiconbox = widget({ type = "textbox", name = "myiconbox", align = "left" })
myiconbox.text = "<bg image=\"/usr/share/awesome/icons/awesome16.png\" resize=\"true\"/>"
-- Create a systray
mysystray = widget({ type = "systray", name = "mysystray", align = "right" })
-- Create an iconbox widget which will contains an icon indicating which layout we're using.
-- We need one layoutbox per screen.
mylayoutbox = {}
for s = 1, screen.count() do
mylayoutbox[s] = widget({ type = "textbox", name = "mylayoutbox", align = "right" })
mylayoutbox[s]:mouse_add(mouse({ }, 1, function () awful.layout.inc(layouts, 1) end))
mylayoutbox[s]:mouse_add(mouse({ }, 3, function () awful.layout.inc(layouts, -1) end))
mylayoutbox[s]:mouse_add(mouse({ }, 4, function () awful.layout.inc(layouts, 1) end))
mylayoutbox[s]:mouse_add(mouse({ }, 5, function () awful.layout.inc(layouts, -1) end))
mylayoutbox[s].text = "<bg image=\"/usr/share/awesome/icons/layouts/tilew.png\" resize=\"true\"/>"
end
-- Create battery widget
batterytext = widget({type = "textbox", name = "batterytext", align = "right"})
batterytext.text = " bat: "
mybatterymonitor = widget({type = "progressbar", name = "batterywidget", align = "right" })
mybatterymonitor.width = 50
mybatterymonitor.height = 0.6
mybatterymonitor.border_padding = 1
mybatterymonitor.border_width = 1
mybatterymonitor.ticks_count = 20
mybatterymonitor.ticks_gap = 1
mybatterymonitor.vertical = false
mybatterymonitor:bar_properties_set('bat', {
bg = 'black',
fg = 'blue4',
fg_off = 'black',
reverse = false,
min_value = 0,
max_value = 100
-- Create membar
membartext = widget({ type = "textbox", name = "membartext", align = "right" })
membartext.text = " mem: "
membarwidget = widget({
type = 'progressbar',
name = 'membarwidget',
align = 'right'
membarwidget.width = 50
membarwidget.height = 0.6
membarwidget.border_padding = 1
membarwidget.gap = 5
membarwidget.ticks_count = 20
membarwidget.ticks_gap = 1
membarwidget:bar_properties_set('mem', {
bg = 'black',
fg = '#285577',
fg_center = '#285577',
fg_end = '#285577',
fg_off = 'black',
reverse = false,
min_value = 0,
max_value = 100
wicked.register(membarwidget, wicked.widgets.mem, '$1', 1, 'mem')
-- CPU graph
cputext = widget ({ type = "textbox", name = "cputext", align = "right"})
cputext.text = " cpu: "
cpugraphwidget = widget({
type = 'graph',
name = 'cpugraphwidget',
align = 'right'
cpugraphwidget.height = 0.85
cpugraphwidget.width = 45
cpugraphwidget.bg = 'black'
cpugraphwidget.border_width = 1
cpugraphwidget.grow = 'left'
cpugraphwidget:plot_properties_set('cpu', {
fg = '#AEC6D8',
fg_center = '#285577',
fg_end = '#285577',
vertical_gradient = false
wicked.register(cpugraphwidget, wicked.widgets.cpu, '$1', 1, 'cpu')
-- mpd display
--mpdwidget = widget({
-- type = 'textbox',
-- name = 'mpdwidget',
-- align = 'left'
--wicked.register(mpdwidget, wicked.widgets.mpd,
-- function (widget, args)
-- if args[1]:find("volume:") == nil then
-- return ' <span color="white">Now Playing:</span> '..args[1]
-- else
-- return ''
-- end
-- end)
-- Create a statusbar for each screen and add it
mystatusbar = {}
for s = 1, screen.count() do
mystatusbar[s] = statusbar({ position = "top", name = "mystatusbar" .. s,
fg = beautiful.fg_normal, bg = beautiful.bg_normal })
-- Add widgets to the statusbar - order matters
mystatusbar[s]:widgets({
mytaglist,
--mytasklist,
myiconbox,
mypromptbox,
mytasklist,
--mpdwidget,
cputext,
cpugraphwidget,
membartext,
membarwidget,
batterytext,
mybatterymonitor,
mytextbox,
mylayoutbox[s],
s == 1 and mysystray or nil
mystatusbar[s].screen = s
end
--bottomStatusBar = {}
--for s = 1, screen.count() do
-- bottomStatusBar[s] = statusbar({ position = "bottom", name = "bottomStatusBar" .. s,
-- fg = beautiful.fg_normal, bg = beautiful.bg_normal })
-- -- Add widgets to the statusbar - order matters
-- bottomStatusBar[s]:widgets({
-- --mytaglist,
-- mytasklist,
-- --myiconbox,
-- --mypromptbox,
-- --testbox,
-- --mytextbox,
-- --mylayoutbox[s],
-- --s == 1 and mysystray or nil
-- bottomStatusBar[s].screen = s
--end
-- {{{ Mouse bindings
awesome.mouse_add(mouse({ }, 3, function () awful.spawn(terminal) end))
awesome.mouse_add(mouse({ }, 4, awful.tag.viewnext))
awesome.mouse_add(mouse({ }, 5, awful.tag.viewprev))
-- {{{ Key bindings
-- Bind keyboard digits
-- Compute the maximum number of digit we need, limited to 9
keynumber = 0
for s = 1, screen.count() do
keynumber = math.min(9, math.max(#tags[s], keynumber));
end
for i = 1, keynumber do
keybinding({ modkey }, i,
function ()
local screen = mouse.screen
if tags[screen][i] then
awful.tag.viewonly(tags[screen][i])
end
end):add()
keybinding({ modkey, "Control" }, i,
function ()
local screen = mouse.screen
if tags[screen][i] then
tags[screen][i].selected = not tags[screen][i].selected
end
end):add()
keybinding({ modkey, "Shift" }, i,
function ()
local sel = client.focus
if sel then
if tags[sel.screen][i] then
awful.client.movetotag(tags[sel.screen][i])
end
end
end):add()
keybinding({ modkey, "Control", "Shift" }, i,
function ()
local sel = client.focus
if sel then
if tags[sel.screen][i] then
awful.client.toggletag(tags[sel.screen][i])
end
end
end):add()
end
keybinding({ modkey }, "Left", awful.tag.viewprev):add()
keybinding({ modkey }, "Right", awful.tag.viewnext):add()
keybinding({ modkey }, "Escape", awful.tag.history.restore):add()
-- Standard program
keybinding({ modkey }, "Return", function () awful.spawn(terminal) end):add()
keybinding({ }, "F4", function () awful.spawn(browser) end):add()
keybinding({ modkey, "Control" }, "r", awesome.restart):add()
keybinding({ modkey, "Shift" }, "q", awesome.quit):add()
-- Client manipulation
keybinding({ modkey }, "m", awful.client.maximize):add()
keybinding({ modkey, "Shift" }, "c", function () client.focus:kill() end):add()
keybinding({ modkey }, "d", function () awful.client.focusbyidx(1); client.focus:raise() end):add()
keybinding({ modkey }, "f", function () awful.client.focusbyidx(-1); client.focus:raise() end):add()
keybinding({ modkey, "Shift" }, "d", function () awful.client.swap(1) end):add()
keybinding({ modkey, "Shift" }, "f", function () awful.client.swap(-1) end):add()
keybinding({ modkey, "Control" }, "d", function () awful.screen.focus(1) end):add()
keybinding({ modkey, "Control" }, "f", function () awful.screen.focus(-1) end):add()
keybinding({ modkey, "Control" }, "space", awful.client.togglefloating):add()
keybinding({ modkey, "Control" }, "Return", function () client.focus:swap(awful.client.master()) end):add()
keybinding({ modkey }, "o", awful.client.movetoscreen):add()
keybinding({ modkey }, "Tab", awful.client.focus.history.previous):add()
keybinding({ modkey }, "u", awful.client.urgent.jumpto):add()
keybinding({ modkey, "Shift" }, "r", function () client.focus:redraw() end):add()
-- Layout manipulation
keybinding({ modkey }, "l", function () awful.tag.incmwfact(0.05) end):add()
keybinding({ modkey }, "h", function () awful.tag.incmwfact(-0.05) end):add()
keybinding({ modkey, "Shift" }, "h", function () awful.tag.incnmaster(1) end):add()
keybinding({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end):add()
keybinding({ modkey, "Control" }, "h", function () awful.tag.incncol(1) end):add()
keybinding({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end):add()
keybinding({ modkey }, "space", function () awful.layout.inc(layouts, 1) end):add()
keybinding({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end):add()
-- Prompt
keybinding({ modkey }, "F1", function ()
awful.prompt.run({ prompt = "Run: " }, mypromptbox, awful.spawn, awful.completion.bash,
os.getenv("HOME") .. "/.cache/awesome/history") end):add()
keybinding({ modkey }, "F4", function ()
awful.prompt.run({ prompt = "Run Lua code: " }, mypromptbox, awful.eval, awful.prompt.bash,
os.getenv("HOME") .. "/.cache/awesome/history_eval") end):add()
keybinding({ modkey, "Ctrl" }, "i", function ()
if mypromptbox.text then
mypromptbox.text = nil
else
mypromptbox.text = nil
if client.focus.class then
mypromptbox.text = "Class: " .. client.focus.class .. " "
end
if client.focus.instance then
mypromptbox.text = mypromptbox.text .. "Instance: ".. client.focus.instance .. " "
end
if client.focus.role then
mypromptbox.text = mypromptbox.text .. "Role: ".. client.focus.role
end
end
end):add()
--- Tabulous, tab manipulation
keybinding({ modkey, "Control" }, "y", function ()
local tabbedview = tabulous.tabindex_get()
local nextclient = awful.client.next(1)
if not tabbedview then
tabbedview = tabulous.tabindex_get(nextclient)
if not tabbedview then
tabbedview = tabulous.tab_create()
tabulous.tab(tabbedview, nextclient)
else
tabulous.tab(tabbedview, client.focus)
end
else
tabulous.tab(tabbedview, nextclient)
end
end):add()
keybinding({ modkey, "Shift" }, "y", tabulous.untab):add()
keybinding({ modkey }, "y", function ()
local tabbedview = tabulous.tabindex_get()
if tabbedview then
local n = tabulous.next(tabbedview)
tabulous.display(tabbedview, n)
end
end):add()
-- Client awful tagging: this is useful to tag some clients and then do stuff like move to tag on them
keybinding({ modkey }, "t", awful.client.togglemarked):add()
keybinding({ modkey, 'Shift' }, "t", function ()
local tabbedview = tabulous.tabindex_get()
local clients = awful.client.getmarked()
if not tabbedview then
tabbedview = tabulous.tab_create(clients[1])
table.remove(clients, 1)
end
for k,c in pairs(clients) do
tabulous.tab(tabbedview, c)
end
end):add()
for i = 1, keynumber do
keybinding({ modkey, "Shift" }, "F" .. i,
function ()
local screen = mouse.screen
if tags[screen][i] then
for k, c in pairs(awful.client.getmarked()) do
awful.client.movetotag(tags[screen][i], c)
end
end
end):add()
end
-- {{{ Hooks
-- Hook function to execute when focusing a client.
function hook_focus(c)
if not awful.client.ismarked(c) then
c.border_color = beautiful.border_focus
end
end
-- Hook function to execute when unfocusing a client.
function hook_unfocus(c)
if not awful.client.ismarked(c) then
c.border_color = beautiful.border_normal
end
end
-- Hook function to execute when marking a client
function hook_marked(c)
c.border_color = beautiful.border_marked
end
-- Hook function to execute when unmarking a client
function hook_unmarked(c)
c.border_color = beautiful.border_focus
end
-- Hook function to execute when the mouse is over a client.
function hook_mouseover(c)
-- Sloppy focus, but disabled for magnifier layout
if awful.layout.get(c.screen) ~= "magnifier" then
client.focus = c
end
end
-- Hook function to execute when a new client appears.
function hook_manage(c)
-- Set floating placement to be smart!
c.floating_placement = "smart"
if use_titlebar then
-- Add a titlebar
awful.titlebar.add(c, { modkey = modkey })
end
-- Add mouse bindings
c:mouse_add(mouse({ }, 1, function (c) client.focus = c; c:raise() end))
c:mouse_add(mouse({ modkey }, 1, function (c) c:mouse_move() end))
c:mouse_add(mouse({ modkey }, 3, function (c) c:mouse_resize() end))
-- New client may not receive focus
-- if they're not focusable, so set border anyway.
c.border_width = beautiful.border_width
c.border_color = beautiful.border_normal
client.focus = c
-- Check if the application should be floating.
local cls = c.class
local inst = c.instance
if floatapps[cls] then
c.floating = floatapps[cls]
elseif floatapps[inst] then
c.floating = floatapps[inst]
end
-- Check application->screen/tag mappings.
local target
if apptags[cls] then
target = apptags[cls]
elseif apptags[inst] then
target = apptags[inst]
end
if target then
c.screen = target.screen
awful.client.movetotag(tags[target.screen][target.tag], c)
end
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- awful.client.setslave(c)
-- Honor size hints
c.honorsizehints = true
end
-- Hook function to execute when arranging the screen
-- (tag switch, new client, etc)
function hook_arrange(screen)
local layout = awful.layout.get(screen)
if layout then
mylayoutbox[screen].text =
"<bg image=\"/usr/share/awesome/icons/layouts/" .. awful.layout.get(screen) .. "w.png\" resize=\"true\"/>"
else
mylayoutbox[screen].text = "No layout."
end
-- If no window has focus, give focus to the latest in history
if not client.focus then
local c = awful.client.focus.history.get(screen, 0)
if c then client.focus = c end
end
-- Uncomment if you want mouse warping
local sel = client.focus
if sel then
local c_c = sel:coords()
local m_c = mouse.coords()
if m_c.x < c_c.x or m_c.x >= c_c.x + c_c.width or
m_c.y < c_c.y or m_c.y >= c_c.y + c_c.height then
if table.maxn(m_c.buttons) == 0 then
mouse.coords({ x = c_c.x + 5, y = c_c.y + 5})
end
end
end
end
-- Hook called every second
function hook_timer ()
-- For unix time_t lovers
-- mytextbox.text = " " .. os.time() .. " time_t "
-- Otherwise use:
mytextbox.text = " " .. os.date() .. " "
end
-- Custom functions
local function get_bat()
local a = io.open("/sys/class/power_supply/BAT0/energy_full")
for line in a:lines() do
full = line
end
a:close()
local b = io.open("/sys/class/power_supply/BAT0/energy_now")
for line in b:lines() do
now = line
end
b:close()
batt=math.floor(now*100/full)
mybatterymonitor:bar_data_add("bat",batt)
end
-- Set up some hooks
awful.hooks.focus.register(hook_focus)
awful.hooks.unfocus.register(hook_unfocus)
awful.hooks.marked.register(hook_marked)
awful.hooks.unmarked.register(hook_unmarked)
awful.hooks.manage.register(hook_manage)
awful.hooks.mouseover.register(hook_mouseover)
awful.hooks.arrange.register(hook_arrange)
awful.hooks.timer.register(1, hook_timer)
awful.hooks.timer.register(5, get_bat)
--startup script

Same problem here. Also happens to me in wmii. I think if the WM puts the window in floating mode without telling it where to appear somethings will appear wrong.
For me it's the Firefox Upload selection box.
It doesn't happen in ratpoison, but you can tell the floating window is getting moved after it spawns. (ratpoison has editable rules for where to put these windows)
Last edited by Procyon (2008-11-07 22:34:40)

Similar Messages

  • FF in one pc won't load website and pop-ups appear infinitum but works in my other pcs. That version in the first instance is corrupted?

    The problem PC is uptodate versioning in FF. Also with Norton, Malwarebytes, and Windows Defender regularly scanned. Being scanned right now. Installed AdBlocker+ and other pop-up blockers. But does not seem to stop the constant stream of unwanted popups, which BTW are difficult to close. Corrupted FF or Gmail? When I open my Gmail account, it would not open websites in my mail in Gmail. It automatically closes the window and reverts back to my original Gmail site. This does not happen when I'm using IE 11 in the same PC?!? Stomped! Thanks for any assistance.

    Turns out, after much going back and forth (and having them read your response) - that there was an issue with the security certificate and how the images were all 'secure' images..... so - the host reinstalled the security certificate - or whatever it was they did (I'd complained about this a month ago to my web developer - and was told it was my computer - but when a customer started having the same issues - they looked into it more - and found out it was a security certificate issue).
    Thank you for your help - because it was your information that got my web developer to get on the host and get it fixed. :-)

  • Why am I constantly being re-linked to ads and pop ups

    I have only had my Macbook Pro a week, and I cannot go onto safari without constantly being re-directed to advertising pages and pop ups appearing on sites that would never have them. I have compared all my settings to my girlfriends Macbook Pro with no differences that we can see. Even when I checked the T's and C's box to agree to the apple support community it opened up 2 other tabs to advertisement websites. Can anyone help me out as I am new to mac and its really annoying me after only having it for one week. I have downloaded adobe flash player and Utorrent but did not download any torrents as of yet. I have tried ClamXav and the scans come back with no results.
    Any help will be gratefully appreciated.

    You may have installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • What antivirus protection should I purchase for my MacBook Pro? MacSecurity.app appeared on my desktop, and I downloaded that. Since then, it has said my computer is infected and pop-ups have been appearing.

    What antivirus protection should I purchase for my MacBook Pro? MacSecurity.app appeared on my desktop, and I downloaded that. Since then, it has said my computer is infected and pop-ups have been appearing.

    You've been infected by a scam trojan.  You don't need any anti-virus software on your Mac.  See the following about getting rid of the trojan.
    Trojan War
    If you discover a trojan program is running on your computer then look to the following information for assistance:
    1. A recent discussion on the Apple Support Communities: MacDefender Trojan.
    2. An excellent site devoted to Mac Malware: Macintosh Virus Guide
    3. Another site for removing MacDefende, et.al.: MAC Defender Rogue Anti-Virus analysis and Removal
    4. A new removal utility - MacDefenderKiller
    Removing strange software can be a task.  The following outlines various ways of uninstalling software:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a Startup item or a Log In item.  Startup items are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the Delete [-] button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead.  Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Note that you must have this software installed before you install software you may need to uninstall.  Uninstallers won't work if you install them after the fact.  Here is a selection:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them and others at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQs on removing software and dealing with spyware and malware.
    After removing all the components of the software you may have to restart the computer to fully disable the software.  This will be the case when removing software that has installed a daemon.  After the daemon has been removed you need to restart the computer to stop the daemon.  Alternatively, you can kill the daemon process using the Terminal application or Activity Monitor.

  • Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.

    Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised the value of Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Prevent "Save As" dialog box from popping up when signing a form

    Is there a way to prevent the "Save As" dialog box from popping up when clicking on a Signature Field?  I have a form with multiple signature fields and I would like to disable this action from happening.

    Hi rus-tee,
    That's interesting--what are you using to convert your file to PDF? Are you using Word? Or are you using the Adobe PDF Pack online service. Please describe your process for converting to PDF, and we'll get to the bottom of this!
    Best,
    Sara

  • How do i make the word save as dialog box stop popping up when trying to convert to pdf?

    how do i make the word save as dialog box stop popping up when trying to convert to pdf?

    Hi rus-tee,
    That's interesting--what are you using to convert your file to PDF? Are you using Word? Or are you using the Adobe PDF Pack online service. Please describe your process for converting to PDF, and we'll get to the bottom of this!
    Best,
    Sara

  • Blocking ads and pop ups

    Have the newer version of the WSA give us the option not to display an message when an ad or pop up is blocked?
    I have asked about this before and I thought that is was in the blueprints for a future release I just wanted to see if is has been done.
    I get a lot of complaints that websites are being blocked and really its just ads and pop ups.Other url filters that I have used in the past for ads and pop ups dont display this ad or pop up has been blocked message.
    Thanks

    Just FYI ... we currently acheive this by using a custom (redirected from ironport) block page for all of our block messages. We then design this .asp block page to display differently depending on what fields are passed to it in the URL. If the category=Advertisements, then the block page appears as a simple white page with the text "This advertisement has been intentionally blocked ... "
    This also allows us to design custom 504, 503 pages etc, as well as different block pages depending on the user's IP address range.
    Can you share with us how you did this, I am new to the IronPort and have some .asp experience. I would like to know how to blank out the ad pages and have a message come up for the other blocked pages. Thanks!

  • How do i get ads and pop ups off my computer?

    Mac Book Pro
    Processor 2.66 GHz Intel Core 2 Duo
    Version 10.0.1
    How do I get ads and pop ups off my computer?

    Your question is one that tends to bring out the worst of all the bad advice that infests this site. There is, in fact, no need to download anything to solve the problem.
    You may have installed one or more of the common types of ad-injection malware. Follow the instructions on this Apple Support page to remove it. It's been reported that some variants of the "VSearch" malware block access to the page. If that happens, start in safe mode by holding down the shift key at the startup chime, then try again.
    Back up all data before making any changes.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, ask for further instructions.
    Make sure you don't repeat the mistake that led you to install the malware. It may have come from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    Malware is also found on websites that traffic in pirated content such as video. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • Image looks great in PS- when I go to print it looks grainy in printer preview dialog box and prints blurry. Why?

    Image looks great in PS- when I go to print, it looks grainy in printer preview dialog box and prints blurry.  Why is this happening? 

    PS CC, Yosemite, Epson 3880 (called espson to make sure it wasn't something with that), saved as a tiff/psdjpg- all files behave the same way.  When I open the raw file- and only crop the image- it behaves this way now- with grain and blur when printing.  No other files do this in the same shoot.  I worked on this image- could something have gotten corrupted along the way such that now even opening the raw file creates this problem.  SInce upgrading my computer -  a window pops up when I open PS that says I need to update my graphics card?? for 3D- I'm not using 3D- so I don't know if that means anything.  I have to leave for about an hour- but greatly appreciate any feedback. I will be in touch. Thank you.

  • When I'm composing emails a dialog box keeps popping up asking me to click "resend" to reload my email. If I don't I get timed out. This problem has only happened after I installed update 3.6.16

    When I'm composing emails a dialog box keeps popping up asking me to click "resend" to reload my email. If I don't I get timed out. This problem has only happened after I installed update 3.6.16
    FYI I am referring to my ISP email on the providor's website, although I have not tried opening other email accounts on the updated Firefox.

    etresoft  a long time contributer to Apple Support Communities wrote a very useful app he called etrecheck which helps in diagnosing many problems caused by third party installs etc.. Go to his website, read his information and from there download and run the program according to his instructions
    http://www.etresoft.com/etrecheck
    Post the results back here
    Pete

  • Querying/setting "Print notes and pop-ups" application preference

    Hi
    I'd like to be able to alert the user if a particular setting is disabled within a plugin application I've written for Acrobat 9 Pro. The particular preference in question is the "Print notes and pop-ups" setting in the Comments preferences page.
    I've tried querying the value using AVAppGetPreference(avpPrintAnnots), but it seems that the particular constant I pass doesn't refer to what I assumed it does. Is there another I should be using instead? I'd have tried using the AVAppGetPrefBool or similar function, except it requires a key parameter containing a value that doesn't appear to be documented anywhere.
    Failing to access the preference store via the API, I eventually found that the value for the setting I'm after is stored in the windows registry at HKLM\Software\Adobe\Adobe Acrobat\9.0\Annots\cPrefs\bprintCommentPopups, however setting this value in a AVAppDidInitialize callback function is already too late the application to read the new value I've set, and I couldn't find a more suitable callback; not that I was able to find a complete list of these in any of the documentation.
    Regards, Andrew

    Please forgive me for pushing the matter, but given the absence of documentation on this matter, I really have no other option.
    Inserting #define avpPrintCommentPopups (Str("printCommentPopups")) into my source file didn't work either, the Str macro is also undefined. Besides this point, why exactly should the define have worked? The AVAppGetPreference function/macro takes an enum value as an argument, not a string.
    If you are able to supply me with the relevant section and key names for the AVAppGetPrefBool function I would be happy to use this function instead.

  • Dialog box "not enough stoage" appeared on

    dialog box "not enough stoage" appeared on iPad; this iPad cannot be backed up because there is not enough iCloud storage available.  You can manage your storage in settings...my choices are "close" and "settings"...neither works...help?!

    Reset it by holding the power and home buttons at the same time until you see the Apple logo, then release.  Then use this guide to manage and free up storage space in your account: http://support.apple.com/kb/ht4847.

  • Problem description: Computer takes a long time to fire up. Spinning ball is seen during start up, sometimes when login dialog box, and sometimes after entering login password. My mac freeze often, especially when using Lightroom-.

    Problem description:
    Computer takes a long time to fire up. Spinning ball is seen during start up, sometimes when login dialog box, and sometimes after entering login password. My mac freeze often, especially when using Lightroom….     Help is much appreciated!
    EtreCheck version: 2.0.11 (98)
    Report generated 3. november 2014 kl. 01.23.41 CET
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2010) (Verified)
      MacBook Pro - model: MacBookPro7,1
      1 2.4 GHz Intel Core 2 Duo CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 320M - VRAM: 256 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 2:49:19
    Disk Information: ℹ️
      Samsung SSD 840 EVO 500GB disk0 : (500,11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 499.25 GB (260.35 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Apple Internal Memory Card Reader
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
      Apple Inc. Apple Internal Keyboard / Trackpad
    Configuration files: ℹ️
      /etc/sysctl.conf - Exists
      /etc/hosts - Count: 15
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/IPVanish.app
      [not loaded] foo.tap (1.0) Support
      [not loaded] foo.tun (1.0) Support
      /Applications/LaCie Desktop Manager.app
      [not loaded] com.LaCie.ScsiType00 (1.2.13 - SDK 10.5) Support
      [not loaded] com.jmicron.driver.jmPeripheralDevice (2.0.4) Support
      [not loaded] com.lacie.driver.LaCie_RemoteComms (1.0.1 - SDK 10.5) Support
      [not loaded] com.oxsemi.driver.OxsemiDeviceType00 (1.28.13 - SDK 10.5) Support
      /Applications/Private Eye.app
      [loaded] com.radiosilenceapp.nke.PrivateEye (1 - SDK 10.7) Support
      /Library/Application Support/HASP/kexts
      [not loaded] com.aladdin.kext.aksfridge (1.0.2) Support
      /System/Library/Extensions
      [loaded] com.hzsystems.terminus.driver (4) Support
      [not loaded] com.nvidia.CUDA (1.1.0) Support
      [not loaded] com.roxio.BluRaySupport (1.1.6) Support
      [not loaded] com.sony.filesystem.prodisc_fs (2.3.0) Support
      [not loaded] com.sony.protocol.prodisc (2.3.0) Support
      /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
      [not loaded] com.roxio.TDIXController (2.0) Support
    Startup Items: ℹ️
      CUDA: Path: /System/Library/StartupItems/CUDA
      ProTec6b: Path: /Library/StartupItems/ProTec6b
      Startup items are obsolete and will not work in future versions of OS X
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [running] com.adobe.AdobeCreativeCloud.plist Support
      [loaded] com.adobe.CS5ServiceManager.plist Support
      [running] com.digitalrebellion.EditmoteListener.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [loaded] com.intego.backupassistant.agent.plist Support
      [running] com.mcafee.menulet.plist Support
      [invalid?] com.mcafee.reporter.plist Support
      [loaded] com.nvidia.CUDASoftwareUpdate.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
      [running] com.orbicule.WitnessUserAgent.plist Support
      [loaded] com.xrite.device.softwareupdate.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [invalid?] com.adobe.SwitchBoard.plist Support
      [running] com.aladdin.aksusbd.plist Support
      [failed] com.aladdin.hasplmd.plist Support
      [running] com.edb.launchd.postgresql-8.4.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [running] com.intego.BackupAssistant.daemon.plist Support
      [loaded] com.ipvanish.helper.openvpn.plist Support
      [loaded] com.ipvanish.helper.pppd.plist Support
      [invalid?] com.mcafee.ssm.ScanFactory.plist Support
      [invalid?] com.mcafee.ssm.ScanManager.plist Support
      [running] com.mcafee.virusscan.fmpd.plist Support
      [loaded] com.mvnordic.mvlicensehelper.offline.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [running] com.orbicule.witnessd.plist Support
      [loaded] com.radiosilenceapp.nke.PrivateEye.plist Support
      [running] com.xrite.device.xrdd.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.ARM.[...].plist Support
      [invalid?] com.digitalrebellion.SoftwareUpdateAutoCheck.plist Support
      [loaded] com.facebook.videochat.[redacted].plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items: ℹ️
      Skype Program (/Applications/Skype.app)
      GetBackupAgent Program (/Users/[redacted]/Library/Application Support/BeLight Software/Get Backup 2/GetBackupAgent.app)
      PhoneViewHelper Program (/Users/[redacted]/Library/Application Support/PhoneView/PhoneViewHelper.app)
      EarthDesk Core UNKNOWN (missing value)
      Dropbox Program (/Applications/Dropbox.app)
      AdobeResourceSynchronizer ProgramHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
      i1ProfilerTray Program (/Applications/i1Profiler/i1ProfilerTray.app)
    Internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 6.0 Support
      Default Browser: Version: 600 - SDK 10.10
      AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      iPhotoPhotocast: Version: 7.0
      SiteAdvisor: Version: 2.0 - SDK 10.1 Support
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
      GarminGPSControl: Version: 3.0.1.0 Release - SDK 10.4 Support
      JavaAppletPlugin: Version: Java 7 Update 71 Check version
    User Internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 6.2 Support
      F5 Inspection Host Plugin: Version: 6031.2010.0122.1 Support
      f5 sam inspection host plugin: Version: 7000.2010.0602.1 Support
    Safari Extensions: ℹ️
      Facebook Cleaner
      Better Facebook
      SiteAdvisor
      Incognito
      Bing Highlights
      YouTube5
      AdBlock
      YoutubeWide
    Audio Plug-ins: ℹ️
      DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
      CUDA Preferences  Support
      EarthDesk  Support
      Editmote  Support
      Flash Player  Support
      FUSE for OS X (OSXFUSE)  Support
      Growl  Support
      Java  Support
      Witness  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          13% taskgated
          12% WindowServer
          1% WitnessUserAgent
          1% sysmond
          1% Activity Monitor
    Top Processes by Memory: ℹ️
      327 MB com.apple.WebKit.WebContent
      137 MB softwareupdated
      94 MB Safari
      82 MB VShieldScanner
      82 MB Dock
    Virtual Memory Information: ℹ️
      65 MB Free RAM
      1.58 GB Active RAM
      1.54 GB Inactive RAM
      647 MB Wired RAM
      2.95 GB Page-ins
      260 MB Page-outs

    You have SCADS of extensions and the things running. McAfee, Intego, Orbicule, CleanMyMac, and others I've not ever even heard of. My first recommendation would be to remove all of these and see if things improve.

  • New to Dialog Boxes and I'm stuck

    Seems there is no way to format a field in a Dialog Box. How can a field be checked to determine if the correct type of data was entered in it, when the user moves to the next field, before data is committed?
    I am stuck on how to limit the number of characters entered into the postal code and phone fields. I want to limit the number of numeric characters that can be entered in each phonenumber field ie  3 numbers, 3numbers and 4 numbers (999 999 9999)  And postal code field ie 3 characters and 3 characters (A9A 9A9)
    Also, once the user enters the required number of characters in the phone and postal code fields, the code should tab to the next field. And yes, I read about tab_first and next_tab, but don't understand how it works. The way I see it working is that once a phone or postal code field is filled with the required number of characters, control automatically tabs to the next field.
    I am using Adobe Acrobat Professional 8
    This code was written by trail and error using examples from various sources ie Acrobat JavaScript Scripting reference - version 7.0.5, Acrobat JavaScript Scripting Guide - version 7.0, and I have very little experience in creating a dialog box and its code - forgive the mess.
    //============================================================================
    var goon=true;
    var result;
    var address;
    var city;
    var province;
    var sign;
    var postalcodea;
    var postalcodeb;
    var homephone;
    var homephoneareacode;
    var homephoneprefix;
    var homephonenumber;
    var businessphone;
    var businessphoneareacode;
    var businessphoneprefix;
    var businessphonenumber;
    address = this.getField("Text1-2-Address").value;
    city = this.getField("Text1-2-City").value;
    var provincelist = new Array();
    provincelist[1] = " ";
    provincelist[2] = "Alberta";
    provincelist[3] = "British Columbia";
    provincelist[4] = "Manitoba";
    provincelist[5] = "New Brunswick";
    provincelist[6] = "Newfoundland & Labrador";
    provincelist[7] = "Northwest Territories";
    provincelist[8] = "Nova Scotia";
    provincelist[9] = "Nunavut";
    provincelist[10] = "Ontario";
    provincelist[11] = "Prince Edward Island";
    provincelist[12] = "Québec";
    provincelist[13] = "Saskatchewan";
    provincelist[14] = "Yukon";
    var sign = new Array();
    for (var i=0; i<15; i++)
                sign[i] = "-";
                if(provincelist[i] == this.getField("Client's Full Province Name").value)
                            sign[i] = "+";
    postalcodea = "";
    postalcodeb = "";
    if(this.getField("Text1-2-Postal-Code").value != "")
                postalcodea = this.getField("Text1-2-Postal-Code").value;
                postalcodea = util.printx("A9A", postalcodea);
                postalcodeb = this.getField("Text1-2-Postal-Code").value;
                postalcodeb = postalcodeb[4]  + postalcodeb[5] + postalcodeb[6];
    homephoneareacode = "";
    homephoneprefix = "";
    homephonenumber = "";
    if(this.getField("Text1-2-Home-Phone-Number").value != "")
                homephone = util.printx("9999999999", this.getField("Text1-2-Home-Phone-Number").value);
                homephoneareacode = homephone[0] + homephone[1] + homephone[2];
                homephoneprefix = homephone[3] + homephone[4] + homephone[5];
                homephonenumber = homephone[6] + homephone[7] + homephone[8] + homephone[9];
    businessphoneareacode = "";
    businessphoneprefix = "";
    businessphonenumber = "";
    if(this.getField("Text1-2-Business-Phone-Number").value != "")
                businessphone = util.printx("9999999999", this.getField("Text1-2-Business-Phone-Number").value);
                businessphoneareacode = businessphone[0] + businessphone[1] + businessphone[2];
                businessphoneprefix = businessphone[3] + businessphone[4] + businessphone[5];
                businessphonenumber = businessphone[6] + businessphone[7] + businessphone[8] + businessphone[9];
    var dialog2 =
                initialize: function(dialog)
                             dialog.load(
                                                     stat:     "Client Address and Phone Information is required in forms you are about to link to. To save time, enter Address and Phone Information before linking to these documents.",
                                                    str1: address,
                                                    str2: city,
                                                    stra: postalcodea,
                                                    strb: postalcodeb,
                                                    str5: homephoneareacode,
                                                    str6: homephoneprefix,
                                                    str7: homephonenumber,
                                                    str8: businessphoneareacode,
                                                    str9: businessphoneprefix,
                                                    sts1: businessphonenumber,
                                                    str3:
                                                                "  ": (sign[1] + "1"),
                                                                "Alberta": (sign[2] + "2"),
                                                                "British Columbia": (sign[3] + "3"),
                                                                "Manitoba": (sign[4] + "4"),
                                                                "New Brunswick": (sign[5] + "5"),
                                                                "Newfoundland & Labrador": (sign[6] + "6"),
                                                                "Northwest Territories": (sign[7] + "7"),
                                                                "Nova Scotia": (sign[8] + "8"),
                                                                "Nunavut": (sign[9] + "9"),
                                                                "Ontario": (sign[10] + "10"),
                                                                "Prince Edward Island": (sign[11] + "11"),
                                                                "Québec": (sign[12] + "12"),
                                                                "Saskatchewan": (sign[13] + "13"),
                                                                "Yukon": (sign[14] + "14"),
                cancel: function(dialog)
                            return;
                destroy: function(dialog)
                            return;
                commit:function (dialog)
                            results = dialog.store();
                            var elements = dialog.store() ["str3"]
                            province = "";
                            for(var i in elements)
                                        if(elements[i]  > 0)
                                                    province = i;
                            return;
                            description:
                            name: "Address and Phone Information",
                            //align_children: "align_left",
                            //type: "static_text",
                            //char_height: 9,
                            //width: 350,
                            //height: 75,
                            elements:
                                                    type: "cluster",
                                                    name: "",
                                                    align_children: "align_left",
                                                    elements:
                                                                            align_children: "align_top",
                                                                            alignment: "align_fill",
                                                                            type: "view",
                                                                            width: 254,
                                                                            elements:
                                                                                                     alignment: "align_fill",
                                                                                                     bold: true,
                                                                                                     font: "default",
                                                                                                     char_height: 9,
                                                                                                     italic: true,
                                                                                                     item_id: "stat",
                                                                                                     multiline: false,
                                                                                                     type: "static_text",
                                                                                                     width: 150,
                                                                                                     height: 50,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "Address: "
                                                                                                     item_id: "str1",                         
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 60,
                                                                                                     height: 20,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "       City: "
                                                                                                     item_id: "str2",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 16,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "Province: "
                                                                                                     item_id: "str3",
                                                                                                     type: "popup",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 16,
                                                                                                     type: "static_text",
                                                                                                     name: "Postal Code: "
                                                                                                     item_id: "stra",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "strb",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "Home Phone Number: ("
                                                                                                     item_id: "str5",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     next_tab: 3,
                                                                                                     type: "static_text",
                                                                                                     name: ")"
                                                                                                     item_id: "str6",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "str7",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 4,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "Business Phone Number: ("
                                                                                                     item_id: "str8",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: ")"
                                                                                                     item_id: "str9",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "sts1",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 4,
                                                                                                     height: 20,
                                                    alignment: "align_center",
                                                    type: "ok_cancel",
                                                    ok_name: "Continue",
                                                    cancel_name: "Cancel"
    var dialog3 =
                initialize: function (dialog)
                cancel: function(dialog)
                            goon=false;
                            return;
                destroy: function(dialog)
                            return;
    while (goon)
                result = app.execDialog(dialog2);
                if (result=="cancel")
                            goon=false;                  
                if (result=="ok")
                            this.getField("Text1-2-Address").value = results["str1"];
                            this.getField("Text1-2-City").value = results["str2"];
                            this.getField("Client's Full Province Name").value = province;
                            this.getField("Text1-2-Postal-Code").value = results["stra"] + " " + results["strb"];
                            this.getField("Text1-2-Home-Phone-Number").value = results["str5"] + results["str6"] + results["str7"];
                            this.getField("Text1-2-Business-Phone-Number").value = results["str8"] + results["str9"] + results["sts1"];
                            goon=false;

    If you know a link that has what he wants, wouldn't it be prudent just to provide that?
    I got overwhelmed trying to understand all of the different related elements of the Flash family when I was starting, so I know what that's like. Roughly (and Ned might want to correct or clarify some of this), Actionscript 3 is the programming language Flash/Flex/AIR content is based upon. Flash is a blanket term encompassing the developing environment (Flash Pro), code libraries, and runtime (Flash Player). AIR is a runtime environment built upon Flash Player, but with added functionality and cross-platform support. Flex is an extension of Flash, offering MXML components in addition to the libraries available in Flash Pro. Adobe intends for you to use Flex with Flash Builder, a separate IDE built upon Eclipse.
    I haven't used MXML yet, but my impression is that (at least in Flash Builder) it is functionally similar to WYSIWYG editing in Microsoft's Visual Studio.
    If you are developing games, you can edit entirely in Flash Pro, entirely in Flash Builder, or combine both of them. Flash Pro lets you put code on the timeline, which can make some coding much easier, but also makes it very, very easy to write messy and disorganized code. Flash Builder doesn't provide access to the timeline and is intended for class-based development. Personally, I like to combine the two, writing some timeline code in Pro and doing my class files in Builder, but I'm not the greatest developer.
    As a heads-up, the code editor in Flash Pro is absolutely terrible, and is full of bugs that have existed for many generations, because Adobe wants you to buy Flash Builder for the additional $600, but if you are a student or "unemployed", you can get FB for free from Adobe.

Maybe you are looking for

  • Games windows minimized using FX 5200

    I have bought a MSI Geforce FX 5200 card (128 MB) less than a year ago. I noticed when I want to play games like Need for Speed underground, the game starts and is immediately minimized. There is no way I am able to maximize the game window.     Have

  • Digital booklets on iTunes in the Cloud

    I cannot re-download digital booklets through iTunes in the Cloud, why this is so?

  • User account password

    i have a pavilion5222 that was given to me  and it is pass word proteced  is the a way to reset the password i cant get the passwo9rd couse the owner had passed away

  • Procurement Cycle of material type "PIPE"

    Hi Gurus , Can you please explain the purchase Cycle (Order to Invoicing Cycle ) of the material type "PIPE".I belive that Purchase Orders are not created for the same. Thanks, Tausif

  • Does Siri works in Latinoamerica

    I want to know if siri works in Peru.